/* Native templates and recognised 3SAFE components. Authored images, embeds,
   protected documents, application state, links and form actions stay in place. */
.studio-content-surface {
	--studio-glass: linear-gradient(130deg, #2d2d2fe8 0%, #1f1f20f4 70%);
	min-width: 0;
	background: radial-gradient(55rem 38rem at 100% 0%, #2e2e2f30, transparent 70%), var(--studio-base);
	color: var(--studio-ink);
}
.studio-editorial-head { display: grid; align-items: center; gap: 0; overflow: hidden; position: relative; isolation: isolate; margin: 0; border-bottom: 1px solid var(--studio-line); background: #222223; }
.studio-editorial-head--art:not(.studio-editorial-head--strip) { grid-template-columns: minmax(0,1.15fr) minmax(14rem,.85fr); }
.studio-editorial-head .studio-title { margin: 0; padding: clamp(1.4rem,4vw,3.8rem); font-size: clamp(1.9rem,3.8vw,4.1rem); line-height: 1.04; letter-spacing: -.035em; overflow-wrap: anywhere; }
.studio-editorial-head .studio-title::before { width: 2.3rem; height: 3px; border-radius: 2px; margin-bottom: .9rem; }
.studio-editorial-head--compact .studio-title { font-size: clamp(1.6rem,3vw,2.8rem); }
.studio-art { position: relative; align-self: stretch; min-height: 13rem; background: #212123; }
.studio-art-image { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: 100%; }
.studio-editorial-head--compact .studio-art { min-height: 7rem; }
.studio-editorial-head--strip .studio-art { min-height: 0; height: clamp(5rem,12vw,11rem); }
.studio-editorial-head--strip.studio-editorial-head--compact .studio-art { height: clamp(3.5rem,6vw,6rem); }
.studio-editorial-head--strip { border-top: 1px solid #545456; }
.studio-editorial-head--strip::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: linear-gradient(90deg,var(--studio-accent),transparent 35%,transparent 85%,var(--studio-ember)); pointer-events: none; }
.studio-prose .studio-editorial-entry, .studio-content-surface > .studio-date { max-width: 69rem; margin-inline: auto; padding: clamp(1rem,3.6vw,3.4rem); }
.studio-content-surface > .studio-date { padding-bottom: 0; }
.studio-list-body { max-width: 78rem; }
.studio-list-body .search-form { margin-bottom: 1.3rem; }
.studio-list-body .studio-results { grid-template-columns: repeat(auto-fit,minmax(min(100%,18rem),1fr)); }
.studio-list-body .studio-results > li { overflow: hidden; background: var(--studio-glass); border-radius: .6rem; border-top-color: #6b6b6e; padding: 0; }
.studio-list-body .studio-results h2 { padding: 1rem 1.1rem .25rem; }
.studio-list-body .studio-excerpt { padding: 0 1.1rem 1rem; }
.studio-result-image { position: relative; aspect-ratio: 2.5; overflow: hidden; }
.studio-topic-index { padding: .6rem clamp(1rem,3.6vw,3.4rem); border-bottom: 1px solid var(--studio-line); background: #222224; }
.studio-topic-index summary { color: var(--studio-accent); font-weight: 650; cursor: pointer; padding: .35rem 0; }
.studio-topic-index ul { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,13rem),1fr)); gap: .4rem .9rem; margin: .3rem 0 .8rem; padding: 0; list-style: none; }
.studio-topic-index a { display: flex; align-items: center; min-height: 44px; padding: .35rem .6rem; border: 1px solid #4b4b4d; border-radius: .4rem; color: var(--studio-ink); text-decoration: none; box-sizing: border-box; }
.studio-topic-index a:hover { color: var(--studio-accent); border-color: var(--studio-accent); }
.studio-result-image img { width: 100%; height: 100%; object-fit: cover; }
.studio-home-hero { display: grid; align-items: center; position: relative; isolation: isolate; min-height: clamp(19rem,33vw,31rem); overflow: hidden; background: #202022; border-bottom: 1px solid #515153; }
.studio-home-hero > img { z-index: -2; opacity: .92; }
.studio-home-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#19191aed 1%,#19191ae0 27%,#19191aa6 51%,#19191a17 88%); }
.studio-home-intro { max-width: 40rem; padding: clamp(1.4rem,4vw,3.7rem); }
.studio-home-intro > p { max-width: 49ch; margin: 0 0 1.1rem; color: #ebebf0; }
.studio-home-intro .studio-home-location { margin-bottom: .65rem; color: var(--studio-ember); font-size: .85rem; font-weight: 680; }
.studio-home-intro .studio-home-title { margin: 0 0 1rem; color: #f4f4fa; font-size: clamp(2.5rem,4.8vw,5rem); line-height: .99; font-weight: 730; letter-spacing: -.045em; }
.studio-home-title em { color: var(--studio-accent); font-style: normal; }
.studio-home-cta { display: inline-flex; align-items: center; gap: .8rem; min-height: 44px; padding: .45rem 1rem; box-sizing: border-box; border-radius: .4rem; background: var(--studio-accent); color: #222223; font-weight: 700; text-decoration: none; }
.studio-home-themes { padding: clamp(1rem,2.8vw,2.5rem) clamp(1rem,3.6vw,3.4rem); }
.studio-home-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 1rem; margin-bottom: .85rem; }
.studio-home-section-head h2 { margin: 0; font-size: clamp(1.3rem,2.2vw,2rem); line-height: 1.18; }
.studio-home-section-head a { color: var(--studio-accent); }
.studio-home-tiles { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.6rem,1.4vw,1.2rem); list-style: none; margin: 0; padding: 0; }
.studio-home-tiles a { display: flex; height: 100%; flex-direction: column; border: 1px solid #505052; border-radius: .6rem; overflow: hidden; box-sizing: border-box; text-decoration: none; color: var(--studio-ink); background: var(--studio-glass); }
.studio-home-tiles a:hover { border-color: var(--studio-accent); }
.studio-tile-art { position: relative; display: block; aspect-ratio: 2; }
.studio-tile-label { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 44px; padding: .4rem .9rem; font-weight: 650; }
.studio-tile-label span { color: var(--studio-accent); }
.studio-prose .studio-entry > :where(p,h2,h3,h4,ul,ol,figure,blockquote) { margin-block: 0 1.15rem; }
.studio-prose .studio-entry > :where(h2,h3,h4) { color: var(--studio-ink); line-height: 1.2; margin-top: 1.8rem; }
.studio-prose .studio-entry > p, .studio-prose .studio-entry > :where(ul,ol) { color: #dcdce2; }
.studio-prose .studio-entry > p a, .studio-prose .studio-entry > :where(ul,ol,blockquote) a { color: var(--studio-accent); text-underline-offset: .18em; }
.studio-prose .studio-entry .wp-block-button__link:not(.has-background) { background: var(--studio-accent); color: #222223; border-radius: .45rem; font-weight: 650; }
.studio-prose .studio-entry :where(.wp-block-quote,.wp-block-pullquote) { padding: .8rem 1.2rem; margin-inline: 0; border-inline-start: 3px solid var(--studio-ember); background: #252526; }
.studio-prose .studio-entry .wp-block-table { overflow-x: auto; }
.studio-prose .studio-entry .wp-block-table :where(th,td) { border-color: var(--studio-line); padding: .5rem .65rem; }
.studio-prose .studio-entry .wp-block-details { margin-block: .6rem; padding: .8rem 1rem; border: 1px solid var(--studio-line); border-radius: .45rem; background: #222223; }
.studio-prose .studio-entry .wp-block-details > summary { cursor: pointer; color: var(--studio-accent); }
.studio-prose .studio-entry .wp-block-group.is-style-studio-verre { border: 1px solid var(--studio-line); border-top-color: #6b6b6e; border-radius: .7rem; background: var(--studio-glass); padding: clamp(1rem,2.4vw,2rem); }
.studio-prose .studio-entry :where(figcaption,.wp-caption-text) { font-size: .9rem; color: var(--studio-muted); }
.studio-prose .studio-entry .wp-block-image img { height: auto; }
.studio-skip, .studio-content-surface [id] { scroll-margin-top: calc(var(--studio-top-height) + var(--studio-bar) + 1rem); }

/* The legacy page plugins sized full-bleed blocks to the browser viewport.
   Inside the new sidebar shell, their available width is the content column. */
.studio-editorial-entry :is([class$="--full-bleed"],[class*="--full-bleed "]) {
	box-sizing: border-box; width: 100% !important; max-width: 100% !important; left: auto !important; right: auto !important; margin-inline: 0 !important;
}
.studio-editorial-entry :is(.ts-home,.ts-quality-page,.s3sos,.s3ac,.s3he,.s3cse,.s3rps,.s3ref,.s3th,.s3rm,.s3rr,.s3hse,.s3et,.s3mgr,.s3duerp,.s3ap,.s3aipr-page,.s3aib-page,.s3rc-page,.s3fi-root) { max-width: 100%; }
.studio-editorial-entry :is(.ts-quality-hero,.ts-hero,.s3sos-hero,.s3ac-hero,.s3he-hero,.s3cse-hero,.s3rps-hero,.s3ref-hero,.s3th-hero,.s3rm-hero,.s3rr-hero,.s3hse-hero,.s3et-hero,.s3mgr-hero,.s3duerp-hero,.s3ap-hero,.s3aipr-hero,.s3aib-hero,.s3rc-hero,.s3fi-hero) {
	border-bottom: 1px solid #717174; box-shadow: inset 0 0 0 100vmax #1f1f2166;
}
.studio-editorial-entry :is(.ts-quality-page,.ts-home,.s3sos,.s3ac,.s3he,.s3cse,.s3rps,.s3ref,.s3th,.s3rm,.s3rr,.s3hse,.s3et,.s3mgr,.s3duerp,.s3ap,.s3aipr-page,.s3aib-page,.s3rc-page,.s3fi-root) :is([class$="-program-card"],[class*="-program-card "],[class$="-feature-card"],[class*="-feature-card "],[class$="-app-card"],[class$="-program-section"],[class*="-program-section "]) {
	border: 1px solid #535356; border-inline-start: 3px solid #7e7e81; border-radius: .6rem; box-shadow: 0 8px 24px #11111213;
}
.studio-editorial-entry :is([class$="-button--primary"],[class*="-button--primary "]) {
	background: var(--studio-accent) !important; border-color: #93abce !important; color: #252526 !important; text-shadow: none; box-shadow: 0 3px 13px #3232331c;
}
.studio-editorial-entry :is(article[class$="-program-card"],article[class*="-program-card "],article[class$="-feature-card"],article[class$="-app-card"],.tsdh-document-row,.safe3-qcm-card) {
	background-color: #272728f5; color: var(--studio-ink); border: 1px solid #4e4e50; border-top: 2px solid #89a4ca; border-radius: .65rem;
}
.studio-editorial-entry :is(article[class*="-program-card"],article[class$="-feature-card"],article[class$="-app-card"]) > :is(h2,h3,h4),
.studio-editorial-entry :is(.tsdh-document-row__main,.safe3-qcm-card-body) :is(h3,h4,h5) { color: var(--studio-ink); }
.studio-editorial-entry :is(article[class*="-program-card"],article[class$="-feature-card"],article[class$="-app-card"]) > p,
.studio-editorial-entry :is([class$="-program-meta"]) dd,
.studio-editorial-entry :is(.tsdh-document-row__main,.safe3-qcm-card-body) > p { color: #dcdce1; }
.studio-editorial-entry :is([class$="-program-meta"]) dt { color: var(--studio-muted); }
.studio-editorial-entry :is([class$="-program-meta"]) dt svg,
.studio-editorial-entry article[class*="-program-card"] > [class$="__subtitle"] { color: var(--studio-accent); }
.studio-editorial-entry article[class*="-program-card"] > [class$="__prerequisite"] { color: #dfc3d1; background-color: #2d2d2f; }
.studio-editorial-entry article[class*="-program-card"] > [class$="__prerequisite"] strong { color: #dfc3d1; }
.studio-editorial-entry :is([class$="-category__content"],.safe3-qcm-category-panel) { background-color: #1e1e1f; }
.studio-editorial-entry :is(section[class$="-section--soft"],section[class$="-section--white"]) { background-color: #1d1d1e; }
.studio-editorial-entry :is(section[class$="-section--soft"],section[class$="-section--white"]) :is([class$="-section-heading"],[class*="-section-heading "]) :is(h2,h3) { color: var(--studio-ink); }
.studio-editorial-entry :is(section[class$="-section--soft"],section[class$="-section--white"]) :is([class$="-section-heading"],[class*="-section-heading "]) > p { color: var(--studio-muted); }
.studio-editorial-entry :is(a,button,input,select,textarea,summary):focus-visible { outline: 3px solid #496ea3; outline-offset: 2px; box-shadow: 0 0 0 1px #f7f7fd; }
.studio-editorial-entry :is(.tsdh-library,.safe3-qcm-library,.tsgs-dashboard,.tsss-dashboard,.s3ql-app,.safe3-ai-process,.safe3-reviews-section) { box-sizing: border-box; max-width: 100%; }
.studio-editorial-entry .cmplz-document { max-width: 76ch; margin-inline: auto; }
.studio-editorial-entry .cmplz-document :where(h2,h3) { line-height: 1.25; color: var(--studio-ink); }
.studio-editorial-entry .cmplz-document a { color: var(--studio-accent); }
@media (max-width: 1080px) {
	.studio-editorial-entry :is([class$="-hero__grid"],[class*="-hero__grid "],[class$="-section-heading"]) { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 650px) {
	.studio-home-hero::before { background: linear-gradient(90deg,#19191ae8,#19191aa3 80%,#19191a80); }
	.studio-home-tiles { grid-template-columns: minmax(0,1fr); }
	.studio-home-tiles a { flex-direction: row; align-items: stretch; }
	.studio-tile-art { width: 32%; min-height: 5rem; flex: none; }
	.studio-tile-label { flex: 1; }
	.studio-editorial-head--art:not(.studio-editorial-head--strip) { grid-template-columns: minmax(0,1fr); }
	.studio-editorial-head:not(.studio-editorial-head--strip) .studio-art { min-height: 0; height: clamp(6rem,24vw,10rem); }
	.studio-editorial-head--compact:not(.studio-editorial-head--strip) .studio-art { height: 4rem; }
	.studio-editorial-head .studio-title { padding: 1.15rem 1rem; }
	.studio-list-body { padding-inline: 1rem; }
}
@media print {
	.studio-top, .studio-rail, .studio-backdrop, .studio-footer, .studio-editorial-head--strip, .studio-editorial-head .studio-art { display: none !important; }
	.studio-shell, .studio-pane, .studio-editorial-head { display: block; }
	.studio-body, .studio-content-surface, .studio-editorial-head, .studio-prose .studio-entry > p { background: white; color: black; }
	.studio-title { color: black; }
}
