/* Desktop right column — approved pictured layout, no expandable menu.
   This is the only desktop sidebar override; nothing changes in center or on the board. */
@media(min-width:901px){
  :root{
    --desktop-board-sidebar:clamp(215px,16vw,265px)!important;
    --desktop-board-sync-size:min(
      calc(100vw - var(--desktop-board-sidebar) - var(--desktop-dashboard-width) - 18px),
      calc(100dvh - 12px)
    );
    --desktop-board-bottom-gap:calc((100dvh - var(--desktop-board-sync-size))/2);
  }
  body.desktop-board-workspace .desktop-dashboard-column{
    bottom:var(--desktop-board-bottom-gap)!important;
  }
  body.desktop-board-workspace .desktop-sidebar-footer{display:none!important}
  body.desktop-board-workspace .v2-global-sidebar.desktop-sidebar-refined{
    top:0!important;
    bottom:0!important;
    height:100dvh!important;
    width:var(--desktop-board-sidebar)!important;
    box-sizing:border-box!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:0!important;
    padding:10px 12px 10px!important;
    overflow-x:hidden!important;
    overflow-y:hidden!important;
    scrollbar-width:none!important;
    border:0!important;
    border-left:1px solid rgba(233,188,106,.9)!important;
    border-radius:0!important;
    background:linear-gradient(180deg,rgba(2,53,57,.97) 0%,rgba(1,43,48,.985) 52%,rgba(1,29,34,.99) 100%)!important;
    box-shadow:inset 0 0 18px rgba(0,0,0,.075),-6px 0 19px rgba(0,0,0,.13)!important;
  }
  body.desktop-board-workspace .v2-global-sidebar.desktop-sidebar-refined::-webkit-scrollbar{display:none!important}
  body.desktop-board-workspace .desktop-sidebar-brand{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    flex-direction:row;
    width:100%;
    min-height:61px;
    gap:9px;
    margin:0 0 6px;
    padding:7px 8px 13px;
    direction:rtl;
    border-bottom:1px solid rgba(54,143,144,.34);
    color:#e8bd70;
  }
  body.desktop-board-workspace .desktop-sidebar-brand strong{
    flex:1 1 auto;
    min-width:0;
    font-size:clamp(19px,1.6vw,26px);
    line-height:1.2;
    font-weight:900;
    white-space:nowrap;
    text-align:right;
    color:#ebc47e;
  }
  body.desktop-board-workspace .desktop-sidebar-brand-mark{
    order:0;
    flex:0 0 34px;
    font:normal 37px/1 Arial,sans-serif;
    text-align:center;
    color:#ebc47e;
    text-shadow:0 2px 8px rgba(238,192,115,.12);
  }
  body.desktop-board-workspace .desktop-member-card{
    flex:0 0 auto!important;
    display:block!important;
    position:relative!important;
    width:100%!important;
    min-height:0!important;
    margin:0 0 10px!important;
    padding:14px 5px 14px!important;
    border:0!important;
    border-bottom:1px solid rgba(54,143,144,.30)!important;
    border-radius:0!important;
    background:transparent!important;
    color:#f3eee5!important;
    box-shadow:none!important;
  }
  body.desktop-board-workspace .desktop-member-profile{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    direction:rtl!important;
    gap:11px!important;
    width:100%!important;
    min-width:0!important;
    text-decoration:none!important;
  }
  body.desktop-board-workspace .desktop-member-avatar-wrap{
    flex:0 0 76px!important;
    display:block!important;
    position:relative!important;
    width:76px!important;
    min-width:76px!important;
    height:76px!important;
    padding:0!important;
    border:2px solid #dcb86d!important;
    border-radius:50%!important;
    background:#073a3d!important;
    box-shadow:0 0 0 2px rgba(5,35,38,.6)!important;
    overflow:visible!important;
  }
  body.desktop-board-workspace :is(.desktop-member-avatar,.desktop-member-fallback){
    width:100%!important;
    height:100%!important;
    border-radius:50%!important;
  }
  body.desktop-board-workspace .desktop-member-avatar[hidden],
  body.desktop-board-workspace .desktop-member-fallback[hidden]{display:none!important}
  body.desktop-board-workspace .desktop-member-fallback{
    display:grid!important;
    place-items:center!important;
    background:#063b3e url('./falcon-default.svg') center / cover no-repeat!important;
    color:transparent!important;
    font-size:0!important;
  }
  body.desktop-board-workspace .desktop-member-online-dot{
    display:block!important;
    position:absolute!important;
    right:-3px!important;
    bottom:0!important;
    width:14px!important;
    height:14px!important;
    border:2px solid #07363a!important;
    border-radius:50%!important;
    background:#49d88f!important;
    box-shadow:0 0 0 1px rgba(6,36,39,.8)!important;
  }
  body.desktop-board-workspace .desktop-member-card.is-offline .desktop-member-online-dot{
    background:#9da7a3!important;
    box-shadow:none!important;
  }
  body.desktop-board-workspace .desktop-member-identity{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:center!important;
    flex:1 1 auto!important;
    gap:3px!important;
    width:auto!important;
    min-width:0!important;
    text-align:right!important;
  }
  body.desktop-board-workspace .desktop-member-name{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    color:#f4eee6!important;
    font-size:clamp(17px,1.45vw,23px)!important;
    line-height:1.3!important;
    font-weight:900!important;
    text-align:right!important;
  }
  body.desktop-board-workspace .desktop-member-username{
    display:block!important;
    width:100%!important;
    color:#b8c9c6!important;
    font-size:clamp(12px,1.02vw,16px)!important;
    line-height:1.25!important;
    text-align:right!important;
    text-overflow:ellipsis!important;
    overflow:hidden!important;
  }
  body.desktop-board-workspace .desktop-member-username[hidden]{display:none!important}
  body.desktop-board-workspace .desktop-member-location{
    display:block!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    color:#85b4bc!important;
    font-size:clamp(13px,1.08vw,17px)!important;
    line-height:1.3!important;
    font-weight:700!important;
    text-align:right!important;
  }
  body.desktop-board-workspace .desktop-member-location[hidden]{display:none!important}
  body.desktop-board-workspace .desktop-member-score{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    flex-direction:row!important;
    width:auto!important;
    max-width:none!important;
    min-height:0!important;
    padding:0!important;
    margin:0!important;
    gap:5px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  body.desktop-board-workspace .desktop-member-score b{
    font:800 clamp(25px,2vw,32px)/1.2 Arial,sans-serif!important;
    color:#f4eee6!important;
    direction:ltr!important;
  }
  body.desktop-board-workspace .desktop-member-score-star{
    font:900 24px/1 Arial,sans-serif!important;
    color:#e8bb68!important;
  }
  body.desktop-board-workspace .desktop-member-status{
    display:flex!important;
    align-items:center!important;
    gap:5px!important;
    margin:5px 87px 0 0!important;
    color:#a5d6c1!important;
    font:700 10px/1.2 Arial,sans-serif!important;
  }
  body.desktop-board-workspace .desktop-member-status[hidden],
  body.desktop-board-workspace .desktop-member-card:not(.is-offline) .desktop-member-status{display:none!important}
  body.desktop-board-workspace .desktop-member-status i{display:none!important}
  body.desktop-board-workspace .desktop-member-card.is-offline .desktop-member-status{color:#afbdb9!important}
  body.desktop-board-workspace:not(.home-signed-in) .desktop-member-card{display:none!important}
  body.desktop-board-workspace .v2-global-sidebar.desktop-sidebar-refined .v2-global-nav{
    display:grid!important;
    flex:1 1 auto!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:repeat(9,minmax(0,1fr))!important;
    align-content:stretch!important;
    align-items:stretch!important;
    justify-content:stretch!important;
    gap:0!important;
    width:100%!important;
    min-height:0!important;
    height:auto!important;
    padding:6px 0!important;
    overflow:hidden!important;
    scrollbar-width:none!important;
  }
  body.desktop-board-workspace .v2-global-sidebar.desktop-sidebar-refined .v2-global-nav::-webkit-scrollbar{display:none!important}
  body.desktop-board-workspace .v2-global-sidebar.desktop-sidebar-refined .v2-global-nav > .desktop-home-nav-link{
    height:100%!important;
    min-height:0!important;
    align-self:stretch!important;
  }
  body.desktop-board-workspace .v2-global-sidebar.desktop-sidebar-refined .v2-global-nav > .desktop-home-nav-link,
  body.desktop-board-workspace .v2-global-sidebar.desktop-sidebar-refined .desktop-sidebar-bottom > .desktop-home-nav-link,
  body.desktop-board-workspace .v2-global-sidebar.desktop-sidebar-refined .desktop-sidebar-bottom > .desktop-sidebar-logout{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    flex:0 0 auto!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    padding:0 10px!important;
    margin:0!important;
    gap:11px!important;
    box-sizing:border-box!important;
    border:0!important;
    border-radius:0!important;
    outline:0!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#f1eee8!important;
    font:800 clamp(17px,1.3vw,22px)/1.2 Arial,sans-serif!important;
    direction:rtl!important;
    text-align:right!important;
    text-decoration:none!important;
    white-space:nowrap!important;
    cursor:pointer!important;
  }
  body.desktop-board-workspace .v2-global-sidebar.desktop-sidebar-refined .desktop-home-nav-link:hover,
  body.desktop-board-workspace .v2-global-sidebar.desktop-sidebar-refined .desktop-sidebar-logout:hover{
    background:rgba(57,122,122,.10)!important;
  }
  body.desktop-board-workspace .v2-global-sidebar.desktop-sidebar-refined .desktop-home-nav-link.active,
  body.desktop-board-workspace .v2-global-sidebar.desktop-sidebar-refined .desktop-home-nav-link[aria-current="page"]{
    position:relative!important;
    border:0!important;
    border-radius:0!important;
    background:rgba(39,125,130,.14)!important;
    box-shadow:none!important;
    color:#f4eddb!important;
  }
  body.desktop-board-workspace .v2-global-sidebar.desktop-sidebar-refined .desktop-home-nav-link.active::before,
  body.desktop-board-workspace .v2-global-sidebar.desktop-sidebar-refined .desktop-home-nav-link[aria-current="page"]::before{
    content:"";
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    width:4px;
    border-radius:0;
    background:#efc77b;
  }
  body.desktop-board-workspace .desktop-home-nav-icon{
    display:grid!important;
    place-items:center!important;
    flex:0 0 30px!important;
    width:30px!important;
    min-width:30px!important;
    height:30px!important;
    color:#8fbec6!important;
  }
  body.desktop-board-workspace .desktop-home-nav-icon svg{
    width:26px!important;
    height:26px!important;
    display:block!important;
  }
  body.desktop-board-workspace .v2-global-sidebar.desktop-sidebar-refined .desktop-home-nav-link.active .desktop-home-nav-icon,
  body.desktop-board-workspace .v2-global-sidebar.desktop-sidebar-refined .desktop-home-nav-link[aria-current="page"] .desktop-home-nav-icon{color:#edc678!important}
  body.desktop-board-workspace .desktop-home-nav-label{
    display:block!important;
    flex:1 1 auto!important;
    min-width:0!important;
    width:auto!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font:inherit!important;
    line-height:1.3!important;
    color:inherit!important;
    text-align:right!important;
  }
  body.desktop-board-workspace .desktop-sidebar-bottom{
    flex:0 0 auto!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:repeat(3,minmax(0,1fr))!important;
    gap:2px!important;
    min-height:0!important;
    margin:6px 0 0!important;
    padding:7px 0 0!important;
    border-top:1px solid rgba(54,143,144,.30)!important;
  }
  body.desktop-board-workspace .v2-global-sidebar.desktop-sidebar-refined .desktop-sidebar-bottom > .desktop-home-nav-link,
  body.desktop-board-workspace .v2-global-sidebar.desktop-sidebar-refined .desktop-sidebar-bottom > .desktop-sidebar-logout{
    height:clamp(38px,4.6dvh,48px)!important;
    min-height:38px!important;
    max-height:48px!important;
    font-size:clamp(16px,1.1vw,19px)!important;
    align-self:center!important;
  }
  body.desktop-board-workspace .desktop-sidebar-bottom .desktop-sidebar-logout{color:#e18f8a!important}
  body.desktop-board-workspace .desktop-sidebar-bottom .desktop-sidebar-logout .desktop-home-nav-icon{color:#e27672!important}
  body.desktop-board-workspace:not(.home-signed-in) .desktop-sidebar-bottom [data-desktop-nav="admin"],
  body.desktop-board-workspace:not(.home-signed-in) .desktop-sidebar-logout{display:none!important}
  body.desktop-board-workspace .desktop-sidebar-refined :is(button,a):focus-visible{
    outline:2px solid rgba(235,196,118,.75)!important;
    outline-offset:-2px!important;
  }
  /* No legacy quick-action or tip-card overrides: these panels are not rendered. */
}
@media(min-width:901px) and (max-height:670px){
  body.desktop-board-workspace .desktop-sidebar-brand{min-height:40px;padding:5px 8px 8px}
  body.desktop-board-workspace .desktop-sidebar-brand strong{font-size:17px}
  body.desktop-board-workspace .desktop-sidebar-brand-mark{font-size:30px}
  body.desktop-board-workspace .desktop-member-card{padding:7px 3px 9px!important;margin-bottom:5px!important}
  body.desktop-board-workspace .desktop-member-avatar-wrap{width:52px!important;height:52px!important;min-width:52px!important;flex-basis:52px!important}
  body.desktop-board-workspace .desktop-member-name{font-size:16px!important}
  body.desktop-board-workspace .desktop-member-score b{font-size:21px!important}
  body.desktop-board-workspace .desktop-member-score-star{font-size:15px!important}
  body.desktop-board-workspace .desktop-member-status{margin-right:59px!important}
  body.desktop-board-workspace .v2-global-sidebar.desktop-sidebar-refined .v2-global-nav .desktop-home-nav-link{height:100%!important;min-height:0!important}
  body.desktop-board-workspace .desktop-home-nav-label{font-size:clamp(15px,1.1vw,18px)!important}
  body.desktop-board-workspace .v2-global-sidebar.desktop-sidebar-refined .desktop-sidebar-bottom > .desktop-home-nav-link,
  body.desktop-board-workspace .v2-global-sidebar.desktop-sidebar-refined .desktop-sidebar-bottom > .desktop-sidebar-logout{height:30px!important;min-height:30px!important;max-height:30px!important}
}
@media(min-width:901px) and (max-height:545px){
  body.desktop-board-workspace .desktop-sidebar-brand{min-height:30px;padding:2px 7px 5px;margin-bottom:2px}
  body.desktop-board-workspace .desktop-sidebar-brand strong{font-size:15px}
  body.desktop-board-workspace .desktop-member-card{padding:4px 0 4px!important;margin-bottom:3px!important}
  body.desktop-board-workspace .desktop-member-avatar-wrap{width:44px!important;height:44px!important;min-width:44px!important;flex-basis:44px!important}
  body.desktop-board-workspace .v2-global-sidebar.desktop-sidebar-refined .v2-global-nav .desktop-home-nav-link{height:100%!important;min-height:0!important}
  body.desktop-board-workspace .v2-global-sidebar.desktop-sidebar-refined .desktop-sidebar-bottom > .desktop-home-nav-link,
  body.desktop-board-workspace .v2-global-sidebar.desktop-sidebar-refined .desktop-sidebar-bottom > .desktop-sidebar-logout{height:27px!important;min-height:27px!important;max-height:27px!important}
}
