/* V14: One subject section, with an accessible, compact guide directory. */
.compact-guide-directory{margin:25px 0 18px;border:1px solid #dcd8e9;border-radius:17px;background:#fff;box-shadow:0 5px 20px #24165107;max-width:100%;overflow:hidden;scroll-margin-top:130px}
.compact-guide-directory summary{display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer;padding:20px 23px;color:#342958;font-weight:800;list-style-position:inside;min-width:0}
.compact-guide-directory summary::marker{color:#6451aa}
.compact-guide-directory summary:hover,.compact-guide-directory[open] summary{background:#f6f4ff}
.directory-heading{display:inline-flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:16px;line-height:1.45}
.directory-count{font-size:12px;font-weight:700;border-radius:99px;padding:3px 10px;background:#e7f7f5;color:#14726d}
.directory-hint{white-space:nowrap;color:#6253a8;font-size:12px;font-weight:800}
.compact-guide-directory>p{font-size:13px;color:#656179;line-height:1.55;margin:2px 22px 14px}
.compact-guide-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 20px 20px}
.compact-guide-links a{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 13px;border:1px solid #e6e1f0;border-radius:11px;color:#392d6d;background:#faf9ff;font-size:13px;font-weight:700;line-height:1.4;text-decoration:none;min-width:0}
.compact-guide-links a:hover{background:#e9f5f2;border-color:#add9cd;color:#0b726b}
.compact-guide-links a span{flex:none}
@media(max-width:650px){.compact-guide-directory summary{padding:16px 14px}.directory-heading{font-size:14px}.directory-hint{font-size:11px}.compact-guide-links{grid-template-columns:1fr;padding:0 14px 14px}.compact-guide-directory>p{margin:0 14px 14px}}
/* Mobile: the full-width floating tools button previously blocked card text. */
@media(max-width:600px){
 #study-quicktools{right:14px!important;bottom:calc(85px + env(safe-area-inset-bottom))!important}
 #study-quicktools .quicktools-launch{width:52px;height:52px;min-height:52px;border-radius:50%;padding:0;font-size:25px;display:grid;place-items:center;line-height:1;box-shadow:0 6px 20px #101e463d}
 #study-quicktools .quicktools-launch .quicktools-caption{display:none}
 #study-quicktools .quicktools-panel{max-height:calc(100dvh - 170px);overflow-y:auto}
}
