/* fix57: reading hierarchy and optional resources. No audio/MIDI engine or global grid changes. */
.hk-reading-kicker{font-family:var(--font-body);font-size:.78rem;font-weight:500;letter-spacing:.1em;line-height:1.5;color:#75d4ce;margin:0 0 14px}
.hk-reading .tool-header,.hk-reading .page-header{padding-bottom:24px;border-bottom:1px solid #34454e;margin-bottom:24px}
.hk-reading :is(.tool-header,.page-header)>h1{margin-top:0}
.hk-reading .tool-intro{line-height:1.75;color:#b8c5ca}
.hk-reading :is(.guide-body,.article-body,.guide-content,.legal-body){line-height:1.8;overflow-wrap:break-word}
.hk-reading :is(.guide-body,.article-body,.guide-content,.legal-body) h2{font-size:clamp(1.3rem,2.7vw,1.75rem);line-height:1.35;margin:36px 0 16px;scroll-margin-top:100px}
.hk-reading :is(.guide-body,.article-body,.guide-content,.legal-body) h3{font-size:1.1rem;line-height:1.5;margin:26px 0 12px;scroll-margin-top:100px}
.hk-reading :is(.guide-body,.article-body,.guide-content,.legal-body)>p{margin:16px 0}
.hk-reading :is(.guide-body,.article-body,.guide-content,.legal-body) li{line-height:1.75;margin:8px 0}
.hk-reading-outline{border:1px solid #34454e;border-radius:14px;background:#151e24;margin:24px 0}
.hk-reading-outline>summary{display:list-item;cursor:pointer;min-height:54px;padding:16px 22px;color:#c8e9e6;font-family:var(--font-body);font-weight:500;line-height:1.5}
.hk-reading-outline>summary span:last-child{font-size:.82rem;color:#b8c5ca;font-weight:400;margin-left:14px}
.hk-reading-outline[open]>summary{border-bottom:1px solid #34454e}
.hk-reading-outline .reading-toc{padding:20px 24px;border:0;border-radius:0;background:transparent;margin:0}
.hk-reading-outline .reading-toc ol{margin:0;gap:12px 28px;padding-inline-start:1.375rem}
.hk-reading-outline .reading-toc a{display:block;line-height:1.65;padding:4px 0}
.hk-reading-table{max-width:100%;overflow-x:auto;margin:24px 0;border:1px solid #34454e;border-radius:12px;background:#151e24}
.hk-reading-table:focus-visible{outline:2px solid #57c4c0;outline-offset:4px}
.hk-reading-table table{width:100%;margin:0;border-collapse:collapse;font-size:.93rem;line-height:1.65}
.hk-reading-table :is(td,th){padding:14px 16px;text-align:left;vertical-align:top}
.hk-reading-table th{color:#c8e9e6;font-family:var(--font-body);font-weight:500;background:#1b2830}
.hk-reading .related-tools{margin:32px 0;padding:24px;border:1px solid #355b5a;border-radius:14px;background:#17272b;display:flex;flex-wrap:wrap;gap:12px 16px;align-items:center}
.hk-reading .related-tools :is(h2,h3){flex-basis:100%;margin:0 0 6px;font-family:var(--font-body);font-size:1.1rem;line-height:1.4}
.hk-reading .related-tools a{min-height:44px;display:inline-flex;align-items:center;white-space:normal;line-height:1.5;text-decoration:none}
.hk-reading .related-tools a:hover{text-decoration:underline}
.hk-reading .guide-introduction{margin-top:32px;padding-top:24px;border-top:1px solid #34454e}
.hk-reading .guide-introduction h2{font-size:1.35rem;line-height:1.4;margin-top:0}
.hk-reading .guide-introduction p{color:#b8c5ca;line-height:1.8}
/* Guide discovery shares the home identity, while individual articles remain reading spaces. */
.hk-guide-index .hk-guide-launch{padding:4px 0 28px}
.hk-guide-index .hk-guide-launch h1{font-size:clamp(2.5rem,5.5vw,4.5rem);line-height:1.1;max-width:950px;margin:12px 0 20px;letter-spacing:-.045em}
.hk-guide-index .hk-guide-launch .tool-intro{max-width:720px;font-size:1.1rem;margin:0 0 24px}
.hk-guide-start{margin:0 0 32px}
.hk-guide-start>h2{font-family:var(--font-body);font-size:1rem;color:#b8c5ca;font-weight:500;margin:0 0 16px}
.hk-guide-task-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.hk-guide-task{padding:22px;border:1px solid #3b505a;border-radius:16px;background:#172128;display:flex;flex-direction:column;min-width:0}
.hk-guide-task>span{color:#75d4ce;font-size:.75rem;letter-spacing:.12em;margin-bottom:16px}
.hk-guide-task h3{font-family:var(--font-body);font-size:1.1rem;line-height:1.4;margin:0 0 10px}
.hk-guide-task p{font-size:.9rem;line-height:1.65;color:#b8c5ca;margin:0 0 16px}
.hk-guide-task a{display:flex;align-items:center;min-height:44px;margin-top:auto;line-height:1.5;font-size:.9rem;color:#75d4ce;font-weight:500;text-decoration:none}
.hk-guide-task a:hover{text-decoration:underline}
.hk-guide-library-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;scroll-margin-top:100px;margin:30px 0 16px}
.hk-guide-library-heading h2{font-size:1.55rem;line-height:1.4;margin:0}
.hk-guide-library-heading>span{font-size:.82rem;color:#b8c5ca;white-space:nowrap}
.hk-guide-index .guide-discovery{margin:0 0 32px;border-color:#34454e;background:#151e24}
/* Optional tools support has one place between the workspace and its explanation. */
.hk-session-options:empty{display:none}
.hk-session-options{margin:24px 0}
.hk-session-options .pp-toolbar,.hk-session-options .hk-local-draft{margin:12px 0;border-color:#34454e;background:#151e24;box-shadow:none}
.hk-session-options .pp-toolbar h2{font-family:var(--font-body);font-size:1.1rem;line-height:1.4;margin:0 0 10px}
.hk-session-options .pp-toolbar p{font-size:.92rem;line-height:1.75;color:#b8c5ca}
.hk-session-options .pp-toolbar a{min-height:44px;display:inline-flex;align-items:center}
.hk-session-options .hk-local-draft p{line-height:1.75;font-size:.92rem}
.hk-tool .hk-use-example{padding:18px 0 0;margin-top:18px;border-top:1px solid #34454e}
.hk-tool .hk-use-example :is(h2,h3){font-family:var(--font-body);font-size:1.08rem;line-height:1.45;margin:0 0 12px}
.hk-tool .hk-use-example p{line-height:1.75;font-size:.95rem;margin:0 0 12px}
.hk-tool .hk-example-instructions .hk-use-example{border-top:0;padding-top:0;margin-top:0}
.hk-tool .hk-tool-resources{background:transparent;border:0;border-radius:0;padding:0;margin:24px 0}
.hk-tool-faq{border:1px solid #34454e;border-radius:14px;padding:0 22px;background:#151e24}
.hk-tool-faq>summary{padding:16px 0;min-height:54px;line-height:1.4;cursor:pointer}
.hk-tool-faq>summary h2{display:inline;font-family:var(--font-body);font-size:1.05rem;line-height:1.4;margin:0}
.hk-tool-faq .hk-faq-content{padding:4px 0 12px}
.hk-tool-faq h3{font-size:1rem;margin-top:14px}
.hk-tool .hk-tool-resources>nav{border:1px solid #34454e;border-radius:14px;background:#151e24;padding:22px;margin:20px 0 0}
.hk-tool .hk-tool-resources>nav h2{font-family:var(--font-body);font-size:1.1rem;margin:0 0 14px}
.hk-tool .hk-tool-resources>nav ul{padding:0;list-style:none;gap:10px;margin:0}
.hk-tool .hk-tool-resources>nav li{margin:0}
.hk-tool .hk-tool-resources>nav a{min-height:44px;display:inline-flex;align-items:center;padding:8px 12px;border:1px solid #355b5a;border-radius:8px;text-decoration:none;font-size:.9rem;line-height:1.5}
.hk-tool .hk-tool-resources>nav a:hover{text-decoration:underline}
.hk-tool .hk-tool-resources>nav p{margin:12px 0 0}
.hk-share-wrap{margin-top:28px;margin-bottom:28px}
.hk-share-wrap .share-row{margin:0;padding:16px 0;border-top:1px solid #34454e;gap:10px;flex-wrap:wrap}
.hk-share-wrap .share-row :is(a,button){min-height:44px;display:inline-flex;align-items:center;justify-content:center}
/* Rhythm keeps a separate start action, pad, live feedback and final results. */
#rt-start{font-weight:600}
.practice-stage:has(#rt-start) .practice-actions{margin:18px 0 20px}
.practice-stage:has(#rt-start) .practice-readout{font-size:clamp(40px,8vw,68px);margin:14px 0}
.practice-stage:has(#rt-start) .practice-pad{min-height:96px;margin:16px auto}
#rt-results{border-top:1px solid #34454e;margin-top:24px;padding-top:20px}
#rt-results h2{font-family:var(--font-body);margin-top:0}
@media(max-width:1000px){.hk-guide-task-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.hk-reading :is(.tool-header,.page-header){padding-bottom:20px}.hk-guide-index .hk-guide-launch .tool-intro{font-size:1rem}.hk-guide-task-grid{gap:12px}.hk-guide-task{padding:16px}.hk-guide-task h3{font-size:1rem}.hk-guide-task>p{display:none}.hk-guide-task>span{margin-bottom:10px}.hk-guide-task a{font-size:.84rem;min-height:52px}.hk-guide-library-heading>span{display:none}.hk-reading-outline>summary{padding:14px 18px}.hk-reading-outline .reading-toc{padding:18px}.hk-reading-outline .reading-toc ol{grid-template-columns:1fr;gap:10px}.hk-reading-table :is(th,td){padding:12px;font-size:.86rem}.hk-reading .related-tools{padding:20px}.hk-tool-faq{padding:0 18px}.hk-tool .hk-tool-resources>nav{padding:20px}}
.hk-tool input:is([type=checkbox],[type=radio]){accent-color:#57c4c0}
.hk-reading main [id]{scroll-margin-top:100px}

/* One destination per card: related tools and guides share the same hierarchy. */
.hk-destination-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.hk-destination-grid:has(>.hk-destination:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
.hk-destination-grid:has(>.hk-destination:first-child:last-child){grid-template-columns:1fr}
.hk-tool .hk-tool-resources>nav .hk-destination,.hk-inline-destinations .hk-destination{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;padding:18px;border:1px solid #355b5a;border-radius:10px;background:#17272b;text-decoration:none;color:#e6ecee;line-height:1.5}
.hk-destination-type{font-size:.72rem;color:#9cddd7;letter-spacing:.06em;text-transform:uppercase}
.hk-destination-title{font-size:1rem;font-weight:500;overflow-wrap:anywhere}
.hk-destination-action{margin-top:auto;padding-top:8px;font-size:.85rem;color:#9cddd7}
.hk-destination:hover{border-color:#75d4ce;background:#1c3035}
.hk-destination:focus-visible{outline:3px solid #75d4ce;outline-offset:4px}
.hk-inline-destinations{margin:20px 0}
.hk-help-callout{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:24px 0 32px;padding:24px;border:1px solid #355b5a;border-radius:14px;background:#17272b}
.hk-help-callout h2{font-family:var(--font-body);font-size:1.1rem;margin:0 0 8px;line-height:1.5}
.hk-help-callout p{color:#b8c5ca;line-height:1.7;margin:0;max-width:650px}
.hk-help-callout>a{flex-shrink:0}
@media(max-width:900px){.hk-destination-grid,.hk-destination-grid:has(>.hk-destination:nth-child(2):last-child){grid-template-columns:1fr}.hk-help-callout{align-items:flex-start;flex-direction:column}}

/* fix221: scoped practice routes and grouped release notes. No microphone/DSP styles. */
.hk-practice-flow .hk-practice-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:22px 0 26px}.hk-practice-flow .hk-practice-links>a{display:flex;align-items:center;min-height:48px;padding:10px 12px;border:1px solid #3b535b;border-radius:9px;background:#152329;color:#c4dddf;font-size:.88rem;line-height:1.5;text-decoration:none;overflow-wrap:anywhere}.hk-practice-flow .hk-practice-links>a[aria-current=page]{border-color:#57c4c0;color:#a5e8e0;background:#193033}.hk-practice-flow .hk-flow-note{padding:14px 16px;border-left:3px solid #57c4c0;border-radius:0 8px 8px 0;background:#12242a;color:#c5d8da;font-size:.9rem;line-height:1.7;margin:14px 0 20px;overflow-wrap:anywhere}.hk-practice-flow aside.hk-flow-note p{margin:8px 0 0}.hk-practice-flow .hk-flow-extra{border:1px solid #354b54;border-radius:10px;padding:12px 16px;margin:18px 0}.hk-practice-flow .hk-flow-extra>summary{cursor:pointer;min-height:40px;line-height:1.6;font-size:.92rem;align-content:center}.hk-practice-flow .hk-flow-extra[open]>summary{margin-bottom:14px}.hk-practice-flow .hk-flow-extra p,.hk-practice-flow .hk-flow-extra li{font-size:.9rem;line-height:1.7}.hk-practice-flow .hk-flow-jump{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.hk-practice-flow .hk-flow-jump a{display:inline-flex;align-items:center;padding:10px 12px;border:1px solid #45616a;border-radius:8px;min-height:44px;font-size:.9rem;text-decoration:none}.hk-flow-projects .hk-project-layout{grid-template-columns:minmax(0,1fr);gap:16px}.hk-flow-projects #pp-editor{padding:clamp(18px,3vw,30px)}.hk-flow-projects .hk-flow-step{margin:0 0 28px;padding:0 0 24px;border-bottom:1px solid #354b54;scroll-margin-top:22px}.hk-flow-projects .hk-flow-step:last-of-type{margin-bottom:0;padding-bottom:0;border-bottom:0}.hk-flow-projects .hk-flow-step>h2{font-size:1.25rem;line-height:1.5;margin:0 0 16px}.hk-flow-projects .pp-fields label{font-size:.9rem;line-height:1.6}.hk-flow-projects .pp-fields input,.hk-flow-projects .pp-fields select,.hk-flow-projects .pp-fields textarea,.hk-flow-projects #pp-task-text,.hk-flow-projects #pp-log-note{box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:44px;border:1px solid #4b626c;border-radius:8px;background:#101b20;color:var(--text);padding:10px;font:inherit}.hk-flow-projects .pp-fields textarea,.hk-flow-projects #pp-log-note{min-height:86px;resize:vertical}.hk-flow-projects .hk-project-tasks{margin-top:22px}.hk-flow-projects .hk-project-tasks>h3{font-size:1.05rem}.hk-flow-projects .pp-actions>.btn{min-height:44px;white-space:normal;font-size:.9rem}.hk-flow-projects .pp-tool-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0}.hk-flow-projects .pp-tool-links a{display:flex;align-items:center;padding:13px;border:1px solid #3b5960;border-radius:9px;background:#14262b;font-size:.9rem;line-height:1.6;min-height:48px;overflow-wrap:anywhere;text-decoration:none}.hk-flow-projects .hk-flow-related{padding:16px;margin-top:20px;border:1px solid #3b535b;border-radius:10px}.hk-flow-projects .hk-flow-related p{font-size:.9rem;line-height:1.7}.hk-flow-projects .hk-project-recovery{padding:18px 22px;border:1px solid #354b54;border-radius:12px;background:#152329}.hk-flow-projects .hk-project-recovery>summary{cursor:pointer;font-size:1.05rem;line-height:1.6;min-height:44px;align-content:center}.hk-flow-projects .hk-project-recovery>h2{font-size:1.15rem;margin-top:22px}.hk-flow-projects .hk-project-recovery .tool-panel{margin:16px 0;padding:18px}.hk-flow-projects .pp-status:empty{display:none}.hk-flow-projects .pp-status:not(:empty){border-left:3px solid #57c4c0;padding:12px;background:#14272c;line-height:1.6}.hk-flow-projects #hk-account-info{padding:20px;border:1px solid #354b54;border-radius:12px;margin:24px 0}.hk-flow-projects #hk-account-info p,.hk-flow-projects #hk-account-info li{font-size:.9rem;line-height:1.7}.hk-flow-teachers .hk-class-activity{padding:20px;border:1px solid #354b54;border-radius:12px;margin:18px 0;background:#152329}.hk-flow-teachers .hk-class-activity h3{margin-top:0}.hk-flow-teachers .hk-class-activity ol{padding-left:22px}.hk-flow-teachers .hk-class-activity li{font-size:.95rem;line-height:1.7;margin:10px 0}.hk-flow-teachers .hk-class-activity a{display:inline-flex;align-items:center;min-height:44px}.hk-practice-flow :focus-visible,.hk-update-groups :focus-visible{outline:3px solid #7bdad4;outline-offset:3px}.hk-practice-flow [id]{scroll-margin-top:24px}
.hk-update-groups .hk-update-day{border:1px solid #354b54;background:#152329;border-radius:12px;margin:18px 0;padding:0 22px}.hk-update-groups .hk-update-day>summary{display:flex;align-items:center;flex-wrap:wrap;gap:12px;justify-content:space-between;cursor:pointer;padding:18px 0;list-style:none}.hk-update-groups .hk-update-day>summary::-webkit-details-marker{display:none}.hk-update-groups .hk-update-day>summary h2{font-size:1.15rem;line-height:1.5;margin:0;display:flex;align-items:center;gap:10px}.hk-update-groups .hk-update-day>summary h2::before{content:'▸';color:#7bdad4;font-size:.9rem}.hk-update-groups .hk-update-day[open]>summary h2::before{content:'▾'}.hk-update-groups .hk-update-day>summary>span{font-size:.8rem;color:#b3c6ca}.hk-update-groups .hk-update-day .hk-release{border:0;border-top:1px solid #354b54;border-radius:0;padding:22px 0;margin:0;background:transparent}.hk-update-groups .hk-release h3{font-size:1.15rem;line-height:1.5;margin:0 0 12px}.hk-update-groups .hk-release p{font-size:.95rem;line-height:1.75}.hk-update-groups .hk-release p:last-child{margin-bottom:0}
@media(max-width:700px){.hk-practice-flow .hk-practice-links{grid-template-columns:repeat(2,minmax(0,1fr));margin:18px 0}.hk-practice-flow .hk-practice-links>a{font-size:.83rem;padding:10px}.hk-flow-projects .pp-tool-links{grid-template-columns:minmax(0,1fr)}.hk-flow-projects .pp-actions>.btn{flex:1 1 170px}.hk-flow-projects .hk-project-recovery{padding:14px}.hk-flow-teachers .hk-class-activity{padding:16px}.hk-update-groups .hk-update-day{padding:0 16px}.hk-update-groups .hk-update-day>summary h2{font-size:1.05rem}}
@media print{.hk-practice-flow .hk-practice-links,.hk-practice-flow .hk-flow-jump{display:none!important}}

.hk-practice-flow>.skip-link:not(:focus),.hk-update-groups>.skip-link:not(:focus){left:-10000px;transform:none}

/* Monthly summaries: day-level history stays available on demand. */
.hk-update-groups .hk-update-month{border:1px solid #354b54;border-radius:12px;background:#152329;margin:22px 0;padding:24px}.hk-update-groups .hk-update-month>h2{font-size:1.3rem;margin:0 0 8px;color:#a9e4de}.hk-update-groups .hk-update-highlight{padding:22px 0;border-top:1px solid #354b54}.hk-update-groups .hk-update-highlight h3{font-size:1.15rem}.hk-update-groups .hk-update-history{margin-top:20px;padding-top:8px;border-top:1px solid #354b54}.hk-update-groups .hk-update-history>summary{min-height:44px;cursor:pointer;font-size:.95rem;align-content:center}.hk-update-groups .hk-update-history>p{font-size:.85rem;color:#b3c6ca}.hk-update-groups .hk-update-history .hk-update-day{padding:0 16px;margin:12px 0;background:#101d22}.hk-update-groups .hk-update-day>summary h3{font-size:1rem;margin:0;display:flex;gap:10px;align-items:center}.hk-update-groups .hk-update-day>summary h3::before{content:'▸';color:#7bdad4;font-size:.85rem}.hk-update-groups .hk-update-day[open]>summary h3::before{content:'▾'}.hk-update-groups .hk-update-day h4{font-size:1rem;margin:0 0 12px;line-height:1.5}.hk-update-groups .hk-update-day .hk-release p{font-size:.9rem}@media(max-width:600px){.hk-update-groups .hk-update-month{padding:18px}.hk-update-groups .hk-update-history .hk-update-day{padding:0 12px}}

.hk-update-groups .hk-update-month>.hk-update-highlight{border:0;border-top:1px solid #354b54;border-radius:0;background:transparent;margin:0;padding:22px 0}
