/* Shared by both official decks; marker and first line share a baseline. */
.slide .prompt-console.course-prompt-formatted::before{content:none}
.slide .prompt-console.course-prompt-formatted{padding-left:22px!important}
.slide .course-prompt-row{display:grid;grid-template-columns:2ch minmax(0,1fr);column-gap:.65ch;align-items:baseline;min-width:0;font:inherit;line-height:inherit;white-space:normal}
.slide .course-prompt-row::before{content:">_";color:var(--accent,#b5ce99);font-weight:700;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;white-space:nowrap}
.slide .course-prompt-text{display:block;min-width:0;overflow-wrap:anywhere}
.slide .course-prompt-text>p:first-child,.slide .course-prompt-text>.prompt-content:first-child{margin-top:0}
.slide pre>.course-prompt-row{white-space:pre-wrap}
.slide pre>.course-prompt-row>.course-prompt-text{white-space:pre-wrap}
.course-replay .replay-user pre{position:relative;padding-left:2.8ch}
.course-replay .replay-user pre::before{content:">_";position:absolute;left:0;top:0;color:#8bb7ff;font-weight:700;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
@media(max-width:760px){.slide .prompt-console.course-prompt-formatted{padding-left:16px!important}}
/* A prompt-only card must grow with wrapped lines rather than clip them. */
.slide .agent:has(>.course-prompt-formatted):not(:has(.responses)){flex:0 0 auto;min-height:min-content}
#artifact-issue-trackers .tracker-slide{gap:20px}
.slide .prompt-console:has(>.course-prompt-row>.course-prompt-text>p)>.course-prompt-row{font-size:23px;line-height:1.45}
@media(max-width:760px){.slide .prompt-console:has(>.course-prompt-row>.course-prompt-text>p)>.course-prompt-row{font-size:19px}}

/* Use the existing window header when available; otherwise keep controls in flow. */
#main .slide .prompt-console.course-prompt-formatted{padding:14px 20px 18px!important;height:auto;max-height:none;min-width:0}
#main .slide .course-prompt-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin:0 0 10px;line-height:1.2;white-space:normal}
#main .slide .course-prompt-actions>.command-copy,
#main .slide .course-prompt-actions>.course-replay-open,
#main .slide .course-prompt-actions>.chatgpt-prompt{position:static!important;inset:auto!important;margin:0!important;max-width:100%;white-space:normal;flex:0 1 auto}
#main .slide .course-prompt-header{flex-wrap:wrap;gap:8px 20px}
#main .slide .course-prompt-header>.course-prompt-actions{margin:0 0 0 auto;min-width:0;max-width:100%;letter-spacing:normal}
#main .slide .course-prompt-header .course-prompt-actions>button{font-size:12px}
#main .slide .course-prompt-header .command-copy-fallback{flex-basis:100%;min-width:0;max-width:100%}
#main .slide .carbon-equivalent .prompt-console{overflow:visible;padding:8px 0!important}
#main .slide .carbon-equivalent .course-prompt-actions{margin-bottom:6px}
#main .slide .artifact-result-agent{min-height:min-content}
/* Testing AI action groups must wrap as a unit above their help text. */
.deck .prompt-action-buttons{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}
.deck .prompt-action-buttons>button{max-width:100%;white-space:normal;margin:0}
.deck .prompt-action-buttons>.prompt-handoff-help{flex-basis:100%;max-width:100%}

@media(min-width:761px){.carbon-mode #main .slide:has(.carbon-equivalent)>.body{transform:scale(var(--carbon-content-scale,.84))}}

/* Every prompt uses the same compact label-and-controls header. */
.slide .course-prompt-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;min-width:0;white-space:normal}
.slide .course-prompt-title{font:14px/1.3 system-ui,sans-serif;letter-spacing:normal;color:var(--muted,#a6b0bd);flex:0 1 auto}
.slide .course-prompt-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;min-width:0;max-width:100%}
#main .slide .course-prompt-inline-header{margin:0 0 10px;padding-bottom:8px;border-bottom:1px solid #343b45}
.slide .course-prompt-header>.course-prompt-actions{margin:0 0 0 auto!important}
.slide .course-prompt-actions>button,.slide .course-prompt-actions>a{position:static!important;inset:auto!important;max-width:100%;white-space:normal;margin:0!important;flex:0 1 auto}
.deck .prompt-action-buttons{display:block;width:100%}
.deck .support-prompt-head{display:block}
.deck .course-prompt-header{width:100%;margin-bottom:8px}
.deck .course-prompt-inline-header{margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid #343b45}
