:root { color-scheme: light; --ink:#18241d; --muted:#6e786f; --line:#dce5dc; --paper:#f6f7f2; --lime:#c5fb49; --dark:#1e2c23; --warm:#f0eadf; }
* { box-sizing: border-box; }
body { margin:0; background:var(--paper); color:var(--ink); font-family: ui-rounded, "SF Pro Rounded", "PingFang SC", system-ui, sans-serif; }
.shell { max-width:960px; margin:0 auto; padding:84px 28px 48px; }
.hero { max-width:630px; margin-bottom:48px; }
.eyebrow,.step { margin:0 0 11px; color:var(--muted); font:700 11px/1.2 ui-monospace, monospace; letter-spacing:.12em; }
h1 { margin:0; font-size:clamp(52px,10vw,102px); letter-spacing:-.075em; line-height:.86; font-weight:800; }
h1 span { color:#8bb700; font-weight:400; }
.intro { max-width:490px; margin:24px 0 0; color:var(--muted); font-size:17px; line-height:1.65; }
.converter { background:#fff; border:1px solid var(--line); border-radius:24px; padding:28px; box-shadow:0 16px 40px #2537270a; }
.panel-heading,.queue-header,.actions { display:flex; align-items:center; justify-content:space-between; gap:16px; }
h2 { margin:0; font-size:25px; letter-spacing:-.04em; }
.local-badge { align-self:flex-start; display:flex; align-items:center; gap:7px; border-radius:100px; background:#edf7dd; color:#42630a; padding:8px 11px; font-size:12px; font-weight:700; white-space:nowrap; }
.local-badge i { width:7px; height:7px; background:#8abd19; border-radius:50%; }
.dropzone { margin-top:26px; min-height:242px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; gap:8px; border:1.5px dashed #b5c8b7; border-radius:16px; background:linear-gradient(135deg,#fbfdf7,#f3f9e9); cursor:pointer; transition:.2s ease; }
.dropzone:hover,.dropzone.dragging { border-color:#759c17; background:#f3fade; transform:translateY(-1px); }
.dropzone input { position:absolute; inline-size:1px; block-size:1px; opacity:0; }
.dropzone strong { font-size:17px; }
.dropzone span:last-child { color:var(--muted); font-size:13px; }
.drop-icon { display:grid; place-items:center; width:42px; height:42px; margin-bottom:3px; border-radius:50%; background:var(--lime); font-size:25px; line-height:1; }
.queue-header { padding:27px 0 12px; }
.queue-header .step { display:inline; margin-right:10px; }
.queue-header strong { font-size:13px; }
.text-button { border:0; background:transparent; color:var(--muted); text-decoration:underline; cursor:pointer; font:inherit; font-size:13px; }
.queue { list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.queue li { display:grid; grid-template-columns:40px 1fr auto; align-items:center; gap:12px; min-height:58px; padding:8px; border:1px solid var(--line); border-radius:12px; }
.thumb { width:40px; height:40px; display:grid; place-items:center; border-radius:8px; background:var(--warm); font-size:11px; font-weight:800; color:#756950; }
.file-name { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:14px; font-weight:650; }
.file-meta { color:var(--muted); font-size:12px; margin-top:4px; }
.file-state { color:var(--muted); font-size:12px; }
.file-state.done { color:#5a8610; font-weight:700; }
.file-state.error { color:#b14532; }
.actions { margin-top:22px; justify-content:flex-start; flex-wrap:wrap; }
button { font:inherit; } .primary-button,.secondary-button { min-height:46px; padding:0 18px; border-radius:10px; cursor:pointer; font-weight:750; }
.primary-button { border:1px solid var(--dark); background:var(--dark); color:#fff; } .primary-button:hover { background:#304535; }
.primary-button:disabled { opacity:.55; cursor:wait; } .secondary-button { border:1px solid var(--line); background:#fff; color:var(--ink); }
.status { min-height:20px; margin:16px 0 0; color:var(--muted); font-size:13px; }
.notes { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:16px; }
.notes article { padding:18px; border:1px solid var(--line); border-radius:14px; background:#fdfdf9; } .notes span { color:#86ae12; font:700 11px ui-monospace,monospace; } .notes h3 { margin:16px 0 6px; font-size:15px; } .notes p { margin:0; color:var(--muted); font-size:13px; line-height:1.5; }
footer { padding:0 20px 32px; color:#99a29a; text-align:center; font:12px ui-monospace,monospace; }
@media (max-width:620px) { .shell { padding:48px 16px 30px; } .converter { padding:18px; border-radius:18px; } .panel-heading { align-items:flex-start; } h2 { font-size:21px; } .dropzone { min-height:210px; } .notes { grid-template-columns:1fr; } .local-badge { font-size:11px; } }
