/* Opening activities page: one activity per screen, no inner scroll boxes. Loaded after styles.css. */
html, body { overflow-x: hidden; }
body.opening-page { background: var(--paper); }
[hidden] { display: none !important; }

.op-top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 10px clamp(16px, 4vw, 48px); background: #fff; border-bottom: 1px solid var(--line); }
.op-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 800; text-decoration: none; flex: 0 0 auto; }
.op-brand { flex: 1 1 auto; min-width: 0; line-height: 1.2; }
.op-brand b { display: block; font-size: 15px; }
.op-brand small { display: block; color: var(--slate); font-size: 13px; }
.op-more { position: relative; flex: 0 0 auto; }
.op-more summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-weight: 700; cursor: pointer; }
.op-more summary::-webkit-details-marker { display: none; }
.op-more-panel { position: absolute; right: 0; top: calc(100% + 6px); width: min(300px, calc(100vw - 32px)); padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 36px rgba(16,43,69,.16); }
.op-more-panel a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.op-more-panel a:hover { background: var(--paper); }
.op-more-h { margin: 8px 12px 2px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }

.opening-page main { display: block; }
.op-head { max-width: 1100px; margin: 0 auto; padding: 24px clamp(16px, 4vw, 48px) 0; }
.op-kicker { margin: 0 0 4px; color: var(--teal-dark); font-weight: 800; font-size: 14px; }
.op-head h1 { margin: 0; font-family: var(--body); font-size: clamp(26px, 4vw, 36px); line-height: 1.15; letter-spacing: 0; }
.op-head h1:focus { outline: none; }
.op-head h1:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.op-gate { margin: 12px 0 0; padding: 12px 14px; border-left: 4px solid var(--coral); background: #fff3ed; border-radius: 0 10px 10px 0; font-weight: 700; }

/* Sections become plain stacked content inside the page (no fixed heights, no inner scrolling). */
.opening-page .section { padding: 20px clamp(16px, 4vw, 48px) 8px; max-width: 1100px; }
.opening-page .practice-section { background: transparent; }
.opening-page .practice-layout { display: block; }
.opening-page .practice-nav { display: none; }
.opening-page .practice-stage { min-height: 0; }
.opening-page .practice-gate { min-height: 0; }
.opening-page .section-heading { margin-bottom: 18px; }
.opening-page .section-heading .eyebrow { display: none; }
.opening-page .section-heading h2 { font-size: clamp(20px, 2.6vw, 26px); }
.opening-page pre, .opening-page .micro-slide .prompt-preview pre, .opening-page .beginner-prompt-list pre, .opening-page .beginner-prompt-list.single pre { max-height: none !important; overflow: visible !important; white-space: pre-wrap; overflow-wrap: anywhere; }
.opening-page .hero { min-height: 0; }
.opening-page .module-card { min-height: 0; }
.opening-page .capstone, .opening-page .plan-section { background: transparent; }
.toast:not(.show) { visibility: hidden; }

.op-nav { max-width: 1100px; margin: 8px auto 28px; padding: 18px clamp(16px, 4vw, 48px) 0; border-top: 1px solid var(--line); }
.op-nav-status { margin: 0 0 10px; color: var(--slate); font-weight: 700; }
.op-nav-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.op-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 20px; border-radius: 12px; background: var(--coral-accessible, #b54535); color: #fff; font-weight: 800; font-size: 17px; text-decoration: none; }
.op-btn-soft { background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.op-btn-alt { background: var(--ink); color: #fff; }

.op-foot { display: block !important; background: transparent; font-size: 14px; max-width: 1100px; margin: 0 auto; padding: 16px clamp(16px, 4vw, 48px) 36px; border-top: 1px solid var(--line); color: var(--slate); font-size: 14px; }
.op-foot p { margin: 6px 0; }
.op-foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-bottom: 8px; }
.op-foot nav a { font-weight: 700; color: var(--ink); }
.op-reset { min-height: 40px; padding: 6px 12px; border: 1px solid #e3b4aa; border-radius: 8px; background: #fff; color: #b54535; font-weight: 700; }

@media (max-width: 560px) {
  .op-brand small { display: none; }
  .op-nav-buttons .op-btn { width: 100%; }
}

.op-more-reset { display: block; width: 100%; text-align: left; padding: 10px 12px; border: 0; border-radius: 8px; background: none; font: inherit; font-weight: 700; color: #b54535; cursor: pointer; }
.op-more-reset:hover, .op-more-reset:focus-visible { background: #f7f6f1; }
/* Five Checks: all five on one page */
.five-list { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 12px; }
.five-check { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.five-num { flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--white); font-weight: 800; }
.five-check h4 { margin: 2px 0 6px; font-size: 17px; color: var(--ink); }
.five-check h4 span { font-weight: 600; color: var(--ink-2); }
.five-check p { margin: 0 0 6px; font-size: 15px; }
.five-check p.five-example { margin: 0; padding: 8px 10px; background: var(--mist); border-radius: 8px; font-size: 14.5px; }
@media (max-width: 560px) { .five-check { padding: 12px; gap: 10px; } .five-num { width: 28px; height: 28px; } }
/* C.H.A.T.P.R.O.M.P.T. Pyramid intro before CHATPROMPT Studio. DOM order is foundation first; column-reverse puts it at the bottom. */
.pyr-how { margin: 14px 0; padding: 12px 14px; background: var(--mist); border-radius: 12px; }
.pyr-how p { margin: 0 0 6px; font-size: 15px; } .pyr-how p:last-child { margin: 0; }
.pyr { list-style: none; margin: 0 0 14px; padding: 18px 14px 20px; display: flex; flex-direction: column-reverse; gap: 10px; background: linear-gradient(180deg, #0c2034, var(--ink) 60%, var(--ink-2)); border-radius: 16px; }
.pyr-tier { display: grid; grid-template-columns: 1fr 140px; gap: 12px; align-items: center; }
.pyr-row { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 8px; width: 100%; }
.pyr-tier[data-n="4"] .pyr-row { grid-template-columns: repeat(4, 1fr); }
.pyr-tier[data-n="3"] .pyr-row { grid-template-columns: repeat(3, 1fr); width: 82%; }
.pyr-tier[data-n="2"] .pyr-row { grid-template-columns: repeat(2, 1fr); width: 60%; }
.pyr-tier[data-n="1"] .pyr-row { grid-template-columns: 1fr; width: 36%; }
.pyr-row li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 10px 8px; border-radius: 10px; border: 1px solid rgba(143, 212, 212, .55); background: rgba(29, 154, 138, .16); color: var(--white); }
.pyr-tier[data-n="4"] .pyr-row li { background: rgba(29, 154, 138, .30); border-color: #8fd4d4; }
.pyr-letter { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--white); color: var(--ink); font-weight: 800; font-size: 14px; }
.pyr-row li b { font-size: 14px; line-height: 1.25; }
.pyr-d { font-size: 12.5px; line-height: 1.3; color: #d5e6ee; }
.pyr-ex { font-size: 12px; line-height: 1.3; color: #8fd4d4; font-style: italic; }
.pyr-label { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #8fd4d4; line-height: 1.3; }
.pyr-label small { display: block; font-weight: 600; letter-spacing: 0; text-transform: none; color: #d5e6ee; font-size: 12px; }
.pyr-guard { margin: 0 0 12px; font-size: 14.5px; color: var(--slate); }
.link-button { padding: 0; border: 0; background: none; color: var(--teal-dark); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 760px) { .pyr-tier { grid-template-columns: 1fr; gap: 6px; } .pyr-label { order: -1; }
  .pyr-tier .pyr-row { width: 100% !important; grid-template-columns: repeat(2, 1fr) !important; }
  .pyr-tier[data-n="1"] .pyr-row { grid-template-columns: 1fr !important; } }
/* One-page CHATPROMPT Studio */
.studio-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 14px 0 10px; }
.studio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 12px 0 16px; }
.studio-card { display: flex; flex-direction: column; gap: 8px; padding: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.studio-card-head { display: flex; gap: 10px; align-items: flex-start; }
.studio-card-head label { display: block; font-weight: 800; color: var(--ink); }
.studio-card-head small { display: block; color: var(--slate); font-size: 13px; line-height: 1.4; }
.studio-card textarea { width: 100%; min-height: 96px; padding: 9px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: #fcfcfa; resize: vertical; line-height: 1.45; }
.studio-example summary { cursor: pointer; color: var(--teal-dark); font-size: 14px; font-weight: 700; }
.studio-example p { margin: 8px 0; padding: 8px 10px; background: var(--mist); border-radius: 8px; font-size: 14px; }
.studio-preview { padding: 14px; background: var(--mist); border-radius: 14px; }
.studio-preview-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.studio-preview-head h4 { margin: 0; font-size: 16px; }
.studio-preview pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.studio-preview .small-note { margin: 8px 0 0; font-size: 13px; color: var(--slate); }
@media (max-width: 760px) { .studio-grid { grid-template-columns: 1fr; } }
/* Meeting classifier: why it matters and the five-label guide */
.classify-why { margin: 12px 0; padding: 12px 14px; background: var(--mist); border-radius: 12px; }
.classify-why summary { cursor: pointer; font-weight: 800; color: var(--ink); }
.classify-why p { margin: 8px 0 0; font-size: 15px; }
.classify-why .classify-tip { padding: 8px 10px; background: var(--white); border-left: 4px solid var(--teal-dark); border-radius: 6px; }
.classify-guide { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
.classify-label { display: flex; flex-direction: column; gap: 4px; padding: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; }
.classify-label b { color: var(--ink); font-size: 15px; }
.classify-label span { font-size: 13.5px; line-height: 1.35; }
.classify-label small { color: var(--slate); font-size: 12.5px; line-height: 1.35; }
.classify-step { margin: 14px 0 6px; font-size: 15px; }
@media (max-width: 900px) { .classify-guide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .classify-guide { grid-template-columns: 1fr; } }
/* Classifier as a CHAT prompt */
.classify-prompt { margin-top: 18px; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--teal-dark); border-radius: 12px; }
.classify-prompt h4 { margin: 2px 0 6px; font-size: 17px; }
.classify-prompt p { margin: 0 0 8px; font-size: 15px; }
.chat-parts { margin: 8px 0 10px; padding-left: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; }
.chat-tag { font-weight: 800; color: var(--teal-dark); white-space: nowrap; }
.classify-prompt .classify-tip { padding: 8px 10px; background: var(--mist); border-radius: 6px; }
.starter-prompt .chat-tag { color: var(--teal-dark); font-weight: 800; }
.course-story { margin: 12px 0; padding: 12px 14px; background: #fff7dc; border: 1px solid var(--gold); border-radius: 12px; font-size: 15.5px; line-height: 1.55; }
.safe-page .safe-check { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; padding: 10px 12px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; }

/* Menu: icon on the button, one-line hint under each item */
.menu-icon { font-size: 18px; line-height: 1; }
.op-more-panel a small, .op-more-reset small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 500; color: var(--slate); line-height: 1.3; }
.op-more-panel { width: min(340px, calc(100vw - 32px)); max-height: calc(100vh - 90px); overflow: auto; }

/* Five Checks: the one required choice, made hard to miss */
.five-page .five-choice { margin: 18px 0 0; padding: 18px 18px 16px; background: var(--mist); border: 2px solid var(--teal-dark); border-radius: 14px; }
.five-page .five-choice legend { float: left; width: 100%; margin: 0 0 4px; font-size: 20px; font-weight: 800; color: var(--ink); }
.five-choice-kicker { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-dark); }
.five-choice-note { clear: both; margin: 0 0 12px; font-size: 15px; color: var(--ink-2); }
.five-page .five-choice .classify-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.five-page .five-choice .classify-options button { width: 100%; min-height: 64px; padding: 14px 16px; font-size: 17px; font-weight: 800; border: 2px solid var(--ink); border-radius: 12px; background: var(--white); color: var(--ink); cursor: pointer; }
.five-page .five-choice .classify-options button:hover { background: var(--paper); }
.five-page .five-choice .classify-options button.correct { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); }
.five-page .five-choice .classify-options button.wrong { background: #fff3ed; border-color: #b54535; color: #9b452f; }
.five-page .five-choice .classify-result { margin: 12px 0 0; font-size: 15px; }
@media (max-width: 560px) { .five-page .five-choice .classify-options { grid-template-columns: 1fr; } }

/* C.H.A.T.P.R.O.M.P.T. Pyramid showcase */
.pyramid-intro.showcase { padding: 0; overflow: hidden; border-radius: 18px; background: var(--white); }
.pyr-hero { padding: 26px 22px 20px; background: radial-gradient(120% 90% at 20% 0%, #163a63 0%, #0c2034 55%, #081627 100%); color: var(--white); }
.pyr-by { margin: 0 0 6px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #8fd4ff; }
.pyr-by b { color: var(--white); }
.pyr-hero h3 { margin: 0 0 8px; font-size: clamp(26px, 4vw, 40px); line-height: 1.1; letter-spacing: .01em; text-shadow: 0 0 18px rgba(57, 198, 255, .55); }
.pyr-tag { margin: 0 0 16px; font-size: 16px; color: #d5e6ee; max-width: 56ch; }
.pyr-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; }
.pyr-strip li { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.pyr-strip b { display: grid; place-items: center; width: 100%; aspect-ratio: 1 / 1; max-width: 46px; border-radius: 10px; font-size: 20px; border: 1px solid rgba(143, 212, 255, .7); background: rgba(57, 198, 255, .12); box-shadow: 0 0 14px rgba(57, 198, 255, .35) inset; }
.pyr-strip li.chat b { background: rgba(57, 198, 255, .35); box-shadow: 0 0 16px rgba(57, 198, 255, .6); }
.pyr-strip span { font-size: 11px; line-height: 1.2; text-align: center; color: #cfe4ee; }
.pyramid-intro.showcase .pyr-how { margin: 16px 18px; }
.pyramid-intro.showcase .pyr { margin: 0 18px 10px; padding: 22px 16px 24px; border-radius: 16px; background: radial-gradient(100% 100% at 50% 100%, #163a63 0%, #0c2034 60%, #081627 100%); box-shadow: 0 16px 40px rgba(8, 22, 39, .35); }
.pyramid-intro.showcase .pyr-row li { border: 1px solid rgba(57, 198, 255, .8); background: rgba(16, 60, 100, .55); box-shadow: 0 0 12px rgba(57, 198, 255, .25), inset 0 0 18px rgba(57, 198, 255, .08); transition: transform .18s ease, box-shadow .18s ease; }
.pyramid-intro.showcase .pyr-row li:hover { transform: translateY(-3px); box-shadow: 0 0 22px rgba(57, 198, 255, .6), inset 0 0 18px rgba(57, 198, 255, .12); }
.pyramid-intro.showcase .pyr-tier[data-n="4"] .pyr-row li { background: rgba(57, 198, 255, .22); }
.pyramid-intro.showcase .pyr-letter { background: #39c6ff; color: #081627; }
.pyramid-intro.showcase .pyr-d { color: #e4f1f7; }
.pyramid-intro.showcase .pyr-ex { color: #8fd4ff; }
.pyr-hex { display: inline-block; padding: 6px 14px; border: 1px solid #39c6ff; color: #e8f7ff; clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0 50%); background: rgba(57, 198, 255, .14); box-shadow: 0 0 12px rgba(57, 198, 255, .35); }
.pyramid-intro.showcase .pyr-label small { color: #cfe4ee; }
.pyramid-intro.showcase .pyr-tier { animation: pyr-rise .6s ease both; }
.pyramid-intro.showcase .pyr-tier[data-n="4"] { animation-delay: .05s } .pyramid-intro.showcase .pyr-tier[data-n="3"] { animation-delay: .25s } .pyramid-intro.showcase .pyr-tier[data-n="2"] { animation-delay: .45s } .pyramid-intro.showcase .pyr-tier[data-n="1"] { animation-delay: .65s }
@keyframes pyr-rise { from { transform: translateY(16px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .pyramid-intro.showcase .pyr-tier { animation: none; } .pyramid-intro.showcase .pyr-row li { transition: none; } }
.pyramid-intro.showcase .pyr-guard { margin: 12px 18px 0; }
.pyr-copy { margin: 10px 18px 0; font-size: 12.5px; color: var(--slate); }
.pyramid-intro.showcase .micro-actions { padding: 0 18px 18px; }
@media (max-width: 560px) { .pyr-strip { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; } .pyr-strip b { max-width: 44px; } .pyramid-intro.showcase .pyr, .pyramid-intro.showcase .pyr-how, .pyramid-intro.showcase .pyr-guard, .pyr-copy { margin-left: 12px; margin-right: 12px; } }
/* Showcase fixes: blocks always end visible; letter names hidden on phones */
.pyramid-intro.showcase .pyr-tier { animation-fill-mode: backwards; animation-duration: .45s; }
.pyramid-intro.showcase .pyr-tier[data-n="4"] { animation-delay: 0s } .pyramid-intro.showcase .pyr-tier[data-n="3"] { animation-delay: .12s } .pyramid-intro.showcase .pyr-tier[data-n="2"] { animation-delay: .24s } .pyramid-intro.showcase .pyr-tier[data-n="1"] { animation-delay: .36s }
@media (max-width: 560px) { .pyr-strip span { display: none; } .pyr-strip { gap: 6px; } }

/* Meeting classifier: the required choice, same style as Five Checks */
.micro-slide .big-choice { margin: 18px 0 0; padding: 18px 18px 16px; background: var(--mist); border: 2px solid var(--teal-dark); border-radius: 14px; }
.micro-slide .big-choice legend { float: left; width: 100%; margin: 0 0 4px; font-size: 20px; font-weight: 800; color: var(--ink); line-height: 1.3; }
.micro-slide .big-choice .classify-options { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.micro-slide .big-choice .classify-options button { width: 100%; min-height: 60px; padding: 12px 10px; font-size: 16px; font-weight: 800; border: 2px solid var(--ink); border-radius: 12px; background: var(--white); color: var(--ink); cursor: pointer; }
.micro-slide .big-choice .classify-options button:hover { background: var(--paper); }
.micro-slide .big-choice .classify-options button.correct { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); }
.micro-slide .big-choice .classify-options button.wrong { background: #fff3ed; border-color: #b54535; color: #9b452f; }
.micro-slide .big-choice .classify-result { margin: 12px 0 0; font-size: 15px; }
@media (max-width: 760px) { .micro-slide .big-choice .classify-options { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .micro-slide .big-choice .classify-options { grid-template-columns: 1fr; } }

/* Opening step: practice files to OneDrive */
.files-box{background:#fff;border:1px solid #dfe5ee;border-radius:18px;padding:20px 22px}
.files-steps{margin:0 0 14px 20px;padding:0;line-height:1.6}.files-steps li{margin:4px 0}
.files-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 6px}
.action-button.alt{background:#eef1f7;color:#102b45}
