.step8-copy { min-width: 0; overflow-wrap: anywhere; }
.step8-copy > .roblox-case-dek { color: #ddd; border-color: #777; }
.roblox-paid-portfolio .step8-intro-note { margin-block: 18px 26px; font-size: 13px; line-height: 1.65; color: #aaa; }
.step8-action { margin-top: 22px; }
.roblox-paid-portfolio .step8-action-note { margin-top: 16px; color: #bcbcbc; font-size: 14px; }
.roblox-paid-portfolio .step8-action-result { margin-top: 16px; font-size: 14px; color: #d1d1d1; }
.step8-citations { font-size: 12px; }
.step8-task-trigger { display: grid; grid-template-columns: max-content minmax(0, 1fr) 14px; align-items: center; gap: 12px; width: 100%; min-height: 64px; margin-block: 20px 4px; padding: 14px; border: 1px solid #363636; border-radius: 13px; background: linear-gradient(135deg, #181818, #0a0a0a); color: #f3f3f3; font: 700 13px / 1.45 Inter, sans-serif; text-align: start; cursor: pointer; touch-action: manipulation; }
.step8-task-number { color: #999; font-size: 10px; letter-spacing: .04em; }
.step8-task-arrow { color: #bbb; font-size: 17px; }
.step8-task-trigger:active { background: #090909; }
.step8-explainer.roblox-recommendation-sources { margin-block: 22px 8px; overflow: hidden; border: 1px solid #3f6746; border-radius: 15px; background: radial-gradient(ellipse at 5% 0%, rgb(121 213 99 / .10), transparent 68%), linear-gradient(145deg, #131a15, #090d0b 78%); box-shadow: 0 0 16px rgb(114 218 99 / .08), inset 0 1px rgb(186 255 166 / .05); }
.step8-explainer:has(> .roblox-sources-toggle[aria-expanded="true"]) { border-color: #72a866; }
.step8-explainer > .roblox-sources-toggle { justify-content: space-between; gap: 14px; min-height: 76px; padding: 14px 16px; }
.step8-explainer > .roblox-sources-toggle::before { order: 1; border-color: #a5e792; }
.step8-explainer-heading { display: grid; gap: 4px; min-width: 0; }
.step8-explainer-title { color: #f1f5f0; font-size: 15px; font-weight: 800; }
.step8-explainer-short { color: #b2c0b2; font-size: 12px; font-weight: 400; }
.step8-explainer-content { padding: 2px 16px 16px; color: #c9d4cd; font-size: 14px; line-height: 1.65; }
.roblox-paid-portfolio .step8-explainer-takeaway { margin-top: 18px; }
.step8-task-dialog { box-sizing: border-box; width: min(720px, calc(100% - 24px)); max-height: min(90dvh, 960px); padding: 0; overflow: hidden; border: 1px solid #414141; border-radius: 20px; background: linear-gradient(140deg, #151515, #070707); color: #f2f2f2; }
.step8-task-dialog::backdrop { background: rgb(0 0 0 / .76); }
.step8-task-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 16px; border-bottom: 1px solid #2f2f2f; }
.step8-task-header > div { min-width: 0; }
.step8-task-caption { margin: 0 0 6px; color: #aaa; font: 500 10px / 1.4 Inter, sans-serif; letter-spacing: .07em; }
.step8-task-header h3 { margin: 0; color: #f4f4f4; font: 800 clamp(17px, 5vw, 23px) / 1.3 'Home Topic Inter', Inter, sans-serif; }
.step8-task-close { flex: none; min-height: 44px; padding: 8px 12px; border: 1px solid #424242; border-radius: 24px; background: #111; color: #f5f5f5; font: 700 11px / 1.4 Inter, sans-serif; cursor: pointer; }
.step8-task-scroll { box-sizing: border-box; max-height: calc(90dvh - 140px); padding: 16px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.step8-task-note { margin: 0 0 16px; color: #aaa; font: 400 12px / 1.65 Inter, sans-serif; }
.step8-task-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 14px; }
.step8-copy-task { min-height: 44px; padding: 9px 15px; border: 1px solid #414141; border-radius: 10px; background: linear-gradient(#242424, #121212); color: #f4f4f4; font: 700 12px / 1.4 Inter, sans-serif; cursor: pointer; }
.step8-copy-task:disabled { opacity: .6; cursor: wait; }
.step8-task-code { margin: 18px 0 0; color: #dedede; font: 400 12px / 1.75 ui-monospace, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.step8-task-code code { font: inherit; }
.step8-task-dialog :is(button, a):focus-visible { outline: 2px solid #e6e6e6; outline-offset: 3px; }
.step8-task-dialog .lesson-download-description, .step8-task-dialog .lesson-download-desktop { margin: 10px 0 0; color: #aaa; font: 400 12px / 1.65 Inter, sans-serif; }
.step8-task-dialog .lesson-download-status { min-height: 1.6em; margin: 5px 0 0; color: #bcbcbc; font: 400 11px / 1.6 Inter, sans-serif; }
.step8-task-dialog .roblox-paid-codex-download { font-family: Inter, sans-serif; }
.step8-task-dialog .roblox-paid-codex-download > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.roblox-paid-portfolio .step8-outcome { margin-top: 26px; }
.roblox-paid-portfolio .step8-limitations { margin-top: 16px; color: #aaa; font-size: 12px; line-height: 1.65; }
@media (prefers-reduced-motion: no-preference) { .step8-explainer { transition: border-color 180ms ease; } }

.roblox-paid-portfolio .step8-image-placeholder { margin-block: 22px; padding: 16px; border: 1px dashed #363636; border-radius: 12px; background: linear-gradient(145deg, #111, #080808); color: #999; font-size: 12px; line-height: 1.7; }
.roblox-paid-portfolio .step8-figure { margin: 22px 0; }
.step8-figure img { display: block; width: 100%; height: auto; border-radius: 12px; background: #0b0b0b; }
.roblox-paid-portfolio .step8-important { margin-top: 20px; color: #c3c3c3; font-size: 14px; line-height: 1.7; }
.step8-explainer-content p { margin: 8px 0 12px; }
.step8-explainer-content code { padding: 1px 4px; border-radius: 4px; background: #172019; color: #e1e9df; font-size: .88em; overflow-wrap: anywhere; }
.step8-materials { padding: 0 14px 14px; }
.step8-materials .lesson-download ~ .lesson-download >.lesson-download-desktop { display: none; }
.roblox-paid-portfolio .step8-next-note { margin-top: 16px; color: #aaa; font-size: 13px; line-height: 1.65; }
