.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
main { min-height: 60vh; outline: none; }
.loading { padding: 4rem 0; color: var(--muted); }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: var(--quick-exit-height, 3.5rem); z-index: 100; }
.header-row { display: flex; align-items: center; gap: 1rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand img { width: 56px; height: 56px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-weight: 800; font-size: 1.05rem; }
.brand-text span { font-size: .8rem; color: var(--muted); }
.nav { display: flex; align-items: center; gap: .25rem; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--navy); font-weight: 600; font-size: .93rem; padding: .55rem .7rem; border-radius: var(--r-sm); }
.nav a:hover { background: var(--mist); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--yellow); border-radius: 0; }
.nav .btn { margin-left: .35rem; }
.nav .who { font-size: .85rem; color: var(--muted); padding: 0 .4rem; }
.menu-btn { display: none; border: 1px solid var(--line); background: #fff; border-radius: var(--r-sm); padding: .55rem .9rem; font-weight: 700; min-height: 44px; cursor: pointer; }
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: .5rem 1.25rem 1rem; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: .8rem .5rem; }
  .nav .btn { margin: .4rem 0 0; justify-content: center; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--yellow); }
  .brand-text span { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 44px; padding: .65rem 1.2rem; border-radius: 999px; border: 2px solid var(--navy); background: var(--navy); color: #fff; font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer; line-height: 1.2; text-align: center; transition: background .15s, color .15s, transform .1s; }
.btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn.yellow { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.btn.yellow:hover { background: #f6cb45; border-color: #f6cb45; color: var(--navy); }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: var(--mist); color: var(--navy); }
.btn.ghost-light { background: transparent; color: #fff; border-color: #fff; }
.btn.ghost-light:hover { background: rgba(255,255,255,.12); }
.btn.small { min-height: 36px; padding: .4rem .85rem; font-size: .85rem; }
.btn.danger { background: #fff; color: var(--bad); border-color: var(--bad); }
.btn.danger:hover { background: #fdecea; color: var(--bad); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 1.25rem; }

/* Emphasis per brand: yellow text only on navy; yellow box behind navy text on light */
.hl { background: var(--yellow); color: var(--navy); padding: 0 .2em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.on-navy .em { color: var(--yellow); }
.on-navy a:not(.btn) { color: #fff; }
.on-navy a:not(.btn):hover { color: var(--yellow); }
.eyebrow { display: block; color: var(--blue); font-weight: 700; font-size: .95rem; margin-bottom: .6rem; }
.on-navy .eyebrow { color: var(--sky); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.on-navy .lead { color: #dfe6f5; }
.muted { color: var(--muted); }
.small { font-size: .87rem; }

/* Hero */
.hero { background: var(--navy) url("./assets/pattern-navy.png") repeat; background-size: 240px; color: #fff; padding: clamp(3rem, 7vw, 5.5rem) 0; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero h1 { color: #fff; }
.hero p.lead { color: #e3e9f6; }
.hero .btn-row { margin-top: 2rem; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* Visual universe mosaic */
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mosaic > * { aspect-ratio: 1; border-radius: var(--r); overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.tile { display: flex; align-items: center; justify-content: center; }
.tile svg { width: 46%; height: 46%; }
.tile.navy { background: var(--blue); } .tile.yellow { background: var(--yellow); } .tile.sky { background: var(--sky); }
.tile.green { background: var(--green); } .tile.purple { background: var(--purple); } .tile.orange { background: var(--orange); }
.tile.forest { background: var(--forest); } .tile.lilac { background: var(--lilac); }
.tile.pattern { background: var(--yellow) url("./assets/pattern-yellow.png"); background-size: 160px; }
.icon-tile { width: 52px; height: 52px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.icon-tile svg { width: 26px; height: 26px; }

/* Sections */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section.mist { background: var(--mist) url("./assets/pattern-mist.png"); background-size: 240px; }
.section.navy { background: var(--navy) url("./assets/pattern-navy.png"); background-size: 240px; color: #fff; }
.section.navy h2, .section.navy h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 2.25rem; }
.page-head { background: var(--mist) url("./assets/pattern-mist.png"); background-size: 240px; padding: clamp(2.25rem, 5vw, 3.5rem) 0; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.8rem); }
.page-head .lead { margin-bottom: 0; }

.grid { display: grid; gap: 1.25rem; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid.three, .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; box-shadow: var(--shadow); min-width: 0; }
.card > :last-child { margin-bottom: 0; }
.card.flat { box-shadow: none; }
.card.tint { background: var(--mist); box-shadow: none; }
.card h3 { margin-bottom: .4rem; }
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature h3 { margin-bottom: .25rem; }
.feature p { margin: 0; color: var(--muted); }

/* Stage pathway */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: s; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 1.1rem; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem; }
.step-n { width: 64px; height: 64px; border-radius: 14px; background: var(--navy); color: var(--yellow); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.6rem; }
.step h3 { margin-bottom: .2rem; }
.step .who { font-size: .85rem; color: var(--blue); font-weight: 700; margin-bottom: .35rem; }
.step p { margin: 0; color: var(--muted); }

/* Tracker */
.tracker { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.tracker li { margin: 0; }
.tracker a, .tracker span.t { display: block; overflow-wrap: anywhere; hyphens: auto; text-decoration: none; padding: .6rem .5rem; border-radius: 10px; font-size: .74rem; font-weight: 700; line-height: 1.25; color: var(--navy); background: #e8ecf4; min-height: 64px; height: 100%; }
.tracker .num { display: block; font-size: 1.05rem; font-weight: 900; }
.tracker .complete a, .tracker .complete span.t { background: var(--forest); color: #fff; }
.tracker .open a, .tracker .returned a { background: var(--yellow); color: var(--navy); }
.tracker .submitted a { background: var(--sky); color: var(--navy); }
.tracker .locked span.t { color: #66718c; }
@media (max-width: 900px) { .tracker { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .18rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 700; background: #e8ecf4; color: var(--navy); white-space: nowrap; }
.badge.complete { background: #dcefe3; color: var(--forest); }
.badge.open { background: #fdf1cc; color: #5c4300; }
.badge.returned { background: #fde4dc; color: #8b2e12; }
.badge.submitted { background: #d9f0fb; color: #0b4f6c; }
.badge.locked { background: #eef0f4; color: #5b6580; }

/* Portal layout */
.portal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 2rem; padding: 2rem 0 4rem; align-items: start; }
.side { position: sticky; top: calc(var(--quick-exit-height, 3.5rem) + 92px); max-height: calc(100vh - var(--quick-exit-height, 3.5rem) - 110px); overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: .75rem; }
.side h2 { font-size: .8rem; color: var(--muted); font-weight: 700; margin: .75rem .6rem .35rem; }
.side a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .5rem .6rem; border-radius: var(--r-sm); text-decoration: none; color: var(--navy); font-size: .9rem; font-weight: 600; }
.side a:hover { background: var(--mist); }
.side a[aria-current="page"] { background: var(--navy); color: #fff; }
.side a .dot { width: 9px; height: 9px; border-radius: 50%; background: #c9d0de; flex: 0 0 auto; }
.side a .dot.complete { background: var(--forest); } .side a .dot.open, .side a .dot.returned { background: var(--yellow); } .side a .dot.submitted { background: var(--sky); }
.side a.locked { color: #7a849c; }
.content > h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
.content > .card + .card, .content > .card + section, .content section + section { margin-top: 1.25rem; }
.side > summary { display: none; }
@media (max-width: 960px) { .portal { grid-template-columns: minmax(0, 1fr); gap: 1rem; padding-top: 1.25rem; } .side { position: static; max-height: none; padding: 0; } .side > summary { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: .75rem 1rem; } .side > summary::after { content: "Show"; font-size: .85rem; color: var(--blue); } .side[open] > summary::after { content: "Hide"; } .side > nav { padding: 0 .75rem .75rem; } .side { margin: 0; } }

/* Notices */
.notice { border-radius: var(--r-sm); padding: 1rem 1.15rem; border-left: 5px solid var(--sky); background: #eaf6fc; margin-bottom: 1.25rem; }
.notice > :last-child { margin-bottom: 0; }
.notice.warn { border-color: var(--yellow); background: #fdf6df; }
.notice.bad { border-color: var(--bad); background: #fdecea; }
.notice.ok { border-color: var(--forest); background: #e5f3ea; }
.notice strong { display: block; margin-bottom: .2rem; }

/* Forms */
form { margin: 0; }
.field { margin-bottom: 1.1rem; }
.field label, .label { display: block; font-weight: 700; margin-bottom: .35rem; font-size: .95rem; }
.hint { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; margin-top: .15rem; }
input:not([type]), input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="date"], input[type="number"], input[type="search"], select, textarea {
  width: 100%; min-height: 46px; padding: .65rem .8rem; border: 1.5px solid #b9c2d6; border-radius: var(--r-sm); background: #fff; font-size: 1rem; }
textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: var(--sky); outline: 3px solid rgba(44,168,224,.28); outline-offset: 0; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--bad); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.row3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .row2, .row3 { grid-template-columns: 1fr; gap: 0; } }
.check { display: flex; gap: .7rem; align-items: flex-start; padding: .55rem 0; cursor: pointer; font-weight: 400; }
.check input { width: 22px; height: 22px; margin-top: .1rem; flex: 0 0 auto; accent-color: var(--navy); }
.check.boxed { border: 1px solid var(--line); border-radius: var(--r-sm); padding: .8rem .9rem; margin-bottom: .6rem; background: #fff; }
fieldset { border: 0; padding: 0; margin: 0 0 1.25rem; min-width: 0; }
legend { font-weight: 800; font-size: 1.1rem; margin-bottom: .6rem; padding: 0; }
.form-error { color: var(--bad); font-weight: 600; margin: .75rem 0 0; }
.savebar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.savebar .status { color: var(--muted); font-size: .88rem; }
.readonly-note { font-size: .9rem; color: var(--muted); }
.answer { white-space: pre-wrap; background: var(--mist); border-radius: var(--r-sm); padding: .75rem .9rem; margin: .25rem 0 1rem; }

/* Tables */
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.table-wrap table { min-width: 560px; }
th, td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .92rem; }
th { font-weight: 700; background: var(--mist); color: var(--navy); }
tr:last-child td { border-bottom: 0; }
td input, td select { min-height: 40px; padding: .45rem .55rem; font-size: .92rem; }
.rating-table td:first-child { font-weight: 600; }
.rating-table select { min-width: 160px; }

/* Video */
.video-list { display: grid; gap: 1rem; }
.video { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1rem; }
.video .frame { position: relative; aspect-ratio: 16 / 9; background: var(--navy) url("./assets/pattern-navy.png"); background-size: 160px; border-radius: 10px; overflow: hidden; }
.video .frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .frame button { position: absolute; inset: 0; width: 100%; border: 0; background: transparent; color: #fff; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; font-weight: 700; }
.video .frame button .play { width: 64px; height: 64px; border-radius: 50%; background: var(--yellow); display: flex; align-items: center; justify-content: center; }
.video h3 { font-size: 1.05rem; }
.video .meta { font-size: .85rem; color: var(--muted); margin-bottom: .5rem; }
@media (max-width: 760px) { .video { grid-template-columns: 1fr; } }
.section-label { font-weight: 800; margin: 1.75rem 0 .75rem; font-size: 1.15rem; }

/* Progress */
.meter { height: 10px; border-radius: 999px; background: #e3e8f1; overflow: hidden; }
.meter > span { display: block; height: 100%; background: var(--forest); border-radius: inherit; }
.kpi { font-size: 2rem; font-weight: 900; line-height: 1; }
.kpi-label { font-size: .85rem; color: var(--muted); margin-top: .35rem; }

/* Quiz */
.q { border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.2rem; margin-bottom: 1rem; background: #fff; }
.q legend { font-size: 1rem; font-weight: 700; }
.q .check { border-radius: var(--r-sm); padding: .55rem .6rem; }
.q .check:hover { background: var(--mist); }

/* License card */
.license-card { background: var(--navy) url("./assets/pattern-navy.png"); background-size: 200px; color: #fff; border-radius: var(--r); padding: 2rem; }
.license-card h2 { color: #fff; }
.license-card .num { color: var(--yellow); font-weight: 900; font-size: 1.4rem; }
.license-card dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.25rem 0 0; }
.license-card dt { font-size: .8rem; color: #c7d1ea; } .license-card dd { margin: 0; font-weight: 700; }
@media (max-width: 640px) { .license-card dl { grid-template-columns: 1fr; } }

/* Lists */
.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain > li { padding: .8rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.list-plain > li:last-child { border-bottom: 0; }
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 1.8rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.1rem; height: 1.1rem; border-radius: 4px; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 75% no-repeat; }
details { border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; margin-bottom: .6rem; }
summary { cursor: pointer; padding: 1rem 1.1rem; font-weight: 700; list-style-position: outside; }
details > div { padding: 0 1.1rem 1rem; }
.kv { display: grid; grid-template-columns: 180px 1fr; gap: .35rem 1rem; margin: 0; }
.kv dt { color: var(--muted); font-size: .9rem; } .kv dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 640px) { .kv { grid-template-columns: 1fr; } .kv dd { margin-bottom: .5rem; } }
.toolbar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.secret { font-family: ui-monospace, Menlo, Consolas, monospace; background: #fff; border: 1.5px dashed var(--navy); padding: .3rem .6rem; border-radius: 6px; font-weight: 700; user-select: all; }

/* Demo panel */
.demo-panel { background: var(--mist); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem; }
.demo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .6rem; margin-top: .75rem; }
.demo-grid button { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: .7rem .8rem; cursor: pointer; min-height: 44px; }
.demo-grid button:hover { border-color: var(--navy); }
.demo-grid strong { display: block; font-size: .92rem; }
.demo-grid span { font-size: .8rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy) url("./assets/pattern-navy.png"); background-size: 240px; color: #dfe6f5; padding: 3rem 0 1.25rem; margin-top: 0; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--yellow); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.3fr; gap: 2rem; }
.footer-h { color: var(--yellow); font-size: 1rem; margin-bottom: .6rem; }
.footer-logo { width: 110px; height: auto; margin-bottom: .75rem; }
.footer-voice { font-weight: 600; color: #fff; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.18); margin-top: 2rem; padding-top: 1rem; font-size: .82rem; }
.footer-legal p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 1.25rem; transform: translateX(-50%) translateY(150%); background: var(--navy); color: #fff; padding: .8rem 1.2rem; border-radius: 999px; font-weight: 600; box-shadow: var(--shadow); z-index: 4000; transition: transform .25s; max-width: calc(100% - 2rem); text-align: center; }
.toast { visibility: hidden; }
.toast.show { transform: translateX(-50%) translateY(0); visibility: visible; }
.toast.bad { background: var(--bad); }

.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2 { margin: 0; }
.doc { display: flex; gap: 1rem; align-items: flex-start; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.photo-round { border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; }
.photo-round img { width: 100%; height: 100%; object-fit: cover; }
.price { font-size: 1.6rem; font-weight: 900; }
.inline-form { display: flex; flex-wrap: wrap; gap: .6rem; align-items: flex-end; }
.inline-form .field { margin: 0; flex: 1 1 160px; }
.entry { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 1rem; margin-bottom: 1rem; background: #fff; }
.entry-head { display: flex; justify-content: space-between; gap: .5rem; align-items: center; margin-bottom: .5rem; }
@media print { .quick-exit-bar, .site-header, .site-footer, .side, .btn-row, .savebar { display: none !important; } body.has-quick-exit { padding-top: 0; } }
.table-wrap table.rating-table { min-width: 0; }
@media (max-width: 640px) {
  .rating-table thead { display: none; }
  .rating-table, .rating-table tbody, .rating-table tr, .rating-table td { display: block; width: 100%; }
  .rating-table tr { padding: .6rem .75rem; border-bottom: 1px solid var(--line); }
  .rating-table td { border: 0; padding: .2rem 0; }
  .rating-table select { min-width: 0; }
}

#sectionForm > * + *, #dyn > * + *, .content > section + section, .content > div + section { margin-top: 1.25rem; }
.field label > input, .field label > textarea, .field label > select { margin-top: .35rem; font-weight: 400; }
/* Class slides viewer */
.deck-head { align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.deck-secs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.deck-secs .muted { font-weight: 500; }
.deck-stage { margin: 0; background: #11182e; border-radius: var(--r-md, 12px); overflow: hidden; aspect-ratio: 16 / 9; scroll-margin-top: 90px; }
.deck-stage img { display: block; width: 100%; height: 100%; object-fit: contain; }
.deck-ctrl { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin: .75rem 0 1rem; }
.deck-ctrl #deckCount { font-weight: 700; color: var(--navy); margin-right: auto; order: -1; }
.deck-notes p { margin: .45rem 0; line-height: 1.6; }
.deck-notes strong { color: var(--purple); }
.deck-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; }
.deck-thumbs button { position: relative; padding: 0; border: 2px solid transparent; border-radius: 8px; background: #fff; cursor: pointer; overflow: hidden; box-shadow: 0 1px 3px rgba(33,46,92,.15); }
.deck-thumbs button[aria-current="true"] { border-color: var(--yellow); }
.deck-thumbs button:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.deck-thumbs img { display: block; width: 100%; height: auto; }
.deck-thumbs span { position: absolute; left: 4px; bottom: 4px; background: var(--navy); color: #fff; font-size: .72rem; font-weight: 700; padding: .05rem .4rem; border-radius: 999px; }

/* Marketing toolkit frame */
.mk-frame { display: block; width: 100%; height: calc(100vh - 120px); min-height: 560px; margin-top: 1.2rem; border: 1px solid var(--line, #d9dce6); border-radius: 14px; background: #fff; }
