:root { color-scheme: dark; font-family: Arial, sans-serif; color: #eee; background: #00142c; }
* { box-sizing: border-box; }
body { margin: 0; }
header, main, footer { width: min(1100px, 94%); margin: auto; }
header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; border-bottom: 1px solid #244569; }
header img { max-width: 100%; height: auto; }
nav { display: flex; gap: 18px; flex-wrap: wrap; }
a { color: #85beff; }
main { padding: 32px 0; }
footer { padding: 24px 0; color: #a7b8cd; font-size: .85rem; }
h1 { font-size: 1.85rem; margin-top: 0; }
h2 { font-size: 1.3rem; color: #85beff; }
p { line-height: 1.6; }
.card { background: #000e20; border: 1px solid #244569; border-radius: 6px; padding: 28px; margin-bottom: 24px; }
.login { max-width: 540px; margin: 24px auto; }
.heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
label { display: block; margin-bottom: 8px; font-weight: bold; }
input { display: block; width: 100%; padding: 12px; color: #fff; background: #001b38; border: 1px solid #527397; border-radius: 3px; font: inherit; }
input[hidden] { display: none; }
button { background: #0056b3; color: #fff; padding: 12px 18px; border: 1px solid #4383ce; border-radius: 3px; font: inherit; cursor: pointer; }
button:hover { background: #0072dc; }
.secondary { background: #002a5a; }
.key-result { border-color: #41bf8b; }
#generated-key { font-family: monospace; font-size: 1rem; }
.errorlist { color: #ffb4b4; line-height: 1.6; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 14px 8px; border-bottom: 1px solid #244569; vertical-align: top; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.actions button { font-size: .85rem; }
.client-key-label { margin-top: 14px; font-size: .85rem; }
.client-access-key { min-width: 300px; font-family: monospace; font-size: .9rem; margin-bottom: 8px; }
.placeholder { max-width: 760px; margin: 48px auto; text-align: center; }
.eyebrow { color: #85beff; font-size: .8rem; letter-spacing: .15em; }
.logout-form { margin-top: 20px; }
code { overflow-wrap: anywhere; }
.project-upload-card { max-width: 900px; margin-inline: auto; padding: 36px; }
.upload-back { display: inline-block; margin-bottom: 24px; }
.project-upload-card .eyebrow { margin: 0 0 10px; }
.project-upload-card h1 { margin-bottom: 12px; overflow-wrap: anywhere; }
.upload-intro, .upload-help { color: #a7b8cd; }
.upload-success { padding: 18px; margin: 24px 0; background: #062d28; border: 1px solid #41bf8b; border-radius: 8px; line-height: 1.7; }
.upload-step { margin-top: 28px; padding-top: 24px; border-top: 1px solid #244569; }
.upload-step h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; color: #eee; font-size: 1.15rem; }
.step-number { display: inline-grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 50%; background: #10365c; color: #a9d2ff; font-size: .9rem; }
#project-dropzone { border: 2px dashed #527397; border-radius: 10px; padding: 28px; background: #001b38; text-align: center; }
#project-dropzone[aria-busy="true"] { opacity: .7; }
#project-dropzone.is-dragging { border-color: #a9d2ff; background: #10365c; box-shadow: inset 0 0 0 1px #a9d2ff; }
.upload-folder-alternative { padding: 12px 16px; border: 1px solid #244569; border-radius: 8px; }
#project-dropzone > strong { font-size: 1.1rem; }
#project-dropzone p { color: #a7b8cd; margin: 10px 0 22px; }
#project-folder { max-width: 100%; background: #000e20; }
#project-folder::file-selector-button { padding: 10px 14px; margin-right: 12px; border: 0; border-radius: 4px; background: #a9d2ff; color: #00142c; cursor: pointer; font: inherit; }
.upload-help { font-size: .9rem; line-height: 1.6; }
#project-summary { padding: 16px; border-radius: 6px; background: #001b38; overflow-wrap: anywhere; }
.upload-step details { margin: 16px 0; }
.project-upload-card summary { cursor: pointer; padding: 8px 0; color: #a9d2ff; }
#project-preview { max-height: 260px; overflow: auto; overflow-wrap: anywhere; padding-left: 24px; line-height: 1.7; }
.upload-confirm { display: flex; align-items: flex-start; gap: 12px; padding: 18px; margin: 20px 0; border: 1px solid #527397; border-radius: 8px; line-height: 1.6; font-weight: normal; cursor: pointer; }
.upload-confirm input { appearance: auto; display: inline-block; flex: 0 0 20px; width: 20px; height: 20px; padding: 0; margin: 3px 0 0; accent-color: #85beff; cursor: pointer; }
#project-submit { min-height: 48px; font-weight: bold; }
button:disabled { opacity: .5; cursor: not-allowed; }
.project-upload-card :focus-visible { outline: 3px solid #a9d2ff; outline-offset: 4px; }
.upload-technical { margin-top: 24px; padding-top: 16px; border-top: 1px solid #244569; font-size: .9rem; color: #a7b8cd; }
#project-confirm-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 48px); overflow: auto; padding: 28px; border: 1px solid #527397; border-radius: 12px; background: #000e20; color: #eee; box-shadow: 0 24px 80px #0009; }
#project-confirm-dialog::backdrop { background: #000b; }
#project-dialog-title, #project-dialog-summary { overflow-wrap: anywhere; }
#project-dialog-summary { background: #001b38; padding: 14px; border-radius: 6px; }
.dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; margin-top: 24px; }
.client-access { max-width: 620px; padding: 32px; }
.client-access .eyebrow { margin: 0 0 12px; }
.client-access h1 { margin-bottom: 12px; }
.access-intro { color: #b8c9db; margin: 0 0 28px; }
.access-key input { min-height: 48px; }
.access-help, .access-session { color: #a7b8cd; font-size: .9rem; }
.access-help { margin: 10px 0 24px; }
.access-terms { padding: 20px; background: #001b38; border: 1px solid #244569; border-radius: 8px; }
.access-terms h2 { margin: 0 0 12px; font-size: 1rem; color: #eee; }
.access-terms p { margin: 0 0 14px; color: #c5d3e2; font-size: .9rem; overflow-wrap: anywhere; }
.access-terms a { display: inline-block; line-height: 1.6; font-size: .9rem; }
.access-consent { display: flex; align-items: flex-start; gap: 12px; margin: 24px 0; line-height: 1.6; font-weight: normal; cursor: pointer; }
.access-consent input { appearance: auto; display: inline-block; flex: 0 0 20px; width: 20px; height: 20px; margin: 3px 0 0; padding: 0; accent-color: #85beff; cursor: pointer; }
.client-access-form > button { width: 100%; min-height: 48px; font-weight: bold; }
.access-session { text-align: center; margin: 20px 0 0; }
.client-access :focus-visible { outline: 3px solid #a9d2ff; outline-offset: 4px; }
@media (max-width: 600px) { .client-access { padding: 24px 20px; margin: 0 auto; } .access-terms { padding: 16px; } }
@media (max-width: 600px) { .project-upload-card { padding: 20px; } #project-dropzone { padding: 18px 12px; } #project-submit { width: 100%; } .upload-confirm { padding: 14px; } }
@media (max-width: 600px) { header, .heading { flex-direction: column; align-items: flex-start; } .card { padding: 20px; } h1 { font-size: 1.5rem; } }
