:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#f5f7f8;background:#10171c;font-synthesis:none;color-scheme:dark}
*{box-sizing:border-box}
body.krams-staff-page{margin:0;min-width:280px;min-height:100vh;background:#10171c;color:#f5f7f8;font-size:15px;line-height:1.5}
button,input{font:inherit}button{cursor:pointer}
a{color:inherit}
.ks-shell{max-width:750px;margin:0 auto;min-height:100vh;display:flex;flex-direction:column;background:linear-gradient(180deg,#11191e 0%,#121a1f 100%)}
.ks-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 24px;background:#0a1115;border-bottom:1px solid #243038}
.ks-brand{display:flex;flex-direction:column;gap:2px}.ks-brand-main{font-weight:900;letter-spacing:.02em;font-size:26px;line-height:1.1}.ks-brand-main em{font-style:normal;color:#f14a3c}.ks-brand-sub{font-size:9px;letter-spacing:.19em;color:#a7b4ba;font-weight:700}.ks-heading-badge{border:1px solid #7b3933;background:#351f20;color:#ff8d82;border-radius:999px;padding:7px 10px;letter-spacing:.07em;font-size:11px;font-weight:800}
.ks-main{width:100%;max-width:750px;flex:1;padding:28px 20px 38px}.ks-overline{font-weight:800;font-size:11px;letter-spacing:.14em;color:#fe8278;margin:0 0 5px}.ks-hello{display:flex;align-items:center;justify-content:space-between}.ks-hello h1{font-size:clamp(24px,5vw,34px);line-height:1.18;margin:0 0 7px;letter-spacing:-.025em}.ks-date{color:#afbcc4;font-size:15px;margin:0}.ks-userline{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;margin:14px 0 22px;color:#b7c2c9;font-size:13px}.ks-userline strong{color:#f9fbfb}.ks-logout{color:#f79f98;text-decoration:underline;text-underline-offset:3px;font-weight:700}
.ks-card{margin:16px 0;background:#1d272c;border:1px solid #304047;padding:19px;border-radius:17px;box-shadow:0 8px 24px #0002}.ks-card h2{font-size:20px;margin:0 0 12px;line-height:1.25}.ks-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.ks-section-title h2{margin:0 0 13px}.ks-count{color:#ffd1cc;background:#422524;padding:5px 9px;border-radius:100px;font-size:12px;font-weight:800;white-space:nowrap}.ks-hint{font-size:12px;color:#9fb0b7;margin:13px 0 0;line-height:1.6}.ks-today,.ks-results{display:grid;gap:10px}
.ks-meal,.ks-result{display:flex;align-items:center;gap:12px;justify-content:space-between;background:#273339;border:1px solid #394a53;border-radius:12px;padding:12px;min-width:0}.ks-result{background:#202b30}.ks-meal-copy{min-width:0;flex:1}.ks-meal-copy strong{display:block;color:#fff;font-size:15px;font-weight:750;overflow-wrap:anywhere;line-height:1.35}.ks-meal-copy small{display:block;color:#afc0c8;font-weight:600;font-size:13px;margin-top:3px}
.ks-button{min-height:43px;min-width:72px;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;padding:10px 14px;font-size:14px;line-height:1.2;font-weight:800;text-align:center}.ks-button:disabled{opacity:.55;cursor:default}.ks-button:focus-visible,.ks-logout:focus-visible{outline:3px solid #ffe0b3;outline-offset:3px}.ks-remove{color:#ffe1df;border-color:#bc5551;background:#5a2c2a}.ks-remove:hover{background:#763733}.ks-add,.ks-primary{background:#f04435;color:#fff;border-color:#f45547}.ks-add:hover,.ks-primary:hover{background:#cd3025}.ks-present{background:#34443b;border-color:#53725d;color:#bbefcb}
.ks-label{display:block;font-size:13px;font-weight:750;color:#c1cbd0;margin-bottom:8px}#ks-search,.ks-login-form input{width:100%;min-height:48px;border:1px solid #4c6068;border-radius:10px;background:#111a1f;color:#fff;padding:12px 14px;outline:none}#ks-search:focus,.ks-login-form input:focus{border-color:#f56b5f;box-shadow:0 0 0 3px #e84d4033}#ks-search::placeholder{color:#7f9099}.ks-results{margin-top:13px}.ks-empty{margin:0;border:1px dashed #46555d;padding:15px;border-radius:11px;color:#aec0c9;font-size:13px;line-height:1.5}
.ks-help{padding:14px 17px;margin:20px 0;color:#b7c2c9;background:#192329;border-left:3px solid #e8463a;border-radius:11px;font-size:13px}.ks-help p{margin:5px 0 10px}.ks-footer{padding:20px;text-align:center;font-size:12px;color:#8a9ca4;border-top:1px solid #253038}
.ks-notice{padding:12px 14px;border-radius:11px;margin:0 0 17px;font-weight:700;font-size:13px}.ks-notice[hidden]{display:none}.ks-error{background:#502826;border:1px solid #b34c42;color:#ffdad5}.ks-ok{background:#223d2e;border:1px solid #4d8b60;color:#c5efd3}
.ks-login{margin:7vh auto 0;max-width:420px;padding:24px 22px;border-radius:18px;background:#1d272d;border:1px solid #35444c}.ks-login h1{font-size:28px;margin:8px 0}.ks-login p{color:#aebdc6;font-size:14px;line-height:1.55;margin:0 0 22px}.ks-icon{font-size:33px;color:#f04c3a}.ks-login-form{display:grid;gap:10px}.ks-login-form label{font-weight:700;font-size:14px;color:#e2e9ed;margin-top:8px}.ks-login-form button{width:100%;margin-top:17px;min-height:48px}.ks-login .ks-button{width:100%}
@media(max-width:500px){.ks-header{padding:17px 16px}.ks-brand-main{font-size:23px}.ks-main{padding:20px 13px 32px}.ks-card{padding:14px;border-radius:14px}.ks-meal,.ks-result{gap:8px;padding:10px}.ks-meal-copy strong{font-size:14px}.ks-button{min-width:68px;padding:10px 11px}.ks-heading-badge{font-size:10px}.ks-login{margin:35px 2px 0}}

/* v1.9.8 – clear navigation back to the public site, including after logout. */
.ks-back-home{display:flex;align-items:center;justify-content:center;min-height:46px;margin-top:16px;padding:10px 14px;border:1px solid #53666e;border-radius:10px;background:#172229;color:#e3eef1;font-weight:750;font-size:14px;text-align:center;text-decoration:none;transition:background .15s ease,border-color .15s ease}
.ks-back-home:hover{background:#24353d;border-color:#8a9ea7;color:#fff}
.ks-back-home:focus-visible,.ks-back-inline:focus-visible{outline:3px solid #ffe0b3;outline-offset:3px}
.ks-user-actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.ks-back-inline{color:#c6d9e1;font-weight:750;text-decoration:underline;text-underline-offset:3px}
.ks-back-inline:hover{color:#fff}
