:where([data-shared-chapter-surface],[data-authored-reading-surface]):not(:has([data-history-content-revision])) section:is([id=kasitteet],[id=lahteet]){margin-block:1.5rem;padding-top:.75rem}[data-shared-chapter-surface][data-history-chapter]:not(:has([data-history-content-revision])) nav[aria-label="Lukijan navigaatio"]>a[href*="osio=opettajalle"]:is([href$="&paluu=oppilas"],[href*="&paluu=oppilas&"]){display:none}@container history-book (min-width: 60.001em){:where([data-shared-chapter-surface],[data-authored-reading-surface]):not(:has([data-history-content-revision])) [data-shared-chapter-toolbar=true]:has(>[data-history-text-support]){display:grid;grid-template-columns:repeat(6,minmax(0,1fr))}:where([data-shared-chapter-surface],[data-authored-reading-surface]):not(:has([data-history-content-revision])) [data-shared-chapter-toolbar=true]:has(>[data-history-text-support])>[data-history-reading-position]{grid-column:1/3;grid-row:1}:where([data-shared-chapter-surface],[data-authored-reading-surface]):not(:has([data-history-content-revision])) [data-shared-chapter-toolbar=true]:has(>[data-history-text-support])>[role=group]{grid-column:3/6;grid-row:1;justify-self:start}:where([data-shared-chapter-surface],[data-authored-reading-surface]):not(:has([data-history-content-revision])) [data-shared-chapter-toolbar=true]:has(>[data-history-text-support])>[data-history-text-support]{grid-column:6/-1;grid-row:1}:where([data-shared-chapter-surface],[data-authored-reading-surface]):not(:has([data-history-content-revision])) [data-shared-chapter-toolbar=true]:has(>[data-history-text-support])>details:first-of-type{grid-column:1/3;grid-row:2}:where([data-shared-chapter-surface],[data-authored-reading-surface]):not(:has([data-history-content-revision])) [data-shared-chapter-toolbar=true]:has(>[data-history-text-support])>details:nth-of-type(2){grid-column:3/5;grid-row:2}:where([data-shared-chapter-surface],[data-authored-reading-surface]):not(:has([data-history-content-revision])) [data-shared-chapter-toolbar=true]:has(>[data-history-text-support])>details:nth-of-type(3){grid-column:5/-1;grid-row:2}:where([data-shared-chapter-surface],[data-authored-reading-surface]):not(:has([data-history-content-revision])) [data-shared-chapter-toolbar=true]:has(>[data-history-text-support])>details>summary{width:100%;justify-content:space-between;white-space:nowrap}}@container history-book (max-width: 18em){:where([data-shared-chapter-surface],[data-authored-reading-surface]):not(:has([data-history-content-revision])) [data-shared-chapter-toolbar=true]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));position:relative;top:auto;box-shadow:none}:where([data-shared-chapter-surface],[data-authored-reading-surface]):not(:has([data-history-content-revision])) [data-shared-chapter-toolbar=true]>*{min-width:0}:where([data-shared-chapter-surface],[data-authored-reading-surface]):not(:has([data-history-content-revision])) [data-shared-chapter-toolbar=true]>[role=group]{grid-column:1/-1;grid-row:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}:where([data-shared-chapter-surface],[data-authored-reading-surface]):not(:has([data-history-content-revision])) [data-shared-chapter-toolbar=true]>a{grid-column:1/-1;grid-row:1}:where([data-shared-chapter-surface],[data-authored-reading-surface]):not(:has([data-history-content-revision])) [data-shared-chapter-toolbar=true]>details:first-of-type{grid-column:1;grid-row:2}:where([data-shared-chapter-surface],[data-authored-reading-surface]):not(:has([data-history-content-revision])) [data-shared-chapter-toolbar=true]>details:nth-of-type(2){grid-column:2;grid-row:2}:where([data-shared-chapter-surface],[data-authored-reading-surface]):not(:has([data-history-content-revision])) [data-shared-chapter-toolbar=true]>details:nth-of-type(3){grid-column:1/-1;grid-row:3}:where([data-shared-chapter-surface],[data-authored-reading-surface]):not(:has([data-history-content-revision])) [data-shared-chapter-toolbar=true]>[data-history-text-support]{grid-column:1/-1;grid-row:4}}@media (max-width:480px){[data-shared-chapter-surface][data-history-chapter]:not(:has([data-history-content-revision])){padding-inline:0}[data-shared-chapter-surface][data-history-chapter]:not(:has([data-history-content-revision])) nav[aria-label="Lukijan navigaatio"]{gap:.25rem .5rem;padding-bottom:.35rem}[data-shared-chapter-surface][data-history-chapter]:not(:has([data-history-content-revision])) nav[aria-label="Lukijan navigaatio"]>a:first-child{flex-basis:auto}[data-shared-chapter-surface][data-history-chapter]:not(:has([data-history-content-revision])) nav[aria-label="Lukijan navigaatio"]>a:nth-child(2){order:0;width:auto;margin-left:auto;padding-inline:.35rem;border:0;background:transparent}:where([data-shared-chapter-surface],[data-authored-reading-surface]):not(:has([data-history-content-revision])) [data-shared-chapter-toolbar=true]{margin:.5rem 0 .75rem;position:relative;top:auto;box-shadow:none}:where([data-shared-chapter-surface],[data-authored-reading-surface]):not(:has([data-history-content-revision])) [data-shared-chapter-toolbar=true]>details>summary{border-color:transparent;background:transparent;padding-inline:.35rem}:where([data-shared-chapter-surface],[data-authored-reading-surface]):not(:has([data-history-content-revision])) [data-shared-chapter-toolbar=true]>details:nth-of-type(3)[open]>div{position:static;width:100%;max-height:none;overflow:visible;margin-top:.5rem}:where([data-shared-chapter-surface],[data-authored-reading-surface]):not(:has([data-history-content-revision])) [data-shared-chapter-listen=true]{margin:.25rem 0 .5rem}:where([data-shared-chapter-surface],[data-authored-reading-surface]):not(:has([data-history-content-revision])) [data-shared-chapter-listen=true]>summary{padding-block:.4rem;min-height:44px}:where([data-shared-chapter-surface],[data-authored-reading-surface]):not(:has([data-history-content-revision])) [data-task-presentation=book]{padding-inline:.75rem}:where([data-shared-chapter-surface],[data-authored-reading-surface]):not(:has([data-history-content-revision])) [data-task-presentation=book] [data-visible-hint-count]{padding:.65rem}:where([data-shared-chapter-surface],[data-authored-reading-surface]):not(:has([data-history-content-revision])) [data-task-presentation=book] [data-authored-content]{overflow-wrap:break-word;hyphens:auto}[data-shared-chapter-surface][data-history-chapter]:not(:has([data-history-content-revision])) [data-history-task-workspace] section[data-history-auxiliary][aria-label="Tehtävän aineisto"]>div:has(>p+p){margin:.5rem 0 .75rem;font-size:calc(.875rem * var(--reader-text-scale, 1));line-height:var(--reader-line-height,1.5)}[data-shared-chapter-surface][data-history-chapter]:not(:has([data-history-content-revision])) [data-history-task-workspace] [role=group][aria-label="Valitse tehtävän aineisto"]{margin:.5rem 0 .65rem;font-size:calc(.875rem * var(--reader-text-scale, 1))}[data-shared-chapter-surface][data-history-chapter]:not(:has([data-history-content-revision])) [data-history-task-workspace][data-workspace-view=material] section[data-history-auxiliary][aria-label="Tehtävän aineisto"]{max-height:none;height:auto;overflow:visible;overscroll-behavior:auto;scrollbar-gutter:auto}:where([data-shared-chapter-surface],[data-authored-reading-surface]):not(:has([data-history-content-revision])) [data-history-standalone-lesson]{margin-inline:-16px}:where([data-shared-chapter-surface],[data-authored-reading-surface]):not(:has([data-history-content-revision])) [data-history-standalone-lesson]>section[id][aria-label]{padding-inline:0}:where([data-shared-chapter-surface],[data-authored-reading-surface]):not(:has([data-history-content-revision])) [data-history-standalone-lesson]>section[id][aria-label]>p{margin-inline:1rem}:where([data-shared-chapter-surface],[data-authored-reading-surface]):not(:has([data-history-content-revision])) [data-history-standalone-lesson]>section[id][aria-label]>div:has(>iframe){border-inline:0;border-radius:0}:where([data-shared-chapter-surface],[data-authored-reading-surface]):not(:has([data-history-content-revision])) [data-history-standalone-lesson]>details{margin-inline:.75rem;padding-inline:.65rem}:where([data-shared-chapter-surface],[data-authored-reading-surface]):not(:has([data-history-content-revision])) [data-history-standalone-lesson]>details>ul{padding-inline-start:1.15rem}:where([data-shared-chapter-surface],[data-authored-reading-surface]):not(:has([data-history-content-revision])) [data-history-standalone-lesson]>details>ol{padding-inline-start:0}}