/* StandardsHero Portal. All rules are scoped; the WordPress theme is untouched. */
#standardshero-portal {
  --shp-ink:#303030;--shp-slate:#46575e;--shp-muted:#61717b;--shp-line:#dce3e7;
  --shp-soft:#f7f8f9;--shp-blue:#2b6283;--shp-red:#b13938;--shp-current:var(--shp-blue);
  --shp-radius:5px;--shp-side:206px;
  display:grid;grid-template-columns:var(--shp-side) minmax(0,1fr);width:100%;max-width:100%;
  margin:0 auto 32px;border:1px solid var(--shp-line);border-radius:var(--shp-radius);
  background:#fff;color:var(--shp-ink);font-family:inherit;line-height:1.55;
  min-height:720px;container:shp-shell / inline-size;isolation:isolate;position:relative;box-sizing:border-box;
}
#standardshero-portal *,#standardshero-portal *::before,#standardshero-portal *::after{box-sizing:border-box;}
#standardshero-portal [hidden]{display:none!important;}
#standardshero-portal svg{width:20px;height:20px;flex-shrink:0;vertical-align:middle;}
#standardshero-portal[data-shp-view="standards"],#standardshero-portal[data-shp-view="mywatch"],#standardshero-portal[data-shp-view="developments"],#standardshero-portal[data-shp-view="reports"],#standardshero-portal[data-shp-view="notifications"],#standardshero-portal[data-shp-view="account"]{--shp-current:var(--shp-red);}
#standardshero-portal[data-shp-view="committees"]{--shp-current:var(--shp-slate);}
#standardshero-portal .shp-sidebar{border-right:1px solid var(--shp-line);background:#fff;border-radius:5px 0 0 5px;min-width:0;}
#standardshero-portal .shp-nav{position:sticky;top:20px;padding:25px 13px;display:flex;flex-direction:column;gap:17px;}
#standardshero-portal .shp-nav-group{display:flex;flex-direction:column;gap:5px;}
#standardshero-portal .shp-nav-label{margin:0 12px 6px;padding:0;font-size:10px;font-weight:700;line-height:1.5;letter-spacing:.14em;text-transform:uppercase;color:#7a878f;}
#standardshero-portal .shp-nav-link{display:flex;align-items:center;gap:11px;width:100%;min-height:46px;padding:11px 12px;border:1px solid transparent;border-radius:5px;font:inherit;font-size:13px;font-weight:550;line-height:1.35;background:transparent!important;color:var(--shp-slate)!important;text-decoration:none!important;box-shadow:none;transition:background .12s,color .12s;}
#standardshero-portal .shp-nav-link svg{width:19px;height:19px;opacity:.85;}
#standardshero-portal .shp-nav-link:hover,#standardshero-portal .shp-nav-link:focus-visible{background:#edf3f6!important;color:var(--shp-blue)!important;border-color:#c9d9e3;}
#standardshero-portal .shp-nav-link[aria-current="page"]{background:var(--shp-current)!important;color:#fff!important;border-color:var(--shp-current);font-weight:700;}
#standardshero-portal .shp-nav-link[aria-current="page"] svg{opacity:1;}
#standardshero-portal .shp-nav-secondary{border-top:1px solid var(--shp-line);padding-top:20px;}
#standardshero-portal .shp-menu-toggle{display:none;}
#standardshero-portal .shp-workspace{display:grid;grid-template-columns:minmax(0,1fr) 232px;min-width:0;background:var(--shp-soft);border-radius:0 5px 5px 0;}
#standardshero-portal .shp-main{min-width:0;padding:24px;background:var(--shp-soft);container:shp-main / inline-size;}
#standardshero-portal .shp-main:focus{outline:none;}
#standardshero-portal .shp-page-intro{display:flex;justify-content:space-between;align-items:center;gap:22px;margin:0 0 24px;}
#standardshero-portal .shp-kicker{font-size:10px;font-weight:700;letter-spacing:.12em;color:var(--shp-blue);line-height:1.6;margin:0 0 7px;text-transform:uppercase;}
#standardshero-portal .shp-page-intro h2{font-family:inherit;font-size:clamp(25px,3vw,32px);line-height:1.2;letter-spacing:-.02em;font-weight:700;color:var(--shp-ink);margin:0 0 7px;padding:0;}
#standardshero-portal .shp-page-intro p:not(.shp-kicker){font-size:13px;line-height:1.6;color:var(--shp-muted);margin:0;max-width:62ch;}
#standardshero-portal .shp-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;flex-shrink:0;min-height:42px;padding:10px 15px;border:1px solid #b8ccd8;border-radius:5px;font:inherit;font-size:12px;line-height:1.5;font-weight:650;text-align:center;cursor:pointer;background:#fff!important;color:var(--shp-blue)!important;text-decoration:none!important;box-shadow:none;}
#standardshero-portal .shp-button svg{width:16px;height:16px;}
#standardshero-portal .shp-button:hover,#standardshero-portal .shp-button:focus-visible{background:#eaf1f5!important;color:#244c65!important;border-color:var(--shp-blue);}
#standardshero-portal .shp-button-primary{background:var(--shp-blue)!important;color:#fff!important;border-color:var(--shp-blue);}
#standardshero-portal .shp-button-primary:hover,#standardshero-portal .shp-button-primary:focus-visible{background:#224e68!important;color:#fff!important;}
#standardshero-portal .shp-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 22px;}
#standardshero-portal .shp-stat{display:flex;align-items:center;gap:14px;padding:22px 18px;border:1px solid var(--shp-line);border-radius:5px;background:#fff!important;text-decoration:none!important;color:var(--shp-ink)!important;min-width:0;}
#standardshero-portal .shp-stat:hover{border-color:#9ab5c6;background:#fafcfd!important;}
#standardshero-portal .shp-stat>span:nth-child(2){display:flex;flex-direction:column;gap:2px;flex:1;min-width:0;}
#standardshero-portal .shp-stat strong{font-size:29px;font-weight:700;line-height:1.2;letter-spacing:-.02em;}
#standardshero-portal .shp-stat span span{font-size:13px;font-weight:650;}
#standardshero-portal .shp-stat small{font-size:10px;line-height:1.4;color:var(--shp-muted);}
#standardshero-portal .shp-stat>svg{width:15px;height:15px;color:#8a9aa4;}
#standardshero-portal .shp-stat-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;flex:0 0 42px;background:#edf3f6;color:var(--shp-blue);border-radius:5px;}
#standardshero-portal .shp-stat-icon.shp-red{background:#f9eded;color:var(--shp-red);}
#standardshero-portal .shp-stat-icon.shp-slate{background:#eef1f2;color:var(--shp-slate);}
#standardshero-portal .shp-guest-services{display:grid;grid-template-columns:1fr;gap:18px;}
#standardshero-portal .shp-service-card{border:1px solid var(--shp-line);border-radius:5px;padding:24px;background:#fff;min-width:0;}
#standardshero-portal .shp-service-card h3{font-family:inherit;font-size:20px;font-weight:700;line-height:1.28;color:var(--shp-ink);margin:0 0 12px;letter-spacing:-.015em;}
#standardshero-portal .shp-service-card p:not(.shp-kicker){font-size:13px;line-height:1.7;color:var(--shp-muted);margin:0 0 18px;}
#standardshero-portal .shp-service-card small{display:block;font-size:11px;line-height:1.65;color:var(--shp-muted);margin:14px 0 0;}
#standardshero-portal .shp-service-icon{display:flex;width:44px;height:44px;align-items:center;justify-content:center;color:var(--shp-blue);background:#e6eef3;border-radius:5px;margin-bottom:24px;}
#standardshero-portal .shp-featured{background:#edf3f6;border-top:3px solid var(--shp-blue);}
#standardshero-portal .shp-featured h3{font-size:26px;max-width:18ch;}
#standardshero-portal .shp-explore-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
#standardshero-portal .shp-text-link{display:inline-flex;align-items:center;gap:12px;font-size:12px;font-weight:650;color:var(--shp-blue)!important;text-decoration:none!important;}
#standardshero-portal .shp-text-link svg{width:16px;height:16px;}
#standardshero-portal .shp-text-link:hover{text-decoration:underline!important;}
#standardshero-portal .shp-access-panel{max-width:680px;padding:32px;background:#fff;border:1px solid var(--shp-line);border-radius:5px;}
#standardshero-portal .shp-access-icon{color:var(--shp-blue);margin-bottom:20px;}
#standardshero-portal .shp-access-icon svg{width:32px;height:32px;}
#standardshero-portal .shp-access-panel h2{font:inherit;font-size:26px;font-weight:700;margin:0 0 12px;line-height:1.3;}
#standardshero-portal .shp-access-panel p:not(.shp-kicker){font-size:14px;line-height:1.7;color:var(--shp-muted);}
#standardshero-portal .shp-access-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:23px;}
/* Existing service renderers retain content and functionality within the shell. */
#standardshero-portal .shw-app{padding:0;max-width:none;width:100%;--shw-ink:#303030;--shw-muted:#61717b;--shw-border:#dce3e7;}
#standardshero-portal .shw-panel{background:#fff;border-radius:5px;}
#standardshero-portal .shw-panel-title{flex-wrap:wrap;}
#standardshero-portal .shw-panel-title h3{font-size:18px;}
#standardshero-portal .shw-summary-grid>div{background:#fff;border-radius:5px;}
#standardshero-portal .shw-summary-grid{gap:14px;margin:18px 0;}
#standardshero-portal .shw-event{background:#fff;}
#standardshero-portal .shw-app .shw-page-bar{border-radius:4px 4px 0 0;}
#standardshero-portal .shw-progress{margin-top:0;border-radius:5px;}
#standardshero-portal .shw-steps{gap:7px;}
#standardshero-portal .shw-step-button{padding:12px 9px;gap:8px;}
#standardshero-portal .shw-step-label{font-size:12px;}
#standardshero-portal .shw-step-hint{font-size:10px;}
#standardshero-portal .shw-start-box,#standardshero-portal .shw-setup-start{border-radius:5px;}
#standardshero-portal .shw-dashboard-status{background:#fff;font-size:11px;}
#standardshero-portal .shw-event-top{flex-wrap:wrap;}
#standardshero-portal .shw-event p{font-size:13px;line-height:1.6;}
#standardshero-portal .shw-event h4{font-size:16px;}
#standardshero-portal .shw-footer{font-size:10px;}
#standardshero-portal .shiso-library,#standardshero-portal .shcl-library{width:100%;max-width:none;padding:0;margin:0;border-radius:5px;}
#standardshero-portal .shiso-card,#standardshero-portal .shcl-card{border-radius:5px;}
#standardshero-portal .shiso-card-header,#standardshero-portal .shcl-card-header{gap:15px;}
#standardshero-portal .shiso-finder,#standardshero-portal .shcl-finder{border-radius:5px;}
#standardshero-portal .shiso-finder-body,#standardshero-portal .shcl-finder-body{background:#fff;}
#standardshero-portal .shiso-card-actions button{font:inherit;cursor:pointer;min-height:36px;display:inline-flex;align-items:center;padding:7px 12px;border:1px solid;border-radius:5px;font-size:12px;font-weight:650;line-height:1.4;}
#standardshero-portal .shiso-card-actions button.shiso-primary{background:var(--shiso-accent)!important;border-color:var(--shiso-accent)!important;color:var(--shiso-on-accent,#fff)!important;}
#standardshero-portal .shiso-card-actions button.shiso-primary:hover{filter:brightness(.92);}
.shiso-library .shp-standard-overview{border-top:1px solid #dce3e7;margin-top:20px;padding-top:20px;}
.shiso-library .shp-detail-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:28px;}
.shiso-library .shp-detail-grid h5{font:inherit;font-size:14px;font-weight:700;margin:0 0 12px;color:#303030;}
.shiso-library .shp-editorial-content{font-size:13px;line-height:1.7;overflow-wrap:anywhere;}
.shiso-library .shp-editorial-content p{margin:0 0 12px;max-width:none;}
.shiso-library .shp-editorial-content h2,.shiso-library .shp-editorial-content h3{font-size:16px;font-weight:700;line-height:1.4;margin:18px 0 8px;}
.shiso-library .shp-editorial-content ul,.shiso-library .shp-editorial-content ol{padding-left:20px;margin:8px 0 14px;}
.shiso-library .shp-detail-facts{margin:0;font-size:12px;}
.shiso-library .shp-detail-facts>div{display:grid;grid-template-columns:minmax(92px,.7fr) minmax(0,1fr);gap:12px;padding:9px 0;border-bottom:1px solid #e5e9ec;}
.shiso-library .shp-detail-facts dt{color:#61717b;font-weight:400;}
.shiso-library .shp-detail-facts dd{margin:0;color:#303030;overflow-wrap:anywhere;}
#standardshero-portal :is(a,button,input,select,summary):focus-visible{outline:2px solid var(--shp-blue);outline-offset:3px;}
/* No off-screen text leaking above the portal. Reveal only for keyboard focus. */
#standardshero-portal a.shp-skip-link:not(:focus){position:absolute!important;left:0!important;top:0!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:-1px!important;border:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;}
#standardshero-portal a.shp-skip-link:focus{position:absolute!important;left:12px!important;top:12px!important;width:auto!important;height:auto!important;margin:0!important;padding:10px 16px!important;clip:auto!important;clip-path:none!important;overflow:visible!important;white-space:normal!important;z-index:30;background:#fff!important;color:var(--shp-blue)!important;border:2px solid var(--shp-blue)!important;border-radius:5px;outline-offset:3px;}

#standardshero-portal .shp-live-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
@container shp-main (max-width:820px){
  #standardshero-portal .shp-page-intro{align-items:flex-start;}
  #standardshero-portal .shp-stat{padding:17px 12px;gap:9px;}
  #standardshero-portal .shp-stat-icon{width:34px;height:34px;flex-basis:34px;}
  #standardshero-portal .shp-stat>svg{display:none;}
  #standardshero-portal .shw-spec-hero{grid-template-columns:1fr;}
  #standardshero-portal .shw-journey-steps{grid-template-columns:repeat(3,minmax(0,1fr));}
  #standardshero-portal .shw-step-button{flex-direction:column;align-items:flex-start;}
  #standardshero-portal .shp-detail-grid{grid-template-columns:1fr;}
  #standardshero-portal .shw-faq-list{grid-template-columns:1fr;}
}
@container shp-main (max-width:560px){
  #standardshero-portal .shp-page-intro{flex-direction:column;gap:16px;}
  #standardshero-portal .shp-stat-grid{grid-template-columns:1fr;gap:9px;}
  #standardshero-portal .shp-stat>span:nth-child(2){display:grid;grid-template-columns:50px 1fr;column-gap:10px;align-items:center;}
  #standardshero-portal .shp-stat strong{grid-row:1/3;font-size:25px;}
  #standardshero-portal .shp-stat small{grid-column:2;}
  #standardshero-portal .shp-stat{padding:14px;}
  #standardshero-portal .shp-stat>svg{display:block;}
  #standardshero-portal .shp-guest-services{grid-template-columns:1fr;}
  #standardshero-portal .shw-journey-steps,#standardshero-portal .shw-goal-grid{grid-template-columns:1fr;}
  #standardshero-portal .shw-steps{grid-template-columns:repeat(2,minmax(0,1fr));}
  #standardshero-portal .shw-step-button{flex-direction:row;min-height:68px;align-items:center;}
  #standardshero-portal .shw-spec-price{padding:20px;}
  #standardshero-portal .shw-page-bar h3{font-size:16px;}
  #standardshero-portal .shw-edit-banner{flex-wrap:wrap;}
  #standardshero-portal .shw-summary-grid{gap:7px;}
  #standardshero-portal .shw-summary-grid>div{padding:12px 9px;}
  #standardshero-portal .shw-summary-grid span{font-size:11px;}
}
@media(max-width:980px){#standardshero-portal{--shp-side:200px;}#standardshero-portal .shp-main{padding:22px;}#standardshero-portal .shp-nav-link{font-size:12px;gap:9px;padding:10px;}}
@media(max-width:760px){
  #standardshero-portal{display:block;min-height:0;}
  #standardshero-portal .shp-sidebar{border-right:0;border-bottom:1px solid var(--shp-line);border-radius:5px 5px 0 0;}
  #standardshero-portal .shp-menu-toggle{display:flex;align-items:center;gap:10px;width:100%;border:0;border-radius:5px 5px 0 0;padding:15px 18px;font:inherit;font-size:14px;font-weight:650;line-height:1.4;background:#fff!important;color:var(--shp-slate)!important;text-align:left;cursor:pointer;}
  #standardshero-portal .shp-menu-toggle::after{content:'+';margin-left:auto;font-size:20px;font-weight:400;}
  #standardshero-portal .shp-menu-toggle[aria-expanded="true"]::after{content:'−';}
  #standardshero-portal .shp-nav{position:static;padding:8px 12px 18px;gap:16px;display:none;}
  #standardshero-portal .shp-sidebar.is-open .shp-nav{display:flex;}
  #standardshero-portal .shp-nav-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;}
  #standardshero-portal .shp-nav-label{grid-column:1/-1;margin:0 9px 3px;}
  #standardshero-portal .shp-main{padding:18px 14px;border-radius:0 0 5px 5px;}
  #standardshero-portal .shp-page-intro h2{font-size:26px;}
  #standardshero-portal .shp-access-panel{padding:22px;}
  #standardshero-portal .shp-access-actions{flex-direction:column;}
  .shiso-library .shp-detail-grid{grid-template-columns:1fr;gap:20px;}
}
@media(prefers-reduced-motion:reduce){#standardshero-portal *,#standardshero-portal *::before{scroll-behavior:auto!important;transition:none!important;}}

/* v1.0.1 — Right-hand, blog-style guidance; never style the theme's widgets. */
#standardshero-portal .shp-guide{min-width:0;background:#fff;border-left:1px solid var(--shp-line);border-radius:0 5px 5px 0;padding:24px 16px;}
#standardshero-portal .shp-guide-inner{position:sticky;top:20px;display:grid;gap:18px;}
#standardshero-portal .shp-guide-widget{margin:0;padding:18px 16px;background:var(--shp-soft);border:1px solid #e5e8ea;border-top:3px solid var(--shp-current);border-radius:5px;min-width:0;box-shadow:none;}
#standardshero-portal .shp-guide-kicker{font-size:10px;font-weight:700;letter-spacing:.11em;line-height:1.6;color:var(--shp-current);margin:0 0 10px;}
#standardshero-portal .shp-guide .widget-title{font-family:inherit;font-size:18px;font-weight:700;line-height:1.35;letter-spacing:normal;text-transform:none;color:var(--shp-ink);margin:0 0 11px;padding:0;}
#standardshero-portal .shp-guide p{font-size:12px;line-height:1.7;color:var(--shp-slate);overflow-wrap:break-word;}
#standardshero-portal .shp-guide .shp-guide-intro{margin:0 0 16px;}
#standardshero-portal .shp-guide-steps{list-style:none!important;counter-reset:shp-guide;display:grid;gap:0;padding:0!important;margin:0!important;}
#standardshero-portal .shp-guide-steps li{counter-increment:shp-guide;list-style:none!important;position:relative;padding:13px 0 13px 23px;margin:0;border-top:1px solid var(--shp-line);}
#standardshero-portal .shp-guide-steps li::before{content:counter(shp-guide,decimal-leading-zero);position:absolute;left:0;top:15px;color:var(--shp-current);font-size:10px;font-weight:700;line-height:1.5;}
#standardshero-portal .shp-guide-steps li:last-child{padding-bottom:0;}
#standardshero-portal .shp-guide-steps strong{display:block;font-size:12px;line-height:1.5;font-weight:700;color:var(--shp-ink);}
#standardshero-portal .shp-guide-steps p{margin:4px 0 0;}
#standardshero-portal .shp-guide-note{border-top-color:var(--shp-slate);}
#standardshero-portal .shp-guide-note .widget-title{font-size:15px;}
#standardshero-portal .shp-guide-note p{margin:0;}
/* Both Explore libraries use a two-column grid; opened details span the row. */
#standardshero-portal .shp-library-pane .shiso-results,#standardshero-portal .shp-library-pane .shcl-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch;}
#standardshero-portal .shp-library-pane .shiso-card,#standardshero-portal .shp-library-pane .shcl-card{min-width:0;display:flex;flex-direction:column;}
#standardshero-portal .shp-library-pane .shiso-card-header,#standardshero-portal .shp-library-pane .shcl-card-header{flex-wrap:wrap;}
#standardshero-portal .shp-library-pane .shiso-card-actions,#standardshero-portal .shp-library-pane .shcl-card-actions{margin-top:auto;padding-top:14px;}
#standardshero-portal .shp-library-pane .shiso-card:has(.shp-standard-overview:not([hidden])),#standardshero-portal .shp-library-pane .shcl-card:has(.shcl-overview:not([hidden])){grid-column:1/-1;}
#standardshero-portal .shp-library-pane .shiso-card :is(.shiso-ref,h4),#standardshero-portal .shp-library-pane .shcl-card :is(.shcl-ref,h4){overflow-wrap:anywhere;}
@container shp-shell (max-width:1080px){
  #standardshero-portal .shp-workspace{grid-template-columns:minmax(0,1fr);}
  #standardshero-portal .shp-guide{border-left:0;border-top:1px solid var(--shp-line);padding:20px 24px;border-radius:0 0 5px 0;}
  #standardshero-portal .shp-guide-inner{position:static;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);align-items:start;}
}
@container shp-main (max-width:620px){
  #standardshero-portal .shp-library-pane .shiso-results,#standardshero-portal .shp-library-pane .shcl-results,#standardshero-portal .shp-explore-stack{grid-template-columns:1fr;}
}
@container shp-shell (max-width:760px){
  #standardshero-portal .shp-sidebar{grid-column:1/-1;border-right:0;border-bottom:1px solid var(--shp-line);border-radius:5px 5px 0 0;}
  #standardshero-portal .shp-workspace{grid-column:1/-1;}
  #standardshero-portal .shp-menu-toggle{display:flex;align-items:center;gap:10px;width:100%;border:0;border-radius:5px 5px 0 0;padding:15px 18px;font:inherit;font-size:14px;font-weight:650;background:#fff!important;color:var(--shp-slate)!important;text-align:left;cursor:pointer;}
  #standardshero-portal .shp-menu-toggle::after{content:'+';margin-left:auto;font-size:20px;}
  #standardshero-portal .shp-menu-toggle[aria-expanded="true"]::after{content:'−';}
  #standardshero-portal .shp-nav{position:static;display:none;padding:8px 12px 18px;}
  #standardshero-portal .shp-sidebar.is-open .shp-nav{display:flex;}
  #standardshero-portal .shp-nav-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;}
  #standardshero-portal .shp-nav-label{grid-column:1/-1;}
  #standardshero-portal .shp-main{padding:18px 14px;}
}
@container shp-shell (max-width:620px){
  #standardshero-portal .shp-guide{padding:18px 14px;}
  #standardshero-portal .shp-guide-inner{grid-template-columns:1fr;}
}
@media (prefers-reduced-motion:reduce){#standardshero-portal .shp-guide-inner{scroll-behavior:auto;}}

/* Keep actions aligned across paired cards of different text lengths. */
#standardshero-portal .shp-library-pane .shiso-card-header,#standardshero-portal .shp-library-pane .shcl-card-header{margin-bottom:18px;}
#standardshero-portal .shp-library-pane .shiso-card-footer,#standardshero-portal .shp-library-pane .shcl-card-footer{margin-top:auto;flex-direction:column;align-items:stretch;gap:12px;}
#standardshero-portal .shp-library-pane .shiso-card-actions,#standardshero-portal .shp-library-pane .shcl-card-actions{padding-top:0;}
#standardshero-portal .shp-library-pane .shiso-card-footer,#standardshero-portal .shp-library-pane .shcl-card-footer{flex-wrap:nowrap;}
#standardshero-portal .shp-library-pane .shiso-record-meta,#standardshero-portal .shp-library-pane .shcl-record-meta{flex:0 1 auto;}
#standardshero-portal .shp-library-pane .shiso-card-actions,#standardshero-portal .shp-library-pane .shcl-card-actions{width:100%;min-width:0;}

/* 1.0.5 — the original five-step component belongs in the right guide rail.
   No duplicated navigation or IDs; the Watch app still owns setup state. */
#standardshero-portal .shp-guide-copy {display:grid;grid-column:1/-1;gap:18px;min-width:0;}
#standardshero-portal .shp-setup-progress-slot.shw-app {
  --shw-accent:var(--shp-red);--shw-ink:var(--shp-ink);--shw-muted:var(--shp-slate);
  color:var(--shp-ink);width:100%;max-width:none;margin:0;padding:0;min-width:0;
}
#standardshero-portal .shp-setup-progress-slot[hidden] {display:none!important;}
#standardshero-portal .shp-setup-progress-slot .shw-progress {
  margin:0;padding:16px;background:#fff;border:1px solid #e4d1d1;
  border-top:3px solid var(--shp-red);border-radius:5px;box-shadow:none;
}
#standardshero-portal .shp-setup-progress-slot .shw-progress-heading {
  display:flex;flex-direction:column;align-items:stretch;gap:12px;margin:0 0 13px;
}
#standardshero-portal .shp-setup-progress-slot .shw-progress-intro > strong {font-size:17px;line-height:1.35;}
#standardshero-portal .shp-setup-progress-slot .shw-progress-intro > span {font-size:12px;line-height:1.5;}
#standardshero-portal .shp-setup-progress-slot .shw-progress-position {
  display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;gap:4px 10px;text-align:left;min-width:0;
}
#standardshero-portal .shp-setup-progress-slot .shw-progress-position > span {font-size:11px;}
#standardshero-portal .shp-setup-progress-slot .shw-progress-position > strong {font-size:12px;}
#standardshero-portal .shp-setup-progress-slot .shw-progress-track {margin:0 0 14px;}
#standardshero-portal .shp-setup-progress-slot .shw-progress .shw-steps {
  display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin:0;padding:0;border:0;overflow:visible;
}
#standardshero-portal .shp-setup-progress-slot .shw-progress .shw-steps button.shw-step-button {
  display:flex;flex-direction:row;align-items:center;gap:10px;min-height:57px;width:100%;
  padding:10px 12px;border-radius:5px;white-space:normal;text-align:left;
}
#standardshero-portal .shp-setup-progress-slot .shw-progress .shw-step-copy {min-width:0;}
#standardshero-portal .shp-setup-progress-slot .shw-progress .shw-step-label {font-size:13px;line-height:1.4;}
#standardshero-portal .shp-setup-progress-slot .shw-progress .shw-step-hint {display:block;font-size:11px;line-height:1.4;}
#standardshero-portal .shp-setup-progress-slot .shw-progress .shw-step-index {width:26px;height:26px;flex:0 0 26px;}
#standardshero-portal .shp-setup-progress-slot .shw-progress .shw-step-button.is-current,
#standardshero-portal .shp-setup-progress-slot .shw-progress .shw-step-button.is-current:is(:hover,:focus-visible) {
  background:var(--shp-red)!important;border-color:var(--shp-red)!important;color:#fff!important;
}
#standardshero-portal .shp-setup-progress-slot .shw-progress .shw-step-button.is-current :is(.shw-step-label,.shw-step-hint) {color:#fff!important;}
#standardshero-portal .shp-setup-progress-slot .shw-progress .shw-step-button:focus-visible {outline:2px solid var(--shp-red);outline-offset:2px;}
/* When the right rail stacks, put progress before the choices and guidance
   after them. The same navigation remains accessible on small screens. */
