/* Shared main navigation: one scroll area and a separate, stable footer. */
.sidebar{height:100dvh;max-height:100dvh;display:flex;flex-direction:column;overflow:hidden}.sidebar .brand{flex:0 0 auto;min-height:74px;background:#071b2a!important;box-shadow:none!important}.sidebar .nav-list{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto!important;overflow-x:hidden;padding:10px!important}.sidebar .sidebar-bottom{position:static!important;flex:0 0 auto;height:auto;min-height:86px;display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:12px;background:#05131e!important}.sidebar .sidebar-bottom>small{display:none}.sidebar .sidebar-bottom label{display:flex!important;align-items:center;justify-content:space-between;gap:8px!important;font-size:12px!important;max-width:100%}.sidebar .sidebar-bottom select{min-height:44px;min-width:0;width:145px;max-width:70%;background:#0b293d;color:#eef7fb;border:1px solid #38607a;border-radius:8px;padding:8px}.sidebar .source-dot{min-height:20px;margin:0;font-size:11px;color:#adc4d3}.sidebar .mt-menu-group{margin:0 0 14px}.sidebar .nav-label,.sidebar .mt-sidebar-title{font-size:10px;line-height:1.5;margin:14px 10px 6px;color:#9eb8c9;letter-spacing:.08em;text-transform:uppercase}.sidebar .nav-btn:not(.brand){width:100%;min-height:44px;padding:10px;gap:10px;display:flex;align-items:center;text-decoration:none;font-size:13px;line-height:1.35;border-radius:8px;white-space:normal;overflow-wrap:anywhere}.sidebar .nav-btn>span:not(.mt-nav-icon):not(.nav-exp-copy):not(.mt-recent-copy){width:auto;text-align:left;font-size:inherit}.sidebar .nav-btn>.mt-nav-icon{width:22px;min-width:22px;flex:0 0 22px;height:22px}.sidebar .mt-nav-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.sidebar .experimental-nav{border:0!important;min-height:44px;margin:0!important}.sidebar .experimental-nav .nav-exp-copy{width:auto!important;display:flex!important;flex-wrap:wrap;align-items:center;gap:5px!important;color:inherit;font-size:13px}.sidebar .experimental-nav .nav-exp-copy small{font-size:8px;padding:2px 4px;border:1px solid #80682d;border-radius:4px;color:#f2cf87;letter-spacing:0;text-transform:none}.sidebar .nav-project{margin:0!important;padding:0!important;border:0!important}.sidebar .nav-project summary{min-height:44px;padding:10px!important;border:0;border-radius:8px;background:transparent;box-shadow:none}.sidebar .nav-project summary strong{font-size:13px!important;font-weight:600;white-space:normal;line-height:1.35!important}.sidebar .nav-project summary>span{display:none!important}.sidebar .nav-project-items{padding:4px 0 4px 10px;box-shadow:none}.sidebar #mtSidebarExtra,.sidebar .mt-sidebar-section{margin:0}.sidebar .mt-sidebar-recent{margin-top:14px}.sidebar .mt-sidebar-recent .mt-recent-copy{min-width:0;display:grid;text-align:left}.sidebar .mt-recent-copy b{font-size:12px}.sidebar .mt-recent-copy small{font-size:10px}.sidebar #mtWhatsNew .mt-whats-new-badge{display:none}.sidebar .mt-sidebar-quick .mt-sidebar-title{display:none}.sidebar [hidden]{display:none!important}.sidebar a:focus-visible,.sidebar button:focus-visible,.sidebar select:focus-visible{outline:3px solid #f8ce81;outline-offset:1px}.sidebar .nav-project.has-active-page>summary::after{display:none}
@media(max-height:600px){.sidebar .brand{min-height:58px;height:58px;padding:8px 12px}.sidebar .brand small{display:none}.sidebar .sidebar-bottom{min-height:72px;padding:7px 12px;gap:4px}.sidebar .mt-sidebar-recent{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}

/* Long Norwegian compounds must wrap at 320 px (WCAG 1.4.10). */
h1,h2,h3,h4,legend{overflow-wrap:break-word}html[lang=nb] h1,html[lang=nb] h2,html[lang=nb] h3{hyphens:auto}fieldset{min-width:0}
