/* Material-led practice shares the existing reading palette and text size. */
.ht-entry{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:25px 0 32px;padding:28px 30px;background:var(--green-light);border:1px solid var(--line);border-radius:12px;color:var(--green)}
.ht-entry small{font-size:14px}.ht-entry h2{font-size:24px;line-height:1.6;margin:10px 0}.ht-entry p{margin:0;font-size:17px;line-height:1.9}.ht-entry>span{display:flex;gap:10px;align-items:center;white-space:nowrap;font-size:17px}
.ht-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:28px 0}.ht-card{display:flex;flex-direction:column;gap:16px;padding:25px;background:var(--surface);border:1px solid var(--line);border-radius:12px;min-width:0}.ht-card h2{font-size:25px;line-height:1.6;margin:0}.ht-card p{font-size:var(--reader-size);line-height:1.9;margin:0}.ht-card .primary{margin-top:auto;align-self:start}.ht-tags{display:flex;gap:9px;flex-wrap:wrap}.ht-tags span{font-size:14px;line-height:1.6;background:var(--surface-alt);border:1px solid var(--line);border-radius:6px;padding:6px 10px}.ht-learning-steps{display:flex;flex-wrap:wrap;gap:24px;padding:18px 0;color:var(--muted);font-size:17px}.ht-learning-steps b{color:var(--green);font:22px Georgia,serif;margin-right:9px}
.ht-head{margin:20px 0 25px}.ht-head h1{font-size:34px;line-height:1.6;margin:13px 0}.ht-head>p{max-width:900px;font-size:var(--reader-size);line-height:1.9;white-space:pre-wrap}.ht-jump{position:sticky;top:0;z-index:5;display:flex;gap:9px;flex-wrap:wrap;background:var(--paper);padding:12px 0;margin:12px 0 25px;border-bottom:1px solid var(--line)}.ht-jump .secondary{min-height:44px;font-size:14px;padding:9px 14px}.ht-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:26px;align-items:start}.ht-layout>section{min-width:0}.ht-panel-heading{margin:0 0 19px}.ht-panel-heading h2{font-size:22px;line-height:1.6;margin:0 0 4px}.ht-panel-heading span{font-size:14px;color:var(--muted)}
.ht-material,.ht-part{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:24px;margin-bottom:22px;scroll-margin-top:95px;min-width:0;overflow-wrap:anywhere}.ht-material-label,.ht-part-meta{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px;color:var(--green);font-size:15px}.ht-material-label .quiet-link{min-height:44px;display:inline-flex;gap:7px;align-items:center}.ht-material h3,.ht-part h3{font-size:22px;line-height:1.9;margin:0 0 19px;white-space:pre-wrap}.ht-material-text,.ht-material p,.ht-part p{font-size:var(--reader-size);line-height:2;white-space:pre-wrap;margin:15px 0}.ht-material-source{font-size:13px!important;line-height:1.8!important;color:var(--muted);padding-top:12px;border-top:1px solid var(--line)}.ht-material-source a{color:var(--green);text-decoration:underline;text-underline-offset:3px}.ht-table-scroll{max-width:100%;overflow:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:7px}.ht-table-scroll:focus-visible{outline:2px solid var(--green);outline-offset:3px}.ht-table-scroll table{border-collapse:collapse;width:100%;min-width:360px;font-size:var(--reader-size);line-height:1.9}.ht-table-scroll th,.ht-table-scroll td{padding:13px 15px;border-bottom:1px solid var(--line);border-right:1px solid var(--line);text-align:left;vertical-align:top;white-space:pre-wrap;min-width:100px}.ht-table-scroll th{background:var(--surface-alt);font-weight:600}.ht-table-scroll td{background:var(--surface)}.ht-table-scroll tr:last-child td,.ht-table-scroll tr:last-child th{border-bottom:0}.ht-table-scroll th:last-child,.ht-table-scroll td:last-child{border-right:0}.ht-material figure{margin:18px 0}.ht-material img{width:100%;height:auto;display:block;border:1px solid var(--line);border-radius:6px;background:#faf9f3}.ht-material figcaption{font-size:15px;line-height:1.8;margin-top:10px;color:var(--muted);white-space:pre-wrap}.ht-image-description{margin:16px 0;font-size:16px}.ht-image-description summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:var(--green)}.ht-image-description p{font-size:17px;line-height:1.9}
.ht-part-meta span{font-size:13px;color:var(--muted)}.ht-material-refs{display:flex;flex-wrap:wrap;gap:10px;margin:-5px 0 15px}.ht-material-refs button{min-height:44px;font-size:14px;padding:6px 0}.ht-inputs{border:0;padding:0;margin:0;min-width:0}.ht-inputs>label,.ht-correction>label{display:block;font-size:16px;line-height:1.8;margin:14px 0 9px;color:var(--muted)}.ht-inputs textarea{width:100%;font-size:var(--reader-size);line-height:1.9;min-height:120px;resize:vertical}.ht-submit-row{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:19px}.ht-submit-row .primary{min-height:46px;white-space:normal;font-size:15px}.ht-save-note{font-size:12px;color:var(--muted);line-height:1.7}.ht-error{font-size:15px;line-height:1.8;color:#985332;margin-top:12px}.ht-judgments{border:0;padding:0;margin:15px 0;display:flex;flex-wrap:wrap;gap:10px}.ht-judgments legend{font-size:16px;color:var(--muted);margin-bottom:12px}.ht-judgments label{display:flex;align-items:center;gap:9px;padding:12px 15px;border:1px solid var(--line);border-radius:7px;min-height:48px;font-size:17px;cursor:pointer}.ht-judgments input{width:18px;height:18px;accent-color:var(--green);margin:0}.ht-judgments label:has(input:checked){border-color:var(--green);background:var(--green-light)}.ht-unsure{background:var(--surface-alt);padding:14px 17px;margin:15px 0;line-height:1.9;font-size:16px;border-radius:7px}.ht-knowledge{border-top:1px solid var(--line);padding-top:12px;margin-top:22px;font-size:15px}.ht-knowledge summary{min-height:44px;cursor:pointer;line-height:1.9;color:var(--green);padding:8px 0}.ht-knowledge a{display:block;min-height:44px;padding:10px 0;line-height:1.8;color:var(--green);font-size:17px}.ht-feedback{background:var(--surface-alt);border:1px solid var(--line);border-radius:9px;padding:22px;margin-top:22px}.ht-feedback h4{color:var(--green);font-size:20px;line-height:1.7;margin:0 0 12px}.ht-feedback>small{font-size:14px;line-height:1.9;color:var(--muted)}.ht-feedback p{font-size:var(--reader-size);line-height:2;white-space:pre-wrap}.ht-feedback .ht-revision-hint{font-size:13px;color:var(--muted);margin:17px 0 0}.ht-selfchecks{border-top:1px solid var(--line);margin-top:20px;padding-top:17px}.ht-selfchecks>b{font-size:15px;color:var(--green)}.ht-selfchecks .h-rubric{font-size:17px}.ht-materials:focus,.ht-part:focus{outline:none}
.ht-zoom-modal{max-width:1100px!important;width:calc(100% - 32px)!important}.ht-zoom .ht-material{padding:0;border:0;background:transparent}.ht-zoom .ht-table-scroll{max-height:65vh}.ht-zoom .ht-material img{max-height:none}.ht-zoom .ht-material-label{display:none}.ht-zoom .ht-table-scroll table{min-width:600px}.ht-zoom .ht-image-description{display:block}
.ht-editor-modal{max-width:1050px!important;width:calc(100% - 32px)!important}.ht-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.ht-editor-field{display:flex;flex-direction:column;gap:9px;font-size:15px;line-height:1.8;margin:16px 0;min-width:0}.ht-editor-field small{font-size:12px;line-height:1.8;color:var(--muted)}.ht-editor-field input,.ht-editor-field textarea,.ht-editor-field select{width:100%;font-size:16px;line-height:1.8}.ht-editor-field select{min-height:46px}.ht-multiselect{min-height:125px!important}.ht-multiselect option{padding:8px;white-space:normal}.ht-editor-section{border-top:1px solid var(--line);margin-top:26px;padding-top:20px}.ht-editor-section>h3{font-size:22px;line-height:1.7;margin-bottom:20px}.ht-editor-card{padding:22px;margin:20px 0;border:1px solid var(--line);border-radius:10px;min-width:0;background:var(--surface-alt)}.ht-editor-card legend{padding:0 9px;font-size:18px;line-height:1.9;color:var(--green)}.ht-editor-tools{display:flex;justify-content:space-between;align-items:center;gap:15px;color:var(--muted);font-size:12px}.ht-editor-tools button{font-size:14px;min-height:44px}.ht-editor-section .h-row{flex-wrap:wrap}.ht-editor-section .h-row button{min-height:44px;font-size:14px}.ht-table-editor input{min-width:130px;width:100%;font-size:15px;line-height:1.7}.ht-table-editor th,.ht-table-editor td{padding:8px}.ht-admin-preview{border:1px solid var(--line);padding:22px;margin-top:24px;border-radius:10px}.ht-admin-preview>h2{font-size:24px;line-height:1.7;margin:16px 0}.ht-admin-preview>p,.ht-admin-preview li{font-size:18px;line-height:1.9}.ht-editor-modal .modal-footer{flex-wrap:wrap}
html[data-theme=night] .ht-material img{filter:brightness(.78) saturate(.8)}html[data-theme=night] .ht-error{color:#deb798}
@media(min-width:1200px){.ht-materials{position:sticky;top:91px;max-height:calc(100vh - 120px);overflow:auto;overscroll-behavior:contain;padding-right:5px}}
@media(max-width:1200px){.ht-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ht-layout{gap:18px}.ht-material,.ht-part{padding:21px}.ht-material h3,.ht-part h3{font-size:21px}}
@media(max-width:950px){.ht-layout{grid-template-columns:1fr}.ht-grid{grid-template-columns:1fr}.ht-card{padding:25px}.ht-card h2{font-size:24px}.ht-jump{gap:7px;padding:10px 0}.ht-jump .secondary{font-size:13px;padding:8px 11px}.ht-material,.ht-part{padding:26px;scroll-margin-top:110px}.ht-entry{padding:24px}.ht-entry h2{font-size:23px}.ht-head h1{font-size:30px}.ht-materials{scroll-margin-top:110px}}
@media(orientation:landscape) and (min-width:900px){.ht-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.ht-materials{position:sticky;top:90px;max-height:calc(100vh - 115px);overflow:auto;padding-right:4px}}
@media(max-width:600px){.ht-entry{display:block;padding:23px}.ht-entry>span{margin-top:20px}.ht-entry h2{font-size:22px}.ht-entry p{font-size:16px}.ht-learning-steps{gap:14px;font-size:15px}.ht-head h1{font-size:28px}.ht-material,.ht-part{padding:21px 18px;scroll-margin-top:140px}.ht-materials{scroll-margin-top:140px}.ht-material h3,.ht-part h3{font-size:21px}.ht-judgments{gap:7px}.ht-judgments label{padding:11px;font-size:16px}.ht-submit-row{display:block}.ht-save-note{display:block;margin-top:11px}.ht-feedback{padding:18px}.ht-editor-grid{grid-template-columns:1fr;gap:0}.ht-editor-card{padding:16px}.ht-editor-modal,.ht-zoom-modal{width:calc(100% - 16px)!important}.ht-admin-preview{padding:15px}.ht-jump{margin-bottom:20px}.ht-table-scroll th,.ht-table-scroll td{padding:11px}.ht-grid{gap:17px}}

.ht-panel-heading .ht-material-count{display:block;color:var(--green);font-size:16px;line-height:1.9;margin:5px 0 2px}
