:root { font-family: 'Segoe UI', Inter, system-ui, sans-serif; color: #25364d; background: #f4f7fa; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; }
.shell { max-width: 810px; margin: 0 auto; padding: 38px 20px 46px; }
.header { display: flex; align-items: center; gap: 18px; margin: 0 0 26px; }
.mark { flex: 0 0 70px; width: 70px; height: 70px; background: #153b54; color: #fff; border-radius: 20px; display: grid; place-items: center; box-shadow: 0 8px 20px #153b5417; }
.mark svg { width: 48px; height: 48px; }
.eyebrow { margin: 0 0 3px; color: #59778f; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
h1 { font-size: clamp(25px, 4vw, 34px); margin: 0; font-weight: 800; letter-spacing: -1.2px; line-height: 1.15; }
.exclaim { color: #ed9266; }
.subtitle { margin: 7px 0 0; font-size: 14px; color: #62758a; }
.card { background: white; border: 1px solid #dfebf1; border-radius: 17px; box-shadow: 0 4px 24px #284b6210; padding: 23px 26px; margin-bottom: 16px; }
.section-top { display: flex; align-items: center; gap: 11px; margin: 0 0 18px; }
.step { width: 30px; height: 30px; background: #e6f0f5; color: #365c70; border-radius: 9px; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
h2 { font-size: 19px; margin: 0; font-weight: 750; letter-spacing: -.35px; }
.drop { cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 28px 14px; border: 2px dashed #b8d0dd; border-radius: 13px; background: #f7fbfd; text-align: center; transition: background .1s, border-color .1s; }
.drop:hover,.drop.dragover { background: #eaf5f9; border-color: #3a8eb1; }
.drop:focus-within { outline: 3px solid #ffbd8b; outline-offset: 2px; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-icon { width: 39px; height: 39px; border-radius: 50%; display: grid; place-items: center; font-size: 25px; background: #e5f2f7; color: #326784; font-weight: 600; margin-bottom: 4px; }
.drop-title { font-size: 16px; font-weight: 750; }
.formats { font-size: 12px; margin-top: 8px; color: #607b8b; }
.muted { color: #718397; } .small { font-size: 12px; } .tiny { font-size: 11px; }
.chosen { display: flex; gap: 12px; align-items: center; padding: 13px; border: 1px solid #d5e8f0; border-radius: 10px; margin-top: 12px; }
.chosen[hidden],audio[hidden],.progress-track[hidden] { display: none !important; }
.file-dot { border-radius: 10px; width: 40px; height: 40px; display: grid; place-items: center; background: #edf3f6; color: #31718e; font-size: 19px; }
.file-details { min-width: 0; display: flex; flex: 1; flex-direction: column; gap: 3px; }
.file-details strong { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-button,.ghost { background: none; border: 0; cursor: pointer; color: #246080; font-weight: 650; font-family: inherit; }
.link-button:hover,.ghost:hover { text-decoration: underline; }
audio { width: 100%; margin-top: 13px; height: 39px; }
.helper { font-size: 13px; color: #61768a; margin: -5px 0 17px; }
.primary { width: 100%; min-height: 50px; background: #164966; color: #fff; border: 0; border-radius: 10px; font-size: 15px; font-weight: 750; font-family: inherit; cursor: pointer; }
.primary:hover:not(:disabled) { background: #0f354f; }
.primary:disabled { background: #a5b6c2; cursor: not-allowed; }
.status-wrap { margin-top: 15px; }
.status-line { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: #5c7488; }
.progress-track { margin-top: 8px; height: 6px; border-radius: 20px; background: #e9eff4; overflow: hidden; }
.progress-fill { height: 100%; background: #3995ad; width: 0%; transition: width .15s ease; }
textarea { width: 100%; resize: vertical; border: 1px solid #cedce6; border-radius: 11px; min-height: 180px; padding: 15px; font: 14px/1.65 'Segoe UI',system-ui,sans-serif; color: #24364c; }
textarea:focus { outline: 2px solid #81bbd0; border-color: #81bbd0; }
textarea::placeholder { color: #9aa8b4; }
.result-label { margin-left: auto; color: #698498; background: #f1f5f7; border-radius: 18px; font-size: 11px; padding: 5px 9px; }
.result-actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 14px; }
.secondary { background: #f0f6f9; color: #23536d; border: 1px solid #cfe0e9; border-radius: 9px; min-height: 38px; padding: 0 17px; font-family: inherit; font-weight: 700; cursor: pointer; }
.secondary:disabled { cursor: not-allowed; color: #97aab8; background: #f7f9fa; }
.ghost { padding: 0 11px; font-size: 13px; margin-left: auto; }
.notice { min-height: 1em; font-size: 12px; color: #246080; margin: 9px 0 0; }
.privacy { font-size: 13px; background: #e9f3f1; color: #31584f; border: 1px solid #cfe3dc; border-radius: 10px; padding: 13px; }
footer { margin-top: 21px; } footer p { line-height: 1.6; margin: 11px 2px; }
.version { color: #93a0a9; font-size: 11px; text-align: center; margin-top: 23px; }
.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; }
@media (max-width: 540px) { .shell { padding: 19px 13px 25px; } .header { gap: 10px; } .mark { width: 52px; height: 52px; flex-basis: 52px; border-radius: 15px; } .mark svg { width: 38px; } .eyebrow { font-size: 9px; } .card { padding: 18px 15px; } h1 { font-size: 24px; } h2 { font-size: 17px; } .result-actions { gap: 8px; } .secondary { flex: 1; padding: 0 8px; } }
.drop[hidden] { display: none !important; }

.quality-row { display:flex; align-items:center; justify-content:space-between; gap:12px; margin: -3px 0 3px; }
.quality-row label { font-size:13px; font-weight:650; }
.quality-row select { background:#f7fbfd; border:1px solid #b9cfdc; border-radius:8px; color:#25364d; padding:9px 10px; min-width:190px; font: 13px 'Segoe UI',system-ui,sans-serif; }
.quality-row select:focus-visible { outline:2px solid #81bbd0; }
.quality-row select:disabled { opacity: .65; }
.quality-note { margin: 6px 0 14px; line-height:1.4; }
@media (max-width: 470px) { .quality-row { align-items:stretch; flex-direction:column; gap:7px; } .quality-row select { width:100%; } }
