/* Voxscribe: one standalone visual system for the application. */
:root { color-scheme:light; }
* { box-sizing:border-box; }
body { --paper:#f5f4ef; --ink:#2e3630; --muted:#646b61; --line:#d6d9ce; --soft:#ebede4; --accent:#526645; --button:#394734; --on:#fcfcf6; --error:#9c422d; --pencil:#c3933f; --pencil-end:#a85e4d; margin:0; background:var(--paper); color:var(--ink); font:16px/1.5 Arial,sans-serif; }
body.em-dark { color-scheme:dark; --paper:#303731; --ink:#f3f5ef; --muted:#c3ccc0; --line:#667164; --soft:#414b42; --accent:#d3dfc2; --button:#d7dfca; --on:#273025; --error:#f0ac95; --pencil:#e0b85f; --pencil-end:#d98570; }
[hidden] { display:none!important; }
a { color:inherit; text-decoration:none; }
a:hover { text-decoration:underline; text-underline-offset:4px; }
button,input,select { font:inherit; }
button { cursor:pointer; }
button:disabled { opacity:.6; cursor:not-allowed; }
:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
h1,h2,h3,h4,p { overflow-wrap:break-word; }
h2,h3 { font-weight:500; }
.container { max-width:1060px; margin:auto; padding:0 36px; }
.topbar { max-width:1120px; margin:auto; padding:26px 36px; border-bottom:1px solid var(--line); display:flex; align-items:center; gap:20px; }
.brand { display:inline-flex; align-items:center; gap:12px; font-size:25px; letter-spacing:-1px; }
.brand:hover { text-decoration:none; }
.logo { position:relative; display:inline-block; width:28px; height:28px; flex-shrink:0; }
.logo::before,.logo::after { content:''; position:absolute; top:4px; width:9px; height:20px; border:1px solid var(--ink); transform:skewY(-15deg); }
.logo::before { left:1px; border-right:0; }
.logo::after { right:1px; border-left:0; transform:skewY(15deg); }
.nav,.auth-actions { display:flex; align-items:center; gap:12px; }
.topbar .nav { margin-left:auto; color:var(--muted); font-size:13px; }
.topbar .nav a,.topbar .btn { display:inline-flex; align-items:center; justify-content:center; min-height:44px; line-height:1; font-size:13px; }
.topbar .btn { background:transparent; color:var(--ink); border:0; padding:0 8px; }
/* No redundant "new recording" action while the empty upload screen is open.
   Keep it in cabinet/pricing and after a file or result has been selected. */
body.em-initial.app-route-active .topbar .nav,
body.em-initial[data-initial-route="app"]:not(:has(#appPage[style])) .topbar .nav { display:none; }
body.em-initial.app-route-active .topbar .auth-actions,
body.em-initial[data-initial-route="app"]:not(:has(#appPage[style])) .topbar .auth-actions { margin-left:auto; }
.em-authenticated #openAuthBtn { display:none; }
.em-theme { width:44px; height:44px; flex-shrink:0; border:1px solid var(--line); border-radius:50%; color:var(--ink); background:transparent; font-size:22px; }
.btn { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:12px 22px; border:1px solid transparent; border-radius:3px; background:var(--button); color:var(--on); font-weight:400; text-align:center; line-height:1.3; }
.btn:hover { text-decoration:none; filter:brightness(.95); }
.btn.light,.btn.secondary,.btn.logout { background:transparent; color:var(--ink); border-color:var(--line); }
.btn.logout,.usage-badge { display:none; }
.btn.logout.visible { display:inline-flex; }
.usage-badge.visible { display:block; margin:20px 0; color:var(--muted); font-size:11px; }
.link-button,.auth-link { padding:10px 4px; background:transparent; color:var(--accent); border:0; }
/* Only the selected route is rendered, including before controller loading. */
#landingPage,#cabinetPage { display:none; }
body[data-initial-route="cabinet"] #appPage:not([style]),body[data-initial-route="pricing"] #appPage:not([style]) { display:none; }
body[data-initial-route="cabinet"] #cabinetPage:not([style]) { display:block; }
.em-pricing #appPage,.em-pricing #cabinetPage { display:none; }
.em-hero { display:grid; grid-template-columns:1.1fr 1fr; align-items:center; gap:40px; padding:32px 0 28px; }
.em-eyebrow { font-size:11px; letter-spacing:1.6px; color:var(--muted); margin:0 0 30px; }
.em-hero h1 { font:400 clamp(38px,4.4vw,62px)/1.08 Georgia,serif; letter-spacing:-2px; margin:0 0 26px; }
.em-hero h1 span { color:var(--accent); }
.em-intro { max-width:420px; margin:0; font-size:16px; line-height:1.65; color:var(--muted); }
.em-hero figure { width:100%; max-width:290px; justify-self:center; margin:0; color:var(--accent); }
.em-hero svg { width:100%; display:block; }
.em-hero figcaption { display:flex; justify-content:space-around; color:var(--muted); font-size:11px; letter-spacing:1px; margin-top:18px; }
.workspace { margin:0; padding:30px 0; border-top:1px solid var(--line); }
.panel { min-width:0; }
.steps { display:flex; gap:14px; flex-wrap:wrap; margin-bottom:24px; }
.flow-step { padding:6px 0; border-bottom:1px solid var(--line); color:var(--muted); font-size:11px; }
.flow-step.active { color:var(--accent); border-color:var(--accent); }
.em-initial .steps,.em-initial #toolIntro,.em-initial #uploadMicrocopy { display:none!important; }
.em-source-header { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:22px; }
.em-initial .em-source-header { margin-bottom:10px; }
.em-free-trial { display:none; }
.em-initial:not(.em-authenticated) .em-free-trial { display:block; margin:0 0 16px; font-size:14px; font-weight:600; color:var(--accent); }
.em-free-trial span { color:var(--muted); font-weight:400; }
#appPanelTitle { margin:0; font-size:18px; font-weight:400; }
.em-initial #appPanelTitle { font-size:15px; }
.em-source-tabs { display:flex; gap:20px; }
.em-source-tabs button { background:transparent; color:var(--muted); border:0; border-bottom:1px solid transparent; min-height:44px; font-size:13px; }
.em-source-tabs button[aria-pressed=true] { color:var(--ink); border-bottom-color:var(--ink); }
.tool-intro,.hint,.file-meta,.processing-note,.progress-help,.cabinet-muted { color:var(--muted); }
.tool-intro { font-size:13px; }
#appDropZone { display:grid; grid-template-columns:40px 1fr auto; align-items:center; gap:8px 20px; padding:28px; background:var(--soft); }
#appDropZone.dragover { outline:2px dashed var(--accent); outline-offset:4px; }
.upload-icon { display:grid; place-items:center; min-height:44px; grid-row:1/3; font-size:25px; color:var(--accent); border:1px solid var(--line); }
#appDropText { margin:0; font-size:0; }
#appDropText br { display:none; }
#appDropText b { font-size:14px; font-weight:400; }
#appChooseBtn { grid-column:3; grid-row:1/3; }
#appDropZone .hint { grid-column:2; margin:0; font-size:11px; }
.hidden-file { display:none; }
.em-below-upload { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:22px 0 14px; color:var(--muted); font-size:12px; }
.em-demo { margin:18px 0 10px; padding:38px 0 6px; border-top:1px solid var(--line); }
.em-demo-heading { display:grid; grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr); gap:10px 36px; align-items:start; margin-bottom:24px; }
.em-demo-heading .em-eyebrow { grid-row:1/3; margin:4px 0 0; }
.em-demo-heading h2 { margin:0; font:400 clamp(26px,3vw,38px)/1.15 Georgia,serif; letter-spacing:-.8px; }
.em-demo-heading>p:last-child { margin:0; max-width:600px; color:var(--muted); font-size:14px; }
.em-demo-grid { display:grid; grid-template-columns:minmax(240px,.72fr) minmax(0,1.28fr); gap:18px; }
.em-demo-audio,.em-demo-transcript { min-width:0; padding:22px; background:var(--soft); border:1px solid var(--line); }
.em-demo-audio { display:flex; flex-direction:column; gap:16px; }
.em-demo-audio>span { color:var(--ink); font-size:14px; }
.em-demo-audio audio { width:100%; height:42px; accent-color:var(--accent); }
.em-demo-audio small { color:var(--muted); font-size:10px; line-height:1.55; }
.em-demo-audio small a { text-decoration:underline; text-underline-offset:3px; }
.em-demo-transcript { font:15px/1.55 Georgia,serif; }
.em-demo-transcript p { margin:0 0 10px; }
.em-demo-transcript p:last-child { margin-bottom:0; }
.em-demo-transcript strong { color:var(--accent); font-family:Arial,sans-serif; font-size:12px; }
.em-demo-download { margin-top:16px; }
.em-home-pricing { margin:52px 0 12px; padding:44px 0 10px; border-top:1px solid var(--line); }
.em-home-pricing-heading { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr); gap:30px; align-items:end; margin-bottom:26px; }
.em-home-pricing-heading .em-eyebrow { margin:0 0 12px; }
.em-home-pricing-heading h2 { margin:0; font:400 clamp(28px,3vw,40px)/1.15 Georgia,serif; letter-spacing:-.8px; }
.em-home-pricing-heading>p { margin:0; color:var(--muted); font-size:14px; }
.em-home-plans { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.em-home-plan { position:relative; display:flex; flex-direction:column; min-width:0; padding:24px; border:1px solid var(--line); }
.em-home-plan--featured { border-color:var(--accent); background:var(--soft); }
.em-home-plan-badge { align-self:flex-start; margin-bottom:12px; padding:4px 8px; background:var(--accent); color:var(--paper); font-size:10px; letter-spacing:.5px; text-transform:uppercase; }
.em-home-plan h3 { margin:0 0 20px; font-size:16px; font-weight:500; }
.em-home-plan-volume { margin:0; font:400 27px/1.15 Georgia,serif; }
.em-home-plan-price { display:flex; flex-wrap:wrap; gap:6px 10px; align-items:baseline; margin:8px 0 18px; font-size:18px; }
.em-home-plan-price span { color:var(--muted); font-size:11px; }
.em-home-plan-validity { margin:0 0 20px; color:var(--muted); font-size:12px; }
.em-home-plan .btn { width:100%; margin-top:auto; }
.em-home-pricing-link { display:inline-block; margin-top:20px; padding:10px 0; border-bottom:1px solid var(--line); color:var(--ink); font-size:13px; }
.em-how { margin:52px 0 10px; padding:44px 0 8px; border-top:1px solid var(--line); }
.em-how-heading { display:grid; grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr); gap:36px; margin-bottom:28px; }
.em-how-heading .em-eyebrow { margin:6px 0 0; }
.em-how-heading h2 { margin:0; max-width:620px; font:400 clamp(28px,3vw,40px)/1.15 Georgia,serif; letter-spacing:-.8px; }
.em-how-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:0; padding:0; list-style:none; counter-reset:none; }
.em-how-steps li { padding:24px 24px 26px; border-top:1px solid var(--accent); background:var(--soft); }
.em-how-number { display:block; margin-bottom:30px; color:var(--accent); font-size:11px; letter-spacing:1px; }
.em-how-steps h3 { margin:0 0 12px; font-size:16px; font-weight:500; }
.em-how-steps p { margin:0; color:var(--muted); font-size:13px; line-height:1.6; }
.em-trust-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin-top:24px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.em-trust-grid>div,.em-trust-grid>a { display:flex; flex-direction:column; gap:7px; min-width:0; padding:20px 18px; border-right:1px solid var(--line); }
.em-trust-grid>*:last-child { border-right:0; }
.em-trust-grid strong { color:var(--ink); font-size:12px; font-weight:500; }
.em-trust-grid span { color:var(--muted); font-size:11px; line-height:1.5; }
.em-faq { margin:52px 0 8px; padding:44px 0 8px; border-top:1px solid var(--line); }
.em-faq-heading { display:grid; grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr); gap:10px 36px; align-items:start; margin-bottom:24px; }
.em-faq-heading .em-eyebrow { grid-row:1/3; margin:6px 0 0; }
.em-faq-heading h2 { margin:0; font:400 clamp(28px,3vw,40px)/1.15 Georgia,serif; letter-spacing:-.8px; }
.em-faq-heading>p:last-child { margin:0; color:var(--muted); font-size:14px; }
.em-faq-list { border-top:1px solid var(--line); }
.em-faq-list details { border-bottom:1px solid var(--line); }
.em-faq-list summary { position:relative; min-height:64px; padding:20px 48px 20px 0; color:var(--ink); cursor:pointer; font-size:15px; list-style:none; }
.em-faq-list summary::-webkit-details-marker { display:none; }
.em-faq-list summary::after { content:'+'; position:absolute; right:4px; top:16px; color:var(--accent); font:300 24px/1 Arial,sans-serif; }
.em-faq-list details[open] summary::after { content:'−'; }
.em-faq-list details p { max-width:760px; margin:-4px 0 22px; color:var(--muted); font-size:13px; line-height:1.65; }
.em-faq-support { margin:20px 0 0; color:var(--muted); font-size:13px; }
.em-faq-support a { color:var(--ink); border-bottom:1px solid var(--line); }
.em-final-cta { display:grid; grid-template-columns:minmax(0,1.18fr) minmax(280px,.82fr); gap:40px; align-items:end; margin:52px 0 18px; padding:44px 0 8px; border-top:1px solid var(--line); }
.em-final-cta .em-eyebrow { margin:0 0 14px; }
.em-final-cta h2 { max-width:600px; margin:0; font:400 clamp(30px,3.6vw,46px)/1.12 Georgia,serif; letter-spacing:-1px; }
.em-final-cta-action { display:flex; flex-direction:column; align-items:flex-start; gap:22px; }
.em-final-cta-action p { max-width:440px; margin:0; color:var(--muted); font-size:14px; line-height:1.65; }
.em-final-cta-action .btn { min-width:190px; }
.url-box { display:flex; flex-wrap:wrap; gap:12px; background:var(--soft); padding:24px; }
.or-label { flex-basis:100%; color:var(--muted); font-size:13px; }
.url-input { flex:1; min-width:0; padding:12px; }
#appWorkspace:not(.em-url) .em-source-url,.em-url #appDropZone { display:none!important; }
.em-settings { margin:18px 0; color:var(--muted); font-size:13px; }
.em-settings summary { cursor:pointer; padding:12px 0; min-height:44px; }
.settings-grid { display:none; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:12px 0 18px; }
.setting-label { display:block; margin-bottom:8px; color:var(--ink); font-size:14px; }
.segmented { display:flex; gap:6px; padding:5px; border:1px solid var(--line); background:var(--soft); }
.segmented label { position:relative; flex:1; }
.segmented input { position:absolute; opacity:0; }
.segmented span { display:block; padding:9px 10px; color:var(--ink); cursor:pointer; font-size:14px; text-align:center; }
.segmented input:checked+span { background:var(--button); color:var(--on); }
.segmented input:focus-visible+span { outline:2px solid var(--accent); outline-offset:2px; }
input:not([type=checkbox]):not([type=radio]):not([type=file]),select { border:1px solid var(--line); border-radius:3px; background:var(--paper); color:var(--ink); }
input[type=checkbox],input[type=radio] { accent-color:var(--accent); }
.file-card { display:none; margin-top:16px; padding:14px; border:1px solid var(--line); background:var(--soft); }
.file-card.visible { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:14px; align-items:center; }
.file-card>div { min-width:0; }
.file-name-display { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.file-name { color:var(--ink); font-weight:700; }
.file-meta { margin-top:4px; font-size:14px; }
.file-state { color:var(--accent); font-size:14px; }
.start-row { display:none; margin-top:14px; }
.start-row.visible { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.status { margin:14px 0 8px; }
.processing-note,.progress-help,.progress-wrap,.progress-percent,.processing-status,.result-box,.result-actions,.paywall,.auth-gate,.oauth-complete,.payment-placeholder,.app-trust { display:none; }
.processing-note.visible,.progress-help.visible,.processing-status.visible,.auth-gate.visible,.oauth-complete.visible,.payment-placeholder.visible { display:block; }
.progress-wrap { height:14px; background:var(--soft); border:1px solid var(--line); border-radius:20px; overflow:hidden; margin:18px 0; }
.progress-bar { height:100%; width:0; background:var(--accent); transition:width .25s ease; }
.progress-percent { text-align:right; font-size:14px; }
.processing-status,.auth-gate,.oauth-complete,.payment-placeholder,.paywall { margin:20px 0; padding:24px; border:1px solid var(--line); background:var(--soft); }
.processing-status h3 { margin:0 0 12px; font-size:16px; }
.processing-activity { display:grid; grid-template-columns:58px minmax(0,1fr); gap:14px; align-items:center; min-height:72px; margin:0 0 16px; padding:14px 16px; border:1px solid var(--line); background:var(--paper); }
.processing-pencil-track { position:relative; display:block; width:54px; height:42px; overflow:hidden; }
.processing-pencil-track::after { content:""; position:absolute; left:7px; bottom:7px; width:38px; height:1px; background:var(--accent); opacity:.42; transform-origin:left center; animation:processing-pencil-line 2.4s ease-in-out infinite; }
.processing-pencil { position:absolute; left:6px; top:0; width:42px; height:42px; transform-origin:24px 28px; animation:processing-pencil-write 2.4s ease-in-out infinite; }
.processing-pencil-body { fill:var(--pencil); }
.processing-pencil-tip { fill:var(--ink); }
.processing-pencil-end { fill:var(--pencil-end); }
.processing-activity-copy { min-width:0; }
.processing-activity-copy strong { display:block; color:var(--ink); font-size:16px; font-weight:600; line-height:1.4; }
.processing-activity-copy span { display:block; margin-top:4px; color:var(--muted); font-size:13px; line-height:1.45; }
.processing-long-notice { margin:0 0 16px; padding:12px 14px; border-left:3px solid var(--accent); background:var(--paper); color:var(--ink); font-size:14px; line-height:1.55; }
.processing-long-notice[hidden] { display:none; }
.processing-stages { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; padding:0; list-style:none; }
.processing-stages li { border:1px solid var(--line); padding:9px 10px; color:var(--muted); font-size:14px; }
.processing-stages li.active { border-color:var(--accent); color:var(--ink); }
.processing-stages li.done { color:var(--ink); }
.processing-timer { font-size:14px; }
body[data-app-state="processing"] #progressWrap,
body[data-app-state="processing"] #progressPercent { display:none !important; }
@keyframes processing-pencil-write {
  0%,100% { transform:translate3d(-3px,1px,0) rotate(-4deg); }
  45% { transform:translate3d(6px,-1px,0) rotate(2deg); }
  55% { transform:translate3d(6px,-1px,0) rotate(2deg); }
}
@keyframes processing-pencil-line {
  0% { transform:scaleX(.08); opacity:.16; }
  48% { transform:scaleX(1); opacity:.5; }
  72%,100% { transform:scaleX(1); opacity:.16; }
}
@media (prefers-reduced-motion:reduce) {
  .processing-pencil,.processing-pencil-track::after { animation:none; }
}
@media (max-width:560px) {
  .processing-activity { grid-template-columns:48px minmax(0,1fr); padding:12px; }
  .processing-pencil-track { width:46px; }
  .processing-pencil { left:2px; }
}
.result-box,.cabinet-transcript { margin:20px 0 0; padding:24px; border:1px solid var(--line); font:16px/1.85 Georgia,serif; white-space:pre-wrap; max-height:min(52vh,520px); overflow-y:auto; overscroll-behavior:contain; scrollbar-gutter:stable; overflow-wrap:anywhere; }
.result-actions { margin-top:14px; gap:10px; flex-wrap:wrap; }
.auth-gate-card,.oauth-complete-card,.payment-placeholder-card { max-width:520px; margin:auto; }
.oauth-list { display:grid; gap:10px; margin:14px 0; }
.oauth-list .oauth-provider-btn { width:100%; color:#fff; border-color:transparent; }
.oauth-list .oauth-provider-btn:hover { color:#fff; filter:brightness(.94); }
.oauth-list .oauth-provider-btn:focus-visible { outline:3px solid var(--paper); outline-offset:-5px; box-shadow:0 0 0 2px currentColor; }
.oauth-list .oauth-yandex { background:#fc3f1d; }
.oauth-list .oauth-vk { background:#0077ff; }
.oauth-list .oauth-mailru { background:#0077ff; }
.oauth-complete-form .btn { width:100%; }
.auth-tabs { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:14px 0; }
.auth-tab { padding:12px; color:var(--ink); background:var(--paper); border:1px solid var(--line); }
.auth-tab.active { border-color:var(--accent); }
.paywall-tariffs,.pay-buttons { display:flex; gap:10px; flex-wrap:wrap; margin:12px 0; }
.partial-paywall-tariffs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.partial-paywall-card { padding:16px; border:1px solid var(--line); }
.partial-paywall-card .btn { width:100%; }
.cabinet-page { padding:48px 0 0; }
.cabinet-top { display:flex; justify-content:space-between; align-items:center; gap:18px; padding:24px 0; }
.cabinet-top h2,.cabinet-section h3,.cabinet-detail h2 { margin:0; }
.cabinet-top-actions,.cabinet-actions,.cabinet-downloads { display:flex; flex-wrap:wrap; gap:10px; }
.cabinet-balance { display:flex; justify-content:space-between; align-items:center; gap:18px; padding:22px 24px; }
.cabinet-balance-value { margin:5px 0 0; font-size:30px; font-weight:700; }
.cabinet-retention-notice { padding:14px 0; font-size:12px; color:var(--muted); }
.cabinet-section,.cabinet-detail { padding:24px 0; }
.cabinet-auth { padding:24px; text-align:center; }
.cabinet-job-list { margin-top:16px; }
.cabinet-job { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:18px; align-items:center; padding:22px 0; border-bottom:1px solid var(--line); }
.cabinet-filename { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.cabinet-meta { display:flex; flex-wrap:wrap; gap:8px 14px; margin-top:7px; color:var(--muted); font-size:14px; }
.cabinet-status { color:var(--accent); font-weight:700; }
.cabinet-retention,.cabinet-conversion { margin:8px 0 0; color:var(--muted); font-size:14px; }
.cabinet-delete { color:var(--muted); background:transparent; border-color:var(--line); }
.cabinet-empty,.cabinet-loading,.cabinet-error { padding:30px 10px; text-align:center; color:var(--muted); }
.cabinet-error,.cabinet-retention.expired { color:var(--error); }
.cabinet-downloads { margin-top:16px; }
.export-menu { position:fixed; z-index:20; top:12px; left:12px; width:min(330px,calc(100vw - 24px)); max-height:calc(100vh - 24px); overflow-y:auto; padding:16px; border:1px solid var(--line); border-radius:3px; background:var(--paper); color:var(--ink); box-shadow:0 8px 24px #0002; }
.export-menu h4 { margin:0 0 10px; font-size:14px; }
.export-formats { display:grid; grid-template-columns:repeat(4,1fr); gap:6px; margin-bottom:16px; }
.export-format { padding:8px 4px; border:1px solid var(--line); border-radius:3px; background:transparent; color:var(--ink); font-size:12px; }
.export-format:hover { background:var(--soft); }
.export-format.selected { background:var(--button); color:var(--on); border-color:var(--button); }
.export-options { display:grid; gap:9px; margin-bottom:16px; }
.export-option { display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:14px; cursor:pointer; }
.export-option input { width:18px; height:18px; }
.export-option:has(input:disabled),.export-hint { color:var(--muted); }
.export-hint { font-size:12px; }
.export-submit { width:100%; }
#pricing { padding:60px 36px; }
.pricing-head h2 { font:38px/1.2 Georgia,serif; }
.pricing-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; margin-top:30px; }
.pricing-card { padding:28px; border:1px solid var(--line); display:flex; flex-direction:column; gap:14px; }
.pricing-card p { margin:0; }
.pricing-card .btn { margin-top:auto; }
.price { font-size:24px; }
.plan-name { font-size:18px; }
.plan-badge,.plan-value-note { display:none; }
.plan-copy,.plan-meta,.plan-validity,.section-copy,.pricing-note { color:var(--muted); }
.plan-meta { padding-left:20px; }
.paid-validity { border:1px solid var(--line); padding:10px; background:var(--soft); }
.em-recommended-package { border:2px solid var(--accent); background:var(--soft); }
.em-package-reason,.em-purchase-context { border-bottom:1px solid var(--line); padding-bottom:16px; }
.experiment-purchase-suggestion,.em-purchase-suggestion { margin-top:28px; padding:20px 0; border-top:1px solid var(--line); color:var(--muted); }
.experiment-purchase-actions,.em-purchase-links { display:flex; gap:20px; flex-wrap:wrap; }
.auth-modal { display:none; position:fixed; inset:0; z-index:50; align-items:center; justify-content:center; padding:22px; background:#20242199; }
.auth-modal.open { display:flex; }
.auth-modal-open { overflow:hidden; }
.auth-dialog { position:relative; width:100%; max-width:430px; max-height:calc(100dvh - 44px); overflow-y:auto; padding:30px; border:1px solid var(--line); border-radius:3px; background:var(--paper); color:var(--ink); box-shadow:0 20px 70px #0003; }
.auth-close { position:absolute; top:14px; right:14px; width:36px; height:36px; border:0; background:var(--soft); color:var(--ink); font-size:24px; }
.auth-brand { display:flex; justify-content:center; margin:4px 0 24px; }
.auth-title { text-align:center; font-size:28px; margin:4px 0 10px; }
.auth-subtitle,.auth-switch,.auth-email-separator { text-align:center; color:var(--muted); font-size:14px; }
.auth-form { display:none; }
.auth-form.active { display:block; }
.auth-field { display:block; margin-bottom:14px; font-size:14px; }
.auth-input { width:100%; margin-top:7px; padding:14px 15px; }
.auth-password-wrap { position:relative; }
.auth-password-wrap .auth-input { padding-right:96px; }
.password-toggle { position:absolute; right:8px; bottom:7px; min-width:74px; height:36px; border:0; background:var(--soft); color:var(--ink); font-size:13px; }
.auth-check { display:grid; grid-template-columns:18px 1fr; gap:10px; align-items:start; margin:13px 0; color:var(--muted); font-size:12px; line-height:1.45; }
.auth-check input { width:18px; height:18px; margin:0; }
.auth-check a,.auth-legal a { color:var(--accent); text-decoration:underline; }
.auth-submit { width:100%; margin-top:8px; }
.auth-message { display:none; margin-top:14px; padding:12px 14px; background:var(--soft); text-align:center; font-size:14px; }
.auth-message.visible { display:block; }
.auth-legal { font-size:12px; color:var(--muted); text-align:center; }
footer#contacts { max-width:928px; margin:35px auto 0; padding:22px 0; border-top:1px solid var(--line); }
.em-footer { display:flex; justify-content:space-between; gap:24px; align-items:baseline; font-size:11px; color:var(--muted); line-height:1.8; }
.em-footer nav { display:flex; flex-wrap:wrap; gap:8px 18px; color:var(--ink); }
.site-notice { position:fixed; right:20px; bottom:20px; z-index:10000; width:min(420px,calc(100vw - 40px)); padding:18px; background:var(--paper); color:var(--ink); border:1px solid var(--line); border-radius:3px; box-shadow:0 8px 28px #0002; }
.site-notice__text { margin:0; font-size:13px; line-height:1.6; color:var(--muted); }
.site-notice__text a { color:var(--ink); text-decoration:underline; }
.site-notice__actions { display:flex; justify-content:flex-end; margin-top:12px; }
.site-notice__button { border:0; border-radius:3px; padding:10px 22px; min-height:44px; background:var(--button); color:var(--on); }
@media(max-width:700px) {
  .container { padding:0 22px; }
  .topbar { padding:16px 22px; gap:12px; flex-wrap:wrap; }
  .topbar .brand { flex:1 0 auto; font-size:22px; }
  .topbar .nav { order:2; width:100%; margin:0; }
  .auth-actions { gap:6px; margin-left:auto; }
  .em-hero { padding:24px 0; gap:12px; grid-template-columns:1fr; }
  .em-hero figure { display:none; }
  .em-hero h1 { font-size:clamp(34px,10vw,42px); margin-bottom:18px; }
  .em-hero svg { max-height:180px; }
  .em-eyebrow { margin-bottom:14px; }
  .workspace { padding:22px 0; }
  #appDropZone { grid-template-columns:30px 1fr; padding:22px; gap:14px; }
  #appChooseBtn { grid-column:1/3; grid-row:3; width:100%; }
  .em-below-upload { align-items:flex-start; font-size:11px; }
  .em-demo { padding-top:28px; }
  .em-demo-heading,.em-demo-grid { grid-template-columns:1fr; }
  .em-demo-heading { gap:12px; }
  .em-demo-heading .em-eyebrow { grid-row:auto; }
  .em-demo-audio,.em-demo-transcript { padding:18px; }
  .em-demo-download { width:100%; }
  .em-home-pricing { margin-top:38px; padding-top:32px; }
  .em-home-pricing-heading,.em-home-plans { grid-template-columns:1fr; }
  .em-home-pricing-heading { gap:14px; }
  .em-home-plan { padding:22px; }
  .em-home-pricing-link { width:100%; text-align:center; }
  .em-how { margin-top:38px; padding-top:32px; }
  .em-how-heading,.em-how-steps,.em-trust-grid { grid-template-columns:1fr; }
  .em-how-heading { gap:12px; }
  .em-how-number { margin-bottom:18px; }
  .em-trust-grid>div,.em-trust-grid>a { border-right:0; border-bottom:1px solid var(--line); }
  .em-trust-grid>*:last-child { border-bottom:0; }
  .em-faq { margin-top:38px; padding-top:32px; }
  .em-faq-heading { grid-template-columns:1fr; gap:10px; }
  .em-faq-heading .em-eyebrow { grid-row:auto; }
  .em-faq-list summary { padding-right:36px; }
  .em-final-cta { grid-template-columns:1fr; gap:20px; margin-top:38px; padding-top:32px; }
  .em-final-cta-action .btn { width:100%; }
  .settings-grid,.pricing-grid,.partial-paywall-tariffs { grid-template-columns:1fr; }
  .segmented span { padding:9px 7px; }
  .file-card.visible,.cabinet-job { grid-template-columns:1fr; }
  .cabinet-top { align-items:flex-start; flex-direction:column; }
  .cabinet-balance { padding:20px 0; }
  .cabinet-actions .btn { padding:12px 16px; }
  .result-box,.cabinet-transcript { max-height:52vh; padding:18px; }
  #pricing { padding:40px 22px; }
  .pricing-card { padding:22px; }
  footer#contacts { margin:25px 22px 0; padding:20px 0; }
  .em-footer { display:block; }
  .em-footer nav { margin-top:14px; }
}
@media(prefers-reduced-motion:reduce) { * { scroll-behavior:auto!important; animation:none!important; transition:none!important; } }
