/* Hof Rempe V0.5.1.6: additive Designkorrektur, keine Lade-/Abrechnungslogik. */
/* Der helle Bereich links bleibt auch im Nachtmodus hell: Schrift und Logo bleiben dunkel. */
html[data-theme="kupfer"] .page-heading .hero-welcome,
html[data-theme="kupfer"] #portal-screen .paddock-hero .hero-welcome,
html[data-theme="kupfer"] .login-paddock .hero-welcome,
html[data-theme="kupfer"] .month-hero-inner { color:#203c2b !important; }
html[data-theme="kupfer"] .page-heading .hero-welcome h1,
html[data-theme="kupfer"] .page-heading .hero-welcome h2,
html[data-theme="kupfer"] .page-heading .hero-welcome p,
html[data-theme="kupfer"] #portal-screen .paddock-hero .hero-welcome h2,
html[data-theme="kupfer"] #portal-screen .paddock-hero .hero-welcome .speech,
html[data-theme="kupfer"] .login-paddock .hero-welcome h2,
html[data-theme="kupfer"] .login-paddock .hero-welcome p,
html[data-theme="kupfer"] .month-hero h1,
html[data-theme="kupfer"] .month-hero p { color:#203c2b !important; text-shadow:0 1px 2px #fff9 !important; opacity:1 !important; }
html[data-theme="kupfer"] .hero-welcome .hof-logo-night {display:none!important}
html[data-theme="kupfer"] .hero-welcome .hof-logo-day {display:block!important;opacity:1!important;filter:none!important}
html[data-theme="kupfer"] .hero-welcome .hof-logo {opacity:1!important;filter:none!important}
/* Original-Comicmotiv bleibt, etwas mehr Kopf und weniger Körper. Keine vertikale Zentrierung. */
#portal-screen .paddock-hero .pasture-picture img,
.page-heading .pasture-picture img,
.login-paddock .pasture-picture img {
 position:absolute!important;left:-5%!important;top:0!important;
 width:112%!important;height:auto!important;min-height:100%!important;
 max-width:none!important;max-height:none!important;
 object-fit:cover!important;object-position:center top!important;
 transform:none!important;
}
#portal-screen .paddock-hero .pasture-picture,
.page-heading .pasture-picture,
.login-paddock .pasture-picture {position:absolute!important;inset:0!important;width:100%!important;height:100%!important;overflow:hidden!important;pointer-events:none!important;}
#portal-screen .paddock-hero::before,.page-heading::before,.login-paddock::before {
 content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
 background:linear-gradient(90deg,#f8f6e9f7 0%,#f8f6e9e5 31%,#f8f6e970 52%,transparent 77%)!important;
}
#portal-screen .paddock-hero .hero-welcome,.page-heading .hero-welcome,.login-paddock .hero-welcome {position:relative;z-index:3;}
/* Abrechnung: derselbe Tag-/Nachtmodus wie die übrigen Seiten. */
body:has(.month-wrap) {background:var(--paper)!important;color:var(--ink)!important;padding-bottom:var(--nav-space,112px)!important;overflow-x:clip}
body:has(.month-wrap) .month-wrap {min-width:0;max-width:1020px;box-sizing:border-box}
body:has(.month-wrap) .card {background:var(--card)!important;color:var(--ink)!important;border-color:var(--line)!important;min-width:0;box-sizing:border-box}
body:has(.month-wrap) .month-stat {background:var(--sage)!important;color:var(--ink)!important}
body:has(.month-wrap) .month-subtle {color:var(--muted)!important}
body:has(.month-wrap) .month-table {background:var(--card)!important;color:var(--ink)!important}
body:has(.month-wrap) .month-table td,body:has(.month-wrap) .month-table th {border-color:var(--line)!important}
body:has(.month-wrap) .month-controls input,body:has(.month-wrap) .month-controls select,
body:has(.month-wrap) .month-dialog input,body:has(.month-wrap) .month-dialog select,
body:has(.month-wrap) .month-dialog textarea {background:var(--input)!important;color:var(--ink)!important;border-color:var(--line)!important;min-width:0;max-width:100%;box-sizing:border-box}
body:has(.month-wrap) .month-dialog {background:var(--card)!important;color:var(--ink)!important;border-color:var(--line)!important}
body:has(.month-wrap) .month-audit-card {background:var(--sage)!important;color:var(--ink)!important;border-color:var(--line)!important}
body:has(.month-wrap) .month-audit-date,body:has(.month-wrap) .month-audit-meta {color:var(--muted)!important}
body:has(.month-wrap) .month-home {display:none!important}
body:has(.month-wrap) .month-hero {background:#f8f6e9!important}
body:has(.month-wrap) .month-hero::before {background-position:center top!important;background-size:cover!important}
body:has(.month-wrap) .month-hero::after {background:linear-gradient(90deg,#f8f6e9f7 0%,#f8f6e9e5 32%,#f8f6e970 55%,transparent 80%)!important}
html[data-theme="kupfer"] body:has(.month-wrap) .month-hero-logo {filter:none!important;opacity:1!important}
@media(max-width:650px){
 body:has(.month-wrap) .month-wrap {width:100%;padding:10px;}
 body:has(.month-wrap) .month-wrap>*,body:has(.month-wrap) .month-controls,body:has(.month-wrap) .month-pdf-group {min-width:0;max-width:100%;box-sizing:border-box}
 body:has(.month-wrap) .month-controls {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px}
 body:has(.month-wrap) .month-controls>*,body:has(.month-wrap) .month-controls label,body:has(.month-wrap) .month-controls input,body:has(.month-wrap) .month-controls select,body:has(.month-wrap) .month-controls button {width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box}
 body:has(.month-wrap) .month-pdf-group {display:grid!important;grid-template-columns:minmax(0,1fr)!important;padding:10px 0 0!important}
 body:has(.month-wrap) .month-scroll {width:100%;max-width:100%;overflow-x:auto}
 body:has(.month-wrap) .month-table {min-width:780px}
 body:has(.month-wrap) p,body:has(.month-wrap) pre {overflow-wrap:anywhere}
 body:has(.month-wrap) .month-hero {min-height:125px!important;padding:12px!important}
 body:has(.month-wrap) .month-hero::before {background-position:65% top!important;background-size:auto 145%!important}
 body:has(.month-wrap) .month-hero-inner {max-width:76%!important;gap:7px!important}
 body:has(.month-wrap) .month-hero-logo {width:45px!important;height:45px!important}
 body:has(.month-wrap) .month-hero h1 {font-size:clamp(1.05rem,5vw,1.4rem)!important}
 body:has(.month-wrap) .month-hero p {font-size:.75rem!important}
}
