/* R28: shared navigation, with local styling for the integrated area view. */
.view-back { position:fixed; z-index:24; left:calc(224px + 24px); bottom:22px; max-width:min(440px,calc(100vw - 48px)); min-height:42px; padding:10px 16px; border:1px solid #C9D2F8; border-radius:999px; color:#1732B8; background:rgba(255,255,255,.97); box-shadow:0 3px 16px rgba(32,24,52,.14); font:500 13px/20px var(--sans); cursor:pointer; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.view-back:hover { background:#F3F5FE; border-color:#AEBDF5; }
.view-back:focus-visible,.view-drawer-return:focus-visible { outline:2px solid #1E3FDF; outline-offset:3px; }
.view-back[hidden],.view-has-drawer .view-back { display:none; }
#drawer.uik-drawer.view-drawer-wide { width:680px; max-width:100%; }
.view-store-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; padding:2px 0 16px; }
.view-store-stats span,.view-store-stats small { display:block; color:var(--ink2); font-size:12px; line-height:1.6; }
.view-store-stats b { display:block; margin-top:6px; font-size:19px; font-weight:600; line-height:1.45; }
.view-preview-section { border-top:1px solid #ECECF0; padding:14px 0; }
.view-preview-section h3 { margin:0 0 10px; font-size:14px; }
.view-preview-section p { margin:6px 0; line-height:1.7; }
.view-store-trend { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; margin-top:12px; font-size:12px; color:var(--ink2); }
.view-store-trend .uik-trk { flex:none; }
.view-record + .view-record { margin-top:10px; }
.view-record small,.view-note { color:var(--ink2); font-size:12px; }
.view-drawer-return { border:0; background:transparent; padding:0 0 14px; color:#1E3FDF; font:500 13px/1.6 var(--sans); cursor:pointer; text-align:left; }
.view-gm-preview .card { border:0; box-shadow:none; }
.view-gm-preview .card-h { padding:0 0 12px; }
.view-gm-preview .block-body { padding:0; }
.view-gm-preview .table-wrap { overflow-x:auto; }
.view-gm-preview .gm-inline-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
.team-integrated .team-data { padding:0; overflow:visible; }
.team-integrated .team-data .v4 { border:0; box-shadow:none; background:transparent; border-radius:12px; padding:16px 20px; }
.team-integrated .v4 .lg { min-width:0; max-width:100%; }
.team-integrated .v4 .read small { display:none; }
.team-trend-note { margin:8px 0 14px; color:var(--ink2); font-size:12px; line-height:1.7; }
.team-mobile-hint { display:none; }
.team-integrated .team-all-stores { border:0; background:transparent; margin-top:12px; padding:0; color:#1E3FDF; font:500 13px/1.6 var(--sans); cursor:pointer; }
.team-integrated .tiles { grid-template-columns:repeat(7,minmax(0,1fr)); }
.team-integrated .tile em { white-space:normal; line-height:1.6; }
.team-integrated .hd { padding-top:16px; padding-bottom:16px; }
.team-integrated .hd .links { max-width:40%; }
.team-integrated .q:not(.full) .t { min-width:480px; }
.team-integrated .team-store-differences .t { table-layout:fixed; min-width:0; }
.team-integrated .team-store-differences .t th:nth-child(1) { width:24%; }
.team-integrated .team-store-differences .t th:nth-child(2) { width:16%; }
.team-integrated .team-store-differences .t th:nth-child(3) { width:18%; }
.team-integrated .team-store-differences .t th:nth-child(4) { width:14%; }
.team-integrated .team-store-differences .t th:nth-child(5) { width:28%; }
.team-integrated .team-store-differences .t td:first-child,.team-integrated .team-store-differences .t td:last-child { white-space:normal; overflow-wrap:anywhere; }
.team-integrated .team-store-differences .dbar { width:100%; }
.team-original-analysis { display:grid; gap:16px; min-width:0; }
.team-goals-inline .team-goal-detail { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.team-goals-inline .goal { min-width:0; display:block; padding:0; border:0; box-shadow:none; background:transparent; }
.team-goals-inline .goal + .goal { padding-left:24px; border-left:1px solid var(--line-soft); border-radius:0; }
.team-goals-inline .goal > div { margin-bottom:8px; }
@media(max-width:1100px) { .team-integrated .tiles { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(max-width:760px) {
  .w3.team-shell { margin:-16px -16px -40px; }
  .w3 .team-integrated { padding:20px 16px 48px; }
  .view-back { left:16px; bottom:calc(16px + env(safe-area-inset-bottom,0px)); max-width:calc(100vw - 32px); }
  .view-store-stats { gap:8px; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .view-store-stats b { font-size:17px; }
  .view-store-stats > div:last-child { grid-column:1/-1; }
  .view-store-stats > div:last-child b,.view-store-stats > div:last-child small { display:inline-block; margin-right:8px; }
  .team-integrated .tiles { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .team-integrated .hd .links { max-width:none; width:100%; flex-direction:row; align-items:center; flex-wrap:wrap; }
  .team-integrated .hd .sp { display:none; }
  .team-integrated .team-data .v4 { padding:14px; }
  .team-goals-inline .team-goal-detail { grid-template-columns:minmax(0,1fr); gap:18px; }
  .team-goals-inline .goal + .goal { padding:18px 0 0; border-left:0; border-top:1px solid var(--line-soft); }
  .team-integrated .v4 .cmp3 { grid-template-columns:minmax(0,1fr); gap:4px; }
  .team-integrated .v4 .cmp3 > div { display:flex; justify-content:space-between; gap:6px; }
  .team-integrated .v4 .cmp3 b { margin:0; }
  .team-integrated .v4 .body > div:first-child { min-width:0; overflow-x:auto; }
  .team-integrated .v4 .svg { min-width:600px; }
  .team-mobile-hint { display:block; margin-top:4px; }
  .team-integrated .q:not(.full) .t { min-width:470px; }
}

/* R33: role work is primary; complete evidence remains available on demand. */
.journey-disclosure { margin:18px 0; border:1px solid var(--line,#ddd); border-radius:14px; background:var(--card,#fff); min-width:0; }
.journey-disclosure > summary { padding:17px 20px; cursor:pointer; font-size:14px; font-weight:600; line-height:1.6; }
.journey-disclosure > summary:focus-visible,.journey-queue > summary:focus-visible { outline:2px solid #8d72c6; outline-offset:2px; }
.journey-disclosure[open] > summary { border-bottom:1px solid var(--line,#ddd); margin-bottom:16px; }
.journey-disclosure > :not(summary) { margin-left:18px; margin-right:18px; }
.journey-disclosure > :last-child { margin-bottom:18px; }
.journey-priority { display:grid; grid-template-columns:minmax(260px,.8fr) minmax(0,1.5fr); gap:20px; align-items:start; margin:20px 0; }
.journey-team { min-width:0; }
.journey-team td small { display:block; margin-top:5px; color:var(--ink3,#777); font-size:11px; }
.journey-finding { display:flex; width:100%; align-items:baseline; justify-content:space-between; gap:20px; padding:16px 20px; border:0; border-top:1px solid var(--line,#ddd); background:transparent; text-align:left; cursor:pointer; color:inherit; font:inherit; }
.journey-finding span { color:var(--ink3,#777); font-size:12px; }
.journey-finding:hover { background:#F3F5FE; }
.journey-intro { padding:8px 0 20px; }
.journey-intro h1 { font-size:24px; margin:0 0 10px; }
.journey-intro p { color:var(--ink3,#777); line-height:1.8; }
.am-role-home > .rail { width:auto; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); position:static; margin:0 0 24px; }
.am-role-home > .rail .rail-head,.am-role-home > .rail .rail-foot { grid-column:1/-1; }
.am-role-home > .rail .qg { min-width:0; }
.am-role-home > .rail .qg + .qg { border-top:0; border-left:1px solid var(--line,#ddd); }
.am-role-home .rail-item .qi { width:100%; }
.ds-platform-work { padding:22px!important; }
.ds-platform-work h3 { margin:22px 0 10px; font-size:15px; }
.ds-platform-work p { line-height:1.8; }
.ds-platform-work .journey-disclosure { background:transparent; }
.ds-platform-work .am-progress { margin-top:24px; border-top:1px solid var(--line,#ddd); }
.journey-queue { min-width:0; align-self:start; }
.journey-queue > summary { display:none; }
.journey-queue > .qlist,.journey-queue > .cs-queue { width:100%; box-sizing:border-box; }
.role-journey .qmain,.role-journey .cs-obj { min-width:0; }
.journey-workflow { margin-top:0; }
.journey-workflow .workflow-inbox { border:0; padding:0; margin:0 18px 18px; }
.journey-fin-priority td:last-child { overflow-wrap:anywhere; }
.journey-fin-priority { margin:18px 0; }
#navLinks a[hidden] { display:none; }
.journey-cs-current td small { display:block; margin-top:6px; color:var(--ink3,#777); }
.journey-cs-current .table-wrap { overflow:auto; }
@media(min-width:761px) {
  .journey-queue:not([open]) > :not(summary) { display:block; }
}
@media(max-width:760px) {
  .journey-priority { grid-template-columns:minmax(0,1fr); gap:12px; }
  .journey-queue > summary { display:list-item; padding:14px 16px; border:1px solid var(--line,#ddd); border-radius:10px; background:#fff; cursor:pointer; font-weight:600; }
  .journey-queue > .qlist,.journey-queue > .cs-queue { max-height:42vh; overflow:auto; margin:0 0 14px; }
  .role-journey .qwrap,.role-journey .cs-work { grid-template-columns:minmax(0,1fr); }
  .journey-disclosure > summary { padding:15px 14px; }
  .journey-disclosure > :not(summary) { margin-left:10px; margin-right:10px; }
  .journey-finding { display:block; padding:14px; }
  .journey-finding span { display:block; margin-top:7px; }
  .am-role-home > .rail { grid-template-columns:minmax(0,1fr); }
  .am-role-home > .rail .qg + .qg { border-left:0; border-top:1px solid var(--line,#ddd); }
  .journey-team .table-wrap,.journey-fin-priority .table-wrap { overflow:auto; }
  .journey-team table { min-width:520px; }
  .journey-cs-current table { min-width:620px; }
  .ds-platform-work { padding:16px!important; }
  .role-journey .spx { padding:0; }
  .role-journey .spx .goalrow { flex-wrap:wrap; gap:10px; max-width:100%; }
  .role-journey .spx .sp-top .r1 { flex-wrap:wrap; }
  .role-journey .wbar { flex-wrap:wrap; gap:8px; }
  .role-journey.ddx .banner h2 { font-size:21px; line-height:1.55; }
  .role-journey.ddx .bstats { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
  .role-journey.ddx .bstats > div { min-width:0; padding:0; border:0; }
  .role-journey .uik-ramp-r { grid-template-columns:minmax(0,1fr); }
  .role-journey .uik-ramp-r .uik-trk { max-width:100%; width:100%; }
  .role-journey .uik-ramp-r .uik-trk i { flex:1 1 0; min-width:0; width:auto; }
  .role-journey .row2,.role-journey .row5 { grid-template-columns:minmax(0,1fr); }
  body:has(#page.role-journey) #sideAreas { display:flex; max-height:64px; gap:6px; overflow:auto; align-items:center; }
  body:has(#page.role-journey) #sideAreas .nav-area { flex:0 0 auto; }
  body:has(#page.role-journey) #sideAreas .nav-label,body:has(#page.role-journey) #sideAreas .uik-nav-lg,body:has(#page.role-journey) #sideAreas .uik-trk { display:none; }
}
