.tutorial-page { min-height: 100dvh; padding: 1rem; }.tutorial-shell { max-width: 1120px; margin: 0 auto; }.tutorial-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 1rem; color: #fff; }.tutorial-header .brand { position: static; transform: none; }.tutorial-header a:not(.brand) { color: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: 6px; padding: 7px 10px; text-decoration: none; font-size: 12px; }.lesson-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; align-items: start; }.lesson-sidebar { position: sticky; top: 12px; padding: 14px; border-radius: 10px; background: rgba(255,255,255,.14); color: #fff; }.lesson-sidebar > p { margin: 0 0 9px; opacity: .8; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }.lesson-sidebar a { display: block; margin: 3px 0; padding: 6px 7px; border-radius: 4px; color: #fff; font-size: 12px; text-decoration: none; }.lesson-sidebar a:hover, .lesson-sidebar a.current { background: rgba(255,255,255,.23); }.lesson-sidebar details { margin: 4px 0; }.lesson-sidebar summary { cursor: pointer; padding: 6px 7px; font-size: 12px; }.lesson-sidebar .overview { margin-left: 7px; font-style: italic; }.lesson-sidebar details a:not(.overview) { margin-left: 14px; }.lesson-card { background: rgba(255,255,255,.96); border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,.16); padding: clamp(24px, 5vw, 52px); }.lesson-kicker { margin: 0 0 9px; color: #667eea; font-size: 12px; }.lesson-card h1 { margin: 0 0 13px; font: 400 clamp(34px, 5vw, 54px)/1.08 Georgia, serif; color: #2d3748; }.deck { margin: 0 0 34px; color: #59636f; font: 17px/1.55 system-ui, sans-serif; }.lesson-content h2 { margin: 42px 0 10px; color: #667eea; font-size: 23px; }.lesson-content p, .lesson-content li { color: #4b5563; font: 15px/1.65 system-ui, sans-serif; }.lesson-content ul { padding-left: 20px; }.tutorial-cell { margin: 22px 0 28px; overflow: hidden; border: 1px solid #dbe0e5; border-radius: 7px; background: #fbfdfc; }.tutorial-cell header { display: flex; justify-content: space-between; align-items: center; padding: 8px 11px; color: #667085; border-bottom: 1px solid #e5e7eb; background: #f8fafc; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }.tutorial-cell button { border: 1px solid #059669; border-radius: 4px; padding: 5px 9px; background: #059669; color: #fff; font-size: 11px; text-transform: none; letter-spacing: 0; }.tutorial-source { display: block; width: 100%; min-height: 91px; resize: vertical; border: 0; outline: 0; padding: 13px; background: #fff; color: #174c3b; font: 14px/1.55 "SF Mono", Monaco, monospace; }.tutorial-output { min-height: 0; border-top: 1px solid #e5e7eb; }.tutorial-output:empty { display: none; }.tutorial-output .result { padding: 10px 13px; color: #1f2937; white-space: pre-wrap; font: 13px/1.5 "SF Mono", Monaco, monospace; }.tutorial-output .error { padding: 10px 13px; background: #fee2e2; color: #b91c1c; white-space: pre-wrap; font: 13px/1.5 "SF Mono", Monaco, monospace; }.challenge { margin: 35px 0; padding: 21px; border: 2px solid #7c3aed; border-radius: 7px; background: #faf5ff; }.challenge .eyebrow { margin: 0 0 8px; color: #6d28d9; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }.challenge h3 { margin: 0 0 8px; color: #5b42a0; font-size: 22px; }.challenge > p { margin-top: 0; }.challenge .tutorial-cell { margin-bottom: 0; background: #fff; }.related-functions { margin-top: 44px; padding: 20px; border: 1px solid #c7d2fe; border-radius: 7px; background: #f5f3ff; }.related-functions h2 { margin: 0 0 7px; color: #5b42a0; font-size: 22px; }.related-functions p { margin: 0 0 13px; }.related-functions ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }.related-functions button { border: 1px solid #b8a7e8; border-radius: 4px; padding: 6px 9px; background: #fff; color: #5b42a0; font-size: 12px; }.related-functions button:hover { background: #e9e3ff; }.related-functions button code { font: inherit; }.lesson-navigation { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-top: 42px; padding-top: 16px; border-top: 1px solid #e5e7eb; font-size: 13px; }.lesson-navigation span:last-child { text-align: right; }.lesson-navigation a { color: #2563eb; text-decoration: none; }.lesson-navigation .details-link { color: #6d28d9; font-weight: 700; }.lesson-footer { margin-top: 26px; padding-top: 17px; border-top: 1px solid #e5e7eb; color: #6b7280; font: 13px system-ui, sans-serif; }.lesson-footer a { color: #2563eb; }.object-help-dialog { padding: 0; border: 0; border-radius: 10px; width: min(720px, calc(100vw - 30px)); max-height: 80dvh; box-shadow: 0 20px 60px rgba(0,0,0,.3); }.object-help-dialog::backdrop { background: rgba(0,0,0,.5); }.object-help-dialog header { display: flex; justify-content: space-between; align-items: start; padding: 20px; background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; }.object-help-dialog h2 { margin: 0 0 6px; font-size: 22px; }.object-help-dialog header p { max-width: 560px; margin: 0; font: 13px/1.45 system-ui, sans-serif; opacity: .9; }.object-help-dialog header button { border: 0; background: transparent; color: #fff; font-size: 28px; }.object-help-body { max-height: calc(80dvh - 105px); overflow: auto; padding: 20px; }.object-help-body section { padding: 12px 0; border-bottom: 1px solid #e5e7eb; }.object-help-body h3 { margin: 0 0 4px; color: #667eea; font-size: 16px; }.object-help-body code { color: #2563eb; font: 13px "SF Mono", Monaco, monospace; }.object-help-body p { margin: 7px 0; color: #4b5563; font: 13px/1.45 system-ui, sans-serif; }.object-help-body pre { margin: 0; padding: 8px; border-radius: 4px; background: #f3f4f6; color: #174c3b; white-space: pre-wrap; font: 12px "SF Mono", Monaco, monospace; } @media (max-width: 760px) { .tutorial-page { padding: 0; }.tutorial-header { padding: 12px; margin: 0; }.lesson-layout { display: block; }.lesson-sidebar { position: static; display: none; }.lesson-card { border-radius: 0; padding: 28px 20px 40px; }.tutorial-header .rm-mark { width: 34px; height: 34px; }.deck { font-size: 16px; }.lesson-content h2 { margin-top: 34px; }.lesson-navigation { grid-template-columns: 1fr auto 1fr; font-size: 11px; }.object-help-dialog { width: 100vw; max-height: 100dvh; min-height: 100dvh; border-radius: 0; }.object-help-body { max-height: calc(100dvh - 105px); } }
