/* AI 101 prompt library. Loaded after course.css; everything is scoped to body.ai101. */
.ai101 h1 { font-size: clamp(2.5rem, 11vw, 3.75rem); }
.ai101 .top__home { margin-bottom: 24px; }
.ai101 .note { font-size: 1.125rem; margin-top: 12px; }
.ai101 .sr-live { position: absolute; left: -9999px; }
/* In the viewport, editable and 16px: WebKit only copies from a field like that (and won't zoom). */
.ai101 .copybuf { position: fixed; left: 0; top: 0; width: 1px; height: 1px; padding: 0; border: 0; font-size: 16px; opacity: 0; }

.ai101 .pbtn {
  display: flex; align-items: center; justify-content: center; text-align: center;
  width: 100%; min-height: 60px; padding: 12px 20px;
  font: inherit; font-family: var(--sans, system-ui, sans-serif); font-weight: 700; font-size: 1.25rem; line-height: 1.2;
  background: var(--accent); color: var(--accent-ink); border: 3px solid var(--accent);
  text-decoration: none; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) { .ai101 .pbtn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); } }
.ai101 .pbtn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.ai101 .pbtn--quiet { background: transparent; color: var(--accent); }
.ai101 .pbtn.is-done { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.ai101 .apps { list-style: none; margin-top: 20px; border-top: 2px solid var(--line); }
.ai101 .app { padding: 20px 0; border-bottom: 1px solid var(--line); }
.ai101 .app__name { font-family: var(--face); font-weight: 500; font-size: 1.75rem; line-height: 1.15; margin: 0 0 6px; }
.ai101 .app__free { margin-top: 6px; font-weight: 700; color: var(--accent); }
.ai101 .app__how { margin-top: 10px; font-weight: 700; }
.ai101 .app__links { display: grid; gap: 10px; margin-top: 14px; }
.ai101 .tip { margin-top: 24px; padding-left: 22px; border-left: 6px solid var(--accent); font-weight: 700; }

.ai101 .jump ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ai101 .jump a {
  display: inline-flex; align-items: center; min-height: 56px; padding: 6px 18px;
  border: 2px solid var(--ink); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.125rem;
}
@media (hover: hover) { .ai101 .jump a:hover { background: var(--ink); color: var(--paper); } }

.ai101 .group { margin-top: 48px; scroll-margin-top: 12px; }
.ai101 .group__title { font-family: var(--face); font-weight: 500; font-size: clamp(1.75rem, 7vw, 2.25rem); line-height: 1.1; margin: 0; padding-bottom: 10px; border-bottom: 2px solid var(--line); }
.ai101 .prompt { padding: 24px 0; border-bottom: 1px solid var(--line); }
.ai101 .prompt__title { font-family: var(--face); font-weight: 500; font-size: 1.5rem; line-height: 1.2; margin: 0 0 10px; }
.ai101 .prompt__text { background: var(--tint); border-left: 6px solid var(--accent); padding: 14px 16px; margin: 0 0 14px; overflow-wrap: anywhere; }
.ai101 .blank { background: #f2d77a; color: var(--ink); padding: 0 .2em; font-weight: 700; }
.ai101 .prompt__fail { margin-top: 10px; font-weight: 700; color: #8a2f12; }
.ai101 .prompt__fail:empty { display: none; }
.ai101 .prompt__more { margin-top: 10px; }
.ai101 .prompt__more summary { display: flex; align-items: center; min-height: 56px; font-weight: 700; color: var(--accent); cursor: pointer; }
.ai101 .prompt__more summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.ai101 .prompt__open { display: grid; gap: 10px; margin: 12px 0; }
.ai101 .prompt__note { font-size: 1.125rem; margin-top: 10px; }
.ai101 .end { margin-top: 48px; }
