/* Match the existing QDND palette, readable type scale and responsive cards. */
.guide-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:20px;align-items:start}
.guide-nav,.guide-content{min-width:0;border:1px solid var(--border);background:white;border-radius:7px;padding:20px}
.guide-nav{padding:14px}.guide-nav h2{font:700 .85rem/1.7 Inter,sans-serif;margin:20px 8px 8px;color:#813343}.guide-nav .field{margin:14px 7px}
.guide-nav-link{display:block;padding:10px 9px;min-height:44px;font-size:.82rem;line-height:1.7;border-radius:4px;overflow-wrap:anywhere}
.guide-nav-link:hover,.guide-nav-link[aria-current=page]{background:var(--pink);color:var(--red)}
.guide-content h2{font:700 1.15rem/1.7 Merriweather,Georgia,serif;color:#813343;margin:0 0 12px}.guide-content h2:not(:first-child){margin-top:28px}
.guide-content p,.guide-instructions,.guide-reference{font-size:.875rem;line-height:1.95;text-align:justify;overflow-wrap:anywhere}
.guide-lead{color:var(--muted)}.guide-instructions{padding-left:24px}.guide-instructions li{padding:6px 0 10px}
.guide-journey{padding:0;list-style:none;counter-reset:step}.guide-journey>li{padding:20px 0;border-bottom:1px solid var(--border);counter-increment:step}
.guide-journey h3{font:700 1rem/1.8 Merriweather,Georgia,serif;color:#813343;margin:0 0 8px}.guide-journey h3:before{content:counter(step) '. ';color:var(--red)}
.guide-journey p{margin:0 0 14px}.guide-journey .research-choice{margin-top:12px;min-height:44px}.guide-journey input{accent-color:var(--red);width:18px;height:18px;flex:none}
.guide-content progress{width:100%;height:12px;accent-color:var(--red)}.guide-time{display:block;color:var(--muted);font-size:.76rem;line-height:1.7;overflow-wrap:anywhere}
.guide-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.guide-cards .module-card{padding:20px;min-height:150px}.guide-cards .module-card p{margin:0 0 8px;font-size:.82rem;text-align:left}
.guide-content .guide-status{color:#995324;text-align:left;margin:10px 0;font-size:.82rem}
.guide-roadmap,.guide-reference{border-top:1px solid var(--border);padding-top:16px;margin-top:24px}.guide-roadmap summary,.guide-reference summary{cursor:pointer;color:#813343;font-size:.88rem;line-height:1.8;min-height:44px}
.guide-roadmap table{width:100%;border-collapse:collapse;font-size:.8rem;min-width:0}.guide-roadmap th,.guide-roadmap td{padding:12px;border:1px solid var(--border);text-align:left;vertical-align:top;overflow-wrap:anywhere}.guide-roadmap th{width:25%;color:#813343;background:#fff8fa}.guide-roadmap td:nth-child(2){width:20%}
.guide-home-entry{display:flex;gap:10px;align-items:center;flex-wrap:wrap;color:var(--muted);font-size:.83rem;margin:16px 0 22px}.guide-dialog h2:not(#guide-dialog-title){font:700 1rem/1.8 Merriweather,Georgia,serif;color:#813343;margin:20px 0 8px}.guide-dialog .guide-instructions{font-size:.86rem;line-height:1.9;text-align:justify}.guide-dialog .knowledge-actions{margin-bottom:16px}
@media(max-width:1100px){.guide-layout{grid-template-columns:205px minmax(0,1fr);gap:14px}.guide-content{padding:20px}.guide-cards{grid-template-columns:1fr}}
@media(max-width:740px){.guide-layout{grid-template-columns:1fr}.guide-nav{max-height:340px;overflow:auto}.guide-content{padding:18px}.guide-content p,.guide-instructions{font-size:.84rem}.guide-cards{grid-template-columns:1fr 1fr}.guide-cards .module-card{padding:14px}.guide-cards .module-card h3{font-size:.86rem}.guide-roadmap tr{display:grid;grid-template-columns:1fr 1fr}.guide-roadmap th,.guide-roadmap td:nth-child(2){width:auto}.guide-roadmap td:last-child{grid-column:1/-1}.guide-content .button,.guide-dialog .button{min-height:44px;white-space:normal;text-align:center}}
@media(max-width:450px){.guide-cards{grid-template-columns:1fr}.guide-content h2{font-size:1.02rem}.guide-nav-link{font-size:.81rem}}
@media print{.guide-nav,.guide-context,.guide-home-entry,.guide-content>.knowledge-actions{display:none}.guide-layout{display:block}.guide-content{border:0;padding:0}.guide-journey>li{break-inside:avoid}.guide-content details{display:block}}
