.mobile-role-menu-button,.organizer-mobile-bottom,.mobile-organizer-label{display:none}
.mobile-nav-backdrop{z-index:200!important;align-items:stretch!important;justify-content:flex-start!important;padding:0!important;background:#081c2b66!important;backdrop-filter:blur(2px)}
html[data-theme] .mobile-role-drawer{display:flex;flex-direction:column;width:min(360px,calc(100vw - 26px))!important;max-width:360px!important;height:100dvh;max-height:100dvh!important;box-sizing:border-box;margin:0!important;padding:18px 18px max(16px,env(safe-area-inset-bottom))!important;border:0!important;border-radius:0!important;background:var(--lu-surface,#fff)!important;color:var(--lu-text,#142f3b);box-shadow:12px 0 40px #071b2c20;overflow-y:auto;overscroll-behavior:contain}
.mobile-role-drawer>header{display:flex;align-items:center;justify-content:space-between;padding:0 0 10px!important;gap:10px;flex:0 0 auto}
.mobile-role-drawer>header h2{font-size:20px!important;margin:0!important;letter-spacing:-.5px}
.mobile-role-drawer>header .close{min-width:44px;min-height:44px;padding:8px!important;background:transparent!important;border:0!important;color:var(--lu-text);font-size:20px}
.mobile-menu-identity{display:flex;align-items:center;gap:11px;padding:8px 0 17px;border-bottom:1px solid var(--lu-line);margin-bottom:9px;flex:0 0 auto}
.mobile-menu-identity>span{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;background:var(--lu-raised);border-radius:50%;font-weight:700}
.mobile-menu-identity>div{display:grid;gap:4px;min-width:0}
.mobile-menu-identity strong{font-size:14px;overflow-wrap:anywhere}
.mobile-menu-identity small{font-size:11px;color:var(--lu-muted)}
.mobile-menu-links{display:flex;flex-direction:column;gap:0;flex:0 0 auto}
html[data-theme] .mobile-role-drawer .mobile-menu-link{position:relative;display:flex;align-items:center;gap:12px;min-height:44px;text-align:left;padding:10px 7px!important;background:transparent!important;border:0!important;border-radius:0!important;color:var(--lu-text)!important;box-shadow:none;font-size:14px;font-weight:500;line-height:1.3}
.mobile-menu-link svg,.mobile-menu-upload svg,.mobile-menu-footer svg{width:20px;height:20px;flex:0 0 20px;fill:none}
html[data-theme] .mobile-role-drawer .mobile-menu-sub{padding-left:39px!important;min-height:36px;font-size:12px;color:var(--lu-muted)!important}
.mobile-menu-sub svg{width:16px;height:16px;flex-basis:16px}
.mobile-menu-link[aria-current=page]{font-weight:750!important}
.mobile-menu-link[aria-current=page] i{margin-left:auto;width:5px;height:5px;border-radius:50%;background:#2a8997}
.mobile-menu-admin{border-top:1px solid var(--lu-line);margin-top:9px;padding-top:12px;flex:0 0 auto}
.mobile-menu-admin>p{font-size:9px;color:var(--lu-muted);letter-spacing:.12em;margin:0 0 10px}
.mobile-menu-admin>div:first-of-type{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
html[data-theme] .mobile-menu-admin>div:first-of-type button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:65px;padding:8px 3px;border:1px solid var(--lu-line);border-radius:0;background:transparent!important;color:var(--lu-text);font-size:11px;box-shadow:none}
.mobile-menu-admin svg{width:21px;height:21px}
.mobile-menu-workspaces{display:flex;gap:10px;margin-top:10px}
html[data-theme] .mobile-menu-workspaces button{flex:1;min-height:36px;padding:5px 0;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent!important;color:var(--lu-muted);font-size:10px;box-shadow:none}
html[data-theme] .mobile-menu-workspaces button[aria-pressed=true]{border-bottom-color:#267287;color:var(--lu-text)}
html[data-theme] .mobile-role-drawer .mobile-menu-upload{display:flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:10px 14px;border:0;border-radius:0;background:var(--lu-accent,#c4ed85)!important;color:var(--lu-accent-ink,#173624);font-size:13px;font-weight:700;margin:14px 0 4px;flex:0 0 auto}
.mobile-menu-scope{font-size:12px;color:var(--lu-muted);line-height:1.6;border-top:1px solid var(--lu-line);padding-top:16px;margin-top:14px}
.mobile-menu-footer{margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:8px;padding-top:18px;color:var(--lu-muted);font-size:9px;flex:0 0 auto}
html[data-theme] .mobile-menu-footer button{display:flex;align-items:center;gap:5px;min-height:40px;padding:6px 0;border:0;border-radius:0;background:transparent!important;box-shadow:none;font-size:11px;color:var(--lu-muted)}
.mobile-menu-footer svg{width:15px;height:15px;flex-basis:15px}
.mobile-role-drawer :is(button,summary):focus-visible{outline:2px solid var(--lu-focus,#267287);outline-offset:2px}
@media(max-width:760px){
  html[data-theme] .lineup-header{padding-left:12px;padding-right:12px;gap:8px}
  html[data-theme] .lineup-header .brand-home{min-width:0;flex:0 1 auto;padding:0!important}
  html[data-theme] .lineup-header .lineup-logo>img{width:128px;max-width:100%;height:auto}
  .lineup-header .header-actions{gap:6px;margin-left:auto}
  .lineup-header .admin-header-entry,.lineup-header #upload-activity,.lineup-header #header-plans{display:none!important}
  html[data-theme] .mobile-role-menu-button{display:flex;align-items:center;justify-content:center;gap:5px;flex:0 0 auto;min-height:44px;min-width:44px;padding:7px 4px;border:0;border-radius:0;background:transparent!important;color:var(--lu-text);font-size:10px;box-shadow:none;touch-action:manipulation}
  .mobile-role-menu-button svg{width:22px;height:22px;flex:0 0 22px}
  .friends-social .community-shortcuts{display:none!important}
  .organizer-header{gap:8px!important;padding:8px 12px!important;min-height:62px;box-sizing:border-box}
  .organizer-header>strong,.organizer-header>[data-org-logout]{display:none!important}
  .organizer-header>img{width:128px!important;max-width:40vw}
  .mobile-organizer-label{display:block;font-size:10px;color:var(--lu-muted);margin-left:auto}
  .organizer-mobile-bottom{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));position:fixed;inset:auto 0 0;z-index:12;padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:var(--lu-surface,#fff);border-top:1px solid var(--lu-line)}
  html[data-theme] .organizer-mobile-bottom button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:56px;border:0;border-radius:0;background:transparent!important;color:var(--lu-muted);padding:5px;font-size:10px;box-shadow:none}
  .organizer-mobile-bottom button svg{width:24px;height:24px}
  .organizer-mobile-bottom button[aria-current=page]::after{content:'';position:absolute;bottom:1px;width:22px;height:2px;background:var(--lu-text)}
  html[data-theme] main.organizer-shell{padding-bottom:100px!important}
}
.board-nav-icon {
  position:relative;
  display:inline-flex;
  align-items:center;
  flex:none;
  padding-inline-end:16px;
  vertical-align:middle;
}
.board-nav-pro {
  position:absolute;
  inset-block-start:-3px;
  inset-inline-end:0;
  padding:1px 3px;
  border-radius:3px;
  background:var(--lu-yellow,#fff000);
  color:#00233d;
  font-size:8px;
  font-weight:800;
  line-height:1.2;
}
.header-nav [data-header-view="board"] .board-nav-icon { margin-inline-end:6px; }
@media(max-width:359px){.mobile-role-menu-button span{display:none}.lineup-header .lineup-logo>img,.organizer-header>img{width:108px!important}.mobile-organizer-label{font-size:9px}}
@media(prefers-reduced-motion:reduce){.mobile-role-drawer,.mobile-nav-backdrop{animation:none!important;transition:none!important}}

/* One mobile navigation surface. More is anchored at the bottom, near its trigger. */
.mobile-role-bottom{display:none}
@media(max-width:760px){
  .mobile-role-menu-button,.mobile-profile-shortcut{display:none!important}
  .mobile-nav-backdrop{display:flex!important;align-items:flex-end!important;justify-content:center!important;background:#081c2b55!important;backdrop-filter:none}
  html[data-theme] .mobile-role-drawer{width:100%!important;max-width:560px!important;height:auto;max-height:88dvh!important;padding:18px 22px max(18px,env(safe-area-inset-bottom))!important;box-shadow:0 -12px 40px #071b2c20;border-top:1px solid var(--lu-line)!important;border-radius:0!important}
  html[data-theme] .mobile-role-bottom{position:fixed;inset:auto 0 0;z-index:12;display:grid!important;grid-template-columns:repeat(var(--mobile-columns,5),minmax(0,1fr));gap:0;padding:4px max(6px,env(safe-area-inset-right)) calc(4px + env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));background:var(--lu-surface,#fff)!important;border:0;border-top:1px solid var(--lu-line,#edf0f1);border-radius:0!important;box-shadow:none}
  html[data-theme] .mobile-role-bottom button{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-width:0;min-height:64px;padding:5px 2px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--lu-muted,#60737b);font-size:10px;line-height:1.2;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
  html[data-theme] .mobile-role-bottom button svg{width:25px;height:25px;padding:0;box-sizing:content-box;flex-shrink:0;fill:none;stroke-width:1.6;color:inherit;background:transparent}
  .mobile-role-bottom .board-nav-icon { padding-inline-end:0; }
  .mobile-role-bottom .board-nav-pro { inset-inline-end:-14px; }
  html[data-theme] .mobile-role-bottom button[aria-current=page]{color:var(--lu-text,#173542);font-weight:650}
  html[data-theme] .mobile-role-bottom button[aria-current=page]::after{content:'';position:absolute;top:36px;left:50%;transform:translateX(-50%);width:18px;height:2px;background:var(--lu-text,#173542);border-radius:0}
  html[data-theme] .mobile-role-bottom .mobile-bottom-action{gap:3px}
  html[data-theme] .mobile-role-bottom .mobile-bottom-action svg{padding:5px;border:1.5px solid var(--lu-muted,#60737b);border-radius:50%;width:24px;height:24px}
  .mobile-role-bottom button:focus-visible{outline:2px solid var(--lu-focus,#267287);outline-offset:-4px}
  html[data-theme] .mobile-role-bottom button:active{opacity:.65}
  .lineup-header .lineup-logo>img{width:150px!important}
  main.organizer-shell{padding-bottom:100px!important}
}
