/* OSSAIM editorial system — shared module skin
   Derived from the RC5 home language: heavy geometric headings, humanist serif reading,
   three surface weights, restrained gold, denser catalogues and less card fatigue. */
:root{
  --os-ink:#04100a;--os-bark:#08180f;--os-moss:#0e2417;--os-moss-hi:#143020;
  --os-edge:rgba(180,206,186,.15);--os-edge-mid:rgba(180,206,186,.26);--os-edge-gold:rgba(228,206,100,.34);
  --os-gold:#e4ce64;--os-gold-soft:#f2de96;--os-paper:#f5f2e9;--os-sage:#bccbbe;--os-muted:#93a698;
  --os-sans:"Objektiv Mk3","Archivo","Inter","Segoe UI Variable Display","Segoe UI",system-ui,-apple-system,"Helvetica Neue",sans-serif;
  --os-serif:"Charter","Bitstream Charter","Iowan Old Style","Palatino Linotype",Cambria,Georgia,serif;
  --os-mono:ui-monospace,SFMono-Regular,"Cascadia Mono",Consolas,monospace;
  --os-max:1180px;--os-gut:clamp(18px,4vw,40px);--os-r-sm:8px;--os-r-md:14px;--os-r-lg:22px;
}
body[data-ossaim-design="editorial"]{
  margin:0!important;min-height:100vh;background:var(--os-ink)!important;color:var(--os-paper)!important;
  font:17px/1.62 var(--os-serif)!important;-webkit-font-smoothing:antialiased;color-scheme:dark;
}
body[data-ossaim-design="editorial"] *,body[data-ossaim-design="editorial"] *::before,body[data-ossaim-design="editorial"] *::after{box-sizing:border-box}
body[data-ossaim-design="editorial"] :where(h1,h2,h3,h4,.name,.stat b,.card b,.brand b,.top strong){font-family:var(--os-sans)!important;font-weight:900!important;letter-spacing:-.022em}
body[data-ossaim-design="editorial"] :where(p,li,.lead,.bio,.note,.who){font-family:var(--os-serif)!important}
body[data-ossaim-design="editorial"] :where(a,button,input,select,textarea){font:inherit;color:inherit}
body[data-ossaim-design="editorial"] :where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:2px solid var(--os-gold)!important;outline-offset:3px!important}
body[data-ossaim-design="editorial"] :where(.wrap,.shell,.page){width:auto!important;max-width:var(--os-max)!important;margin-inline:auto!important;padding:36px var(--os-gut) 78px!important}
body[data-ossaim-design="editorial"] :where(.top,.head,.topin){display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 0 20px!important;border-bottom:1px solid var(--os-edge)!important;background:transparent!important}
body[data-ossaim-design="editorial"] :where(.crumb,.eyebrow,.kicker,.kind){font-family:var(--os-sans)!important;font-weight:700!important;font-size:12px!important;line-height:1.35!important;letter-spacing:.04em!important;text-transform:none!important;color:var(--os-gold)!important}
body[data-ossaim-design="editorial"] :where(.hero){padding:clamp(42px,6vw,74px) 0 clamp(34px,5vw,60px)!important;margin:0!important;border-bottom:1px solid var(--os-edge)!important;background:transparent!important}
body[data-ossaim-design="editorial"] :where(.hero h1,h1){font-size:clamp(46px,7vw,82px)!important;line-height:.94!important;letter-spacing:-.045em!important;margin:12px 0 18px!important;color:var(--os-paper)!important}
body[data-ossaim-design="editorial"] :where(.hero h1 span,h1 em,h2 em){color:var(--os-gold)!important;font-style:normal!important}
body[data-ossaim-design="editorial"] :where(.lead,.hero p){font-size:clamp(17px,1.5vw,21px)!important;line-height:1.58!important;color:var(--os-sage)!important;max-width:70ch}
body[data-ossaim-design="editorial"] :where(.section){padding:clamp(44px,6vw,72px) 0!important;border-top:0!important}
body[data-ossaim-design="editorial"] :where(.section-head){display:block!important;max-width:790px!important;margin:0 0 34px!important}
body[data-ossaim-design="editorial"] :where(.section-head h2,h2){font-size:clamp(30px,4vw,44px)!important;line-height:1.05!important;color:var(--os-paper)!important;margin:8px 0 12px!important}
body[data-ossaim-design="editorial"] :where(h3){color:var(--os-paper)!important;line-height:1.08!important}
body[data-ossaim-design="editorial"] :where(.section-head p,.card p,.panel p,.box p,.notice p,.note,.footnote){color:var(--os-sage)!important}
body[data-ossaim-design="editorial"] :where(.tag,.status,.badge,.chip,.lang button){display:inline-flex;align-items:center;width:auto;border:1px solid var(--os-edge)!important;border-radius:999px!important;background:transparent!important;color:var(--os-muted)!important;font-family:var(--os-sans)!important;font-weight:700!important;font-size:12px!important;letter-spacing:0!important;text-transform:none!important;padding:5px 9px!important}
body[data-ossaim-design="editorial"] :where(.grid,.cards,.cards-grid,.works,.award-grid){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;margin-top:28px!important;border-top:1px solid var(--os-edge)!important}
body[data-ossaim-design="editorial"] :where(.grid>.card,.cards>.card,.cards-grid>.card,.works>* , .award-grid>*){min-height:0!important;border:0!important;border-bottom:1px solid var(--os-edge)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:22px 22px 22px 0!important}
body[data-ossaim-design="editorial"] :where(.grid>.card:nth-child(even),.cards>.card:nth-child(even),.cards-grid>.card:nth-child(even),.works>*:nth-child(even),.award-grid>*:nth-child(even)){padding-left:22px!important;border-left:1px solid var(--os-edge)!important}
body[data-ossaim-design="editorial"] :where(.card b,.card h3){display:block;color:var(--os-gold-soft)!important;font-size:20px!important;margin:0 0 8px!important}
body[data-ossaim-design="editorial"] :where(.card p){font-size:14px!important;line-height:1.55!important;margin:0!important}
body[data-ossaim-design="editorial"] :where(.panel,.box,.notice,.student-panel,.engine,.result,.access-panel){border:1px solid var(--os-edge-gold)!important;border-radius:var(--os-r-lg)!important;background:linear-gradient(150deg,var(--os-moss-hi),var(--os-ink))!important;box-shadow:none!important}
body[data-ossaim-design="editorial"] :where(.panel,.box,.notice,.student-panel){padding:clamp(22px,3vw,32px)!important}
body[data-ossaim-design="editorial"] :where(.btn,button,.go,.student-btn){font-family:var(--os-sans)!important;font-weight:700!important;font-size:14px!important;border:1px solid var(--os-edge-mid)!important;border-radius:var(--os-r-sm)!important;background:transparent!important;color:var(--os-paper)!important;padding:10px 14px!important;text-decoration:none!important;box-shadow:none!important}
body[data-ossaim-design="editorial"] :where(.btn:hover,button:hover,.go:hover,.student-btn:hover){background:var(--os-moss-hi)!important;border-color:var(--os-edge-gold)!important;color:var(--os-gold-soft)!important}
body[data-ossaim-design="editorial"] :where(.primary,.active.btn,.tabs button.active,.student-panel>a){background:var(--os-gold)!important;border-color:var(--os-gold)!important;color:var(--os-ink)!important}
body[data-ossaim-design="editorial"] :where(.actions){display:flex;gap:10px!important;flex-wrap:wrap;margin-top:24px!important}
body[data-ossaim-design="editorial"] :where(.tabs){display:flex;gap:4px!important;flex-wrap:wrap;position:sticky;top:0;z-index:5;background:rgba(4,16,10,.92)!important;backdrop-filter:blur(16px);padding:10px 0!important;border-bottom:1px solid var(--os-edge)!important}
body[data-ossaim-design="editorial"] :where(.tabs button){border-radius:var(--os-r-sm)!important;color:var(--os-sage)!important}
body[data-ossaim-design="editorial"] :where(input,select,textarea){width:100%;border:1px solid var(--os-edge-mid)!important;border-radius:var(--os-r-sm)!important;background:var(--os-bark)!important;color:var(--os-paper)!important;padding:12px 13px!important;outline:none}
body[data-ossaim-design="editorial"] :where(input:focus,select:focus,textarea:focus){border-color:var(--os-gold)!important}
body[data-ossaim-design="editorial"] :where(label){font-family:var(--os-sans)!important;font-size:12px!important;font-weight:700!important;color:var(--os-sage)!important}
body[data-ossaim-design="editorial"] :where(.links a){font-family:var(--os-sans)!important;font-size:12px!important;border:0!important;border-bottom:1px solid var(--os-edge)!important;border-radius:0!important;color:var(--os-sage)!important;padding:7px 2px!important;text-decoration:none}
body[data-ossaim-design="editorial"] :where(.links a:hover){color:var(--os-gold-soft)!important;border-color:var(--os-edge-gold)!important}
body[data-ossaim-design="editorial"] :where(.metrics,.stats){display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;border-top:1px solid var(--os-edge-gold)!important;border-bottom:1px solid var(--os-edge)!important}
body[data-ossaim-design="editorial"] :where(.stat){padding:18px 18px 18px 0!important;background:transparent!important;border:0!important;border-radius:0!important}
body[data-ossaim-design="editorial"] :where(.stat+.stat){padding-left:18px!important;border-left:1px solid var(--os-edge)!important}
body[data-ossaim-design="editorial"] :where(.stat b){font-size:28px!important;color:var(--os-gold)!important}
body[data-ossaim-design="editorial"] :where(.stat span){font-family:var(--os-sans)!important;font-size:11px!important;color:var(--os-muted)!important}
body[data-ossaim-design="editorial"] :where(.photo){border-radius:var(--os-r-md)!important;border:1px solid var(--os-edge)!important;box-shadow:none!important}
body[data-ossaim-design="editorial"] :where(.lang button.active){background:var(--os-gold)!important;color:var(--os-ink)!important}
body[data-ossaim-design="editorial"] :where(.timeline){border-left:1px solid var(--os-edge-gold)!important}
body[data-ossaim-design="editorial"] :where(.timeline article){border-bottom:1px solid var(--os-edge)!important;background:transparent!important;border-radius:0!important}
body[data-ossaim-design="editorial"] :where(.engine-title,.result-head h3,.out h4,.roadmap h3){font-family:var(--os-sans)!important}
body[data-ossaim-design="editorial"] :where(.roadmap){display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:0!important;border-top:1px solid var(--os-edge-gold)!important}
body[data-ossaim-design="editorial"] :where(.roadmap article){border:0!important;border-bottom:1px solid var(--os-edge)!important;border-radius:0!important;background:transparent!important;padding:20px!important;min-height:0!important}
body[data-ossaim-design="editorial"] :where(.roadmap article+article){border-left:1px solid var(--os-edge)!important}
body[data-ossaim-design="editorial"] :where(.foot,.footer,.footer-note){border-top:1px solid var(--os-edge)!important;color:var(--os-muted)!important;font-size:12px!important}
body[data-ossaim-design="editorial"] :where(code,.code){font-family:var(--os-mono)!important;color:var(--os-gold-soft)!important}
@media(max-width:800px){
 body[data-ossaim-design="editorial"] :where(.grid,.cards,.cards-grid,.works,.award-grid){grid-template-columns:1fr!important}
 body[data-ossaim-design="editorial"] :where(.grid>.card,.cards>.card,.cards-grid>.card,.works>*,.award-grid>*){padding:20px 0!important;border-left:0!important}
 body[data-ossaim-design="editorial"] :where(.metrics,.stats){grid-template-columns:1fr 1fr!important}
 body[data-ossaim-design="editorial"] :where(.roadmap){grid-template-columns:1fr 1fr!important}
}
@media(max-width:560px){
 body[data-ossaim-design="editorial"] :where(.wrap,.shell,.page){padding:24px 16px 54px!important}
 body[data-ossaim-design="editorial"] :where(.top,.head,.topin){align-items:flex-start;flex-direction:column}
 body[data-ossaim-design="editorial"] :where(.metrics,.stats,.roadmap){grid-template-columns:1fr!important}
 body[data-ossaim-design="editorial"] :where(.stat+.stat,.roadmap article+article){border-left:0!important;padding-left:0!important}
 body[data-ossaim-design="editorial"] :where(.hero h1,h1){font-size:clamp(42px,14vw,64px)!important}
}
@media(prefers-reduced-motion:reduce){body[data-ossaim-design="editorial"] *,body[data-ossaim-design="editorial"] *::before,body[data-ossaim-design="editorial"] *::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}
