/* Godbot editorial hierarchy. No copy, media assets or interaction changes. */
@layer shared-second-screen {
  body[data-project-top="godbot"] .ay-project-top :is(h1,h2,h3,h4,p,li,dt,dd,figcaption,a,button,span,label,select,pre){font-family:'Source Sans 3',sans-serif!important;letter-spacing:0!important}
  body[data-project-top="godbot"] .ay-project-top :is(p,li,dd,pre){font-size:16px!important;line-height:24px!important;font-weight:400!important}
  body[data-project-top="godbot"] .ay-project-top :is(h2,h3,h4){font-size:24px!important;line-height:28px!important;font-weight:400!important}
  body[data-project-top="godbot"] .ay-project-top :is(figcaption,figcaption p,figcaption span,dt,.seven-micro,.seven-section-label,.seven-number,.ay-project-lower__bar,.ay-project-lower__bar span,.ay-project-top__meta,.ay-project-top__meta span,.ay-project-top__concept-label,.ay-project-top__research-label,.ay-project-top__method-label,.ay-godbot-history-network__meta,.ay-godbot-history-network__source,.ay-godbot-history-network__selector-title,.ay-godbot-archive-reader__category,#most-entry>p){font-size:12px!important;line-height:16px!important;font-weight:400!important}
  body[data-project-top="godbot"] .ay-project-top :is(.ay-project-top__register h2,figcaption h3,.seven-entries li){font-size:16px!important;line-height:24px!important;font-weight:400!important}
  body[data-project-top="godbot"] .ay-project-top :is(a,.ay-godbot-history-network__node,.seven-entry-group-label){font-size:12px!important;line-height:16px!important}
  body[data-project-top="godbot"] .ay-project-top .seven-entry-group-label{font-size:12px!important;line-height:16px!important}
  body[data-project-top="godbot"] .ay-project-top .ay-project-top__descriptor{font-size:16px!important;line-height:24px!important}
}
html body[data-project-top="godbot"] .ay-project-top .ay-project-top__research .ay-project-top__registers p{max-width:62ch!important}
html body[data-project-top="godbot"] .ay-project-top .ay-project-top__register--method dl{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important}
html body[data-project-top="godbot"] .ay-project-top .ay-project-top__register--method dl>div{min-width:0!important;margin:0!important;padding:0!important}
html body[data-project-top="godbot"] .ay-project-top .ay-project-top__register--method dd{margin:8px 0 0!important;max-width:55ch!important}
html body[data-project-top="godbot"] .ay-project-top .ay-project-top__register h2{margin:0 0 16px!important}
html body[data-project-top="godbot"] .ay-project-top .ay-project-top__register p{margin:0 0 16px!important}
html body[data-project-top="godbot"] .ay-project-top .ay-project-top__register p:last-child{margin-bottom:0!important}
html body[data-project-top="godbot"] .ay-project-top .seven-copy h2{margin:0 0 16px!important}
html body[data-project-top="godbot"] .ay-project-top .seven-lead{max-width:55ch!important;margin:0 0 24px!important}
html body[data-project-top="godbot"] .ay-project-top .ay-godbot-history-network__layers dt{margin:16px 0 8px!important;padding:0!important}
html body[data-project-top="godbot"] .ay-project-top .ay-godbot-history-network__layers dd{margin:0 0 16px!important}
html body[data-project-top="godbot"] .ay-project-top figcaption{margin-top:8px!important;max-width:62ch}
html body[data-project-top="godbot"] .ay-project-top .ay-project-top__context-media figcaption>span{display:block;margin:0 0 4px}
html body[data-project-top="godbot"] .ay-project-top button.gb-image-expand{margin:4px auto 0 0!important;justify-self:start!important}
@media(max-width:600px){
html body[data-project-top="godbot"] .ay-project-top .ay-project-top__register--method dl{grid-template-columns:1fr!important;gap:24px!important}
html body[data-project-top="godbot"] .ay-project-top .ay-project-top__registers{gap:24px!important}
html body[data-project-top="godbot"] .ay-project-top .ay-project-top__register{padding-top:16px!important;padding-bottom:0!important}
}
/* The shared grid adapter rebuilds these fields after responsive changes. */
@layer shared-second-screen {
 body[data-project-top="godbot"] .ay-project-top .ay-project-top__method [data-text-grid-columns]{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important}
 body[data-project-top="godbot"] .ay-project-top .ay-project-top__research [data-text-grid-field] p{max-width:62ch!important;margin-bottom:16px!important}
 body[data-project-top="godbot"] .ay-project-top [data-text-grid-column] :is(h2,dt){margin-bottom:12px!important}
 body[data-project-top="godbot"] .ay-project-top [data-text-grid-column] p+p{margin-top:16px!important}
 @media(max-width:600px){body[data-project-top="godbot"] .ay-project-top .ay-project-top__method [data-text-grid-columns]{grid-template-columns:1fr!important}}
}

html body[data-project-top="godbot"] .ay-project-top #project-canon .ay-godbot-authorial-canon__sign{border:0!important;outline:0!important;box-shadow:none!important}
html body[data-project-top="godbot"] .ay-project-top .ay-godbot-authorial-canon__sign{border:0!important;outline:0!important;box-shadow:none!important}

/* Related sections share one desktop row; narrow layouts retain reading order. */
@media(min-width:1024px){
 html body[data-project-top="godbot"] .ay-project-top .gb-canon-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start;width:100%;grid-column:1/-1}
 html body[data-project-top="godbot"] .ay-project-top .gb-canon-pair>#project-canon{display:grid!important;grid-template-columns:minmax(0,1fr) 120px!important;gap:16px 24px!important;min-width:0!important}
 html body[data-project-top="godbot"] .ay-project-top .gb-canon-pair>#project-canon>.ay-project-lower__bar{grid-column:1/-1!important;grid-row:1!important;margin-bottom:8px!important}
 html body[data-project-top="godbot"] .ay-project-top .gb-canon-pair>#project-canon>.ay-godbot-authorial-canon__statements{grid-column:1!important;grid-row:2!important;min-width:0!important}
 html body[data-project-top="godbot"] .ay-project-top .gb-canon-pair>#project-canon>.ay-godbot-authorial-canon__law{grid-column:1!important;grid-row:3!important;min-width:0!important}
 html body[data-project-top="godbot"] .ay-project-top .gb-canon-pair>#project-canon>.ay-godbot-authorial-canon__sign{grid-column:2!important;grid-row:2/4!important;padding:0!important;margin:0!important;align-self:start}
 html body[data-project-top="godbot"] .ay-project-top .gb-canon-pair>#project-quantum{display:grid!important;grid-template-columns:1fr!important;gap:16px!important;min-width:0!important}
 html body[data-project-top="godbot"] .ay-project-top .gb-canon-pair>#project-quantum>*{grid-column:1!important;grid-row:auto!important;min-width:0!important;margin:0!important}
 html body[data-project-top="godbot"] .ay-project-top .gb-canon-pair>#project-quantum>.ay-project-lower__bar{margin-bottom:8px!important}
 html body[data-project-top="godbot"] .ay-project-top .gb-canon-pair>#project-quantum>p{max-width:62ch!important}
 html body[data-project-top="godbot"] .ay-project-top .gb-canon-pair>#project-quantum>figure img{height:180px!important;max-height:180px!important;object-position:left top!important}
}

