/* Shared interface theme. Report paper and photographic branding retain their colors. */
:root{color-scheme:dark;color:#e3eaf4;background:#0c1420;--navy:#102e54;--blue:#246ac0;--line:#324258;--muted:#a5b4c8}
body{background:#0c1420;color:#e3eaf4}
header,.card,.feature,.auth-card,.panel,dialog{background:#162232;color:#e3eaf4;border-color:var(--line)}
aside{background:#101d2d}
h1,h2{color:#eef4ff}
p,small,header,footer,.field,.drop>span:not(.upload-icon),.drop small,.photo-drop small{color:#a5b4c8}
a,.account-nav a,.eyebrow,.stat b,.photo-drop-plus{color:#83baff}
button,.file-button{background:#24354b;color:#e3eaf4;border-color:#40546e}
button:hover,.file-button:hover{background:#304864}
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:#2a3b51;color:#e3eaf4}
button.danger{background:#a63535;color:#fff}
input:not([type=checkbox],[type=file]),textarea,select{background:#0f1b2b;color:#eef4ff;border-color:#40546e}
input::placeholder,textarea::placeholder{color:#96a8bf}
.drop,.photo-drop,.empty-map,.other-name,.feature-head,.coordinate,.status,.pill{background:#1d2e43;color:#b8cde5;border-color:#40546e}
.drop.drag,.photo-drop.drag,.photo-drop:hover{background:#294664;border-color:#83baff}
.upload-icon{background:#294664;color:#a1cdff}
.tag{background:#233c30;color:#bee3c0}
.warnings{background:#3d321e;color:#f3d28b}
#notice{background:#203a58;color:#d7eaff}
#notice.error{background:#442725;color:#ffb6a7;border-color:#dd7662}
.error{color:#ffaaa1!important}
.account{border-color:#324258}
.photo-wrap{background:#0f1927}
.photo-remove{color:#ffaaa1}
.photo-remove[aria-pressed=true]{background:#233c30;color:#bee3c0}
.text-button{background:transparent;color:#b4cbea}
.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 #26354a}
.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%}}
