:root { color-scheme: dark; font-family: system-ui, sans-serif; color: #f1f5f4; background: #101916; line-height: 1.6; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.workspace { width: min(100% - 32px, 820px); margin-inline: auto; padding: clamp(28px, 7vw, 80px) 0; }
.heading { margin-block-end: 32px; }
.brand { color: #c4d1cb; font-weight: 650; direction: ltr; width: fit-content; margin: 0 0 32px; display: flex; align-items: center; gap: 10px; }
.brand span { border: 1px solid #41554b; border-radius: 8px; padding: 1px 8px; color: #b0efc5; }
.mode { color: #b0efc5; font-weight: 700; margin: 0; }
h1 { margin: 3px 0 9px; font-size: clamp(2rem, 7vw, 3.55rem); letter-spacing: -.045em; line-height: 1.12; }
.heading > p:last-child { color: #c4d1cb; max-width: 55ch; margin: 0; }
.panel { border: 1px solid #40554a; background: #18251e; padding: clamp(16px, 4vw, 30px); border-radius: 15px; margin-block: 17px; }
h2 { font-size: 1.22rem; margin: 0 0 14px; line-height: 1.2; }
.file { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 8px; border: 1px solid #50645a; border-radius: 8px; background: #101916; }
.file input { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; }
.file label { display: inline-flex; min-height: 44px; align-items: center; padding-inline: 12px; background: #293b31; border-radius: 6px; color: #fff; font-weight: 650; cursor: pointer; }
.file input:focus-visible + label { outline: 3px solid #a8e7ff; outline-offset: 2px; }
.file input:disabled + label { opacity: .65; cursor: wait; }
#filename { color: #c4d1cb; overflow-wrap: anywhere; }
button,.secondary { display: inline-flex; gap: 6px; min-height: 44px; align-items: center; padding: 6px 15px; border: 1px solid transparent; border-radius: 8px; font: inherit; font-weight: 650; cursor: pointer; }
button { background: #b0efc5; color: #16291e; }
button:disabled { opacity: .66; cursor: wait; }
:focus-visible { outline: 3px solid #a8e7ff; outline-offset: 3px; }
.hint { margin: .4rem 0 1rem; color: #c4d1cb; font-size: .925rem; }
.error { color: #ffc1b5; }
.status { color: #b0efc5; }
.status:empty,.error:empty { display: none; }
.result-heading { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
.actions { display: flex; flex-wrap: wrap; gap: 6px; }
.secondary { background: transparent; color: #e1f1e7; border-color: #718c7e; text-decoration: none; }
ol { margin: 12px 0 0; padding: 0; list-style: none; }
li { padding: 15px 0; border-top: 1px solid #41554b; }
li p { margin: 3px 0 0; }
.segment-heading { display: flex; gap: 12px; align-items: baseline; }
.time { color: #b0efc5; font-variant-numeric: tabular-nums; }
@media (max-width: 380px) { .workspace { width: calc(100% - 24px); } .secondary { padding-inline: 10px; } }