/* The Godbot mark belongs to the opening, not the canon summary. */
@layer shared-second-screen{
html body[data-project-top="godbot"] .ay-approved-hero--godbot{position:relative!important}
html body[data-project-top="godbot"] .ay-approved-hero--godbot>.gb-opening-logo{position:absolute!important;top:0!important;left:32px!important;right:auto!important;width:96px!important;height:auto!important;margin:0!important;padding:0!important;z-index:1}
html body[data-project-top="godbot"] .ay-approved-hero--godbot>.gb-opening-logo img{width:96px!important;height:96px!important;min-height:0!important;max-height:96px!important;object-fit:contain!important}
@media(max-width:800px){
html body[data-project-top="godbot"] .ay-approved-hero--godbot>.gb-opening-logo{top:-56px!important;left:auto!important;right:20px!important;width:48px!important}
html body[data-project-top="godbot"] .ay-approved-hero--godbot>.gb-opening-logo img{width:48px!important;height:48px!important;max-height:48px!important}
}
}
html body[data-project-top="godbot"] .ay-project-top .gb-canon-pair>#project-canon:not(:has(.ay-godbot-authorial-canon__sign)){grid-template-columns:1fr!important}
html body[data-project-top="godbot"] .ay-project-top #project-canon :is(.ay-godbot-authorial-canon__statements,.ay-godbot-authorial-canon__law){border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:0!important}

html body[data-project-top="godbot"] .ay-project-top .gb-canon-pair>#project-canon>.gb-canon-time-artifact{grid-column:1/-1!important;grid-row:4!important;margin:0!important;padding:0!important;align-self:start!important}
html body[data-project-top="godbot"] .ay-project-top #project-canon .gb-canon-time-artifact img{width:auto!important;max-width:100%!important;height:180px!important;max-height:180px!important;object-fit:contain!important;object-position:left top!important}
/* Desktop: each of the two sections has prose left and its artifact right. */
@media(min-width:1024px){
 html body[data-project-top="godbot"] .ay-project-top .gb-canon-pair>#project-canon:not(:has(.ay-godbot-authorial-canon__sign)),html body[data-project-top="godbot"] .ay-project-top .gb-canon-pair>#project-quantum{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;column-gap:24px!important;align-content:start!important}
 html body[data-project-top="godbot"] .ay-project-top .gb-canon-pair>#project-canon>.ay-project-lower__bar,html body[data-project-top="godbot"] .ay-project-top .gb-canon-pair>#project-quantum>.ay-project-lower__bar{grid-column:1/-1!important;grid-row:1!important}
 html body[data-project-top="godbot"] .ay-project-top .gb-canon-pair>#project-canon>.ay-godbot-authorial-canon__statements{grid-column:1!important;grid-row:2!important}
 html body[data-project-top="godbot"] .ay-project-top .gb-canon-pair>#project-canon>.ay-godbot-authorial-canon__law{grid-column:1!important;grid-row:3!important}
 html body[data-project-top="godbot"] .ay-project-top .gb-canon-pair>#project-canon>.gb-canon-time-artifact{grid-column:2!important;grid-row:2/4!important}
 html body[data-project-top="godbot"] .ay-project-top .gb-canon-pair>#project-quantum>p{grid-column:1!important;grid-row:2!important}
 html body[data-project-top="godbot"] .ay-project-top .gb-canon-pair>#project-quantum>figure{grid-column:2!important;grid-row:2!important}
 html body[data-project-top="godbot"] .ay-project-top .gb-canon-pair :is(#project-canon,#project-quantum)>figure{min-width:0!important;align-self:start!important}
 html body[data-project-top="godbot"] .ay-project-top .gb-canon-pair :is(#project-canon,#project-quantum)>figure img{width:100%!important;height:180px!important;max-height:180px!important;object-fit:contain!important;object-position:left top!important}
}
