/* Shared interface theme. Report paper and photographic branding retain their colors. */
:root{color-scheme:dark;color:#e6e6e6;background:#141414;--navy:#181818;--blue:#246ac0;--line:#383838;--muted:#ababab}
body{background:#141414;color:#e6e6e6}
header,.card,.feature,.auth-card,.panel,dialog{background:#202020;color:#e6e6e6;border-color:var(--line)}
aside{background:#181818}
h1,h2{color:#f2f2f2}
p,small,header,footer,.field,.drop>span:not(.upload-icon),.drop small,.photo-drop small{color:#ababab}
a,.account-nav a,.eyebrow,.photo-drop-plus{color:#83baff}
button,.file-button{background:#2b2b2b;color:#e6e6e6;border-color:#484848}
button:hover,.file-button:hover{background:#383838}
button.primary,form>button:not(.secondary):not(.danger){background:#246ac0;color:#fff}
button.primary:hover,form>button:not(.secondary):not(.danger):hover{background:#2a78d7}
button.secondary{background:#303030;color:#e6e6e6}
button.danger{background:#a63535;color:#fff}
input:not([type=checkbox],[type=file]),textarea,select{background:#181818;color:#f2f2f2;border-color:#484848}
input::placeholder,textarea::placeholder{color:#999999}
.drop,.photo-drop,.empty-map,.other-name,.feature-head,.coordinate,.status,.pill{background:#262626;color:#c7c7c7;border-color:#484848}
.drop.drag,.photo-drop.drag,.photo-drop:hover{background:#333333;border-color:#83baff}
.upload-icon{background:#333333;color:#dedede}
.tag{background:#482b19;color:#fdba74}
.warnings{background:#3d321e;color:#f3d28b}
#notice{background:#2b2b2b;color:#e6e6e6}
#notice.error{background:#442725;color:#ffb6a7;border-color:#dd7662}
.error{color:#ffaaa1!important}
.account{border-color:#383838}
.photo-wrap{background:#181818}
.photo-remove{color:#ffaaa1}
.photo-remove[aria-pressed=true]{background:#233c30;color:#bee3c0}
.text-button{background:transparent;color:#cccccc}
.text-button:hover{background:#442725;color:#ffb6a7}
.brand{width:100%;height:auto;min-height:79px;padding:8px;background:#f4f6fa}
.brand img{width:100%;max-height:none;object-fit:contain}
.logo{display:block;width:100%;max-width:360px;max-height:none;background:#f4f6fa;border-radius:7px;padding:8px;object-fit:contain}
.topbar .logo{max-width:280px}
/* Keep the document preview faithful to the generated white PDF. */
.paper-preview{color-scheme:light;color:#21344c;--muted:#65768c;--line:#dce4ee;box-shadow:5px 9px 0 #303030}
.paper-preview p,.paper-preview small{color:#65768c}
@media(max-width:760px){.brand{width:210px;min-height:0;margin-bottom:12px}.brand img{width:100%}}

/* Slightly stronger field headings without changing input text. */
.field{color:#c7c7c7}h2,.stat b{color:#f5f5f5}

.required-status{color:#ffaaa1}
.required-status.complete{color:#86efac}

/* Neutral surfaces for navigation and media surrounding the original content. */
.workspace,.aside-bottom small{color:var(--muted)}
.step{background:transparent;color:#c7c7c7}
.step span{border-color:#555}
.step.active,.step:hover{background:#303030;color:#fff}
.aside-bottom{border-color:var(--line)}
#fileLabel{color:#c7c7c7}
.pdf-viewport{background:#262626}
.photo-viewer{background:#101010}
.photo-expand-hint{background:#181818dd}
#photoStatus{color:#e6e6e6}
.auth-card{box-shadow:0 8px 35px #0003}
.confirm-card::backdrop{background:#0008}

.export-mode-control{--export-select-background:#181818;--export-select-color:#f2f2f2}
