/* Gemeinsames Logo und bedienbarer Erscheinungsbildschalter. */
:root{color-scheme:light}
.brand{display:flex;align-items:center;gap:1rem;flex-shrink:0}
.brand img.brand-logo{display:block;width:104px;height:auto;max-height:100px;object-fit:contain;flex-shrink:0}
.brand .brand-caption{display:block;color:inherit;margin:0}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;white-space:nowrap;font-size:.85rem;padding:.5rem .7rem;min-height:42px}
.theme-toggle .theme-state{font-size:.75rem;font-weight:750;border:1px solid currentColor;border-radius:4px;padding:0 .3rem}
.theme-toggle:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.hero-seal .salud-seal-logo{display:block;width:190px;height:auto;max-width:100%;margin:0 auto .7rem}
.footer-brand{display:flex;align-items:center;gap:1rem}
.footer-brand img{width:82px;height:auto;object-fit:contain}
:root[data-theme="dark"]{color-scheme:dark;--green:#80d0ad;--deep:#06110b;--red:#ee8388;--gold:#dfbe77;--ink:#e5eee8;--muted:#a8b8ad;--line:#344339;--paper:#000;--soft:#111914}
html[data-theme="dark"] body{background:#000;color:var(--ink)}
html[data-theme="dark"] header{background:#000}
html[data-theme="dark"] .national{background:#06291c;border-color:#93353e}
html[data-theme="dark"] button,html[data-theme="dark"] .button{background:#105b40;color:#f0fff6}
html[data-theme="dark"] button:hover,html[data-theme="dark"] .button:hover{background:#176d4e}
html[data-theme="dark"] .secondary{background:var(--soft);color:var(--green);border-color:var(--line)}
html[data-theme="dark"] .secondary:hover{background:#1b2a21}
html[data-theme="dark"] .light{background:#1b2a21;color:#a3e5c5}
html[data-theme="dark"] .outline-light{background:transparent;border-color:#80b49a;color:#ecfff3}
html[data-theme="dark"] .textbutton{background:transparent;color:inherit}
html[data-theme="dark"] .card{background:#0d130f;border-color:var(--line)}
html[data-theme="dark"] a.card:hover{background:#141f18;box-shadow:none}
html[data-theme="dark"] .hero,html[data-theme="dark"] .green-section{background:#072c1d;color:#edf8f0}
html[data-theme="dark"] .hero p,html[data-theme="dark"] .green-section p{color:#cadbd0}
html[data-theme="dark"] .manifest{background:#070f0a;border-color:#883039;color:#e7eee9}
html[data-theme="dark"] .manifest .manifest-pledge,html[data-theme="dark"] .manifest .eyebrow{color:#e5c787}
html[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]),html[data-theme="dark"] select,html[data-theme="dark"] textarea{background:#0b120d;color:var(--ink);border-color:#405549}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#92a399;opacity:1}
html[data-theme="dark"] input[type="checkbox"],html[data-theme="dark"] input[type="radio"]{accent-color:#55bd8f}
html[data-theme="dark"] .notice{background:#10251a;border-color:#80d0ad;color:#e1eee6}
html[data-theme="dark"] .notice.error{background:#311519;border-color:#ee8388;color:#ffe3e5}
html[data-theme="dark"] .profile-monogram{background:#105b40;color:#fff}
html[data-theme="dark"] .observation-result{background:#0d130f;color:var(--ink)}
html[data-theme="dark"] .observation-result:hover{background:#19281e;color:var(--ink)}
html[data-theme="dark"] footer{background:#030805;color:#c9d9ce}
html[data-theme="dark"] footer a{color:#c9d9ce}
@media(max-width:1150px){header{gap:1.2rem;flex-wrap:wrap}.brand{font-size:1.75rem}nav{gap:1rem}}
@media(max-width:700px){.brand{font-size:1.7rem;gap:.8rem}.brand img.brand-logo{width:80px;max-height:80px}.brand small{max-width:220px;font-size:11px}.theme-toggle{font-size:.8rem}.footer-brand img{width:70px}}
@media print{
 :root[data-theme="dark"]{color-scheme:light;--green:#073e30;--deep:#052d23;--red:#b82f37;--gold:#b98b39;--ink:#17251f;--muted:#5d6c64;--line:#d9e2dc;--paper:#fff;--soft:#f2f6f3}
 html[data-theme="dark"] body,html[data-theme="dark"] header,html[data-theme="dark"] .card,html[data-theme="dark"] .notice,html[data-theme="dark"] textarea,html[data-theme="dark"] input,html[data-theme="dark"] select{background:#fff!important;color:#17251f!important}
 .theme-toggle{display:none!important}
}

@media(max-width:400px){.brand{font-size:1.45rem;gap:.6rem}.brand img.brand-logo{width:64px}.brand small{max-width:205px;font-size:10px}}
