/* Shared header + login modal. Loaded by every public layout so the header is pixel-identical everywhere. */
.sh{position:sticky;top:env(safe-area-inset-top,0px);z-index:40;background:#fff;border-bottom:1px solid #d6e0da;font-family:"Public Sans",system-ui,-apple-system,"Segoe UI",sans-serif;color:#15241c}
.sh-in{max-width:1160px;margin:0 auto;box-sizing:border-box;height:64px;display:flex;align-items:center;gap:14px;position:relative;
  padding-left:max(20px,env(safe-area-inset-left,0px));padding-right:max(20px,env(safe-area-inset-right,0px))}
.sh a{text-decoration:none}
.sh-brand{display:flex;align-items:center;gap:10px;flex:none;color:#0d6b3d}
.sh-brand img{width:40px;height:40px;display:block}
.sh-name{display:grid;line-height:1.05;gap:1px}
.sh-name .b-top{font-weight:200;font-size:.82rem;letter-spacing:.04em}
.sh-name .b-name{font-family:"Schibsted Grotesk",system-ui,sans-serif;font-weight:600;font-size:1.02rem}
.sh-menu{display:flex;gap:0;margin-left:auto}
.sh-menu a{color:#15241c;font-weight:500;font-size:.95rem;padding:7px 10px;border-radius:8px;white-space:nowrap}
.sh-menu a:hover{color:#0d6b3d;background:#e6f1ea}
.sh-lang{display:flex;padding-left:6px;border-left:1px solid #d6e0da}
.sh-lang a{font-size:.8rem;font-weight:600;letter-spacing:.02em;padding:6px 5px;color:#536259}
.sh-lang a[aria-current="true"]{color:#0d6b3d;text-decoration:underline;text-underline-offset:5px}
.sh-client{display:inline-flex;align-items:center;gap:8px;color:#0a4f2e;font-weight:600;font-size:.92rem;padding:4px 14px 4px 4px;border-radius:999px;background:#e6f1ea;white-space:nowrap;transition:background .15s}
.sh-client .ico{width:28px;height:28px;border-radius:50%;background:#0d6b3d;display:grid;place-items:center;flex:none}
.sh-client .ico svg{width:16px;height:16px;color:#fff}
.sh-client:hover{background:#d3e8da}
@media (prefers-reduced-motion:reduce){.sh-client{transition:none}}
.sh-burger{display:none;background:transparent;border:1px solid #d6e0da;border-radius:8px;padding:8px;cursor:pointer;color:#15241c}
.sh-burger svg{width:20px;height:20px;display:block}
.sh-book{display:inline-flex;align-items:center;gap:8px;background:#f2c230;color:#15241c;font-weight:700;font-size:.92rem;border-radius:999px;padding:4px 16px 4px 4px;white-space:nowrap;transition:background .15s}
.sh-book .ico{width:28px;height:28px;border-radius:50%;background:#15241c;display:grid;place-items:center;flex:none}
.sh-book .ico svg{width:16px;height:16px;color:#f2c230}
.sh-book:hover{background:#e3b31b}
.sh :focus-visible{outline:3px solid #1f6fb2;outline-offset:2px}
@media (max-width:1240px){.sh-client .txt{display:none}.sh-client{padding:4px}}
@media (max-width:1100px){
  .sh-menu{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;flex-direction:column;margin:0;
    padding:8px max(20px,env(safe-area-inset-right,0px)) 16px max(20px,env(safe-area-inset-left,0px));border-bottom:1px solid #d6e0da}
  .sh-menu.open{display:flex}
  .sh-lang{display:none}
  .sh-client{margin-left:auto}
  .sh-burger{display:inline-flex}
}
@media (max-width:700px){.sh-book{display:none}}
@media (max-width:520px){.sh-brand img{width:34px;height:34px}.sh-name .b-top{font-size:.74rem}.sh-name .b-name{font-size:.95rem}}

/* Login modal */
.login-modal{border:0;border-radius:16px;padding:0;width:min(460px,calc(100vw - 32px));max-height:calc(100vh - 32px);color:#15241c;
  font-family:"Public Sans",system-ui,sans-serif;box-shadow:0 30px 80px rgba(4,22,12,.35)}
.login-modal::backdrop{background:rgba(10,30,20,.55)}
.lm-head{display:flex;gap:12px;align-items:flex-start;padding:22px 22px 6px}
.lm-head h2{font-family:"Schibsted Grotesk",system-ui,sans-serif;font-size:1.5rem;margin:0}
.lm-head p{color:#536259;font-size:.95rem;margin:4px 0 0}
.lm-close{margin-left:auto;border:0;background:#f7faf8;border-radius:10px;width:40px;height:40px;display:grid;place-items:center;cursor:pointer;color:#15241c;flex:none}
.lm-close svg{width:20px;height:20px}
.login-modal .tabs2,.login-modal .loginf,.login-modal .login-err{margin:14px 22px 0}
.login-modal .loginf{padding-bottom:22px}
.tabs2{display:flex;gap:4px;background:#f7faf8;border:1px solid #d6e0da;border-radius:10px;padding:4px}
.tabs2 button{flex:1;border:0;background:transparent;border-radius:8px;padding:9px;font:600 .92rem "Public Sans",system-ui,sans-serif;color:#536259;cursor:pointer}
.tabs2 button[aria-selected="true"]{background:#fff;color:#15241c;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.loginf{display:grid;gap:14px}
.loginf .fld{display:grid;gap:4px}
.loginf label{font-weight:600;font-size:.92rem}
.loginf small{color:#536259;font-size:.84rem}
.loginf input{border:1px solid #b9c7bf;border-radius:8px;padding:10px 12px;font:inherit;background:#fff;color:#15241c;width:100%;box-sizing:border-box}
.loginf input:focus{border-color:#0d6b3d;outline:3px solid #e6f1ea;outline-offset:0}
.loginf .next{justify-self:start;background:#f2c230;color:#15241c;border:0;border-radius:8px;padding:12px 22px;font:700 1rem "Public Sans",system-ui,sans-serif;cursor:pointer}
.loginf .next:hover{background:#e3b31b}
.login-err{display:flex;gap:10px;border-radius:10px;padding:10px 12px;font-size:.92rem;background:#fdf3cf;color:#5a4500}
[hidden]{display:none!important}
