/* Entry components use HertzKit's existing page frames and palette. */
.hk-home[data-hk-home] .hk-home-audio{padding:14px 16px;margin:12px 0;border:1px solid #395259;border-radius:12px;background:#101f26;min-width:0}
.hk-home .hk-home-audio[hidden]{display:none}
.hk-home .hk-home-audio-top{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:4px 16px;margin-bottom:10px;line-height:1.5}
.hk-home .hk-home-audio-top strong{font-size:.95rem;color:#edf5f4}
.hk-home .hk-home-audio-top span{font-size:.8rem;color:#b6ccd2}
.hk-home .hk-home-audio-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.hk-home .hk-home-audio-actions button{min-height:44px;font-size:.85rem}
.hk-home .hk-home-audio-play{background:#77d2c8;color:#10272a;border-color:#77d2c8;font-weight:600}
.hk-home .hk-home-audio-actions output{font-size:.8rem;font-variant-numeric:tabular-nums;color:#d1dfe1;margin-left:auto}
.hk-home .hk-home-audio label{display:flex;align-items:center;gap:12px;min-height:44px;font-size:.8rem;line-height:1.5;color:#b6ccd2}
.hk-home .hk-home-audio-position{margin-top:6px;flex-wrap:wrap}
.hk-home .hk-home-audio-position input{flex:1 1 150px;min-width:0;width:100%;min-height:32px;accent-color:#77d2c8}
.hk-home .hk-home-audio-volume input{width:120px;max-width:100%;min-height:32px;accent-color:#77d2c8}
.hk-home .hk-home-audio :focus-visible{outline:2px solid #f4c67f;outline-offset:3px}
.hk-home .hk-demo195 .hk-lesson-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.hk-home .hk-demo195 .hk-lesson-choices button{min-width:0;font-size:.84rem;padding:9px 8px;line-height:1.5}
.hk-home .hk-home-outcome{padding:10px 12px;border-left:2px solid #77d2c8;background:#102027;color:#d1dfe1;font-size:.9rem}
.hk-home[data-hk-catalog] .recent-tools{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px 16px;padding:10px 16px;margin:0 0 24px;border-radius:12px}
.hk-home[data-hk-catalog] .recent-tools[hidden]{display:none}
.hk-home[data-hk-catalog] .recent-tools .library-heading{display:contents}
.hk-home[data-hk-catalog] .recent-tools h2{grid-column:1;grid-row:1;margin:0;font-family:var(--font-body);font-size:.85rem;line-height:1.5}
.hk-home[data-hk-catalog] .recent-tools #clear-recent{grid-column:3;grid-row:1;font-size:.8rem;min-height:44px;padding:4px}
.hk-home[data-hk-catalog] .recent-tools #recent-links{grid-column:2;grid-row:1;gap:6px;min-width:0}
.hk-home[data-hk-catalog] .recent-tools #recent-links a{display:inline-flex;align-items:center;min-height:44px;padding:8px 10px;font-size:.8rem;line-height:1.5;max-width:100%;overflow-wrap:anywhere}
@media(max-width:700px){
 .hk-home[data-hk-catalog] .recent-tools{grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:10px 14px}
 .hk-home[data-hk-catalog] .recent-tools #clear-recent{grid-column:2}
 .hk-home[data-hk-catalog] .recent-tools #recent-links{grid-column:1/-1;grid-row:2}
}
@media(max-width:380px){.hk-home .hk-home-audio-actions output{flex-basis:100%;margin:0}.hk-home .hk-home-audio{padding:12px}}

@media(min-width:1000px){
 .hk-home[data-hk-home] .hk-home-audio{display:grid;grid-template-columns:minmax(0,1fr) 138px;gap:0 12px}
 .hk-home .hk-home-audio-top,.hk-home .hk-home-audio-actions{grid-column:1/-1}
 .hk-home .hk-home-audio-position{grid-column:1;flex-wrap:nowrap}
 .hk-home .hk-home-audio-position input{flex:1 1 40px}
 .hk-home .hk-home-audio-volume{grid-column:2;margin-top:6px}
 .hk-home .hk-home-audio-volume input{width:72px;min-width:0}
}
