/* Scoped to the updated articles lesson. */
[data-articles-page] .post-text > .row:first-child .v-image { max-height: 140px !important; }
[data-articles-page] .post-text > .row:first-child { margin-bottom: 4px; }
.run-code.articles-lesson { min-width: 0; color: #243c31; font-family: Roboto, Arial, sans-serif; font-size: 17px; line-height: 1.7; overflow-wrap: break-word; }
.articles-lesson [hidden] { display: none !important; }
.run-code.articles-lesson h2 { margin: 36px 0 14px; color: #254b38; font-size: 27px; line-height: 1.3; }
.run-code.articles-lesson h3 { margin: 26px 0 10px; font-size: 21px; line-height: 1.4; }
.run-code.articles-lesson p { margin: 0 0 16px; }
.articles-lesson :is(section, h2, h3) { scroll-margin-top: 24px; }
.articles-lesson .articles-lead { font-size: 19px; }
.articles-lesson a { color: #365f44; text-underline-offset: 3px; }
.articles-lesson :is(a, button, summary):focus-visible { outline: 3px solid #a36b27; outline-offset: 3px; }
.articles-lesson .articles-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 4px 0 18px; }
.articles-lesson .articles-nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.articles-lesson .articles-table-wrap { max-width: 100%; margin: 20px 0 24px; }
.run-code.articles-lesson .articles-table { display: table; width: 100%; margin: 0; border: 1px solid #d1daca; border-collapse: collapse; table-layout: fixed; background: #fff; font-size: 16px; }
.run-code.articles-lesson .articles-table :is(th, td) { min-width: 0; padding: 11px 12px; border: 0; border-bottom: 1px solid #e0e6db; text-align: left; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; }
.run-code.articles-lesson .articles-table thead th { color: #58675c; background: #f2f5ec; font-size: 14px; font-weight: 500; }
.run-code.articles-lesson .articles-table tbody th { font-weight: 500; }
.run-code.articles-lesson .articles-table tbody tr:nth-child(even) { background: #fafbf8; }
.articles-lesson .articles-note { padding: 16px 18px; border-left: 3px solid #8a9c70; background: #f3f6ee; }
.articles-lesson .articles-example { min-width: 0; margin: 20px 0; padding: 18px; border: 1px solid #d1daca; border-radius: 12px; background: #f8faf5; }
.run-code.articles-lesson .articles-example p:last-child { margin-bottom: 0; }
.articles-lesson .articles-exercises li { margin-bottom: 10px; }
.articles-lesson .articles-exercises summary { box-sizing: border-box; min-height: 44px; padding: 8px 0; cursor: pointer; }
.run-code.articles-lesson .articles-sources { margin-top: 36px; padding-top: 8px; border-top: 1px solid #d1daca; color: #58675c; font-size: 14px; }
.run-code.articles-lesson .articles-sources h2 { margin-top: 20px; font-size: 21px; }
.articles-lesson .articles-practice { min-width: 0; margin-top: 32px; padding: 24px; border: 1px solid #dfd8c0; border-radius: 16px; background: #fffdf7; }
.run-code.articles-lesson .articles-practice h2 { margin-top: 0; font-size: 24px; }
.run-code.articles-lesson [data-articles-progress] { margin: 20px 0 8px; color: #58675c; font-size: 14px; }
.run-code.articles-lesson [data-articles-prompt] { margin: 0 0 16px; font-size: 19px; font-weight: 600; line-height: 1.5; }
.articles-lesson [data-articles-prompt]:focus { outline: 0; }
.articles-lesson [data-articles-options] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.articles-lesson [data-articles-options][data-layout="phrase"] { grid-template-columns: 1fr; }
.articles-lesson .articles-practice button { box-sizing: border-box; max-width: 100%; min-height: 46px; padding: 10px 16px; border: 1px solid #365f44; border-radius: 7px; background: #365f44; color: #fff; cursor: pointer; font: 600 15px/1.4 Roboto, Arial, sans-serif; white-space: normal; overflow-wrap: anywhere; }
.articles-lesson .articles-practice button:hover { background: #254b38; }
.articles-lesson .articles-practice .articles-option { background: #fff; color: #243c31; text-align: left; }
.articles-lesson .articles-practice .articles-option:hover { background: #edf2e8; }
.articles-lesson .articles-practice button:disabled { cursor: default; }
.articles-lesson .articles-practice .articles-option[data-state="correct"] { border-width: 2px; border-color: #2e6440; background: #edf6ec; }
.articles-lesson .articles-practice .articles-option[data-state="error"] { border-width: 2px; border-style: dashed; border-color: #96392f; background: #fff2ee; }
.run-code.articles-lesson [data-articles-feedback] { min-height: 68px; margin: 14px 0; font-size: 15px; line-height: 1.5; }
.articles-lesson [data-articles-feedback][data-state="error"] { color: #96392f; }
.articles-lesson [data-articles-feedback][data-state="correct"], .articles-lesson [data-articles-feedback][data-state="complete"] { color: #2e6440; }
.articles-lesson .articles-practice [data-articles-restart] { margin: 8px 0 0 8px; border-color: transparent; background: transparent; color: #365f44; text-decoration: underline; text-underline-offset: 3px; }
.articles-lesson .articles-practice [data-articles-restart]:hover { color: #254b38; background: #edf2e8; }
@media (max-width: 600px) {
  [data-articles-page] .post-text > .row:first-child .v-image { max-height: 100px !important; }
  .run-code.articles-lesson { font-size: 16px; }
  .articles-lesson .articles-lead { font-size: 17px; }
  .run-code.articles-lesson h2 { font-size: 24px; }
  .articles-lesson .articles-nav { gap: 12px 18px; }
  .run-code.articles-lesson .articles-table { font-size: 14px; }
  .run-code.articles-lesson .articles-table :is(th, td) { padding: 9px 6px; }
  .articles-lesson [data-articles-options] { grid-template-columns: 1fr; }
  .articles-lesson .articles-example, .articles-lesson .articles-practice { padding: 18px; }
  .run-code.articles-lesson [data-articles-prompt] { font-size: 17px; }
  .articles-lesson .articles-practice [data-articles-restart] { margin-left: 0; }
}
@media (forced-colors: active) {
  .articles-lesson .articles-practice .articles-option[data-state="correct"] { border: 3px solid Highlight; }
  .articles-lesson .articles-practice .articles-option[data-state="error"] { border: 3px dashed CanvasText; }
}
@media print {
  .articles-lesson :is(.articles-practice, .articles-nav) { display: none !important; }
  .articles-lesson .articles-table-wrap { overflow: visible; }
  .articles-lesson .articles-example { break-inside: avoid; margin-bottom: 14px; }
}
