/* Leading SAFe® page: the rules outside the markup (handover of November 16, 2026; reference/src/laptop/laptop.css and
   reference/src/phone/phone.css, plus the switch between the two designs). Everything else is inline on the elements. */

/* ---------------------------------------------------------------- page */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body.ls-page{margin:0;background:#FFFFFF;font-family:"Open Sans",Arial,sans-serif;color:#3D4856}
.ls-page *,.ls-page *::before,.ls-page *::after{box-sizing:border-box}
.ls-page a{color:#0D6E73}.ls-page a:hover{color:#12283A}
.ls-page button,.ls-page select{font:inherit;cursor:pointer}
.ls-page input::placeholder,.ls-page textarea::placeholder{color:#566172;opacity:1}
.ls-page summary{cursor:pointer}.ls-page summary::-webkit-details-marker{display:none}
.ls-page details[open]>summary svg{transform:rotate(45deg)}
.ls-page img{max-width:100%}
/* skb_ls_img('only') prints <picture style=display:contents><source>; the <source> must not become a flex or grid item. */
.ls-page picture>source{display:none !important}
[hidden]{display:none !important}

/* ---------------------------------------------------------------- the two designs in one document (SPEC 5.4, 9) */
/* Each root keeps the reference's own inline layout (display:flex, container). These rules only hide the other design. */
@media (min-width:1024px){
  .ls-p{display:none !important}
  body.ls-page{background:#12283A}
  /* The laptop design shows at 90%, as a browser at 90% zoom does (Sean, November 26, 2026: "make the course page
     adjust the overall size to 90%? The current 100% is too huge"). Everything is inside .ls-l, pop-ups included; its
     container queries then see the wider room, like a 90% zoom. The phone design is not changed. */
  .ls-l{zoom:.9}
}
@media (max-width:1023.98px){
  .ls-l{display:none !important}
  .ls-p{min-height:100vh}
  body.ls-page{background:#E1E7EF}
}
@media (max-width:430px){
  body.ls-page{background:#FFFFFF}
}

/* ---------------------------------------------------------------- focus ring (SPEC 4) */
.ls-l button:focus-visible,.ls-l a:focus-visible,.ls-l input:focus-visible,.ls-l select:focus-visible,.ls-l textarea:focus-visible,.ls-l summary:focus-visible,.ls-l [tabindex]:focus-visible{outline:3px solid #7FD8DB;outline-offset:3px}
.ls-l .rs-navlinks a:focus-visible{outline-offset:-3px}
/* Phone role check on its light band (November 17, 2026; the laptop keeps its dark band): a dark teal ring, since the light one is too faint there. */
.ls-page .ls-rolecheck :focus-visible{outline-color:#0D6E73 !important}
.ls-p button:focus-visible,.ls-p a:focus-visible,.ls-p input:focus-visible,.ls-p select:focus-visible,.ls-p textarea:focus-visible,.ls-p summary:focus-visible,.ls-p [tabindex]:focus-visible{outline:3px solid #7FD8DB;outline-offset:2px}

/* ---------------------------------------------------------------- narrower laptops (reference laptop.css) */
/* Exam card numbers at 40px on every laptop width from container 1150 up (November 26, 2026). The old step was max-width 1399px, but the 90% zoom makes
   the container wider than the window (1280 becomes 1422), so 46px numbers crowded ("83%1") at 1280 and up. Below 1150 the 30px step applies. */
@container page (min-width: 1150px){
.rs-exnum{font-size:40px !important}
}
@container page (max-width: 1279px){
.rs-hero-row{flex-wrap:nowrap !important;gap:40px !important}
.rs-hero-text{flex:1 1 0 !important}
.rs-hero-card{flex:0 0 460px !important;padding:18px 20px !important}
.rs-step{flex:1 1 0 !important;min-width:0;padding-right:10px !important}
.rs-step span:first-child{font-size:15px !important}
.rs-pf{flex:1 1 0 !important;min-width:0;padding-right:10px !important}
.rs-navlinks{gap:0 20px !important}
.rs-navlinks a{font-size:14px !important}
.rs-close-row{flex-wrap:nowrap !important;gap:40px !important}
.rs-close-art{flex:0 0 36% !important}
.rs-close-text{flex:1 1 0 !important}
.rs-pathcol{padding-right:18px !important}
.rs-pill{white-space:normal !important;height:auto !important;min-height:28px;padding:4px 10px !important;border-radius:14px !important;line-height:1.3}
}
@container page (max-width: 1149px){
.rs-navsum{display:none !important}
.rs-exnum{font-size:30px !important}
.rs-excard{padding:14px 14px 4px !important}
.rs-exgrid{gap:12px 10px !important}
.rs-pathh3{font-size:22px !important}
}

/* ---------------------------------------------------------------- small phones (reference phone.css) */
@container phone (max-width: 374px){
.ps-h1{font-size:27px !important}
.ps-list{padding:0 14px !important}
.ps-fprice{font-size:22px !important}
.ps-freg{padding:0 20px !important}
.ps-tk-top{gap:10px !important;padding:14px 12px 12px !important}
.ps-tk-date{flex:0 0 66px !important;padding:10px 2px !important;white-space:nowrap}
.ps-tk-date span:nth-child(2){font-size:20px !important}
.ps-tk-foot{padding:0 12px 14px !important;gap:8px !important}
.ps-tk-reg{padding:0 14px !important}
}

/* ---------------------------------------------------------------- shared helpers for the build */
.ls-trap{position:absolute !important;left:-9999px !important;width:1px !important;height:1px !important;overflow:hidden !important}
.ls-fail{margin:10px 0 0;font-size:14px;line-height:1.5;color:#3D4856}
html.ls-modal-open,html.ls-modal-open body{overflow:hidden}
/* Laptop sticky bar: sticks to the top of the window once the hero has scrolled past (SPEC 5.1). */
.ls-l [data-ls-sticky]{position:sticky;top:0;z-index:40}
/* Phone pinned bar (SPEC 5.2): fixed to the bottom of the window, inside the 430px column. */
.ls-p [data-ls-pinned]{position:fixed;left:50%;transform:translateX(-50%);bottom:0;width:100%;max-width:430px;z-index:60}
/* A focused control is scrolled clear of the bar, with a little room (WCAG 2.4.11). ls-core.js sets the measured bar
   heights; the numbers here are the bars' usual heights, for the moment before it runs. */
@media (min-width:1024px){
  html{scroll-padding-top:calc(var(--ls-sticky-h, 61px) + 12px)}
}
@media (max-width:1023.98px){
  html{scroll-padding-bottom:calc(var(--ls-pinned-h, 107px) + 12px)}
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto !important}
  .ls-page *,.ls-page *::before,.ls-page *::after{transition:none !important;animation:none !important;scroll-behavior:auto !important}
}

/* Long real reviews (November 17, 2026): the full text stays in the page (screen readers read all of it); the card shows
   the first lines and "Read more" opens the rest. js/ls-reviews.js shows the button only when the text is cut. */
.ls-page .lsr-q{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--lsr-lines,8);line-clamp:var(--lsr-lines,8);overflow:hidden}
.ls-page .lsr-q.lsr-open{display:block;-webkit-line-clamp:unset;line-clamp:none;overflow:visible}

/* No bold in reviews (Sean, November 17, 2026: "Remove All bolds"): review texts and reviewer names on every review card,
   the review popup and sheet, and the trainer reviews. Headings and buttons keep their weight. */
.ls-page blockquote,.ls-page blockquote p,.ls-page blockquote strong,.ls-page blockquote footer{font-weight:400 !important}
.ls-page [data-ms-block="reviews"] article strong,.ls-page article[data-ls-stars] strong{font-weight:400 !important}
/* Sean, November 18, 2026: class times follow the widget's region rule (ls-core.js). "Times adjust to your time zone" shows only when the times match the visitor's own clock. */
html[data-ls-tzown="0"] [data-ls-tzadj]{display:none !important}

/* Phone update (Sean, November 19, 2026, item 18, PHONE-UPDATE.md; copied to the website course pages November 24, 2026
   from the SAFe(R) marketing pages, "The design changes have to be made to course pages"). Phone layout only (.ls-p);
   the laptop markup (.ls-l) does not change. 3: every phone text under 20px is 2px larger. */
.ls-page .ls-p{font-size:18px}
.ls-p [style*="font-size: 8px"]:not([data-ls-cert-name]){font-size:10px !important}
.ls-p [style*="font-size: 9px"]:not([data-ls-cert-name]){font-size:11px !important}
.ls-p [style*="font-size: 10px"]:not([data-ls-cert-name]){font-size:12px !important}
.ls-p [style*="font-size: 11px"]:not([data-ls-cert-name]){font-size:13px !important}
.ls-p [style*="font-size: 12px"]:not([data-ls-cert-name]){font-size:14px !important}
.ls-p [style*="font-size: 13px"]:not([data-ls-cert-name]){font-size:15px !important}
.ls-p [style*="font-size: 14px"]:not([data-ls-cert-name]){font-size:16px !important}
.ls-p [style*="font-size: 15px"]:not([data-ls-cert-name]){font-size:17px !important}
.ls-p [style*="font-size: 16px"]:not([data-ls-cert-name]){font-size:18px !important}
.ls-p [style*="font-size: 17px"]:not([data-ls-cert-name]){font-size:19px !important}
.ls-p [style*="font-size: 18px"]:not([data-ls-cert-name]){font-size:20px !important}
.ls-p [style*="font-size: 19px"]:not([data-ls-cert-name]){font-size:21px !important}
body.ls-page .ls-p .ms-legal h4{font-size:19px !important}
body.ls-page .ls-p .ms-legal :is(h5,h6){font-size:17px !important}
body.ls-page .ls-p .ls-fail{font-size:16px !important}
/* What the larger text pushed out of place, put back: rating stays whole, exam grid columns may grow, a long role
   name wraps, class card trainer reviews show two more lines before "Read more". */
body.ls-page .ls-p .pa-rate{white-space:nowrap}
body.ls-page .ls-p #m-exam > div{grid-template-columns:repeat(4,1fr) !important}
body.ls-page .ls-p .ls-rolecheck select[data-pa-role]{white-space:normal !important}
body.ls-page .ls-p .pa-det .lsr-q[style*="--lsr-lines: 7"]{--lsr-lines:9 !important}
/* 4: the role section on the light grey (Sean: "A"); "Your role" set like the other field labels */
body.ls-page .ls-p .ls-rolecheck{background:#E1E7EF !important}
body.ls-page .ls-p .ls-rolecheck > label{font-size:15px !important;font-weight:600 !important;color:#12283A !important}
body.ls-page .ls-p .ls-rolecheck > label select{font-weight:400 !important}
/* 5: reviews as plain reading text, a smaller rating; reviewer names stay regular ("Remove All bolds", Nov 17) */
body.ls-page .ls-p #m-reviews [style*="font-size: 88px"]{font-size:56px !important}
body.ls-page .ls-p #m-reviews .lsr-q{font-family:'Open Sans',Arial,sans-serif !important;font-weight:400 !important;font-size:17px !important;line-height:1.5 !important}
body.ls-page .ls-p #m-reviews .lsr-q:not([style*="color: #FFFFFF"]){color:#3D4856 !important}
body.ls-page .ls-p #m-reviews strong{font-weight:600 !important}
body.ls-page .ls-p #m-reviews blockquote strong{font-weight:400 !important}
body.ls-page .ls-p #m-reviews ul{font-weight:500 !important;font-size:16px !important}
/* 6: questions in weight 500 */
body.ls-page .ls-p .pb-faq summary{font-weight:500 !important}
/* 7: the pinned bar. The date line stays on one line: 15px, down to 13px (phone-shell.js fits it). */
body.ls-page .ls-p [data-ls-pinned] > button[data-ls-act="m.sheet.class"]{font-size:clamp(13px,3.85vw,15px) !important}
body.ls-page .ls-p [data-ls-pinned] > span > span:first-child{font-size:16px !important}
/* 8: the last Register, as tall as the bar's Register, text 18px */
body.ls-page .ls-p #m-close a[data-pb-needs-class][data-ls-sel-href="register"]{height:48px !important;font-size:18px !important}
/* 9: room for the larger text */
body.ls-page .ls-p .ps-freg{padding:0 16px !important}
body.ls-page .ls-p .pa-feat p:has(> .ps-fprice){flex-wrap:wrap !important;min-width:0 !important}
body.ls-page .ls-p .ps-tk-reg{padding:0 14px !important}
body.ls-page .ls-p .ps-tk-foot,body.ls-page .ls-p .ps-tk-foot > span{gap:8px !important}
@container phone (max-width: 389px){
body.ls-page .ls-p .ps-list{padding:0 14px !important}
body.ls-page .ls-p .ps-tk-top{gap:10px !important;padding:14px 12px 12px !important}
body.ls-page .ls-p .ps-tk-date{flex:0 0 66px !important;padding:10px 2px !important;white-space:normal !important}
body.ls-page .ls-p .ps-tk-date > span:nth-child(2){font-size:20px !important}
body.ls-page .ls-p .ps-tk-foot{padding:0 12px 14px !important}
}
@container phone (max-width: 374px){
body.ls-page .ls-p .ps-tk-foot [data-ls-act="pa.details"]{font-size:15px !important}
body.ls-page .ls-p .ps-tk-reg{font-size:16px !important;padding:0 12px !important}
}
/* QA-07 guard (copied from the marketing pages, November 24, 2026): a "Read all ... Google reviews" link whose list would
   open empty is hidden (laptop tile, phone link). With laptop-review-fill.js no list is empty today. */
body.ls-page:not(:has(.ls-l [data-ls-rv-list] article)) .ls-l [data-ls-act="l.reviews.open"],
body.ls-page:not(:has([data-ms-block="reviews"] article)) [data-ls-act="m.sheet.reviews"]{display:none !important}
