body.lm-fixed-help-header{display:block!important;min-width:0;box-sizing:border-box;padding:var(--lm-help-header-height,120px) 12px 24px!important}
#lm-help-header{position:fixed;inset:0 0 auto;z-index:900;box-sizing:border-box;background:#fff;box-shadow:0 3px 12px #00361520;padding:12px 16px}
#lm-help-header .lm-header-inner{max-width:1200px;width:100%;min-width:0;margin:auto}
#lm-help-header .lm-logo{display:block;width:max-content;max-width:100%;margin:0 auto}
#lm-help-header .lm-logo img{display:block;width:280px;max-width:100%;height:auto;max-height:76px;object-fit:contain}
body.lm-fixed-help-header>.login-card{box-sizing:border-box;width:100%;max-width:440px;min-width:0;margin:12px auto 0;overflow-wrap:anywhere}
body.lm-fixed-help-header>.container,body.lm-fixed-help-header>main{box-sizing:border-box;max-width:100%;min-width:0;margin-top:12px}
body.lm-fixed-help-header>.login-card input,body.lm-fixed-help-header>.login-card select{max-width:100%;box-sizing:border-box;scroll-margin-top:calc(var(--lm-help-header-height,120px) + 16px)}
body.lm-fixed-help-header>.login-card button{max-width:100%;box-sizing:border-box;white-space:normal}
.lm-bottom-buttons{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;max-width:900px;box-sizing:border-box;margin:24px auto 0;padding:14px;background:#f2f6f3;border:1px solid #c6dccb;border-radius:12px}
.lm-bottom-buttons a,.lm-bottom-buttons a:visited{display:flex!important;align-items:center;justify-content:center;box-sizing:border-box;min-width:0;min-height:44px;padding:10px 14px;border:1px solid #c6dccb;border-radius:8px;background:#fff!important;color:#07ac2b!important;font:600 14px/1.5 "Segoe UI",sans-serif;text-decoration:none!important;white-space:normal!important;overflow-wrap:anywhere;text-align:center}
.lm-bottom-buttons a:hover,.lm-bottom-buttons a[aria-current=page]{background:#f2f6f3!important;border-color:#07ac2b}
.lm-bottom-buttons a:focus-visible{outline:3px solid #07ac2b;outline-offset:3px}
.lm-bottom-buttons[hidden],.lm-help-navigation[hidden]{display:none!important}
#lm-help-header #lmAccount{margin:10px 0 0!important;min-width:0;max-width:100%;box-sizing:border-box}
#lmAccount nav{min-width:0;flex-wrap:wrap!important}
#lmAccount>span{min-width:0;overflow-wrap:anywhere}
@media(max-width:640px){
 #lm-help-header{padding:10px 12px}
 #lm-help-header .lm-logo img{width:280px;max-height:70px}
 body.lm-fixed-help-header>.login-card{padding:20px 16px;border-radius:18px}
 body.lm-fixed-help-header>.login-card input,body.lm-fixed-help-header>.login-card select{font-size:16px}
 .lm-bottom-buttons{gap:8px;padding:10px}
 .lm-bottom-buttons a{padding:9px 8px}
 #lmAccount>span{flex-basis:100%;text-align:left!important;margin-left:0!important}
}
@media(max-width:640px) and (max-height:500px){
 #lm-help-header{position:static}
 body.lm-fixed-help-header{padding-top:0!important}
}

/* Keep the dashboard in the viewport; allow flex text to shrink and wrap. */
@media (max-width: 640px) {
 body.lm-menu-page {
  display: block !important;
  min-width: 0;
  padding-left: 12px !important;
  padding-right: 12px !important;
 }
 body.lm-menu-page .dashboard-card {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 500px !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 24px 16px !important;
 }
 body.lm-menu-page .dashboard-card .menu-grid,
 body.lm-menu-page .dashboard-card .menu-btn,
 body.lm-menu-page .dashboard-card .lm-help-actions {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
 }
 body.lm-menu-page .dashboard-card .menu-btn {
  padding: 16px 12px;
  gap: 12px;
 }
 body.lm-menu-page .dashboard-card .menu-btn .icon { flex: 0 0 auto; }
 body.lm-menu-page .dashboard-card .menu-btn .text { flex: 1 1 0%; min-width: 0; }
 body.lm-menu-page .dashboard-card h2,
 body.lm-menu-page .dashboard-card h3,
 body.lm-menu-page .dashboard-card p,
 body.lm-menu-page .dashboard-card a {
  white-space: normal !important;
  overflow-wrap: anywhere;
 }
 body.lm-menu-page .dashboard-card .lm-info-button {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
 }
}

/* One compact explanation area on every page, below its own divider. */
.lm-explanation{box-sizing:border-box;width:100%;max-width:760px;min-width:0;margin:28px auto 0;padding:16px 0 0;border-top:2px solid #c6dccb;color:#07ac2b}
.lm-explanation>h2{margin:0 0 10px!important;padding:0!important;border:0!important;font:600 18px/1.4 'Segoe UI',sans-serif!important;color:#07ac2b!important;text-align:left!important}
.lm-explanation>h2::before,.lm-explanation>h2::after{display:none!important}
.lm-explanation .lm-help-links{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:2px 20px!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}
.lm-explanation .lm-help-links a,.lm-explanation .lm-help-links a:visited{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px;box-sizing:border-box;min-width:0;min-height:44px;margin:0!important;padding:6px 0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:#07ac2b!important;font:500 14px/1.4 'Segoe UI',sans-serif!important;text-decoration:none!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere}
.lm-explanation .lm-link-icon{display:block;flex:0 0 19px;width:19px;height:19px;color:currentColor}
.lm-explanation .lm-help-links a:hover span,.lm-explanation .lm-help-links a[aria-current=page] span{text-decoration:underline}
.lm-explanation .lm-help-links a:focus-visible{outline:3px solid #07ac2b;outline-offset:3px}
@media(max-width:640px){.lm-explanation .lm-help-links{column-gap:14px!important}}
@media(max-width:340px){.lm-explanation .lm-help-links{grid-template-columns:minmax(0,1fr)!important}}
@media print{.lm-explanation{display:none!important}}

/* The shared explanation links replace the old duplicate help button group. */
body:has(.lm-explanation) .lm-help-actions{display:none!important}

/* Page navigation sits beside the explanation title, outside the help links. */
.lm-explanation-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;margin:0 0 10px}
.lm-explanation-heading>h2{flex:1 1 auto;min-width:0;margin:0!important;padding:0!important;border:0!important;font:600 18px/1.4 'Segoe UI',sans-serif!important;color:#07ac2b!important;text-align:left!important}
.lm-explanation-heading>h2::before,.lm-explanation-heading>h2::after{display:none!important}
.lm-explanation-navigation{display:flex!important;flex:0 0 auto;align-items:center;justify-content:flex-end;gap:12px;margin:0!important;padding:0!important;border:0!important;background:none!important}
.lm-explanation-navigation a,.lm-explanation-navigation a:visited{display:flex!important;align-items:center;justify-content:flex-start;gap:6px;min-height:44px;margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;color:#07ac2b!important;font:500 14px/1.4 'Segoe UI',sans-serif!important;text-decoration:none!important;white-space:nowrap!important}
.lm-explanation-navigation a:hover span{text-decoration:underline}
.lm-explanation-navigation a:focus-visible{outline:3px solid #07ac2b;outline-offset:3px}
@media(max-width:360px){.lm-explanation-heading>h2{font-size:16px!important}.lm-explanation-navigation{gap:8px}.lm-explanation-navigation a{gap:4px;font-size:13px!important}}

/* The authenticated account bar provides page navigation. */
.lm-explanation a.lm-public-page-link[hidden]{display:none!important}

/* Desktop: the account bar and every page use the same centred outer column.
   Keep this scoped above phone/tablet layouts and outside document dialogs. */
@media screen and (min-width:769px){
 body.lm-header-unified{padding-left:16px!important;padding-right:16px!important}
 body.lm-header-unified>main,
 body.lm-header-unified>main.container{
  width:100%!important;max-width:1200px!important;min-width:0;
  margin-left:auto!important;margin-right:auto!important;box-sizing:border-box;
 }
 body.lm-header-unified>main:has(>.hero-card){padding-left:0!important;padding-right:0!important}
 body.lm-header-unified>#lm-registration-notice,
 body.lm-header-unified>footer{width:100%!important;max-width:1200px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box}
 body.lm-header-unified .hero-card{justify-content:center;text-align:center}
 body.lm-header-unified .hero-card .hero-text{width:100%;max-width:680px;margin:0 auto}
 body.lm-header-unified .hero-card .hero-icon{display:none}
 body.lm-header-unified main.container .welcome{width:100%;max-width:none;box-sizing:border-box}
 body.lm-header-unified main.container .nav.lm-bottom-buttons{max-width:none!important;margin-left:0!important;margin-right:0!important;align-items:stretch}
 body.lm-header-unified main.container .nav.lm-bottom-buttons>button{box-sizing:border-box;width:100%;min-height:44px;margin:0;padding:10px 8px;border:1px solid #c6dccb;border-radius:8px;background:#fff;color:#07ac2b;font:600 14px/1.5 'Segoe UI',sans-serif;white-space:normal}
 body.lm-header-unified main.container>.lm-explanation{max-width:none}
 body.lm-header-unified .lm-vault-buttons.tabs{grid-auto-rows:minmax(64px,auto);align-items:stretch}
 body.lm-header-unified .lm-vault-buttons.tabs button,
 body.lm-header-unified .lm-vault-buttons.tabs .lm-vault-link{height:100%;min-height:64px;line-height:1.35}
 body.lm-header-unified .lm-vault-buttons.tabs .lm-vault-icon{width:28px;text-align:center}
}

/* Shared action typography: the selected calm outlined style. */
body.lm-header-unified{font-family:"Segoe UI",-apple-system,BlinkMacSystemFont,sans-serif}
body.lm-header-unified button,
body.lm-header-unified [role="button"],
body.lm-header-unified .menu-btn h3,
body.lm-header-unified .lm-bottom-buttons a,
body.lm-header-unified .lm-package-card a,
body.lm-header-unified .lm-billing-navigation a,
body.lm-header-unified .lm-help-navigation a,
body.lm-header-unified .lm-top-buttons a{font-family:"Segoe UI",-apple-system,BlinkMacSystemFont,sans-serif!important;font-weight:500!important}
.lm-bottom-buttons .lm-close-help{box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-width:0;width:100%;min-height:44px;padding:10px 14px;border:1px solid #c6dccb;border-radius:8px;background:#fff;color:#07ac2b;font:500 14px/1.5 "Segoe UI",-apple-system,BlinkMacSystemFont,sans-serif;text-align:center;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
.lm-bottom-buttons .lm-close-help:hover{background:#f2f6f3;border-color:#07ac2b}
.lm-close-help:focus-visible{outline:3px solid #07ac2b;outline-offset:3px}
.lm-explanation .lm-help-links .lm-close-help,.lm-explanation-navigation .lm-close-help{box-sizing:border-box;display:flex;align-items:center;gap:9px;min-height:44px;margin:0;padding:6px 0;border:0;border-radius:0;background:none;color:#07ac2b;font:500 14px/1.4 "Segoe UI",sans-serif;text-align:left;cursor:pointer}

body.lm-header-unified #lmAccount a,body.lm-header-unified #lmAccount button{font-family:"Segoe UI",-apple-system,BlinkMacSystemFont,sans-serif!important;font-weight:500!important}

.lm-billing-navigation>.lm-close-help{box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;padding:11px 16px;border:1px solid #c6dccb;border-radius:9px;background:#fff;color:#07ac2b;font:500 1rem/1.4 "Segoe UI",sans-serif;text-align:center;cursor:pointer}
.lm-close-navigation{margin:0 0 22px}
@media(max-width:600px){.lm-billing-navigation:has(>.lm-close-help)>a:last-child{grid-column:auto}.lm-billing-navigation>.lm-close-help{width:100%;padding:10px 8px;font-size:.92rem}}

.lm-explanation-navigation.lm-single-public-action{flex-direction:column;align-items:stretch;gap:0}
.lm-explanation-navigation .lm-page-switch,.lm-explanation-navigation .lm-page-switch:visited,.lm-explanation-navigation #lm-login-exit {
 display:flex;align-items:center;justify-content:flex-start;gap:8px;min-height:44px;
 width:auto;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;
 font:600 14px/1.4 'Segoe UI',sans-serif;text-align:left;text-decoration:none;cursor:pointer;
}
.lm-explanation-navigation .lm-page-switch-login{color:#07ac2b}
.lm-explanation-navigation .lm-page-switch-login .lm-link-icon{color:#07ac2b}
.lm-explanation-navigation #lm-login-exit,.lm-explanation-navigation .lm-page-switch-logout{color:#8b2b3c}
.lm-explanation-navigation #lm-login-exit .lm-link-icon,.lm-explanation-navigation .lm-page-switch-logout .lm-link-icon{color:#8b2b3c}
.lm-explanation-navigation .lm-page-switch:hover span,.lm-explanation-navigation #lm-login-exit:hover span{text-decoration:underline}
.lm-explanation-navigation .lm-page-switch:focus-visible,.lm-explanation-navigation #lm-login-exit:focus-visible{outline:3px solid #07ac2b;outline-offset:3px}
