body.km-modern{--km-accent:#317ca7;--km-pale:#edf6fb;background:#f5f8fa}body.km-modern.kita{--km-accent:#b65c83;--km-pale:#fdf0f5}.km-modern .kitchen-background{background:#f5f8fa!important}.km-modern .grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:16px!important}.km-modern .grid .module{display:flex!important;flex-direction:column;align-items:flex-start;justify-content:flex-start;text-align:left;padding:20px!important;min-height:170px;height:auto!important;aspect-ratio:auto!important;background:white!important;border:1px solid #dce5eb!important;border-radius:15px!important;box-shadow:0 4px 14px #203a5010!important;cursor:pointer}.km-modern .module svg{width:34px;height:34px;stroke:var(--km-accent);fill:none;stroke-width:1.6;margin-bottom:14px}.km-modern .module strong{font-size:16px;color:#203744}.km-modern .module span{font-size:13px;color:#526675;margin-top:7px}.km-test-nav{position:fixed;left:0;top:0;bottom:0;width:210px;background:white;border-right:1px solid #dce5eb;z-index:1000;padding:20px 12px;overflow:auto}.km-test-nav button{display:block;width:100%;text-align:left;background:none;border:0;border-radius:8px;padding:10px;color:#294352;cursor:pointer;font:inherit;font-size:13px}.km-test-nav button:hover{background:var(--km-pale)}.km-modern{padding-left:210px}.km-test-assistant{background:white;border:1px solid #dce5eb;border-radius:15px;padding:20px;margin:18px 0;color:#294352}.km-test-assistant button{border:0;background:var(--km-pale);color:var(--km-accent);padding:8px 12px;border-radius:8px;cursor:pointer}@media(max-width:1200px){.km-modern .grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media(max-width:800px){.km-modern{padding-left:0}.km-test-nav{position:static;width:auto;display:flex;overflow:auto;gap:5px}.km-test-nav button{width:auto;white-space:nowrap}.km-modern .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:440px){.km-modern .grid{grid-template-columns:1fr!important}}
body.km-modern .km-test-nav{position:fixed!important;top:0!important;bottom:0!important;left:0!important;z-index:9999!important;box-sizing:border-box!important}@media(max-width:800px){body.km-modern .km-test-nav{position:static!important;width:100%!important}}

/* Shared Schule/Kita navigation */
body.km-modern .km-test-nav{background:linear-gradient(180deg,#d5f9dc 0,#b9edc6 112px,#c9f1d4 260px,#d5f9dc 100%)!important;border-right:0!important;padding:0 12px 20px!important;transform:none!important;margin:0!important;display:flex;flex-direction:column;gap:9px;overflow-y:auto;overflow-x:hidden}
.km-sidebar-brand{display:flex;align-items:center;justify-content:center;min-height:112px;flex-shrink:0;margin:0 -12px 10px;padding:12px;background:#c9f1d4 url('/km-header-wellen.svg') center/100% 100% no-repeat;border-bottom:3px solid #087b38}
.km-sidebar-brand .logo{width:100%;max-width:185px;max-height:72px;object-fit:contain;filter:none}
body.km-modern .km-test-nav button{flex-shrink:0;background:linear-gradient(145deg,#fff3ad,#f6d45b);color:#171717;border:1px solid #d7b64a;border-radius:10px;padding:12px 9px;font-size:13px;font-weight:600;white-space:normal;overflow-wrap:anywhere;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
body.km-modern .km-test-nav button:hover,body.km-modern .km-test-nav button:focus-visible{transform:translateX(4px);box-shadow:0 4px 9px #35542b35;background:#ffe37a}
body.km-modern .km-test-nav button:active{transform:translateX(2px) scale(.98)}
body.km-modern .topin{justify-content:flex-end!important}
@media(max-width:800px){body.km-modern .km-test-nav{position:static!important;flex-direction:row;align-items:center;overflow-x:auto;overflow-y:hidden;padding:8px!important;gap:8px} .km-sidebar-brand{min-height:52px;width:130px;margin:0;padding:5px;border:0;background:none} body.km-modern .km-test-nav button{width:auto;white-space:nowrap} }
@media(prefers-reduced-motion:reduce){body.km-modern .km-test-nav button{transition:none}}


@media(min-width:801px){body.km-modern{padding-left:210px!important;}body.km-modern > .km-test-nav{position:fixed!important;inset:0 auto 0 0!important;width:210px!important;height:100vh!important;max-height:100vh!important;z-index:2147483000!important;display:flex!important;visibility:visible!important;opacity:1!important;overflow-y:auto!important;transform:none!important;}}
body.km-modern .km-sidebar-brand{min-height:115px;flex:0 0 115px;}

/* Solid mint background only; preserve all layout and navigation rules. */
body.km-modern .top,
body.km-modern .km-test-nav,
body.km-modern .km-sidebar-brand {
  background-color: #9fe8d0 !important;
  background-image: none !important;
}

/* Navigation polish: only the header and navigation surfaces. */
body.km-modern .top, body.km-modern .km-test-nav {
 background-color:#9fe8d0!important;
 background-image:radial-gradient(ellipse at 18% 0%,#ffffff40 0%,transparent 55%),repeating-linear-gradient(135deg,#ffffff0b 0px,#ffffff0b 1px,transparent 1px,transparent 18px)!important;
}
body.km-modern .km-sidebar-brand {background:transparent!important;}
body.km-modern .km-test-nav button {display:flex;align-items:center;gap:9px;background:linear-gradient(145deg,#fff5bc,#f8dc76);box-shadow:0 2px 5px #35542b12;}
body.km-modern .km-test-nav button svg {width:22px;height:22px;flex:0 0 22px;fill:none;stroke:#287ca7;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
body.km-modern .km-test-nav button span {min-width:0;}

/* Background-only wave overlay; original rules retained. */
body.km-modern .top { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201600%20140%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22%23fff%22%20opacity%3D%22.24%22%20d%3D%22M0%200H1600V40Q1400%20100%201200%2048T800%2065T400%2048T0%2070Z%22%2F%3E%3Cpath%20fill%3D%22%23258f72%22%20opacity%3D%22.13%22%20d%3D%22M0%2078Q200%20145%20400%2070T800%2085T1200%2045T1600%2080V140H0Z%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.7%22%20stroke-width%3D%222%22%20d%3D%22M0%2092Q200%20145%20400%2078T800%2092T1200%2053T1600%2088%22%2F%3E%3C%2Fsvg%3E") !important; background-size: 100% 100% !important; background-repeat: no-repeat !important; }

/* Same wave artwork on the sidebar and logo; background only. */
body.km-modern .km-test-nav { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201600%20140%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22%23fff%22%20opacity%3D%22.24%22%20d%3D%22M0%200H1600V40Q1400%20100%201200%2048T800%2065T400%2048T0%2070Z%22%2F%3E%3Cpath%20fill%3D%22%23258f72%22%20opacity%3D%22.13%22%20d%3D%22M0%2078Q200%20145%20400%2070T800%2085T1200%2045T1600%2080V140H0Z%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.7%22%20stroke-width%3D%222%22%20d%3D%22M0%2092Q200%20145%20400%2078T800%2092T1200%2053T1600%2088%22%2F%3E%3C%2Fsvg%3E") !important; background-size: 100% 260px !important; background-repeat: repeat-y !important; background-position: top center !important; }
body.km-modern .km-sidebar-brand { background: transparent !important; }
@media(min-width:801px){ body.km-modern .top, body.km-modern .km-sidebar-brand { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201600%20140%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22%23fff%22%20opacity%3D%22.24%22%20d%3D%22M0%200H1600V40Q1400%20100%201200%2048T800%2065T400%2048T0%2070Z%22%2F%3E%3Cpath%20fill%3D%22%23258f72%22%20opacity%3D%22.13%22%20d%3D%22M0%2078Q200%20145%20400%2070T800%2085T1200%2045T1600%2080V140H0Z%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.7%22%20stroke-width%3D%222%22%20d%3D%22M0%2092Q200%20145%20400%2078T800%2092T1200%2053T1600%2088%22%2F%3E%3C%2Fsvg%3E") !important; background-size: 100vw 100% !important; background-repeat: no-repeat !important; } body.km-modern .top { background-position: right top !important; } body.km-modern .km-sidebar-brand { background-color:#9fe8d0 !important; background-position:left top !important; } }

/* Seam alignment: identical 112px artwork height, same viewport origin. */
@media(min-width:801px){
 body.km-modern .top, body.km-modern .km-sidebar-brand {background-size:100vw 112px!important;background-origin:border-box!important;}
 body.km-modern .top {background-position:right top!important;}
 body.km-modern .km-sidebar-brand {background-position:left top!important;}
}

/* Remove only the divider below the sidebar logo; retain its dimensions. */
body.km-modern .km-sidebar-brand { border-bottom-color: #087b38 !important; }

/* Align both slices to the same horizontal viewport origin, independent of scrollbar width. */
@media(min-width:801px){
 body.km-modern .top {background-position:-210px 0!important;}
 body.km-modern .km-sidebar-brand {background-position:0 0!important;}
}

/* Welcome panel only; existing diagonal clip and layout retained. */
body.km-modern .hero {background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201600%20500%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M0%20440%20Q400%20350%20800%20435%20T1600%20390%20M0%20453%20Q400%20363%20800%20448%20T1600%20403%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-opacity%3D%22.38%22%20stroke-width%3D%221.2%22%2F%3E%3C%2Fsvg%3E" ) center / 100% 100% no-repeat, linear-gradient(110deg,#e0f7ee 0%,#b8ebdc 60%,#9fdfcf 100%) !important;color:#104737!important;}
body.km-modern .hero h1,body.km-modern .hero p,body.km-modern .hero .eyebrow {color:#104737!important;}
body.km-modern .hero .menu-pill {background:linear-gradient(110deg,#fff0a8,#f8d968)!important;color:#153e30!important;border:1px solid #e8bd4d!important;box-shadow:0 5px 14px #174d3320!important;}
body.km-modern .hero .menu-pill:hover,body.km-modern .hero .menu-pill:focus-visible {background:#ffe58a!important;}
body.km-modern .hero img {filter:drop-shadow(0 8px 12px #174d3326)!important;}

/* Final dashboard photos and continuous header divider only. */
body.km-modern .hero img {filter:none!important;box-shadow:none!important;object-fit:cover!important;aspect-ratio:2/1;border-radius:16px;}
@media(min-width:801px){
 body.km-modern .top,body.km-modern .km-sidebar-brand {border-bottom:3px solid #087b38!important;}
 body.km-modern .km-sidebar-brand {height:115px!important;min-height:115px!important;box-sizing:border-box!important;flex-basis:115px!important;border-bottom-color:transparent!important;}
}

@media(min-width:801px){body.km-modern .km-test-nav::after{content:"";position:fixed;top:111px;left:0;width:210px;height:3px;background:#087b38;pointer-events:none;z-index:1;}}

@media(min-width:801px){body.km-modern .top{box-sizing:border-box!important;height:115px!important;min-height:115px!important;}body.km-modern .km-test-nav::after{top:112px;}}

/* Equal divider: use the same border on both 115px header boxes. */
@media(min-width:801px){body.km-modern .km-sidebar-brand{border-bottom-color:#087b38!important;}body.km-modern .km-test-nav::after{content:none!important;}}
