:root { color-scheme: light; --ink: #192c36; --muted: #586976; --line: #d6dfe4; --accent: #17675e; --pale: #edf7f4; }
* { box-sizing: border-box; }
body { margin: 0; background: #f4f6f7; color: var(--ink); font: 16px/1.5 system-ui, sans-serif; overflow-wrap: anywhere; }
.bar, main { width: min(62rem, 100% - 2rem); margin: auto; }
.masthead { background: white; border-bottom: 1px solid var(--line); }
.bar, .account, .section-head, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1rem; }
.bar, .section-head { justify-content: space-between; }
.bar { min-height: 4.25rem; padding-block: .65rem; }
h1, h2, p { margin: 0; }
h1 { font-size: 1.24rem; letter-spacing: -.035em; }
h1 span, a { color: var(--accent); }
h2 { font-size: 1.38rem; letter-spacing: -.025em; }
a { text-underline-offset: .18em; }
main { padding-block: 1.5rem 3rem; }
.card { background: white; border: 1px solid var(--line); border-radius: .75rem; padding: clamp(1rem, 3vw, 1.65rem); margin-bottom: 1.2rem; }
.tag { background: var(--pale); color: #175e54; border-radius: 1rem; padding: .2rem .7rem; font-size: .8rem; font-weight: 650; }
.muted, .hint, .account { color: var(--muted); font-size: .91rem; }
.card > .muted { margin-top: .25rem; }
input, button { font: inherit; }
button { border: 1px solid #becbd0; border-radius: .4rem; background: #fff; color: var(--ink); cursor: pointer; padding: .47rem .85rem; font-weight: 600; }
button:hover:not(:disabled) { background: #f1f5f5; }
button.primary { background: var(--accent); border-color: var(--accent); color: white; }
button.primary:hover:not(:disabled) { background: #11534c; }
button:disabled { opacity: .5; cursor: not-allowed; }
:focus-visible { outline: 3px solid #417eba; outline-offset: 2px; }
.login-card { max-width: 26rem; margin: clamp(1rem, 7vh, 5rem) auto; }
.login { display: grid; gap: .35rem; margin-top: 1rem; }
.login label { font-size: .91rem; font-weight: 600; }
.login input { min-width: 0; padding: .6rem; border: 1px solid #a9bac1; border-radius: .35rem; margin-bottom: .55rem; }
.login button { margin-top: .4rem; }
#dropzone { display: grid; gap: .2rem; width: 100%; text-align: center; padding: 1.65rem .75rem; margin-top: 1.2rem; border: 2px dashed #98b9b3; border-radius: .55rem; background: #f6fbfa; }
#dropzone strong { font-size: 1.06rem; }
#dropzone span { font-size: .9rem; font-weight: 500; color: var(--accent); }
#dropzone:hover:not(:disabled), #dropzone.dragging { background: #e3f3ed; border-color: var(--accent); }
.hint { margin: .4rem 0 1.1rem; }
#summary:not(:empty), #feedback:not(:empty), .message { margin: 1rem 0; }
[role="alert"], li[data-state="error"] .state { color: #933622; }
#queue { list-style: none; padding: 0; margin: 0; max-height: 17rem; overflow: auto; }
#queue:not(:empty) { margin-top: 1rem; border-top: 1px solid var(--line); }
#queue li { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .5rem .2rem; border-bottom: 1px solid var(--line); font-size: .9rem; }
.file-info { flex: 1; min-width: 0; } .file-info small { display: block; color: var(--muted); }
.state { max-width: 50%; color: var(--muted); } li[data-state="ready"] .state { color: var(--accent); font-weight: 600; }
#queue button { font-size: .8rem; padding: .25rem .45rem; }
.scroll { overflow: auto; }
table { border-collapse: collapse; width: 100%; margin-top: .85rem; font-size: .9rem; }
th, td { text-align: left; padding: .65rem; border-bottom: 1px solid var(--line); } th { background: #f3f6f7; }
.empty { color: var(--muted); padding: 1.1rem; background: #f7f9fa; border-radius: .35rem; margin-top: 1rem; }
nav a { display: inline-block; margin: .75rem .75rem 0 0; }
@media (max-width: 36rem) { .bar { gap: .35rem; } .bar, .actions { align-items: flex-start; } .bar { flex-direction: column; } #selection { width: 100%; } #queue li { flex-wrap: wrap; } .scroll { overflow-wrap: normal; } }
