:root { --ink:#1e2925; --muted:#66736d; --paper:#f7f6f1; --card:#fffefa; --line:#dfe3da; --green:#147a50; --green-dark:#0c6541; --soft:#edf4ed; --red:#b54038; }
* { box-sizing:border-box; }
body { margin:0; min-height:100vh; color:var(--ink); background:radial-gradient(circle at 83% 5%, #e2efe2 0, transparent 25rem), var(--paper); font-family:Inter,Segoe UI,Roboto,Helvetica,Arial,sans-serif; }
.page-shell { width:min(760px, calc(100% - 40px)); margin:0 auto; padding:24px 0 34px; }
.site-header { display:flex; align-items:center; justify-content:space-between; }
.brand { color:var(--ink); font:800 17px/1 ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing:-1.2px; text-decoration:none; }.brand>span:not(.brand-mark) { color:var(--green); }.brand-mark { display:inline-grid; place-items:center; width:23px; height:23px; margin-right:7px; border-radius:7px; color:#fff; background:var(--green); font:700 16px/1 Arial; vertical-align:middle; }
.local-badge,.file-limit,.step-label,.eyebrow,.field-label-row span { font:500 10px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing:.06em; text-transform:uppercase; }.local-badge { color:#4e6758; display:flex; gap:7px; align-items:center; }.local-badge i { width:7px; height:7px; border-radius:50%; background:#5aa779; box-shadow:0 0 0 3px #dcecdf; }
.hero { padding:85px 16px 49px; text-align:center; }.eyebrow,.step-label { color:var(--green); margin:0 0 14px; }.hero h1,.status-card h1 { margin:0; font-size:clamp(37px, 7vw, 58px); line-height:1.11; letter-spacing:-.055em; font-weight:700; }.hero h1 em { color:var(--green); font-family:Georgia,'Times New Roman',serif; font-weight:600; }.hero-copy { max-width:555px; margin:21px auto 0; color:var(--muted); font-size:14px; line-height:1.8; }
.converter-card,.status-card { background:rgba(255,254,250,.88); border:1px solid var(--line); box-shadow:0 18px 45px rgba(48,70,55,.07); padding:28px; border-radius:18px; }.card-heading { display:flex; justify-content:space-between; align-items:start; padding-bottom:22px; }.card-heading h2 { font-size:20px; margin:0; letter-spacing:-.035em; }.file-limit { color:var(--muted); background:#f0f2ec; border-radius:99px; padding:7px 9px; }
form { display:grid; gap:22px; }.drop-zone { cursor:pointer; display:flex; min-height:176px; flex-direction:column; justify-content:center; align-items:center; border:1.5px dashed #b5c6b9; border-radius:12px; background:#fafcf8; transition:.18s ease; }.drop-zone:hover,.drop-zone.dragging { border-color:var(--green); background:#f1f8f1; }.drop-zone.has-file { border-style:solid; border-color:#71a98a; background:#f2f8f2; }.drop-zone input { position:absolute; width:1px; height:1px; opacity:0; }.upload-icon { display:grid; place-items:center; width:36px; height:36px; border-radius:50%; background:#e3f0e5; color:var(--green); font-size:21px; margin-bottom:11px; }.drop-title { font-size:14px; font-weight:700; }.drop-subtitle { margin-top:4px; font-size:12px; color:var(--muted); }.drop-subtitle b { color:var(--green); }
.field-group { display:grid; gap:8px; }.field-label-row { display:flex; justify-content:space-between; align-items:center; }.field-label-row label { font-size:13px; font-weight:700; }.field-label-row span { color:var(--green); }.key-input-wrap { display:flex; align-items:center; border:1px solid #cbd4ca; border-radius:9px; background:#fff; overflow:hidden; }.key-input-wrap:focus-within { border-color:var(--green); box-shadow:0 0 0 3px #dcefe1; }.key-input-wrap textarea { appearance:none; min-width:0; flex:1; height:45px; resize:none; border:0; outline:0; padding:13px; font:13px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace; color:transparent; text-shadow:0 0 8px var(--ink); }.key-input-wrap textarea.revealed { color:var(--ink); text-shadow:none; }.toggle-key { border:0; margin-right:5px; padding:7px 9px; color:var(--green); font:600 11px Inter,Segoe UI,Arial,sans-serif; background:#edf5ed; border-radius:5px; cursor:pointer; }.field-help { color:var(--muted); font-size:11px; line-height:1.5; margin:0; }.primary-button,.secondary-button { width:fit-content; border:0; cursor:pointer; text-decoration:none; display:inline-flex; align-items:center; justify-content:center; gap:23px; min-height:46px; border-radius:8px; padding:0 17px; font:700 13px Inter,Segoe UI,Arial,sans-serif; }.primary-button { width:100%; color:#fff; background:var(--green); }.primary-button:hover { background:var(--green-dark); }.primary-button b { font-size:19px; font-weight:400; }.secondary-button { color:var(--ink); border:1px solid #cad3c9; background:transparent; }.danger { color:#fff; background:var(--red); border-color:var(--red); }.notice { margin:0 0 18px; border-left:3px solid var(--green); border-radius:3px; padding:10px 12px; color:#395143; background:var(--soft); font-size:13px; line-height:1.5; }.notice.error,.error { color:#8f2824; background:#fcede9; border-left-color:var(--red); }.error-block { margin:18px 0; border-left:3px solid var(--red); padding-left:12px; }.error-block h2 { font-size:15px; }.error-block pre { max-height:200px; overflow:auto; padding:12px; background:#fff6f4; white-space:pre-wrap; font-size:11px; }ul { padding-left:19px; color:var(--muted); font-size:13px; }li { margin:7px 0; overflow-wrap:anywhere; }footer { display:flex; justify-content:space-between; margin:22px 5px 0; color:#77827b; font-size:10px; }.status-shell { max-width:680px; }.status-card { margin-top:76px; }.status-card h1 { font-size:clamp(31px,6vw,45px); margin-bottom:28px; }.document-row { display:flex; align-items:center; gap:12px; padding:15px; border:1px solid var(--line); border-radius:10px; background:#fbfcf8; }.document-icon { padding:8px 6px; border-radius:5px; color:#aa3c37; background:#fae9e7; font:500 9px ui-monospace,SFMono-Regular,Consolas,monospace; }.document-row div { min-width:0; flex:1; }.document-row strong,.document-row small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.document-row strong { font-size:12px; }.document-row small { color:var(--muted); margin-top:3px; font-size:10px; }.status-pill { padding:5px 7px; border-radius:5px; background:#e4f1e6; color:var(--green); font:500 9px ui-monospace,SFMono-Regular,Consolas,monospace; text-transform:uppercase; }.status-pill.failed { color:#922c27; background:#fae5e2; }.status-pill.needs_keys,.status-pill.stopped { color:#8b641b; background:#fbf0d7; }.progress-label { display:flex; justify-content:space-between; margin:25px 0 8px; font-size:12px; color:var(--muted); }.progress-label strong { color:var(--ink); }.progress-track { height:7px; overflow:hidden; background:#e7ebe4; border-radius:99px; }.progress-track span { display:block; min-width:4%; height:100%; border-radius:inherit; background:var(--green); transition:width .3s ease; }.actions { display:flex; gap:10px; margin-top:25px; }.actions .primary-button { width:auto; }.needs-keys { margin-top:24px; }.needs-keys h2 { font-size:18px; }.needs-keys p { color:var(--muted); font-size:13px; line-height:1.7; }
@media (max-width:540px) { .page-shell { width:min(100% - 28px, 760px); }.hero { padding:63px 0 37px; }.converter-card,.status-card { padding:20px; border-radius:14px; }.card-heading { gap:12px; }.file-limit { white-space:nowrap; }.local-badge { font-size:9px; }.status-card { margin-top:49px; } footer { gap:12px; } }
.field-help a { color:var(--green); font-weight:700; text-decoration:none; }
.field-help a:hover { text-decoration:underline; }
