/* Approved role workflow additions; the existing site styles remain the base. */
#account-app[data-three-role-workflow] .canonical-dashboard{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,7fr);gap:24px;align-items:start}#account-app[data-three-role-workflow] .canonical-spectator{grid-template-columns:minmax(0,1fr)}.canonical-next-up{margin:0;min-width:0}.canonical-next-up ul{display:flex;flex-direction:column;padding-left:0}.canonical-next-up .priority-project{width:100%}.canonical-next-up .priority-snooze{display:grid;place-items:center;font-size:22px}.canonical-board{min-width:0}.canonical-board .project-search{flex:1}.canonical-board .kanban-board{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:230px;min-width:0;width:max-content}.canonical-board .kanban-column{width:230px}.canonical-editable{background:#fff5e9!important;border-color:#e2c395!important}.canonical-editable .column-caption{color:#8a571f}.canonical-attention,.canonical-invitations{margin-top:24px}.canonical-role-deck{grid-template-columns:repeat(2,minmax(0,1fr));max-width:1000px;margin:0 auto 36px;gap:28px}.canonical-role-deck>[data-access-card="role-developer"]{grid-column:1 / -1;width:calc(50% - 14px);justify-self:center}.canonical-team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.canonical-rosters{margin-top:24px}.canonical-roster .list-row>div{min-width:0;overflow-wrap:anywhere}.canonical-roster .list-row button{font-size:12px}.canonical-roster h3{font-size:19px}#canonical-construction-note{border-top:1px solid var(--line);padding-top:20px;margin-top:24px}
#account-app[data-three-role-workflow] .access-back{background:var(--card-wash);color:var(--card-dark)}#account-app[data-three-role-workflow] .access-back .access-card-top,#account-app[data-three-role-workflow] .access-card-details h5,#account-app[data-three-role-workflow] .access-card-details p{color:var(--card-dark)}#account-app[data-three-role-workflow] .access-invite{background:white;color:var(--card-dark);border-color:var(--card-line)}#account-app[data-three-role-workflow] .access-invite:hover{background:#ffffffb5;color:var(--card-dark)}#account-app[data-three-role-workflow] .access-card-details{scrollbar-color:var(--card-accent) transparent}
#account-app[data-three-role-workflow] .conversation-sidebar{background:#eef5f2;color:#31584e;border-right:1px solid #d4e3db}#account-app[data-three-role-workflow] .conversation-sidebar-heading span:not(.message-workspace-icon),#account-app[data-three-role-workflow] .conversation-list-heading{color:#58776c}#account-app[data-three-role-workflow] .conversation-search{color:#476b5e}#account-app[data-three-role-workflow] .conversation-search input{background:white;border-color:#c4d7ce;color:#244c40}#account-app[data-three-role-workflow] .conversation-search input::placeholder{color:#6b867b}#account-app[data-three-role-workflow] .conversation-project-item{color:#355b4e}#account-app[data-three-role-workflow] .conversation-project-item small{color:#658175}#account-app[data-three-role-workflow] .conversation-project-item:hover{background:#e1eee7}#account-app[data-three-role-workflow] .conversation-project-item[aria-current=true]{background:#dcece2;border-color:#c4dccd;box-shadow:inset 3px 0 #6f9d82}#account-app[data-three-role-workflow] .conversation-project-icon{color:#46795f}
.milestone-earlier .milestone-marker{background:#e8f0e9;border-color:#a8bfb1;color:#50715e}.milestone-earlier:after{background:#c7d7cc!important}
.canonical-metrics.count-3{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:760px){.canonical-metrics.count-3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){#account-app[data-three-role-workflow] .canonical-dashboard{grid-template-columns:minmax(0,1fr)}.canonical-next-up ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.canonical-role-deck{grid-template-columns:minmax(0,1fr);max-width:480px;gap:24px}.canonical-role-deck>[data-access-card="role-developer"]{grid-column:auto;width:100%}.canonical-team-grid{grid-template-columns:minmax(0,1fr)}.canonical-next-up ul{display:flex}.canonical-board .operational-board{margin-right:0;padding-right:0}.canonical-board .kanban-board{display:flex;width:max-content}.canonical-board .kanban-column{width:min(82vw,330px)}.canonical-board .project-tools>span{margin-left:0}}
#account-app[data-three-role-workflow] .site-footer{position:static;margin-top:24px}
/* Let the browser own touch inertia and vertical gestures, but always settle on a stage. */
@media(max-width:760px){
 .canonical-board .operational-board{scroll-snap-type:x mandatory;scroll-padding-inline:0;overscroll-behavior-x:contain}
 .canonical-board .kanban-board{padding-inline-end:max(0px,calc(100% - min(82vw,330px)))}
 .canonical-board .kanban-column{flex:0 0 min(82vw,330px);scroll-snap-align:start;scroll-snap-stop:always}
}

.organization-review-row > strong {
 min-width:0;
 overflow-wrap:anywhere;
}
@media (max-width:760px){
 .organization-review-row {
  position:relative;
  min-height:58px;
  align-items:center;
  padding-inline-end:28px;
 }
 .organization-review-row > button {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  justify-content:flex-end;
  padding:0 6px;
  border:0;
  border-radius:4px;
  background:transparent;
 }
 .organization-review-row > button:hover {background:rgba(49,124,122,.05)}
 .organization-review-row > button > span {display:none}
 .organization-review-row > button::after {
  content:"";
  width:9px;
  height:9px;
  border:solid var(--muted);
  border-width:2px 2px 0 0;
  transform:rotate(45deg);
 }
}

/* Developer dashboard only: the map shares the board's row, including search. */
#account-app[data-developer-workspace] .sample-map-dashboard {
 display:grid;
 grid-template-columns:clamp(295px,29.55%,383px) minmax(0,1fr);
 align-items:stretch;
 gap:18px;
}
.sample-map-dashboard > .board-scroll,
.sample-map-dashboard > .canonical-board { min-width:0; }
.sample-map-dashboard .board-scroll {
 overflow-x:auto;
 overflow-y:hidden;
 overscroll-behavior-inline:contain;
 margin-inline:0;
 padding-bottom:0;
}
.sample-map-dashboard .kanban-board { align-items:stretch; }
@media(max-width:900px) {
 #account-app[data-developer-workspace] .sample-map-dashboard {
  grid-template-columns:minmax(0,1fr);
  gap:17px;
 }
}
