/* DV SideView Rahmen · Entwurf C
   Laptop (ab 1100px): feste Seitenleiste links, Inhalt rechts.
   Handy/Tablet: schmale Kopfleiste mit Standortname, Navigation unten in Daumenreichweite.
   Baut auf dem vorhandenen Markup aus base.html auf; nichts davon wird entfernt. */
:root{
 --sv-nav:#13365d;--sv-nav-2:#1d4673;--sv-nav-ink:#bccbdc;--sv-nav-on:#ffffff;
 --sv-accent:#8fbcf2;--sv-accent-ink:#2f74d0;--sv-bg:#f1f4f8;--sv-ink:#11253b;--sv-muted:#5d6f84;--sv-line:#dde4ec;
 --sv-head:"Barlow Semi Condensed","Arial Narrow",system-ui,sans-serif;
 --sv-body:"Manrope",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
 --sv-side:248px;--sv-bar:64px}

/* ---------- Schrift und Grundfarben überall ---------- */
html body:not(#sv-off){background:var(--sv-bg)!important;color:var(--sv-ink)!important;font-family:var(--sv-body)!important}
html body:not(#sv-off) :is(button,input,select,textarea){font-family:inherit!important}
html body:not(#sv-off) :is(main,nav,table,summary,label,p,li,td,th,a){font-family:inherit}
html body:not(#sv-off) :is(h1,h2,h3,.hw-eyebrow,.pv2-title h1,.pv2-card h2){font-family:var(--sv-head)!important;letter-spacing:0!important}
html body:not(#sv-off) main h1{font-weight:700!important}
html body:not(#sv-off) main h2{font-weight:700!important}

/* Begrüßung nur auf der Startseite */
html body:not(#sv-off) main:not(.wall-dashboard)>.portal-greeting{display:none!important}

/* ---------- Wortzeichen ---------- */
html body:not(#sv-off) .portal-header .dv-wordmark{font-family:var(--sv-head)!important;font-style:italic!important;font-weight:800!important;letter-spacing:-.005em!important;color:var(--sv-nav-on)!important;line-height:1!important;display:inline-flex!important;align-items:baseline!important;white-space:nowrap!important}
html body:not(#sv-off) .portal-header .dv-wordmark-prefix{color:var(--sv-accent)!important;margin-right:.28em!important}
html body:not(#sv-off) .portal-header .portal-brand{text-decoration:none!important}

/* ---------- Icons für die Hauptnavigation ---------- */
.portal-primary-nav a::before,.portal-menu>summary::before{content:""!important;width:20px!important;height:20px!important;flex:none!important;background:currentColor!important;-webkit-mask:var(--ic) center/contain no-repeat!important;mask:var(--ic) center/contain no-repeat!important}
.portal-primary-nav a[href="/"]{--ic:url("/static/sv-icons/home.svg")}
.portal-primary-nav a[href="/admin/structure"],.portal-primary-nav a[href="/customers"]{--ic:url("/static/sv-icons/plant.svg")}
.portal-primary-nav a[href="/users"]{--ic:url("/static/sv-icons/users.svg")}
.portal-primary-nav a[href^="/remote-access"]{--ic:url("/static/sv-icons/remote.svg")}
.portal-menu>summary{--ic:url("/static/sv-icons/menu.svg")}
html body:not(#sv-off) .portal-menu>summary>svg{display:none!important}

/* ---------- Gemeinsame Menüoptik (Seitenleiste und Handy-Menü) ---------- */
html body:not(#sv-off) .portal-header .portal-structured-nav a,html body:not(#sv-off) .portal-header .portal-nav-group>summary{display:flex!important;align-items:center!important;gap:10px!important;padding:8px 12px!important;border-radius:8px!important;font:600 14px/1.3 var(--sv-body)!important;text-decoration:none!important}
html body:not(#sv-off) .portal-header .portal-nav-group>summary{list-style:none!important;cursor:pointer!important}
html body:not(#sv-off) .portal-header .portal-nav-group>summary::-webkit-details-marker{display:none!important}
html body:not(#sv-off) .portal-header .portal-nav-group>summary::after{content:""!important;margin-left:auto!important;width:7px!important;height:7px!important;border-right:2px solid currentColor!important;border-bottom:2px solid currentColor!important;transform:rotate(45deg) translateY(-2px)!important;opacity:.7!important}
html body:not(#sv-off) .portal-header .portal-nav-group[open]>summary::after{transform:rotate(225deg) translateY(-1px)!important}
html body:not(#sv-off) .portal-header .portal-nav-group>div{display:flex!important;flex-direction:column!important;gap:1px!important;padding:2px 0 6px 10px!important}

/* =================== Laptop: Seitenleiste =================== */
@media (min-width:1100px){
 html body:not(#sv-off){padding-left:var(--sv-side)!important}
 html body:not(#sv-off)>.portal-header{position:fixed!important;inset:0 auto 0 0!important;box-sizing:border-box!important;width:var(--sv-side)!important;height:100vh!important;height:100dvh!important;overflow-y:auto!important;overscroll-behavior:contain!important;background:var(--sv-nav)!important;color:var(--sv-nav-ink)!important;border:0!important;box-shadow:none!important;padding:22px 14px 16px!important;z-index:100!important;scrollbar-width:thin!important;scrollbar-color:#36597f transparent!important}
 html body:not(#sv-off)>.portal-header .portal-header-inner{display:flex!important;flex-direction:column!important;align-items:stretch!important;flex-wrap:nowrap!important;gap:2px!important;max-width:none!important;width:auto!important;margin:0!important;padding:0!important;min-height:100%!important}
 html body:not(#sv-off)>.portal-header .portal-current-plant{display:none!important}
 html body:not(#sv-off)>.portal-header .portal-brand{order:0!important;padding:0 10px 22px!important;margin:0!important;flex:none!important}
 html body:not(#sv-off)>.portal-header .dv-wordmark{font-size:27px!important}
 html body:not(#sv-off)>.portal-header .portal-primary-nav{order:1!important;display:flex!important;flex-direction:column!important;gap:2px!important;margin:0!important;padding:0!important;background:none!important;border:0!important;width:auto!important}
 html body:not(#sv-off)>.portal-header .portal-primary-nav a{display:flex!important;align-items:center!important;gap:12px!important;padding:10px 12px!important;margin:0!important;border-radius:0 8px 8px 0!important;background:none!important;border:0!important;color:var(--sv-nav-ink)!important;font:600 15px/1.2 var(--sv-body)!important;text-decoration:none!important;min-height:0!important;height:auto!important;box-shadow:none!important;width:auto!important;justify-content:flex-start!important}
 html body:not(#sv-off)>.portal-header .portal-primary-nav a:hover{background:rgba(255,255,255,.06)!important;color:#fff!important}
 html body:not(#sv-off)>.portal-header .portal-primary-nav a[aria-current="page"]{color:#fff!important;background:rgba(255,255,255,.08)!important;box-shadow:inset 3px 0 0 var(--sv-accent)!important}
 html body:not(#sv-off)>.portal-header .portal-header-actions{order:2!important;display:flex!important;flex-direction:column!important;margin:14px 0 0!important;width:auto!important;flex:1!important;grid-template-columns:none!important}
 html body:not(#sv-off)>.portal-header .portal-header-actions>[data-sideview-refresh-status]{display:none!important}
 html body:not(#sv-off)>.portal-header .portal-menu{display:flex!important;flex-direction:column!important;flex:1!important;position:static!important}
 html body:not(#sv-off)>.portal-header .portal-menu>summary{display:none!important}
 html body:not(#sv-off)>.portal-header .portal-menu-panel{position:static!important;display:flex!important;flex-direction:column!important;flex:1!important;gap:6px!important;inset:auto!important;width:auto!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;color:var(--sv-nav-ink)!important;overflow:visible!important;transform:none!important}
 html body:not(#sv-off)>.portal-header .portal-structured-nav{order:1!important;display:flex!important;flex-direction:column!important;gap:1px!important;border-top:1px solid rgba(255,255,255,.09)!important;padding-top:12px!important;margin:0!important}
 html body:not(#sv-off)>.portal-header .portal-structured-nav a,html body:not(#sv-off)>.portal-header .portal-nav-group>summary{color:var(--sv-nav-ink)!important;background:none!important}
 html body:not(#sv-off)>.portal-header .portal-structured-nav a:hover,html body:not(#sv-off)>.portal-header .portal-nav-group>summary:hover{color:#fff!important;background:rgba(255,255,255,.06)!important}
 html body:not(#sv-off)>.portal-header .portal-structured-nav a[aria-current="page"]{color:#fff!important;box-shadow:inset 3px 0 0 var(--sv-accent)!important;border-radius:0 8px 8px 0!important}
 html body:not(#sv-off)>.portal-header .portal-nav-group{margin:0!important;border:0!important;background:none!important;padding:0!important}
 html body:not(#sv-off)>.portal-header .portal-account{order:3!important;margin-top:auto!important;display:grid!important;grid-template-columns:auto 1fr!important;column-gap:10px!important;align-items:center!important;padding:14px 10px 8px!important;border-top:1px solid rgba(255,255,255,.09)!important;background:none!important;color:var(--sv-nav-ink)!important}
 html body:not(#sv-off)>.portal-header .portal-account::before{content:attr(data-initials)!important;grid-row:span 3!important;width:34px!important;height:34px!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:var(--sv-accent-ink)!important;color:#fff!important;font:700 13px/1 var(--sv-body)!important}
 html body:not(#sv-off)>.portal-header .portal-account small{font-size:11px!important;opacity:.7!important;color:inherit!important}
 html body:not(#sv-off)>.portal-header .portal-account strong{color:#fff!important;font-size:13px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 html body:not(#sv-off)>.portal-header .portal-account span{font-size:12px!important}
 html body:not(#sv-off)>.portal-header .portal-menu-settings{order:4!important;padding:4px 10px 0!important;color:var(--sv-nav-ink)!important}
 html body:not(#sv-off)>.portal-header .portal-menu-settings :is(label,span){color:var(--sv-nav-ink)!important;font-size:12px!important}
 html body:not(#sv-off)>.portal-header .portal-menu-settings select{background:#1d4673!important;color:#fff!important;border:1px solid #36597f!important;border-radius:8px!important;min-height:36px!important;height:36px!important;font-size:13px!important;margin:4px 0 0!important;width:100%!important}
 html body:not(#sv-off)>.portal-header .portal-menu-refresh{order:5!important;padding:6px 10px 0!important}
 html body:not(#sv-off)>.portal-header .portal-menu-refresh button{width:100%!important;height:36px!important;min-height:36px!important;background:none!important;border:1px solid #36597f!important;border-radius:8px!important;color:var(--sv-nav-ink)!important;font:600 13px var(--sv-body)!important}
 html body:not(#sv-off)>.portal-header .portal-menu-refresh small{display:none!important}
 html body:not(#sv-off)>.portal-header .portal-primary-nav{align-items:stretch!important}
 html body:not(#sv-off)>.portal-header .portal-account span{color:var(--sv-nav-ink)!important}
 html body:not(#sv-off)>.portal-header .portal-logout{margin:8px 0 0!important}
 html body:not(#sv-off)>.portal-header .portal-logout button{width:100%!important;height:36px!important;min-height:36px!important;background:none!important;border:1px solid #36597f!important;border-radius:8px!important;color:var(--sv-nav-ink)!important;font:600 13px var(--sv-body)!important}
 html body:not(#sv-off)>.portal-header .portal-logout button:hover,html body:not(#sv-off)>.portal-header .portal-menu-refresh button:hover{color:#fff!important;border-color:#5b80a8!important}
 html body:not(#sv-off) main{max-width:1240px!important;margin:22px auto 40px!important;padding:0 28px!important}
 html{scroll-padding-top:20px!important}
}

/* =================== Handy und Tablet =================== */
@media (max-width:1099.98px){
 html body:not(#sv-off){padding-bottom:calc(var(--sv-bar) + env(safe-area-inset-bottom,0px))!important}
 html body:not(#sv-off)>.portal-header{box-sizing:border-box!important;position:sticky!important;top:0!important;z-index:100!important;background:var(--sv-nav)!important;border:0!important;box-shadow:0 2px 10px rgba(5,20,40,.25)!important;padding:10px max(14px,env(safe-area-inset-right,0px)) 10px max(14px,env(safe-area-inset-left,0px))!important}
 html body:not(#sv-off)>.portal-header .portal-header-inner{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:12px!important;max-width:none!important;margin:0!important;padding:0!important;min-height:36px!important}
 html body:not(#sv-off)>.portal-header .portal-brand{flex:none!important;margin:0!important;padding:0!important}
 html body:not(#sv-off)>.portal-header .dv-wordmark{font-size:21px!important}
 html body:not(#sv-off)>.portal-header .has-plant-title .dv-wordmark>span:not(.dv-wordmark-prefix){display:none!important}
 html body:not(#sv-off)>.portal-header .portal-current-plant{order:2!important;flex:1!important;min-width:0!important;margin:0!important;padding:0!important;color:#fff!important;font:700 16px/1.2 var(--sv-head)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;background:none!important;border:0!important}
 html body:not(#sv-off)>.portal-header .portal-header-actions{order:3!important;margin:0 0 0 auto!important;display:block!important;width:auto!important;grid-template-columns:none!important}
 html body:not(#sv-off)>.portal-header .portal-header-actions>[data-sideview-refresh-status]{display:none!important}
 /* Untere Leiste: Hauptnavigation + Menüknopf */
 html body:not(#sv-off)>.portal-header .portal-primary-nav{position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:120!important;display:flex!important;margin:0!important;gap:0!important;background:#fff!important;border-top:1px solid var(--sv-line)!important;box-shadow:0 -4px 16px rgba(10,30,55,.08)!important;padding:6px calc(20% + max(0px,env(safe-area-inset-right,0px))) calc(6px + env(safe-area-inset-bottom,0px)) max(0px,env(safe-area-inset-left,0px))!important;height:auto!important;width:auto!important;flex-wrap:nowrap!important}
 html body:not(#sv-off)>.portal-header .portal-primary-nav a{flex:1 1 0!important;min-width:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;height:52px!important;min-height:52px!important;padding:0 2px!important;margin:0!important;border:0!important;border-radius:10px!important;background:none!important;color:var(--sv-muted)!important;font:600 0/1 var(--sv-body)!important;text-decoration:none!important;box-shadow:none!important}
 html body:not(#sv-off)>.portal-header .portal-primary-nav a::after{content:attr(data-short)!important;font:600 11px/1.1 var(--sv-body)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important}
 html body:not(#sv-off)>.portal-header .portal-primary-nav a[aria-current="page"]{color:var(--sv-accent-ink)!important}
 html body:not(#sv-off)>.portal-header .portal-primary-nav a[aria-current="page"]::before{background:var(--sv-accent-ink)!important}
 html body:not(#sv-off)>.portal-header .portal-menu>summary{position:fixed!important;right:max(0px,env(safe-area-inset-right,0px))!important;bottom:calc(6px + env(safe-area-inset-bottom,0px))!important;z-index:121!important;width:20%!important;height:52px!important;min-height:52px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;margin:0!important;padding:0!important;border:0!important;border-radius:10px!important;background:none!important;color:var(--sv-muted)!important;font:600 11px/1.1 var(--sv-body)!important;list-style:none!important;cursor:pointer!important}
 html body:not(#sv-off)>.portal-header .portal-menu>summary::-webkit-details-marker{display:none!important}
 html body:not(#sv-off)>.portal-header .portal-menu[open]>summary{color:var(--sv-accent-ink)!important}
 html body:not(#sv-off)>.portal-header .portal-menu>summary span{display:block!important}
 html body:not(#sv-off)>.portal-header .portal-guest .portal-menu>summary{position:static!important;width:auto!important;color:#fff!important}
 /* Menü als Blatt von unten */
 html body:not(#sv-off)>.portal-header .portal-menu-panel{position:fixed!important;left:max(8px,env(safe-area-inset-left,0px))!important;right:max(8px,env(safe-area-inset-right,0px))!important;top:auto!important;bottom:calc(var(--sv-bar) + 6px + env(safe-area-inset-bottom,0px))!important;width:auto!important;max-width:none!important;max-height:calc(100dvh - var(--sv-bar) - 90px)!important;overflow-y:auto!important;z-index:119!important;background:#fff!important;color:var(--sv-ink)!important;border:1px solid var(--sv-line)!important;border-radius:16px!important;box-shadow:0 -10px 40px rgba(10,30,55,.25)!important;padding:12px!important;display:flex!important;flex-direction:column!important;gap:8px!important}
 html body:not(#sv-off)>.portal-header .portal-menu:not([open]) .portal-menu-panel{display:none!important}
 html body:not(#sv-off)>.portal-header .portal-account{order:0!important;display:flex!important;flex-direction:column!important;padding:4px 6px 10px!important;border-bottom:1px solid var(--sv-line)!important;color:var(--sv-muted)!important;background:none!important}
 html body:not(#sv-off)>.portal-header .portal-account strong{color:var(--sv-ink)!important}
 html body:not(#sv-off)>.portal-header .portal-structured-nav{order:1!important;display:flex!important;flex-direction:column!important;gap:1px!important}
 html body:not(#sv-off)>.portal-header .portal-structured-nav a,html body:not(#sv-off)>.portal-header .portal-nav-group>summary{color:var(--sv-ink)!important;background:none!important;min-height:44px!important}
 html body:not(#sv-off)>.portal-header .portal-structured-nav a[aria-current="page"]{background:#e8f0fb!important;color:var(--sv-accent-ink)!important}
 html body:not(#sv-off)>.portal-header .portal-menu-settings{order:2!important;padding:6px!important}
 html body:not(#sv-off)>.portal-header .portal-menu-refresh{order:3!important;padding:0 6px!important}
 html body:not(#sv-off) main{margin:14px auto 24px!important;padding:0 max(14px,env(safe-area-inset-left,0px)) 0 max(14px,env(safe-area-inset-right,0px))!important}
 html{scroll-padding-top:70px!important}
}
@media (max-width:1099.98px) and (min-width:700px){
 html body:not(#sv-off)>.portal-header .has-plant-title .dv-wordmark>span:not(.dv-wordmark-prefix){display:inline!important}
}
@media print{html body:not(#sv-off){padding:0!important}html body:not(#sv-off)>.portal-header{display:none!important}}
@media (prefers-reduced-motion:reduce){html body:not(#sv-off) *{scroll-behavior:auto!important}}

/* ---------- Standortnavigation: Pfad einzeilig, Bereiche als Reiterleiste ---------- */
html body:not(#sv-off) main .sc-site-navigation{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0 0 14px!important;display:flex!important;flex-direction:column!important;gap:8px!important}
html body:not(#sv-off) main .sc-site-navigation::before,html body:not(#sv-off) main .sc-site-navigation::after{display:none!important}
html body:not(#sv-off) main .sc-breadcrumbs{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:13px!important;color:var(--sv-muted)!important;margin:0!important;padding:0!important}
html body:not(#sv-off) main .sc-breadcrumbs a{color:var(--sv-muted)!important;text-decoration:none!important;font-weight:600!important}
html body:not(#sv-off) main .sc-breadcrumbs a:last-of-type{color:var(--sv-ink)!important}
html body:not(#sv-off) main .sc-breadcrumbs span{margin:0 6px!important;color:#9aabbd!important}
html body:not(#sv-off) main .sc-site-actions{display:flex!important;flex-wrap:nowrap!important;gap:6px!important;overflow-x:auto!important;scrollbar-width:none!important;margin:0!important;padding:0 0 2px!important;grid-template-columns:none!important}
html body:not(#sv-off) main .sc-site-actions::-webkit-scrollbar{display:none!important}
html body:not(#sv-off) main .sc-site-actions a{flex:none!important;display:inline-flex!important;align-items:center!important;height:32px!important;min-height:32px!important;padding:0 12px!important;border-radius:16px!important;border:1px solid var(--sv-line)!important;background:#fff!important;color:var(--sv-ink)!important;font:600 13px/1 var(--sv-body)!important;text-decoration:none!important;white-space:nowrap!important;width:auto!important;box-shadow:none!important}
html body:not(#sv-off) main .sc-site-actions a[aria-current="page"]{background:var(--sv-nav)!important;border-color:var(--sv-nav)!important;color:#fff!important}

/* ===== Startseite & iPhone-Leisten (26.11.2026) ===== */
html body:not(#sv-off) main.wall-dashboard>.portal-greeting{font:700 26px/1.15 var(--sv-head)!important;color:var(--sv-ink)!important;margin:2px 0 10px!important}html body:not(#sv-off) .marine-overview{font-family:var(--sv-body)!important;color:var(--sv-ink)!important}html body:not(#sv-off) .marine-overview h1,html body:not(#sv-off) .marine-overview h2{font-family:var(--sv-head)!important;letter-spacing:0!important;color:var(--sv-ink)!important}html body:not(#sv-off) .marine-overview .marine-overview-title{font-size:13px!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:.08em!important;color:var(--sv-muted)!important}html body:not(#sv-off) .marine-overview .sc-overview-heading{margin:0 0 8px!important}html body:not(#sv-off) .marine-overview a.sc-button{min-height:36px!important;padding:8px 14px!important;border-radius:10px!important;font:700 13px/1 var(--sv-body)!important;background:#fff!important;border:1px solid var(--sv-line)!important;color:var(--sv-nav)!important}html body:not(#sv-off) .marine-overview .marine-filter-heading h2{font-size:13px!important;text-transform:uppercase!important;letter-spacing:.08em!important;color:var(--sv-muted)!important}html body:not(#sv-off) .marine-overview .hw-quick-filters{display:flex!important;flex-wrap:wrap!important;gap:8px!important;border:0!important;padding:0!important;margin:6px 0 10px!important}html body:not(#sv-off) .marine-overview .marine-filter-tile{flex:0 0 auto!important;width:auto!important;min-height:0!important;margin:0!important}html body:not(#sv-off) .marine-overview .marine-filter-tile>span{display:flex!important;align-items:baseline!important;gap:8px!important;min-height:40px!important;height:auto!important;padding:9px 14px!important;border-radius:999px!important;border:1px solid var(--sv-line)!important;background:#fff!important;box-shadow:none!important}html body:not(#sv-off) .marine-overview .marine-filter-tile strong{font:700 14px/1.2 var(--sv-body)!important;color:var(--sv-ink)!important}html body:not(#sv-off) .marine-overview .marine-filter-tile small{font-size:12px!important;color:var(--sv-muted)!important}html body:not(#sv-off) .marine-overview .marine-filter-tile small b{font-weight:700!important}html body:not(#sv-off) .marine-overview .marine-filter-tile input:checked+span{background:var(--sv-nav)!important;border-color:var(--sv-nav)!important}html body:not(#sv-off) .marine-overview .marine-filter-tile input:checked+span strong,html body:not(#sv-off) .marine-overview .marine-filter-tile input:checked+span small{color:#fff!important}html body:not(#sv-off) .marine-overview .marine-search-row input{min-height:40px!important;border-radius:10px!important;border:1px solid var(--sv-line)!important;font:500 14px/1.2 var(--sv-body)!important}html body:not(#sv-off) .marine-overview .marine-search-row button{min-height:40px!important;border-radius:10px!important;background:var(--sv-nav)!important;border-color:var(--sv-nav)!important;color:#fff!important;font:700 14px/1 var(--sv-body)!important}html body:not(#sv-off) .marine-overview .marine-daily{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:14px 0!important}html body:not(#sv-off) .marine-overview .marine-stat{min-height:0!important;height:auto!important;padding:14px 16px!important;border-radius:14px!important;border:1px solid var(--sv-line)!important;background:#fff!important;box-shadow:0 1px 2px rgba(17,37,59,.04)!important}html body:not(#sv-off) .marine-overview .marine-stat span{font-size:12px!important;color:var(--sv-muted)!important}html body:not(#sv-off) .marine-overview .marine-stat strong{font:700 30px/1.1 var(--sv-head)!important;color:var(--sv-nav)!important}html body:not(#sv-off) .marine-overview .marine-stat small{font-size:11px!important;color:var(--sv-muted)!important}html body:not(#sv-off) .marine-overview .hw-overview-result h2{font-size:13px!important;text-transform:uppercase!important;letter-spacing:.08em!important;color:var(--sv-muted)!important}html body:not(#sv-off) .marine-overview .hw-mini-usage{padding:14px 16px!important;border-radius:14px!important;border:1px solid var(--sv-line)!important;background:#fff!important;margin:8px 0 14px!important}html body:not(#sv-off) .marine-overview .hw-mini-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}html body:not(#sv-off) .marine-overview a.hw-mini-row{min-height:0!important;height:auto!important;padding:10px 12px!important;border-radius:10px!important;border:1px solid var(--sv-line)!important;background:var(--sv-bg)!important;gap:4px!important}html body:not(#sv-off) .marine-overview .hw-mini-name b{font:700 13px/1.2 var(--sv-body)!important}html body:not(#sv-off) .marine-overview .hw-mini-name small{font-size:12px!important;color:var(--sv-muted)!important}html body:not(#sv-off) .marine-overview .hw-mini-metric strong{font:700 12px/1.2 var(--sv-body)!important}html body:not(#sv-off) .marine-overview .hw-mini-track b{background:var(--sv-nav)!important}html body:not(#sv-off) .marine-overview .hw-sites{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))!important;gap:12px!important}html body:not(#sv-off) .marine-overview a.hw-location{min-height:0!important;height:auto!important;padding:14px 16px!important;border-radius:14px!important;border:1px solid var(--sv-line)!important;background:#fff!important;box-shadow:0 1px 2px rgba(17,37,59,.04)!important;overflow:hidden!important}html body:not(#sv-off) .marine-overview a.hw-location:hover{border-color:var(--sv-accent-ink)!important}html body:not(#sv-off) .marine-overview .hw-site-picture{display:none!important}html body:not(#sv-off) .marine-overview .kw-aligned-card .kw-card-slot{min-height:0!important;height:auto!important}html body:not(#sv-off) .marine-overview a.hw-location h2{font-size:18px!important;font-weight:700!important}html body:not(#sv-off) .marine-overview .sc-ref,html body:not(#sv-off) .marine-overview .hw-subtitle{font-size:12px!important;color:var(--sv-muted)!important;margin:2px 0 0!important}html body:not(#sv-off) .marine-overview .hw-kw-today>p{font-size:11px!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:.06em!important;color:var(--sv-muted)!important;margin:10px 0 4px!important}html body:not(#sv-off) .marine-overview .hw-kw-today dl{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;margin:0!important}html body:not(#sv-off) .marine-overview .hw-kw-today dl>div{display:flex!important;flex-direction:column!important;gap:2px!important;padding:8px 10px!important;border-radius:10px!important;background:var(--sv-bg)!important;margin:0!important;border:0!important}html body:not(#sv-off) .marine-overview .hw-kw-today dt{font-size:11px!important;color:var(--sv-muted)!important}html body:not(#sv-off) .marine-overview .hw-kw-today dd{margin:0!important;font:700 22px/1.1 var(--sv-head)!important;color:var(--sv-nav)!important}html body:not(#sv-off) .marine-overview .sc-output-count{font-size:11px!important;color:var(--sv-muted)!important;margin:6px 0 0!important}
@media (max-width:1099.98px){html body:not(#sv-off) .marine-overview .marine-daily{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body:not(#sv-off) .marine-overview .hw-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (max-width:700px){html body:not(#sv-off) main.wall-dashboard>.portal-greeting{font-size:22px!important}html body:not(#sv-off) .marine-overview .hw-quick-filters{flex-wrap:nowrap!important;overflow-x:auto!important;margin-right:-14px!important;padding-right:14px!important;scrollbar-width:none!important}html body:not(#sv-off) .marine-overview .marine-search-row{display:flex!important;gap:8px!important}html body:not(#sv-off) .marine-overview .marine-search-row input{flex:1!important;min-width:0!important;width:auto!important}html body:not(#sv-off) .marine-overview .marine-stat{padding:12px!important}html body:not(#sv-off) .marine-overview .marine-stat strong{font-size:24px!important}html body:not(#sv-off) .marine-overview .hw-sites{grid-template-columns:1fr!important}
}
@media (max-width:1099.98px){:root{--sv-bar:46px}html body:not(#sv-off)>.portal-header{padding-top:calc(6px + env(safe-area-inset-top,0px))!important;padding-bottom:6px!important}html body:not(#sv-off)>.portal-header .portal-header-inner{min-height:32px!important}html body:not(#sv-off)>.portal-header .dv-wordmark{font-size:19px!important}html body:not(#sv-off)>.portal-header .portal-current-plant{font-size:15px!important}html body:not(#sv-off)>.portal-header .portal-primary-nav{padding-top:2px!important;padding-bottom:calc(2px + env(safe-area-inset-bottom,0px) * .5)!important}html body:not(#sv-off)>.portal-header .portal-primary-nav a{height:42px!important;min-height:42px!important}html body:not(#sv-off)>.portal-header .portal-menu>summary{bottom:calc(2px + env(safe-area-inset-bottom,0px) * .5)!important;height:42px!important;min-height:42px!important}
}

/* ===== Einheitliche Tasten & Felder (26.11.2026) ===== */
html body:not(#sv-off) main button,html body:not(#sv-off) main input[type=submit],html body:not(#sv-off) main a.button,html body:not(#sv-off) main .sc-button{min-height:40px!important;padding:8px 14px!important;font-size:14px!important;line-height:1.2!important;border-radius:10px!important;font-family:var(--sv-body)!important}html body:not(#sv-off) main select,html body:not(#sv-off) main input:not([type=checkbox]):not([type=radio]),html body:not(#sv-off) main textarea{max-width:100%!important;box-sizing:border-box!important}html body:not(#sv-off) main label{max-width:100%!important}html body:not(#sv-off) main form{max-width:100%!important}

/* Einheitliches Kentekenwassen-Logo auf Uebersichten (statt nachgebautem Schriftzug) */
.marine-kenteken-banner.sv-kw-banner{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important}
.marine-kenteken-banner .sv-kw-logo{display:block;height:44px;width:auto;max-width:60%;background:#fff;border-radius:8px;padding:6px 10px;object-fit:contain}
@media (max-width:599.98px){.marine-kenteken-banner .sv-kw-logo{height:36px}}
/* Paket 1e: untere Leiste als letztes Element der Seite mit position:sticky (statt fixed).
   Safari/iOS laesst fest positionierte Elemente beim Scrollen mitwandern; sticky am Seitenende nicht. */
@media (max-width:1099.98px){html body:not(#sv-off)>.portal-header.sv-dock{position:sticky!important;bottom:0!important;top:auto!important;left:auto!important;right:auto!important;height:auto!important;min-height:0!important;margin:0!important;display:flex!important;align-items:stretch!important;background:#fff!important;border:0!important;border-top:1px solid var(--sv-line)!important;box-shadow:0 -4px 16px rgba(10,30,55,.08)!important;padding:2px max(0px,env(safe-area-inset-right,0px)) calc(2px + env(safe-area-inset-bottom,0px) * .5) max(0px,env(safe-area-inset-left,0px))!important;z-index:120!important;overflow:visible!important}html body:not(#sv-off)>.portal-header.sv-dock .portal-primary-nav{position:static!important;flex:4 1 0!important;display:flex!important;padding:0!important;margin:0!important;border:0!important;box-shadow:none!important;background:none!important;width:auto!important}html body:not(#sv-off)>.portal-header.sv-dock .portal-menu{flex:1 1 0!important;position:static!important;display:block!important;margin:0!important}html body:not(#sv-off)>.portal-header.sv-dock .portal-menu>summary{position:static!important;width:100%!important;right:auto!important;bottom:auto!important}html body:not(#sv-off){padding-bottom:0!important}html body:not(#sv-off)>main{min-height:calc(100dvh - var(--sv-headh,60px) - var(--sv-bar) - env(safe-area-inset-bottom,0px))}}
/* Paket 1f: Eingabefelder mind. 16px, sonst zoomt Safari (iPhone) beim Antippen hinein und bleibt gezoomt. */
@media (max-width:1099.98px){html body:not(#sv-off) input:not([type=checkbox]):not([type=radio]),html body:not(#sv-off) select,html body:not(#sv-off) textarea{font-size:16px!important}}
/* Paket 1g: Nur im Web-App-Modus (Home-Bildschirm, iPhone): nur der Inhalt scrollt, Kopf und Leiste stehen fest.
   iOS laesst in Web-Apps sonst Kopf und Leiste mit der Seite wandern. Normales Safari/Desktop unveraendert. */
@media (max-width:1099.98px){html.sv-app,html.sv-app body:not(#sv-off){height:100%!important;overflow:hidden!important}html.sv-app body:not(#sv-off){display:flex!important;flex-direction:column!important;padding:0!important;margin:0!important}html.sv-app body:not(#sv-off)>.portal-header{position:relative!important;flex:none!important;top:auto!important}html.sv-app body:not(#sv-off)>main{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain}html.sv-app body:not(#sv-off)>.portal-header.sv-dock{position:relative!important;flex:none!important;bottom:auto!important}}
/* Paket 1h: Web-App: Hintergrund hinter Statusleiste dunkelblau (sonst legt iOS einen weissen Schleier darueber). */
@media (max-width:1099.98px){html.sv-app,html.sv-app body:not(#sv-off){background:var(--sv-nav,#13365d)!important}html.sv-app body:not(#sv-off)>main{background:var(--sv-bg,#f1f4f8)!important;margin-top:0!important;margin-bottom:0!important}}
/* Paket 2c: Knoepfe auf Kentekenwassen-Seiten lesbar (Markenregel faerbte Link-Text dunkelblau auf blauem Grund). */
html[data-brand="kenteken-wassen"] body:not(#sv-off) main a.sc-button:not(.secondary),html[data-brand="kenteken-wassen"] body:not(#sv-off) main a.sc-button:not(.secondary):visited{color:#fff!important}
/* Paket 4a: Kasten 'Aktuelle Probleme' (Stoerungs-Waechter, nur Admin) */
.sv-watch{margin:0 0 16px;padding:12px 14px;border-radius:12px;background:#fff6f5;border:1px solid #f1c4c0}.sv-watch-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px;color:#8a1f1a}.sv-watch-head span{background:#b42318;color:#fff;border-radius:999px;padding:1px 9px;font-weight:700;font-size:13px}.sv-watch ul{margin:0;padding:0;list-style:none;display:grid;gap:6px}.sv-watch li{padding:6px 0 6px 12px;border-left:4px solid #e3a008;font-size:14px;color:#3d2b1f}.sv-watch li.sv-watch-critical{border-left-color:#b42318}.sv-watch a{font-weight:700;color:#13365d!important}
/* Paket 4c: Ampel im Waechter-Kasten */
.sv-watch[data-state=green]{background:#f2fbf5;border-color:#bfe3cb}.sv-watch[data-state=yellow]{background:#fffaf0;border-color:#f3d9a4}.sv-watch summary.sv-watch-head{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none;margin:0}.sv-watch summary::-webkit-details-marker{display:none}.sv-watch[data-state=green] .sv-watch-head{color:#14532d}.sv-watch[data-state=yellow] .sv-watch-head{color:#7a4b00}.sv-light{width:16px;height:16px;border-radius:50%;flex:none;box-shadow:0 0 0 3px rgba(0,0,0,.06)}.sv-light-green{background:#1f9d55}.sv-light-yellow{background:#e3a008}.sv-light-red{background:#b42318}.sv-watch-counts{margin-left:auto;display:flex;gap:6px}.sv-watch-head .sv-watch-counts span{background:none;padding:0}.sv-dot{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:22px;padding:0 7px;border-radius:999px;color:#fff!important;font-weight:700;font-size:13px}.sv-dot-green{background:#1f9d55!important}.sv-dot-yellow{background:#e3a008!important}.sv-dot-red{background:#b42318!important}.sv-watch ul{margin-top:10px}
.sv-watch-head strong{line-height:1.35}
/* Paket 5c: Erkennungsbilder je Kennzeichen */
[data-plate-images] .pi-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;margin-top:10px}[data-plate-images] figure{margin:0;background:#f4f7fb;border:1px solid #dbe5f1;border-radius:10px;overflow:hidden}[data-plate-images] img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;background:#111}[data-plate-images] figcaption{padding:6px 8px;font-size:13px}
.sv-watch-more{margin:10px 0 0;font-size:14px}.kc-sum{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.kc-sum span{padding:4px 12px;border-radius:999px;background:#eef3f8;font-weight:700}.kc-sum .kc-bad,.kc-table td.kc-bad{color:#b42318}.kc-sum .kc-bad{background:#fdecea}.kc-sum .kc-ok{background:#e8f6ee;color:#14532d}.kc-table{width:100%;border-collapse:collapse}.kc-table th,.kc-table td{text-align:left;padding:8px 6px;border-bottom:1px solid #e5e9ef;vertical-align:top}.kc-table td:not(:first-child),.kc-table th:not(:first-child){text-align:right}.kc-table ul{margin:4px 0 0;padding:0;list-style:none;font-weight:400;font-size:13px}.kc .sv-card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.km-daybar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}.km-daybar label{font-weight:700;display:flex;align-items:center;gap:8px}.km-daybar .muted{font-size:13px}
.sv-fold-head{cursor:pointer;user-select:none;display:flex;align-items:center;gap:8px}.sv-fold-head::after{content:'';margin-left:auto;width:9px;height:9px;border-right:2.5px solid currentColor;border-bottom:2.5px solid currentColor;transform:rotate(45deg);transition:transform .15s}.sv-folded>.sv-fold-head::after{transform:rotate(-45deg)}.sv-folded>:not(.sv-fold-head){display:none!important}.sv-folded>.sv-fold-head{margin-bottom:0}
.km-unified .km-episode-plain{line-height:1.65}
.sv-demo-tile{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px;padding:12px 16px;border-radius:12px;background:#eef5fd;border:1px solid #c9dcf2;text-decoration:none;color:#13365d!important}.sv-demo-tile strong{font-size:16px}.sv-demo-tile span{font-size:13px;opacity:.8}
.wa-users{display:grid;gap:8px;margin:12px 0}.wa-users label{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}
.portal-primary-nav a[href="/worktime"]{--ic:url("/static/sv-icons/clock.svg")}
@media(min-width:1100px){html body:not(#sv-off) .portal-header .portal-primary-nav a.sv-mobile-worktime,html body:not(#sv-off) .portal-header .portal-structured-nav a.sv-mobile-remote{display:none!important}}
@media(max-width:1099.98px){html body:not(#sv-off) .portal-header .portal-primary-nav a.sv-desktop-remote{display:none!important}}
