/* Public chrome only. Keep page-specific content and print documents independent. */
@media screen{
  body.workspace-shell{--shell-rail:200px;--shell-header:54px;--shell-mobile-nav:66px;padding:var(--shell-header) 0 0 var(--shell-rail)}
  .workspace-shell .shell-header{height:var(--shell-header);position:fixed;inset:0 0 auto;z-index:30;display:flex;align-items:center;gap:28px;padding:0 20px;background:#111719;border-bottom:1px solid var(--edge)}
  .workspace-shell .shell-header .brand{width:160px;flex:none;font-size:18px}
  .workspace-shell .shell-header .descriptor{display:inline;font-size:10px;letter-spacing:1px}
  .workspace-shell .shell-account{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:6px 12px;border:1px solid var(--edge);border-radius:4px;color:#bfccd2;text-decoration:none;font-size:12px}
  .workspace-shell .shell-account:hover,.workspace-shell .shell-account[aria-current]{color:var(--gold);background:#2b302b;border-color:#716445}
  .workspace-shell .shell-nav{position:fixed;inset:var(--shell-header) auto 0 0;width:var(--shell-rail);height:auto;max-height:none;margin:0;padding:20px 12px;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:4px;overflow:auto;z-index:25;background:#141b1e;border:0;border-right:1px solid var(--edge)}
  .workspace-shell .shell-nav .nav-label{display:block;padding:0 12px 12px;font-size:9px;letter-spacing:1.8px;color:#8c9da5}
  .workspace-shell .shell-link{display:flex;align-items:center;justify-content:flex-start;flex:none;gap:11px;min-width:0;min-height:42px;padding:10px 12px;border:1px solid transparent;border-radius:4px;background:transparent;color:#b9c6cc;text-decoration:none;white-space:nowrap;font:12px/1.35 system-ui,sans-serif;text-align:left}
  .workspace-shell .shell-link svg,.workspace-shell .shell-more svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
  .workspace-shell .shell-link span{max-width:none;overflow:visible;text-overflow:clip}
  .workspace-shell .shell-link:hover{color:var(--text);background:#263238}
  .workspace-shell .shell-link[aria-current=page]{color:var(--gold);background:#2b302b;box-shadow:inset 2px 0 var(--gold)}
  .workspace-shell .shell-nav .nav-bottom{display:block;margin-top:auto;padding:22px 12px 0;font-size:10px;color:#aabac1}
  .workspace-shell .shell-nav .nav-bottom small{display:block;color:#8c9da5;font-size:10px;line-height:1.6;margin-top:5px}
  .workspace-shell .shell-more{display:none}
  .workspace-shell .skip-link{position:fixed;left:12px;top:-100px;z-index:100;padding:11px 16px;border:2px solid var(--gold);border-radius:4px;background:#111719;color:var(--text);font-weight:600;text-decoration:none}
  .workspace-shell .skip-link:focus{top:8px}
  .workspace-shell :where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:2px solid var(--gold);outline-offset:3px}
  .workspace-shell #main-content{min-width:0;scroll-margin-top:calc(var(--shell-header) + 16px)}
  .workspace-shell #main-content:focus:not(:focus-visible){outline:0}
  .workspace-shell #main-content h1[tabindex="-1"]{scroll-margin-top:calc(var(--shell-header) + 16px)}
  .workspace-shell[data-shell-page=privacy] #main-content{max-width:1080px}
  .workspace-shell[data-shell-page=privacy] #main-content .panel p{max-width:90ch}
  .workspace-shell .shell-footer{position:static;display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;width:auto;max-width:none;margin:0;padding:18px 24px;border-top:1px solid var(--edge);font-size:10px;line-height:1.6;letter-spacing:.5px;color:#93a3aa}
  .workspace-shell .shell-footer-links{display:flex;gap:16px;flex-wrap:wrap}
  .workspace-shell .shell-footer a{color:#bac7cd;text-decoration:none}
  .workspace-shell .shell-footer a:hover,.workspace-shell .shell-footer a[aria-current]{color:var(--gold);text-decoration:underline}
  .workspace-shell #message{left:calc(50% + var(--shell-rail)/2)}
  .workspace-shell .shell-menu{width:560px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);padding:18px;border:1px solid #566269;border-radius:9px;background:#182023;color:var(--text);box-shadow:0 18px 70px #0008;overflow:auto;overscroll-behavior:contain}
  .workspace-shell .shell-menu::backdrop{background:#000a}
  .workspace-shell .shell-menu-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px}
  .workspace-shell .shell-menu-heading h2{margin:0;font-size:13px;letter-spacing:.5px}
  .workspace-shell .shell-menu-heading button{min-height:40px}
  .workspace-shell .shell-menu-links{display:grid;grid-template-columns:1fr 1fr;gap:7px}
  .workspace-shell .shell-menu-links .shell-link{min-height:48px;border-color:var(--edge);white-space:normal}
  .workspace-shell.shell-menu-open{overflow:hidden}
  /* Reset legacy broad nav layout on Predictions' local view selector. */
  .workspace-shell .prediction-context{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:0 0 12px;flex-wrap:wrap}
  .workspace-shell .prediction-context .eyebrow{margin:0}
  .workspace-shell .prediction-context #player-badge{font-size:10px;color:#aabac1}
  .workspace-shell .prediction-nav{position:static;inset:auto;z-index:auto;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:6px;width:auto;min-width:0;max-width:100%;height:auto;max-height:none;margin:0 0 22px;padding:0 0 14px;overflow:visible;background:transparent;border:0;border-bottom:1px solid var(--edge)}
  .workspace-shell .prediction-nav a{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:40px;padding:8px 12px;border:1px solid var(--edge);border-radius:4px;background:transparent;color:#bac7cd;text-decoration:none;font-size:12px;line-height:1.3;white-space:nowrap}
  .workspace-shell .prediction-nav a:hover{background:#263238;color:var(--text)}
  .workspace-shell .prediction-nav a[aria-current=page]{background:#2b302b;border-color:#746748;color:var(--gold)}
  .workspace-shell.account-mode .prediction-context,.workspace-shell.account-mode .prediction-nav{display:none}
}
@media screen and (max-width:750px){
  body.workspace-shell{padding:var(--shell-header) 0 calc(var(--shell-mobile-nav) + env(safe-area-inset-bottom,0px));--shell-rail:0px}
  .workspace-shell .shell-header{gap:12px;padding:0 12px}
  .workspace-shell .shell-header .brand{width:auto;font-size:18px}
  .workspace-shell .shell-header .descriptor{display:none}
  .workspace-shell .shell-account{min-height:36px;padding:6px 11px}
  .workspace-shell .shell-nav{inset:auto 0 0;width:100%;height:auto;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding:4px max(4px,env(safe-area-inset-right,0px)) calc(4px + env(safe-area-inset-bottom,0px)) max(4px,env(safe-area-inset-left,0px));overflow:visible;background:#172024;border:0;border-top:1px solid #455158}
  .workspace-shell .shell-nav .nav-label,.workspace-shell .shell-nav .nav-bottom{display:none}
  .workspace-shell.shell-enhanced .shell-nav .shell-link:not(.shell-primary){display:none}
  .workspace-shell .shell-nav .shell-link,.workspace-shell .shell-nav .shell-more{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:57px;margin:0;padding:6px 2px;border:0;border-radius:4px;font-size:10px;line-height:1.15;letter-spacing:0;text-align:center;white-space:normal;background:transparent;color:#b9c6cc}
  .workspace-shell .shell-nav .shell-link[aria-current],.workspace-shell .shell-nav .shell-more.is-current{color:var(--gold);background:#2b302b;box-shadow:inset 0 2px var(--gold)}
  .workspace-shell .shell-nav .shell-link span,.workspace-shell .shell-nav .shell-more span{max-width:none;overflow:visible;text-overflow:clip}
  .workspace-shell .shell-more small{font-size:8px;line-height:1.1;max-width:100%;overflow-wrap:anywhere}
  .workspace-shell:not(.shell-enhanced) .shell-nav{position:static;grid-template-columns:repeat(2,minmax(0,1fr));border-bottom:1px solid var(--edge)}
  .workspace-shell:not(.shell-enhanced) .shell-nav .shell-more{display:none}
  .workspace-shell .shell-footer{padding:16px 12px 20px;font-size:9px;gap:9px}
  .workspace-shell .shell-footer-links{gap:14px}
  .workspace-shell #message{left:50%;bottom:calc(var(--shell-mobile-nav) + env(safe-area-inset-bottom,0px) + 12px)}
  .workspace-shell #mobile-deal{bottom:calc(var(--shell-mobile-nav) + env(safe-area-inset-bottom,0px));left:0;right:0}
  .workspace-shell[data-screen=trade] #message{bottom:calc(var(--shell-mobile-nav) + env(safe-area-inset-bottom,0px) + 72px)}
  .workspace-shell[data-screen=trade]{padding-bottom:calc(var(--shell-mobile-nav) + env(safe-area-inset-bottom,0px) + 60px)}
  .workspace-shell .shell-menu{margin:auto 12px calc(var(--shell-mobile-nav) + env(safe-area-inset-bottom,0px) + 10px);width:calc(100vw - 24px);max-height:calc(100dvh - var(--shell-mobile-nav) - env(safe-area-inset-bottom,0px) - 36px);padding:15px}
  .workspace-shell .shell-menu-links{gap:6px}
  .workspace-shell .shell-menu-links .shell-link{padding:10px;font-size:12px;gap:9px}
  .workspace-shell .prediction-nav{gap:6px;margin-bottom:18px}
  .workspace-shell .prediction-nav a{min-height:40px;padding:8px 11px;font-size:11px}
}

@media print{
  .workspace-shell>.skip-link,.workspace-shell>.shell-header,.workspace-shell>.shell-nav,.workspace-shell>.shell-footer,.workspace-shell>#workspace-menu{display:none!important}
}
