/* Lightweight brochure surfaces for remaining views. Screen only: worksheet,
   game iframe, performance bands, and printed guide content keep their own styles. */
@layer brochure-preview {
@media screen {
html[data-platform-design="gold"] body :is(.learning-shell.learning-shell,.groups-page.groups-page,.practice-page.practice-page,.student-area.student-area,.teacher-guide.teacher-guide,.resource-bank.resource-bank,.maker.maker,.arena.arena,.live-board.live-board,.break-centre.break-centre,.break-scoreboard-page.break-scoreboard-page,.pdf-work-page.pdf-work-page) {
  --brochure-ink:#f2faff;--brochure-muted:#c3d9f5;
  background:radial-gradient(ellipse at 90% 0,#0b4ca2 0,transparent 48%),linear-gradient(145deg,#031943,#06132e) !important;
  color:var(--brochure-ink) !important;
  min-height:100dvh;box-sizing:border-box;
}
html[data-platform-design="gold"] body :is(.learning-shell.learning-shell,.groups-page.groups-page,.practice-page.practice-page,.student-area.student-area,.teacher-guide.teacher-guide,.resource-bank.resource-bank,.maker.maker,.arena.arena,.live-board.live-board,.break-centre.break-centre,.break-scoreboard-page.break-scoreboard-page) :where(h1,h2,h3,h4,p,b,strong,small,label,summary,span,li,td,th,[data-light-text]) {
  color:var(--brochure-ink) !important;text-shadow:none !important;
}
html[data-platform-design="gold"] body :is(.learning-shell.learning-shell,.groups-page.groups-page,.practice-page.practice-page,.student-area.student-area,.teacher-guide.teacher-guide,.resource-bank.resource-bank,.maker.maker,.arena.arena,.live-board.live-board,.break-centre.break-centre,.break-scoreboard-page.break-scoreboard-page) :where(small) {
  color:var(--brochure-muted) !important;
}
html[data-platform-design="gold"] body :is(.learning-shell.learning-shell,.groups-page.groups-page,.practice-page.practice-page,.student-area.student-area,.teacher-guide.teacher-guide,.resource-bank.resource-bank,.maker.maker,.arena.arena,.live-board.live-board,.break-centre.break-centre,.break-scoreboard-page.break-scoreboard-page) :where(button,a:not(.bank-brand):not(.guide-brand)) {
  background:linear-gradient(150deg,#1471c9,#083b85) !important;color:#f5fbff !important;
  border:1px solid #55dfff !important;border-radius:12px !important;
  box-shadow:inset 0 1px 0 #8eeaff45,0 4px 0 #021630,0 8px 16px #010d2528 !important;
  text-decoration:none !important;text-shadow:none !important;
}
html[data-platform-design="gold"] body :is(.learning-shell.learning-shell,.groups-page.groups-page,.practice-page.practice-page,.student-area.student-area,.teacher-guide.teacher-guide,.resource-bank.resource-bank,.maker.maker,.arena.arena,.live-board.live-board,.break-centre.break-centre,.break-scoreboard-page.break-scoreboard-page) :where(button,a) :where(*) {
  color:inherit !important;
}
html[data-platform-design="gold"] body :is(.learning-shell.learning-shell,.groups-page.groups-page,.practice-page.practice-page,.student-area.student-area,.teacher-guide.teacher-guide,.resource-bank.resource-bank,.maker.maker,.arena.arena,.live-board.live-board,.break-centre.break-centre,.break-scoreboard-page.break-scoreboard-page) :where(button,a,input,select,textarea,summary):focus-visible {
  outline:3px solid #ffd052 !important;outline-offset:3px !important;
}
html[data-platform-design="gold"] body :is(.learning-shell.learning-shell,.groups-page.groups-page,.practice-page.practice-page,.student-area.student-area,.teacher-guide.teacher-guide,.resource-bank.resource-bank,.maker.maker,.arena.arena,.live-board.live-board,.break-centre.break-centre,.break-scoreboard-page.break-scoreboard-page) :where(button:disabled) {
  opacity:.65 !important;box-shadow:none !important;cursor:default !important;
}
html[data-platform-design="gold"] body :is(.learning-shell.learning-shell,.groups-page.groups-page,.practice-page.practice-page,.student-area.student-area,.teacher-guide.teacher-guide,.resource-bank.resource-bank,.maker.maker,.arena.arena) :where(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=color]),select,textarea,option) {
  background:#f3faff !important;color:#092750 !important;border-color:#63d9ff !important;caret-color:#092750 !important;
}
html[data-platform-design="gold"] body :is(.learning-shell.learning-shell,.groups-page.groups-page,.practice-page.practice-page,.student-area.student-area,.teacher-guide.teacher-guide,.resource-bank.resource-bank,.maker.maker,.arena.arena) :where(input,textarea)::placeholder {
  color:#456180 !important;opacity:1;
}
html[data-platform-design="gold"] body :is(.learning-shell.learning-shell,.groups-page.groups-page,.practice-page.practice-page,.student-area.student-area,.teacher-guide.teacher-guide,.resource-bank.resource-bank,.maker.maker,.arena.arena) :where(input[type=checkbox],input[type=radio]) {
  accent-color:#ffd052 !important;
}
html[data-platform-design="gold"] body :is(.learning-shell.learning-shell .learning-header,.groups-page.groups-page>header,.student-area.student-area>header,.teacher-guide.teacher-guide .guide-topbar,.resource-bank.resource-bank .bank-top,.maker.maker>header,.arena.arena>header,.break-centre.break-centre>header) {
  background:linear-gradient(115deg,#05295f,#0b4ca2 70%,#086993) !important;
  color:#f5fbff !important;border:1px solid #36dfff77 !important;border-bottom:3px solid #ffd052 !important;
  box-shadow:0 10px 24px #010e2b55 !important;
}
html[data-platform-design="gold"] body :is(.learning-shell.learning-shell .learning-title,.student-area.student-area .student-welcome,.teacher-guide.teacher-guide .guide-hero,.resource-bank.resource-bank .bank-hero) {
  background:radial-gradient(ellipse at 12% 0,#1185c6aa,transparent 55%),linear-gradient(125deg,#07316b,#0b4ca2) !important;
  border:1px solid #31dfff !important;border-inline-start:5px solid #12dfff !important;border-top:3px solid #ffd052 !important;
  border-radius:22px !important;padding:clamp(18px,3vw,32px) !important;box-shadow:0 12px 24px #010b2555 !important;
}
html[data-platform-design="gold"] body :is(.learning-shell.learning-shell .learning-content,.student-area.student-area .student-content,.resource-bank.resource-bank .bank-library-switch,.resource-bank.resource-bank .bank-filters,.teacher-guide.teacher-guide .guide-filters,.teacher-guide.teacher-guide .guide-layout) {
  background:transparent !important;
}
html[data-platform-design="gold"] body :is(.learning-shell.learning-shell .module-grid>article,.learning-shell.learning-shell .no-modules,.learning-shell.learning-shell .active-folder-head,.learning-shell.learning-shell .module-toolbar,.groups-page.groups-page .groups-controls,.groups-page.groups-page .group-create,.groups-page.groups-page .group-esis,.groups-page.groups-page .groups-management,.groups-page.groups-page .groups-grid>article,.groups-page.groups-page .distribution-preview>article,.practice-page.practice-page .practice-panel,.practice-page.practice-page .practice-files>article,.student-area.student-area .student-modules>article,.student-area.student-area .student-messages,.student-area.student-area .student-tasks-panel,.student-area.student-area .student-break-games,.student-area.student-area .student-break-grid>article,.teacher-guide.teacher-guide .guide-sidebar,.teacher-guide.teacher-guide .guide-lesson,.teacher-guide.teacher-guide .guide-quickstart,.teacher-guide.teacher-guide .guide-no-results,.resource-bank.resource-bank .bank-card,.resource-bank.resource-bank .bank-parent-tip,.resource-bank.resource-bank .bank-empty,.maker.maker .review,.maker.maker .published,.maker.maker .paste-method,.maker.maker .file-method,.arena.arena .tile,.arena.arena .play,.break-centre.break-centre .break-grid>article,.break-scoreboard-page.break-scoreboard-page li) {
  background:linear-gradient(145deg,#0a3c83,#062552) !important;
  border:1px solid #30c9f599 !important;border-top:3px solid #15dfff !important;
  box-shadow:inset 0 1px 0 #7ce7ff22,0 9px 20px #010c263d !important;
  color:#f2faff !important;border-radius:18px !important;
}
html[data-platform-design="gold"] body :is(.learning-shell.learning-shell .module-grid>article:nth-child(even),.groups-page.groups-page .groups-grid>article:nth-child(even),.resource-bank.resource-bank .bank-card:nth-child(even),.break-centre.break-centre .break-grid>article:nth-child(even)) {
  border-top-color:#ffd052 !important;
}
html[data-platform-design="gold"] body :is(.learning-shell.learning-shell .module-top>span,.student-area.student-area .lesson-icon,.student-area.student-area .student-avatar>span,.teacher-guide.teacher-guide .guide-topic-icon,.teacher-guide.teacher-guide .guide-hero-art>span,.resource-bank.resource-bank .bank-file-icon,.resource-bank.resource-bank .bank-subjects button>span,.resource-bank.resource-bank .bank-hero-art,.break-centre.break-centre .break-icon) {
  background:linear-gradient(150deg,#126dc2,#062958) !important;color:#42e6ff !important;
  border:1px solid #43dfff !important;box-shadow:0 5px 15px #010d2555 !important;border-radius:16px !important;
}
html[data-platform-design="gold"] body :is(.learning-shell.learning-shell .learning-create-actions>button:first-child,.groups-page.groups-page .group-create>button,.student-area.student-area .student-challenge-link,.student-area.student-area .start-work,.student-area.student-area .submit-work,.teacher-guide.teacher-guide .guide-lesson>footer>a,.resource-bank.resource-bank .bank-primary,.maker.maker .publish,.arena.arena .finish,.break-scoreboard-page.break-scoreboard-page li:first-child) {
  background:linear-gradient(145deg,#fff0a3,#ffd052 55%,#e9a82b) !important;color:#122b52 !important;
  border-color:#ffeb93 !important;box-shadow:inset 0 1px 0 #fff6cc,0 4px 0 #9f6b17,0 9px 18px #020b2544 !important;
}
html[data-platform-design="gold"] body :is(.learning-shell.learning-shell,.groups-page.groups-page,.practice-page.practice-page,.student-area.student-area,.teacher-guide.teacher-guide,.resource-bank.resource-bank,.maker.maker,.arena.arena) :where(button.active,button[aria-pressed=true],button[aria-current=page],button.chosen) {
  background:linear-gradient(145deg,#12dfff,#59eaff) !important;color:#05234c !important;border-color:#b1f6ff !important;
}
html[data-platform-design="gold"] body :is(.teacher-guide.teacher-guide .guide-demo-cards>div,.teacher-guide.teacher-guide .guide-tip,.teacher-guide.teacher-guide .guide-step-number,.teacher-guide.teacher-guide .guide-hero-pills>span,.resource-bank.resource-bank .bank-tags>span,.resource-bank.resource-bank .bank-hero>div>div>span,.resource-bank.resource-bank .bank-owned,.student-area.student-area .subject-total,.student-area.student-area .student-note,.learning-shell.learning-shell .learning-note,.groups-page.groups-page .groups-note,.groups-page.groups-page .regroup-choice,.maker.maker .note,.arena.arena .note) {
  background:#08366b !important;color:#dcf9ff !important;border-color:#3ccfee !important;
}
html[data-platform-design="gold"] body :is(.learning-shell.learning-shell .learning-modal>section,.learning-shell.learning-shell .learning-modal>section>header,.resource-bank.resource-bank .bank-dialog,.resource-bank.resource-bank .bank-dialog>header) {
  background:#062552 !important;color:#f2faff !important;border-color:#35dfff !important;
}
html[data-platform-design="gold"] body :is(.learning-shell.learning-shell .delete-module,.resource-bank.resource-bank .bank-delete,.maker.maker .trash) {
  background:#4b1b3d !important;color:#ffdde6 !important;border-color:#ff94ae !important;
}
html[data-platform-design="gold"] body :is(.learning-shell.learning-shell .module-top .live,.arena.arena .done) {
  background:#064737 !important;color:#bdffe4 !important;
}
html[data-platform-design="gold"] body :is(.learning-shell.learning-shell .module-top .draft,.maker.maker .answer-reminder) {
  background:#614019 !important;color:#fff0b0 !important;
}
html[data-platform-design="gold"] body :is(.arena.arena .play>article,.practice-page.practice-page .practice-question) {
  background:#f3faff !important;color:#092750 !important;border-color:#60cbea !important;
}
html[data-platform-design="gold"] body :is(.arena.arena .play>article,.practice-page.practice-page .practice-question) :where(h2,h3,p,label,span,b,strong,button) {
  color:#092750 !important;
}
html[data-platform-design="gold"] body .arena.arena .play article button {
  background:#e5f3ff !important;color:#092750 !important;box-shadow:none !important;
}
html[data-platform-design="gold"] body .arena.arena .play article button.chosen {
  background:#bcefff !important;border-color:#0875a2 !important;
}
html[data-platform-design="gold"] body .break-scoreboard-page.break-scoreboard-page li:first-child :where(*) {
  color:#122b52 !important;
}
html[data-platform-design="gold"] body .student-area.student-area :is(.student-welcome,.student-modules>article,.student-messages) :is(h1,h2,h3,p,strong,small) {
  color:#f2faff !important;text-shadow:none !important;
}
html[data-platform-design="gold"] body :is(.resource-bank.resource-bank .bank-top nav a,.teacher-guide.teacher-guide .guide-topbar>div>a) {
  padding:8px 12px !important;display:inline-flex !important;align-items:center !important;
}
html[data-platform-design="gold"] body .break-player.break-player>button {
  background:#062552 !important;color:#e9faff !important;border:1px solid #36dfff !important;
}
html[data-platform-design="gold"] body .pdf-work-page.pdf-work-page>header {
  background:linear-gradient(120deg,#062552,#0b4ca2) !important;color:#f2faff !important;border-bottom:3px solid #ffd052 !important;
}
html[data-platform-design="gold"] body .pdf-work-page.pdf-work-page>header :where(h1,a) {
  color:#f2faff !important;
}
html[data-platform-design="gold"] body .pdf-work-page.pdf-work-page>p {
  color:#dbf6ff !important;
}
html[data-platform-design="gold"] body :is(.teacher-guide.teacher-guide .guide-question,.teacher-guide.teacher-guide .guide-demo-table,.teacher-guide.teacher-guide .guide-demo-files>div,.teacher-guide.teacher-guide .guide-demo-groups>div,.teacher-guide.teacher-guide .guide-demo-form,.student-area.student-area .student-empty,.student-area.student-area .result-card,.student-area.student-area .subject-switcher,.student-area.student-area .subject-switcher button b,.learning-shell.learning-shell .learning-empty,.learning-shell.learning-shell .learning-modal>form,.learning-shell.learning-shell .results-modal>section,.learning-shell.learning-shell .share-classes label,.learning-shell.learning-shell .learning-create-actions label) {
  background:#08366b !important;color:#f2faff !important;border-color:#35cfff !important;
}
html[data-platform-design="gold"] body :is(.teacher-guide.teacher-guide .guide-brand,.resource-bank.resource-bank .bank-brand) {
  color:#f2faff !important;
}
html[data-platform-design="gold"] body .teacher-guide.teacher-guide :is(.guide-window,.guide-window-top,.guide-window-body,.guide-question>div>span,.guide-demo-table-head,.guide-demo-controls>span,.guide-quickstart>button>span) {
  background:#08366b !important;color:#f2faff !important;border-color:#39c9ec !important;
}
html[data-platform-design="gold"] body .teacher-guide.teacher-guide :is(.guide-demo-correct,.guide-demo-green) {
  background:#064737 !important;color:#bdffe4 !important;
}
html[data-platform-design="gold"] body .teacher-guide.teacher-guide .guide-demo-amber {
  background:#614019 !important;color:#fff0b0 !important;
}
html[data-platform-design="gold"] body .teacher-guide.teacher-guide :is(.guide-demo-grey,.guide-demo-selected,.guide-demo-form>i) {
  background:#154474 !important;color:#d9edff !important;
}
html[data-platform-design="gold"] body .student-area.student-area .worksheet>article {
  background:#f3faff !important;color:#092750 !important;
}
html[data-platform-design="gold"] body .student-area.student-area .worksheet>article :where(h1,h2,h3,p,strong,small,span,label,b) {
  color:#092750 !important;
}
html[data-platform-design="gold"] body .portal.role-admin :is(.admin-records-panel,.teacher-accounts-panel,.permissions-panel,.admin-teacher-directory,.admin-create-teacher,.admin-menu,.summary-grid>article) {
  background:linear-gradient(145deg,#0a3c83,#062552) !important;border-color:#35cfff !important;color:#f2faff !important;
}
html[data-platform-design="gold"] body .portal.role-admin :is(.admin-records-panel,.teacher-accounts-panel,.permissions-panel,.admin-teacher-directory,.admin-create-teacher,.admin-menu,.summary-grid>article) :where(h2,h3,p,label,small,b,strong,span,td,th) {
  color:#f2faff !important;
}
html[data-platform-design="gold"] body .portal.role-admin :is(.admin-records-panel,.teacher-accounts-panel,.permissions-panel,.admin-teacher-directory,.admin-create-teacher) :where(input,select,textarea,option) {
  background:#f3faff !important;color:#092750 !important;
}
}
}

/* Compact library cards retain every field and action. */
@layer brochure-preview {
html[data-platform-design="gold"] body .resource-bank.resource-bank .bank-grid {grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:12px !important;align-items:stretch !important;}
html[data-platform-design="gold"] body .resource-bank.resource-bank .bank-card {padding:12px !important;border-radius:12px !important;}
html[data-platform-design="gold"] body .resource-bank.resource-bank .bank-card-top {margin-bottom:8px !important;}
html[data-platform-design="gold"] body .resource-bank.resource-bank .bank-file-icon {width:30px !important;height:30px !important;border-radius:8px !important;}
html[data-platform-design="gold"] body .resource-bank.resource-bank .bank-file-icon svg {width:18px !important;height:18px !important;}
html[data-platform-design="gold"] body .resource-bank.resource-bank .bank-tags {margin-bottom:6px !important;gap:4px !important;}
html[data-platform-design="gold"] body .resource-bank.resource-bank .bank-card h3 {font-size:18px !important;line-height:1.5 !important;margin-bottom:5px !important;}
html[data-platform-design="gold"] body .resource-bank.resource-bank .bank-card>p {font-size:13px !important;line-height:1.65 !important;margin-bottom:10px !important;}
html[data-platform-design="gold"] body .resource-bank.resource-bank .bank-card footer {padding-top:8px !important;}
html[data-platform-design="gold"] body .resource-bank.resource-bank .bank-card footer>div {gap:5px !important;}
html[data-platform-design="gold"] body .resource-bank.resource-bank .bank-card footer>div+div {margin-top:6px !important;}
html[data-platform-design="gold"] body .resource-bank.resource-bank .bank-card footer :is(a,button) {font-size:13px !important;padding:7px 8px !important;border-radius:8px !important;}
@media(max-width:1100px) {
html[data-platform-design="gold"] body .resource-bank.resource-bank .bank-grid {grid-template-columns:repeat(3,minmax(0,1fr)) !important;}
}
@media(max-width:850px) {
html[data-platform-design="gold"] body .resource-bank.resource-bank .bank-grid {grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@media(max-width:600px) {
html[data-platform-design="gold"] body .resource-bank.resource-bank .bank-grid {grid-template-columns:minmax(0,1fr) !important;}
}
}

@layer brochure-preview {
html[data-platform-design="gold"] body .resource-bank.resource-bank .bank-card-top>div>span {background:#052657 !important;color:#c9f7ff !important;border:1px solid #248cad !important;}
html[data-platform-design="gold"] body .resource-bank.resource-bank .bank-owned {background:#064530 !important;color:#80ffb7 !important;}
}

@layer brochure-preview {
html[data-platform-design="gold"] body .resource-bank.resource-bank .bank-grid {grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:10px !important;}
html[data-platform-design="gold"] body .resource-bank.resource-bank .bank-card {padding:10px !important;}
html[data-platform-design="gold"] body .resource-bank.resource-bank .bank-card h3 {font-size:16px !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;min-width:0 !important;}
html[data-platform-design="gold"] body .resource-bank.resource-bank .bank-card-top {margin-bottom:5px !important;}
html[data-platform-design="gold"] body .resource-bank.resource-bank .bank-tags {margin-bottom:4px !important;}
html[data-platform-design="gold"] body .resource-bank.resource-bank .bank-tags>span {padding:2px 5px !important;}
html[data-platform-design="gold"] body .resource-bank.resource-bank .bank-card>p {font-size:12px !important;line-height:1.5 !important;margin-bottom:8px !important;}
html[data-platform-design="gold"] body .resource-bank.resource-bank .bank-card footer :is(a,button) {font-size:12px !important;padding:6px !important;gap:4px !important;}
@media(max-width:1150px) {
html[data-platform-design="gold"] body .resource-bank.resource-bank .bank-grid {grid-template-columns:repeat(4,minmax(0,1fr)) !important;}
}
@media(max-width:950px) {
html[data-platform-design="gold"] body .resource-bank.resource-bank .bank-grid {grid-template-columns:repeat(3,minmax(0,1fr)) !important;}
}
@media(max-width:750px) {
html[data-platform-design="gold"] body .resource-bank.resource-bank .bank-grid {grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@media(max-width:540px) {
html[data-platform-design="gold"] body .resource-bank.resource-bank .bank-grid {grid-template-columns:minmax(0,1fr) !important;}
}
}
