:root {
  color-scheme: dark;
  --bg: #061022;
  --bg-soft: #09162c;
  --panel: rgba(12, 27, 53, .88);
  --panel-strong: #0d1c38;
  --line: rgba(135, 164, 214, .18);
  --line-strong: rgba(135, 164, 214, .32);
  --text: #f7f9ff;
  --muted: #99a9c8;
  --blue: #39a6ff;
  --violet: #8d69ff;
  --green: #4ce0a3;
  --orange: #ffb86b;
  --red: #ff7a91;
  --radius: 24px;
  --shadow: 0 26px 80px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(69, 112, 255, .17), transparent 34%),
    linear-gradient(180deg, #071226 0%, var(--bg) 48%, #050c19 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.ambient { position: fixed; z-index: -1; width: 420px; height: 420px; border-radius: 50%; filter: blur(105px); opacity: .16; pointer-events: none; }
.ambient-one { top: 20%; left: -240px; background: #167cf4; }
.ambient-two { right: -220px; bottom: 7%; background: #7f4cff; }

.topbar {
  width: min(1280px, calc(100% - 40px));
  height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 21px; font-weight: 840; letter-spacing: -.55px; }
.brand > span:last-child span { color: #9f87ff; }
.brand-mark { width: 28px; height: 28px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 3px; transform: skewX(-10deg); }
.brand-mark i { display: block; border-radius: 3px 3px 2px 2px; background: linear-gradient(180deg, var(--blue), var(--violet)); }
.brand-mark i:nth-child(1) { height: 13px; opacity: .75; }
.brand-mark i:nth-child(2) { height: 24px; }
.brand-mark i:nth-child(3) { height: 18px; opacity: .88; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.top-link, .account-button { padding: 8px 11px; border: 1px solid var(--line); border-radius: 10px; background: rgba(10, 25, 49, .72); color: #cbd7e9; font-size: 11px; font-weight: 760; cursor: pointer; }
.top-link:hover, .account-button:hover { border-color: rgba(57, 166, 255, .45); color: white; }
.version-pill { padding: 6px 9px; border: 1px solid rgba(141, 105, 255, .38); border-radius: 999px; color: #c8bbff; background: rgba(141, 105, 255, .1); font-size: 11px; font-weight: 800; letter-spacing: .8px; }
.language-picker select, .control select {
  appearance: none;
  border: 1px solid var(--line);
  outline: none;
  background: #0a1931 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2399a9c8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") calc(100% - 12px) center / 14px no-repeat;
  color: var(--text);
  border-radius: 11px;
  padding: 10px 35px 10px 12px;
}
.language-picker select:focus, .control select:focus, input:focus { border-color: rgba(57, 166, 255, .72); box-shadow: 0 0 0 3px rgba(57, 166, 255, .11); }

.page-shell { width: min(1280px, calc(100% - 40px)); margin: 0 auto; padding: 58px 0 90px; }
.intro { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(310px, .6fr); gap: 70px; align-items: end; margin-bottom: 38px; }
.eyebrow { margin: 0 0 11px; color: #7fc5ff; text-transform: uppercase; letter-spacing: 1.6px; font-size: 11px; font-weight: 830; }
h1 { max-width: 790px; margin: 0; font-size: clamp(40px, 5.1vw, 73px); line-height: .99; letter-spacing: -3.4px; }
.intro-copy { margin: 0 0 4px; color: var(--muted); font-size: 16px; line-height: 1.7; }

.workspace { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr); gap: 18px; align-items: stretch; }
.panel { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(155deg, rgba(16, 34, 67, .94), rgba(8, 21, 43, .92)); box-shadow: var(--shadow); backdrop-filter: blur(16px); }
.input-panel { padding: 28px; }
.process-panel { padding: 27px; overflow: hidden; }
.process-panel::after { content: ""; position: absolute; width: 190px; height: 190px; right: -95px; top: -85px; border-radius: 50%; background: rgba(93, 86, 255, .13); filter: blur(35px); }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 19px; }
.panel-heading > div { display: flex; align-items: center; gap: 11px; }
.panel-heading h2, .process-head h2 { margin: 0; font-size: 19px; letter-spacing: -.4px; }
.panel-heading.compact { margin-top: 0; margin-bottom: 16px; }
.step-number { display: inline-grid; place-items: center; width: 31px; height: 25px; border-radius: 8px; background: rgba(57, 166, 255, .1); color: #75c1ff; font-size: 10px; font-weight: 900; letter-spacing: .8px; }
.secure-note { color: #83e9bd; font-size: 11px; }

.source-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 13px; background: rgba(5, 14, 30, .55); margin-bottom: 14px; }
.source-tab { min-height: 41px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; font-size: 13px; font-weight: 760; transition: .18s ease; }
.source-tab.active { color: white; background: linear-gradient(100deg, rgba(42, 111, 188, .85), rgba(81, 65, 155, .86)); box-shadow: 0 8px 22px rgba(20, 62, 121, .3); }
.source-panel { min-height: 164px; }
.recording-mode-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 11px; }
.recording-mode-tabs button { min-height: 38px; border: 1px solid var(--line); border-radius: 10px; background: rgba(5, 14, 30, .48); color: var(--muted); cursor: pointer; font-size: 10.5px; font-weight: 750; }
.recording-mode-tabs button.active { border-color: rgba(57, 166, 255, .42); background: rgba(57, 166, 255, .11); color: #9ed8ff; }
.source-builder { display: grid; gap: 9px; }
.separate-source-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.mini-drop-zone { min-height: 38px; display: grid; place-items: center; border: 1px dashed rgba(109, 151, 221, .45); border-radius: 10px; background: rgba(30, 65, 116, .12); color: #8ecfff; cursor: pointer; font-size: 9.5px; font-weight: 750; }
.mini-drop-zone.secondary { color: #baa9ff; }.mini-drop-zone.dragging { border-color: #63b8ff; background: rgba(33, 77, 141, .22); }
.source-file-list { display: grid; gap: 6px; }
.source-file-list:empty { display: none; }
.source-file-row { min-width: 0; min-height: 53px; padding: 8px 9px; display: grid; grid-template-columns: 25px minmax(0, 1fr) auto; align-items: center; gap: 8px; border: 1px solid rgba(76, 224, 163, .19); border-radius: 11px; background: rgba(76, 224, 163, .055); cursor: grab; }
.source-file-row > b { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 7px; background: rgba(57, 166, 255, .12); color: #8ecfff; font-size: 9px; }
.source-file-row > div { min-width: 0; }.source-file-row strong, .source-file-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.source-file-row strong { font-size: 10px; }.source-file-row small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.file-order-actions { display: flex; gap: 3px; }.file-order-actions button { width: 25px; height: 25px; padding: 0; border: 1px solid var(--line); border-radius: 7px; background: rgba(8, 22, 44, .8); color: var(--muted); cursor: pointer; font-size: 11px; }
.file-order-actions button:last-child { color: #ff9bad; }.file-order-actions button:disabled { opacity: .28; cursor: default; }
.compact-list .source-file-row { grid-template-columns: 22px minmax(0, 1fr) auto; min-height: 48px; padding: 7px; }
.dual-upload-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.upload-source-card { min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: 16px; background: rgba(4, 13, 28, .34); }
.upload-source-card.optional { border-style: dashed; }
.upload-source-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.upload-source-head strong { font-size: 11px; }
.upload-source-head span { padding: 3px 6px; border-radius: 999px; background: rgba(57, 166, 255, .09); color: #78c5ff; font-size: 8px; font-weight: 800; }
.upload-source-card.optional .upload-source-head span { background: rgba(141, 105, 255, .1); color: #b9a7ff; }
.upload-source-card > p { min-height: 33px; margin: 0 1px 9px; color: var(--muted); font-size: 9.5px; line-height: 1.45; }
.combined-limit { margin: 9px 2px 0; color: #7183a6; font-size: 9.5px; text-align: center; }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.drop-zone { min-height: 164px; border: 1px dashed rgba(109, 151, 221, .45); border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; text-align: center; cursor: pointer; background: linear-gradient(135deg, rgba(30, 65, 116, .18), rgba(67, 43, 119, .12)); transition: .2s ease; }
.drop-zone:hover, .drop-zone.dragging { border-color: #63b8ff; background: rgba(33, 77, 141, .22); transform: translateY(-1px); }
.drop-zone strong { font-size: 15px; }
.drop-zone > span:not(.upload-icon) { color: var(--muted); font-size: 12px; }
.drop-zone small { margin-top: 3px; color: #7183a6; font-size: 10px; }
.drop-zone.compact { min-height: 126px; }
.drop-zone.secondary { background: linear-gradient(135deg, rgba(74, 55, 132, .13), rgba(30, 65, 116, .12)); }
.upload-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 4px; border-radius: 12px; background: linear-gradient(140deg, rgba(57, 166, 255, .2), rgba(141, 105, 255, .2)); }
.upload-icon svg { width: 22px; fill: none; stroke: #8cd0ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.selected-file { min-height: 72px; padding: 12px 13px; display: flex; align-items: center; gap: 11px; border: 1px solid rgba(76, 224, 163, .25); border-radius: 14px; background: rgba(76, 224, 163, .07); }
.selected-file .file-dot { width: 11px; height: 11px; border: 3px solid rgba(76, 224, 163, .22); border-radius: 50%; background: var(--green); box-sizing: content-box; }
.selected-file div { min-width: 0; flex: 1; }
.selected-file strong, .selected-file small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.selected-file strong { font-size: 12px; }.selected-file small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.selected-file button { border: 0; background: transparent; color: var(--muted); font-size: 21px; cursor: pointer; }
.sync-control { min-height: 48px; margin-top: 8px; padding: 8px 10px; display: flex; align-items: center; justify-content: space-between; gap: 9px; border: 1px solid var(--line); border-radius: 11px; background: #0a1931; }
.sync-control > span:first-child b, .sync-control > span:first-child small { display: block; }
.sync-control b { font-size: 9.5px; }.sync-control small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.sync-control > span:last-child { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 9px; }
.sync-control input { width: 67px; padding: 6px 7px; border: 1px solid var(--line); border-radius: 8px; outline: none; background: rgba(4, 13, 28, .7); color: white; font-size: 10px; }

.field-label { display: block; margin: 11px 0 8px; color: #cbd5e8; font-size: 12px; font-weight: 700; }
.url-field { display: flex; align-items: center; gap: 9px; height: 52px; padding: 0 14px; border: 1px solid var(--line); border-radius: 13px; background: rgba(4, 13, 28, .62); }
.url-field > span { color: #79c4ff; font-size: 18px; }
.url-field input { width: 100%; border: 0; outline: 0; background: transparent; color: white; font-size: 13px; }
.url-field input::placeholder { color: #637699; }
.field-help { margin: 10px 3px 0; color: var(--muted); font-size: 10.5px; line-height: 1.5; }
.divider { height: 1px; margin: 23px 0 20px; background: var(--line); }

.operation-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 1fr); gap: 11px; margin-bottom: 12px; }
.format-choices { min-width: 0; margin: 0; padding: 7px 10px 9px; display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 12px; background: #0a1931; }
.format-choices legend { padding: 0 4px; color: var(--muted); font-size: 9px; }
.format-choices label { flex: 1; cursor: pointer; }.format-choices input { position: absolute; opacity: 0; }
.format-choices span { min-height: 32px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: 9.5px; font-weight: 800; }
.format-choices input:checked + span { border-color: rgba(57, 166, 255, .48); background: rgba(57, 166, 255, .12); color: #a7ddff; }

.settings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.control > span { display: block; margin: 0 0 6px 2px; color: var(--muted); font-size: 10px; }
.control select { width: 100%; min-height: 43px; font-size: 12px; }
.toggle-control { grid-column: span 1; min-height: 60px; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 12px; background: #0a1931; cursor: pointer; }
.toggle-control span b, .toggle-control span small { display: block; }.toggle-control span b { font-size: 11px; }.toggle-control span small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.toggle-control input { position: absolute; opacity: 0; }
.toggle-control i { position: relative; width: 35px; height: 20px; flex: 0 0 auto; border-radius: 999px; background: #233551; transition: .2s; }
.toggle-control i::after { content: ""; position: absolute; width: 14px; height: 14px; left: 3px; top: 3px; border-radius: 50%; background: #93a2bd; transition: .2s; }
.toggle-control input:checked + i { background: linear-gradient(90deg, #268fe3, #785ef0); }
.toggle-control input:checked + i::after { transform: translateX(15px); background: white; }

.primary-button, .download-button { display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; color: white; font-weight: 820; }
.primary-button { width: 100%; height: 51px; margin-top: 17px; border-radius: 13px; background: linear-gradient(105deg, #238fef, #795dec 78%); box-shadow: 0 16px 34px rgba(64, 92, 228, .27); transition: transform .18s ease, filter .18s ease; }
.primary-button:hover { transform: translateY(-2px); filter: brightness(1.08); }.primary-button:disabled { opacity: .58; cursor: wait; transform: none; }
.primary-button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.process-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.elapsed { padding: 7px 9px; border-radius: 8px; background: rgba(3, 11, 24, .55); color: #b7c4dc; font: 700 11px ui-monospace, SFMono-Regular, Menlo, monospace; }
.progress-visual { display: grid; grid-template-columns: 82px 1fr; gap: 17px; align-items: center; margin: 23px 0 18px; }
.progress-ring { position: relative; width: 82px; height: 82px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--blue) 0deg, var(--violet) var(--progress), rgba(103, 130, 173, .16) var(--progress)); }
.progress-ring::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #0c1a34; }
.progress-ring span { position: relative; z-index: 1; font-size: 19px; font-weight: 880; }
.progress-visual strong { display: block; font-size: 14px; }.progress-visual p { margin: 5px 0 0; color: var(--muted); font-size: 10.5px; line-height: 1.52; }
.stage-list { list-style: none; margin: 0; padding: 0; }
.stage-list li { min-height: 39px; display: grid; grid-template-columns: 16px 1fr auto; align-items: center; gap: 9px; border-bottom: 1px solid rgba(135, 164, 214, .09); color: #7789a9; font-size: 11px; }
.stage-list li:last-child { border-bottom: 0; }.stage-list li i { width: 8px; height: 8px; margin-left: 2px; border: 2px solid #3c4e6c; border-radius: 50%; }.stage-list li b { font-size: 9px; font-weight: 750; }
.stage-list li.active { color: #e7efff; }.stage-list li.active i { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(57, 166, 255, .1); animation: pulse 1.2s infinite; }.stage-list li.active b { color: #79c5ff; }
.stage-list li.done { color: #aabbd4; }.stage-list li.done i { border-color: var(--green); background: var(--green); box-shadow: 0 0 0 4px rgba(76, 224, 163, .08); }.stage-list li.done b { color: #64d8ac; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(57, 166, 255, 0); } }
.promise-card { display: flex; gap: 11px; margin-top: 18px; padding: 13px; border: 1px solid rgba(141, 105, 255, .18); border-radius: 13px; background: linear-gradient(110deg, rgba(49, 104, 173, .1), rgba(111, 72, 185, .1)); }
.promise-card > span { color: #a68eff; }.promise-card p { margin: 0; }.promise-card strong, .promise-card small { display: block; }.promise-card strong { font-size: 10.5px; }.promise-card small { margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.45; }

.billing-section { margin-top: 26px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(150deg, rgba(13, 29, 58, .94), rgba(7, 18, 38, .94)); box-shadow: var(--shadow); }
.billing-heading { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 42px; align-items: end; }
.billing-heading h2 { margin: 0; font-size: clamp(25px, 3.4vw, 42px); letter-spacing: -1.6px; }
.billing-heading > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.account-panel { margin: 24px 0 18px; padding: 13px; border: 1px solid rgba(57, 166, 255, .2); border-radius: 15px; background: rgba(4, 13, 28, .45); }
.auth-form { display: grid; grid-template-columns: minmax(190px, 1fr) minmax(160px, .8fr) minmax(160px, .8fr) auto auto; gap: 8px; align-items: center; }
.auth-form strong, .auth-form small, .account-status strong, .account-status small { display: block; }
.auth-form strong { font-size: 12px; }.auth-form small, .account-status small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.auth-form input { min-height: 41px; padding: 0 11px; border: 1px solid var(--line); border-radius: 10px; outline: none; background: #08162d; color: white; font-size: 11px; }
.auth-form button, .account-status button, .plan-action, .transfer-panel a { min-height: 41px; padding: 0 13px; border: 0; border-radius: 10px; background: linear-gradient(100deg, #268fe3, #765ce8); color: white; cursor: pointer; font-size: 10px; font-weight: 800; }
.auth-form button.secondary { border: 1px solid var(--line); background: rgba(13, 29, 58, .9); color: #b9c7dc; }
.account-status { display: grid; grid-template-columns: 1fr auto auto; gap: 20px; align-items: center; }
.account-status > div:nth-child(2) { text-align: right; }.account-status > div:nth-child(2) strong { color: #7fe0b7; }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.plan-card { position: relative; min-height: 245px; padding: 19px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 17px; background: rgba(5, 15, 32, .52); }
.plan-card.featured { border-color: rgba(141, 105, 255, .55); background: linear-gradient(150deg, rgba(41, 43, 98, .55), rgba(5, 15, 32, .62)); box-shadow: 0 18px 42px rgba(55, 40, 130, .18); }
.plan-badge { position: absolute; right: 13px; top: 13px; padding: 4px 7px; border-radius: 999px; background: rgba(141, 105, 255, .18); color: #c8bbff; font-size: 8px; font-weight: 850; }
.plan-card h3 { margin: 0; font-size: 18px; }.plan-card > p { min-height: 42px; margin: 7px 0 13px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.plan-price { margin-bottom: 14px; font-size: 25px; font-weight: 880; }.plan-price small { color: var(--muted); font-size: 9px; font-weight: 650; }
.plan-features { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 7px; color: #c3cfe1; font-size: 10px; }.plan-features li::before { content: "✓"; margin-right: 7px; color: var(--green); }
.plan-action { width: 100%; margin-top: auto; }.plan-action:disabled { opacity: .45; cursor: default; }
.transfer-panel { margin-top: 18px; padding: 20px; border: 1px solid rgba(76, 224, 163, .3); border-radius: 17px; background: rgba(18, 67, 54, .18); }
.transfer-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }.transfer-head h3 { margin: 0; font-size: 20px; }.transfer-head > span { padding: 5px 8px; border-radius: 999px; background: rgba(255, 184, 107, .12); color: #ffd09e; font-size: 9px; font-weight: 800; }
.transfer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin: 16px 0; }.transfer-grid > div { padding: 11px; border: 1px solid var(--line); border-radius: 11px; background: rgba(3, 11, 24, .4); }.transfer-grid small, .transfer-grid strong { display: block; }.transfer-grid small { margin-bottom: 5px; color: var(--muted); font-size: 9px; }.transfer-grid strong { overflow-wrap: anywhere; font-size: 11px; }
.transfer-panel > p { color: #c9d7e5; font-size: 10px; line-height: 1.55; }.transfer-panel a { display: inline-flex; align-items: center; justify-content: center; }

.results { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(9, 23, 46, .9); box-shadow: var(--shadow); overflow: hidden; }
.result-header { padding: 27px 29px 23px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.result-header h2 { margin: 0; font-size: 27px; letter-spacing: -1px; }.result-header > div > p:last-child { margin: 7px 0 0; color: var(--muted); font-size: 11px; }
.download-button { min-height: 45px; padding: 0 15px; border-radius: 11px; background: linear-gradient(100deg, #227ed1, #6d51d8); font-size: 11px; }.download-button b { padding: 4px 6px; border-radius: 5px; background: rgba(255, 255, 255, .12); font-size: 8px; }
.result-tabs { display: flex; gap: 5px; padding: 0 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow-x: auto; }
.result-tab { min-width: max-content; padding: 14px 12px 12px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 11px; font-weight: 760; cursor: pointer; }.result-tab.active { color: #85c9ff; border-bottom-color: #4aaeff; }
.result-body { padding: 26px 29px 31px; }.result-pane { display: none; }.result-pane.active { display: block; }
.prose, .transcript-box { color: #d5dff0; font-size: 13px; line-height: 1.75; white-space: pre-wrap; }
.key-grid, .notes-grid, .files-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; margin-top: 17px; }
.key-item, .note-item, .file-item, .quiz-item { padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: rgba(5, 15, 32, .47); }
.key-item { display: flex; gap: 10px; color: #cbd6e9; font-size: 11px; line-height: 1.5; }.key-item i { color: #78c5ff; font-style: normal; }
.note-item h3 { margin: 0 0 8px; color: #88caff; font-size: 14px; }.note-item p, .note-item li { color: #bdc9dc; font-size: 11px; line-height: 1.55; }.note-item ul { padding-left: 17px; }
.transcript-tools { display: flex; gap: 7px; margin-bottom: 12px; }.chip { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-size: 10px; }.chip.active { color: white; border-color: rgba(57, 166, 255, .5); background: rgba(57, 166, 255, .12); }
.transcript-box { max-height: 540px; padding: 18px; overflow: auto; border: 1px solid var(--line); border-radius: 14px; background: rgba(3, 11, 24, .48); }
.slides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }.slide-card { margin: 0; padding: 7px; border: 1px solid var(--line); border-radius: 13px; background: rgba(3, 11, 24, .52); }.slide-card img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; }.slide-card figcaption { padding: 7px 3px 2px; color: var(--muted); font-size: 9px; }
.empty-state { padding: 42px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: 14px; font-size: 12px; }
.quiz-status { margin-bottom: 12px; color: #8ecfff; font-size: 11px; font-weight: 750; }.quiz-item { margin-bottom: 11px; }.quiz-item h3 { margin: 0 0 12px; font-size: 13px; line-height: 1.5; }.quiz-options { display: grid; gap: 7px; }.quiz-option { padding: 10px 12px; text-align: left; border: 1px solid var(--line); border-radius: 10px; background: rgba(12, 29, 57, .7); color: #cad5e8; cursor: pointer; font-size: 11px; }.quiz-option:hover { border-color: rgba(57, 166, 255, .45); }.quiz-option.correct { border-color: rgba(76, 224, 163, .52); background: rgba(76, 224, 163, .1); }.quiz-option.wrong { border-color: rgba(255, 122, 145, .5); background: rgba(255, 122, 145, .1); }.quiz-explanation { display: none; margin: 10px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }.quiz-item.answered .quiz-explanation { display: block; }
.flash-shell { max-width: 650px; margin: auto; }.flash-count { text-align: center; color: var(--muted); font-size: 10px; }.flash-card { min-height: 280px; margin: 12px 0; padding: 28px; display: grid; place-items: center; text-align: center; border: 1px solid rgba(141, 105, 255, .3); border-radius: 20px; background: radial-gradient(circle at 50% 10%, rgba(103, 83, 221, .2), transparent 50%), rgba(5, 15, 32, .65); cursor: pointer; }.flash-card strong { font-size: clamp(18px, 3vw, 28px); line-height: 1.35; }.flash-card p { color: #c8d4e8; line-height: 1.6; }.flash-actions { display: flex; justify-content: center; gap: 8px; }.flash-actions button { padding: 9px 13px; border: 1px solid var(--line); border-radius: 10px; background: #0c1b37; cursor: pointer; font-size: 10px; }.flash-actions .know { border-color: rgba(76, 224, 163, .35); color: #7ae1b8; }
.file-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.file-item div strong, .file-item div small { display: block; }.file-item div strong { font-size: 11px; }.file-item div small { margin-top: 4px; color: var(--muted); font-size: 9px; }.file-item a { padding: 7px 9px; border-radius: 8px; background: rgba(57, 166, 255, .11); color: #8bcfff; font-size: 9px; font-weight: 800; }

.error-box { position: fixed; z-index: 30; right: 22px; bottom: 22px; width: min(430px, calc(100% - 44px)); padding: 16px 42px 16px 15px; display: grid; grid-template-columns: 30px 1fr; gap: 11px; border: 1px solid rgba(255, 122, 145, .32); border-radius: 15px; background: rgba(44, 13, 29, .96); box-shadow: 0 18px 60px rgba(0, 0, 0, .45); }.error-box > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 122, 145, .15); color: #ff9bad; font-weight: 900; }.error-box strong { font-size: 12px; }.error-box p { margin: 5px 0; color: #efc8d0; font-size: 10.5px; line-height: 1.5; }.error-box small { color: #b78390; font: 700 9px ui-monospace, monospace; }.error-box button { position: absolute; right: 10px; top: 8px; border: 0; background: transparent; color: #b78390; font-size: 20px; cursor: pointer; }

@media (max-width: 980px) {
  .intro { grid-template-columns: 1fr; gap: 18px; }.intro-copy { max-width: 700px; }
  .workspace { grid-template-columns: 1fr; }.process-panel { min-height: 0; }
  .auth-form { grid-template-columns: 1fr 1fr; }.auth-form > div { grid-column: span 2; }.plans-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 690px) {
  .topbar, .page-shell { width: min(100% - 24px, 1280px); }
  .topbar { height: 66px; }.page-shell { padding-top: 36px; }
  h1 { letter-spacing: -2px; }.intro { margin-bottom: 25px; }
  .input-panel, .process-panel { padding: 20px; border-radius: 19px; }
  .settings-grid { grid-template-columns: repeat(2, 1fr); }.toggle-control { grid-column: span 2; }
  .result-header { align-items: flex-start; flex-direction: column; }.download-button { width: 100%; }
  .result-body { padding: 21px 18px 25px; }.result-tabs { padding: 0 13px; }
  .key-grid, .notes-grid, .files-grid { grid-template-columns: 1fr; }.slides-grid { grid-template-columns: repeat(2, 1fr); }
  .dual-upload-grid, .separate-source-grid, .operation-grid { grid-template-columns: 1fr; }
  .billing-heading { grid-template-columns: 1fr; gap: 14px; }.billing-section { padding: 20px; }.plans-grid { grid-template-columns: 1fr; }.account-status { grid-template-columns: 1fr auto; }.account-status > div:nth-child(2) { text-align: left; }
}
@media (max-width: 430px) {
  .language-picker select { max-width: 118px; }.version-pill { display: none; }
  .settings-grid { grid-template-columns: 1fr; }.toggle-control { grid-column: span 1; }
  .progress-visual { grid-template-columns: 70px 1fr; }.progress-ring { width: 70px; height: 70px; }
  .slides-grid { grid-template-columns: 1fr; }
  .top-link { display: none; }.auth-form { grid-template-columns: 1fr; }.auth-form > div { grid-column: span 1; }.transfer-grid { grid-template-columns: 1fr; }
}
