:root{--brand-primary:#2B2B2E;--brand-accent:#A8874F;--brand-background:#F8F5EF;--brand-text:#1F1E1C;--brand-muted:#66625C;--brand-border:#E2DCD2;--brand-soft:#EFE9DE;--brand-hover:#1A1A1C;--brand-focus:#7A5F32;--brand-radius:8px;--brand-surface:#fff;color-scheme:light;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--brand-text);background:var(--brand-background)}
*{box-sizing:border-box}body{margin:0}a{color:var(--brand-primary);text-underline-offset:3px}header{background:var(--brand-primary);color:white;border-bottom:3px solid var(--brand-accent);padding:18px max(20px,calc((100% - 1100px)/2));display:flex;align-items:center;flex-wrap:wrap;gap:16px}header a{color:white}.brand{font-size:23px;font-weight:650;text-decoration:none}nav{display:flex;gap:16px;flex:1;flex-wrap:wrap}nav a[aria-current]{text-decoration-thickness:3px;text-decoration-color:var(--brand-accent)}main{max-width:1140px;margin:auto;padding:28px 20px 64px}h1{font-size:clamp(25px,4vw,34px);margin:0 0 24px}h2{font-size:21px;margin:0 0 18px}h3{font-size:17px}p{line-height:1.6}small,.muted{color:var(--brand-muted)}.card{background:var(--brand-surface);border:1px solid var(--brand-border);border-radius:var(--brand-radius);padding:24px;margin-bottom:20px}.auth{max-width:500px;margin:6vh auto 0}.auth .brand{display:inline-block;margin-bottom:24px}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.wide{grid-column:1/-1}label{display:grid;gap:6px;font-size:14px;font-weight:550}input,select,textarea,button,.button{font:inherit;border-radius:var(--brand-radius)}input,select,textarea{width:100%;min-width:0;padding:11px 12px;border:1px solid #aaa59c;background:white;color:var(--brand-text)}textarea{min-height:110px;resize:vertical}.check{display:flex;align-items:start;gap:10px;font-weight:400}.check input{width:18px;min-height:18px;margin-top:3px;accent-color:var(--brand-primary)}button,.button{display:inline-block;background:var(--brand-primary);color:white;border:1px solid var(--brand-primary);padding:11px 16px;cursor:pointer;text-decoration:none;text-align:center;min-height:44px}button:hover,.button:hover{background:var(--brand-hover)}.secondary{color:var(--brand-primary);background:var(--brand-soft);border-color:var(--brand-border)}.secondary:hover{background:var(--brand-border)}.danger{color:#8c2424;background:#fff;border-color:#c79494}.danger:hover{background:#ffeded}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:18px}.inline{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.inline select{max-width:260px}.notice,.error{padding:14px 18px;border-radius:var(--brand-radius);margin-bottom:20px;background:var(--brand-soft);border-left:4px solid var(--brand-accent);overflow-wrap:anywhere}.error{background:#fff0ee;border-color:#9b2f25}.status{display:inline-block;background:var(--brand-soft);font-size:13px;padding:4px 9px;border-radius:20px}.status.blocked{background:#fff0ee;color:#822d26}.status.active{background:#eaf2e9;color:#284e28}.status.pending{background:#fff3d9;color:#71550a}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left}th,td{padding:13px 10px;border-bottom:1px solid var(--brand-border);vertical-align:top}th{font-size:13px;color:var(--brand-muted)}td{font-size:14px}td a{font-weight:550}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.grid .card{margin:0}.stack{display:grid;gap:16px}.stack>.actions{margin-top:0}.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.secret{display:block;font-size:19px;overflow-wrap:anywhere;user-select:all;margin-top:8px}code{overflow-wrap:anywhere}:focus-visible{outline:3px solid var(--brand-focus);outline-offset:3px}summary{cursor:pointer;min-height:44px;padding:10px 0}.heading{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:24px}.heading h1{margin:0}.empty{padding:24px;color:var(--brand-muted)}
@media(max-width:720px){.fields,.grid{grid-template-columns:1fr}.wide{grid-column:auto}main{padding:22px 14px 44px}.card{padding:18px}header{padding:16px;gap:14px}nav{order:3;flex-basis:100%;gap:18px}.auth{margin-top:22px}.table-wrap{margin:0 -8px}.inline{align-items:stretch}.inline select{max-width:none}td{min-width:120px}.heading{align-items:start}}

@media(max-width:720px){.table-wrap table,.table-wrap tbody{display:block}.table-wrap thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.table-wrap tr{display:grid;padding:12px 0;border-bottom:1px solid var(--brand-border)}.table-wrap tr:last-child{border-bottom:0}.table-wrap td{display:block;min-width:0;border:0;padding:8px 4px;overflow-wrap:anywhere}.table-wrap td[data-label]::before{content:attr(data-label);display:block;font-size:12px;font-weight:650;color:var(--brand-muted);margin-bottom:5px}.table-wrap code{white-space:nowrap}.table-wrap .inline{flex-direction:column}.table-wrap .inline select{width:100%;max-width:none}}

/* Consistent form contrast, touch navigation and focus on the dark header. */
input,select,textarea{font-size:16px;min-height:44px;border-color:#938a7c}
input::placeholder,textarea::placeholder{color:var(--brand-muted);opacity:1}
input:focus,select:focus,textarea:focus{border-color:var(--brand-focus)}
header nav{align-items:center;gap:4px 16px}
header nav a{display:inline-flex;align-items:center;min-height:44px}
header a:hover{text-decoration-color:#dfc28d}
header :focus-visible{outline-color:#dfc28d}
header .secondary:focus-visible{outline-color:#dfc28d}
.auth .card{border-top:3px solid var(--brand-accent);box-shadow:0 12px 36px #2b2b2e0d}
.auth .stack>button{width:100%}
.heading>a:not(.button){display:inline-flex;align-items:center;min-height:44px}
.table-wrap td:last-child>a{display:inline-flex;align-items:center;min-height:44px}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}}

/* TASK3: Kontoansichten, Anthrazit/Messing aus theme-d/public/branding.css. */
.auth .card{border-top:3px solid var(--brand-accent);box-shadow:0 12px 36px rgb(43 43 46 / .05)}
.auth>.brand{letter-spacing:-.6px}.auth>.brand::after{content:'360°';font-size:11px;margin-left:8px;vertical-align:super;color:var(--brand-accent)}
.auth input:focus{border-color:var(--brand-focus)}.auth .stack>button{width:100%}
@media(max-width:500px){.auth{width:100%}.auth .card{padding:22px 18px}.auth h1{line-height:1.2}.auth input{font-size:16px}}
