:root { color-scheme: dark; font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 15px; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; background: #0b0f16; color: #e9eef9; line-height: 1.5; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .52; }
button:focus-visible, input:focus-visible, .dropzone:focus-visible { outline: 3px solid #82adff; outline-offset: 3px; }
.brand { display: flex; gap: 11px; align-items: center; font-size: 14px; font-weight: 800; letter-spacing: 1.6px; }
.brand-mark { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 9px; color: white; background: #346cf5; font-size: 25px; font-weight: 400; }
.brand-soft { color: #758296; font-weight: 550; }
.auth-body { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: radial-gradient(ellipse at top center, #182743, #0b0f16 60%); }
.auth-card { width: min(100%, 465px); background: #141b28; border: 1px solid #2a3547; border-radius: 18px; padding: 36px; box-shadow: 0 18px 70px #0006; }
h1 { line-height: 1.17; letter-spacing: -.9px; }
.auth-card h1 { margin: 29px 0 9px; font-size: 28px; }
.muted { color: #98a6b9; }
.auth-card .muted { margin: 0 0 24px; }
.auth-form { display: flex; flex-direction: column; gap: 10px; }
.auth-form label { color: #d0d9e6; margin-top: 7px; font-weight: 600; font-size: 13px; }
.auth-form input { background: #0d141e; border: 1px solid #344054; border-radius: 9px; color: white; padding: 12px 13px; width: 100%; }
.primary, .ghost { padding: 12px 19px; border-radius: 10px; font-weight: 700; border: 1px solid transparent; }
.primary { background: #3d76f7; color: #fff; }
.primary:not(:disabled):hover { background: #5389ff; }
.ghost { color: #dbe5f5; background: #192436; border-color: #35435a; }
.ghost:not(:disabled):hover { background: #25364e; }
.auth-form .primary { margin-top: 16px; width: 100%; }
.alert, .success { font-size: 14px; padding: 12px; border-radius: 9px; margin: 14px 0; }
.alert { background: #3e2229; color: #ffd5dc; border: 1px solid #793f4e; }
.success { background: #173d32; color: #c0f0d5; border: 1px solid #3b6855; }
.footnote { margin-top: 25px; color: #738398; font-size: 12px; }
.footnote code, .muted code { color: #bfd0ee; }
.topbar { border-bottom: 1px solid #263042; background: #101723; }
.topbar-inner { max-width: 1120px; padding: 18px 25px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top-right { display: flex; align-items: center; gap: 17px; }
.user-chip { color: #c4d0e2; font-size: 13px; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #32cd91; margin-right: 8px; }
.small { padding: 8px 13px; font-size: 12px; }
.content { max-width: 1120px; padding: 44px 25px 22px; margin: auto; }
.heading { margin-bottom: 29px; }
.eyebrow { color: #5e96ff; font-size: 11px; font-weight: 800; letter-spacing: 1.7px; }
.heading h1 { font-size: clamp(28px, 4vw, 38px); margin: 8px 0; }
.heading p { color: #9eabba; margin: 0; }
.panel { background: #141b28; border: 1px solid #283548; border-radius: 16px; padding: 27px; margin-bottom: 24px; }
.dropzone { text-align: center; border: 2px dashed #3a506f; border-radius: 13px; background: #111e31; padding: 40px 15px 30px; cursor: pointer; transition: background .15s, border-color .15s; }
.dropzone:hover, .dropzone.over { background: #1a2c47; border-color: #73a0ff; }
.upload-symbol { width: 60px; height: 60px; display: grid; place-items: center; background: #253f6e; color: #91b7ff; border-radius: 15px; margin: 0 auto 15px; font-size: 37px; }
.dropzone h2 { font-size: 19px; margin: 0; }
.dropzone p { margin: 4px 0 13px; color: #a9b5c7; }
.file-types { display: flex; justify-content: center; gap: 8px; margin-top: 17px; }
.file-types span { font-size: 11px; color: #bdccef; font-weight: 800; border: 1px solid #3d5273; background: #1c2e4a; padding: 4px 13px; border-radius: 5px; }
.dropzone .secondary-text { margin-top: 17px; margin-bottom: 0; font-size: 12px; color: #7f91aa; }
.upload-queue-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 25px 0 11px; }
.upload-queue-head h3 { font-size: 14px; margin: 0; }
.upload-queue-head .muted { font-size: 12px; }
.empty-queue { font-size: 13px; color: #788aa3; margin: 22px 0; }
.queue-item, .stored-item { display: flex; align-items: center; padding: 13px 0; gap: 14px; border-top: 1px solid #2b3547; }
.file-icon { min-width: 48px; width: 48px; height: 46px; border-radius: 10px; color: #c2d1e9; background: #243048; display: grid; place-items: center; font-size: 10px; font-weight: 800; letter-spacing: .4px; }
.file-icon-pdf { background: #482c38; color: #ffc9d0; }
.file-icon-svg { background: #2a443f; color: #b6f6d7; }
.file-icon-eps { background: #33365b; color: #c5c8ff; }
.queue-details { min-width: 0; flex: 1; }
.queue-top { display: flex; justify-content: space-between; gap: 10px; }
.file-name { min-width: 0; overflow-wrap: anywhere; font-size: 13px; }
.file-size { flex-shrink: 0; font-size: 12px; color: #8292a8; }
.progress { height: 5px; border-radius: 50px; background: #29364b; overflow: hidden; margin: 9px 0 4px; }
.progress-bar { height: 100%; border-radius: 50px; background: #5d91ff; transition: width .15s; }
.queue-message { font-size: 11px; color: #98a9c3; }
.state-error { color: #ff9fad; }
.state-complete { color: #6fe5ac; }
.remove-file { border: 0; background: transparent; color: #adbdd3; font-size: 22px; padding: 4px 8px; }
.controls { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 18px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 17px; }
.section-head h2 { font-size: 18px; margin: 0 0 4px; }
.section-head p { margin: 0; font-size: 12px; }
.stored-details { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.stored-details .muted { font-size: 12px; }
.stored-check { color: #7be0ab; font-size: 12px; white-space: nowrap; }
.footer { color: #72839a; font-size: 12px; text-align: center; padding: 18px; }
@media(max-width: 600px) { .topbar-inner { padding: 13px; } .content { padding: 25px 13px; } .panel { padding: 17px; } .brand-soft, .user-chip { display: none; } .dropzone { padding: 30px 10px; } .auth-card { padding: 24px; } .stored-check { display: none; } .queue-top { display: block; } }

.retry-file { border: 1px solid #44597c; background: #233654; color: #dbe7ff; padding: 8px 12px; border-radius: 8px; font-size: 11px; font-weight: 650; white-space: nowrap; }

.password-settings { margin: 16px 0 0; padding: 18px; border: 1px solid var(--border, #d8dde5); border-radius: 10px; }
.password-settings summary { font-weight: 600; cursor: pointer; }
.password-form { display: grid; gap: 10px; max-width: 440px; padding-top: 15px; }
.password-form label { display: grid; gap: 6px; }
.password-form input { width: 100%; padding: 10px; border: 1px solid #b9c3d1; border-radius: 8px; }