@media(max-width:1179px){
  #standardshero-portal:not(.shp-fixed-workspace)[data-shp-view="setup"] .shp-guide,
  #standardshero-portal:not(.shp-fixed-workspace)[data-shp-view="setup"] .shp-guide-inner {display:contents;}
  #standardshero-portal:not(.shp-fixed-workspace)[data-shp-view="setup"] .shp-workspace {grid-template-columns:minmax(0,1fr);}
  #standardshero-portal:not(.shp-fixed-workspace)[data-shp-view="setup"] .shp-setup-progress-slot {grid-column:1;grid-row:1;padding:18px 14px 0;}
  #standardshero-portal:not(.shp-fixed-workspace)[data-shp-view="setup"] .shp-main {grid-column:1;grid-row:2;}
  #standardshero-portal:not(.shp-fixed-workspace)[data-shp-view="setup"] .shp-guide-copy {grid-column:1;grid-row:3;padding:18px 14px;border-top:1px solid var(--shp-line);background:#fff;}
  #standardshero-portal .shp-setup-progress-slot .shw-progress .shw-steps {grid-template-columns:repeat(2,minmax(0,1fr));}
  #standardshero-portal .shp-setup-progress-slot .shw-progress .shw-steps button.shw-step-button {padding:10px;gap:8px;}
}
@container shp-shell (max-width:1080px){
  #standardshero-portal:not(.shp-fixed-workspace)[data-shp-view="setup"] .shp-guide,
  #standardshero-portal:not(.shp-fixed-workspace)[data-shp-view="setup"] .shp-guide-inner {display:contents;}
  #standardshero-portal:not(.shp-fixed-workspace)[data-shp-view="setup"] .shp-workspace {grid-template-columns:minmax(0,1fr);}
  #standardshero-portal:not(.shp-fixed-workspace)[data-shp-view="setup"] .shp-setup-progress-slot {grid-column:1;grid-row:1;padding:18px 14px 0;}
  #standardshero-portal:not(.shp-fixed-workspace)[data-shp-view="setup"] .shp-main {grid-column:1;grid-row:2;}
  #standardshero-portal:not(.shp-fixed-workspace)[data-shp-view="setup"] .shp-guide-copy {grid-column:1;grid-row:3;padding:18px 14px;border-top:1px solid var(--shp-line);background:#fff;}
}
