.home-intro{font-size:.85em;line-height:1.35;color:var(--muted);margin:.15rem 0 .6rem}
.resource-links{display:flex;flex-wrap:wrap;gap:.18rem .65rem;margin-top:.55rem;font-size:.78rem}
.resource-links a,.resource-home{color:var(--accent);text-underline-offset:.18em;padding-block:.18rem}
.resource-page main{width:min(780px,100% - 1rem)}
.resource-panel{line-height:1.5}
.resource-panel h1{margin-top:.55rem}
.resource-panel h2{font-size:1.12rem;margin:1.05rem 0 .36rem}
.resource-panel p{margin:.38rem 0 .65rem}
.resource-panel ul{padding-inline-start:1.2rem}
.resource-panel li+li{margin-top:.3rem}
.resource-cta{
  display:inline-flex;align-items:center;min-height:44px;padding:.32rem .8rem;
  font-weight:750;color:var(--on);background:var(--accent);
  border-radius:min(var(--r),10px);text-decoration:none
}
.resource-exercise,.resource-cards details{border:1px solid var(--edge);padding:.65rem;border-radius:min(var(--r),12px);margin:.45rem 0}
.resource-quiz label{display:flex;align-items:center;gap:.4rem;min-height:36px}
.resource-quiz fieldset{margin:0 0 .45rem}
.resource-quiz input{accent-color:var(--accent)}
.resource-answer summary,.resource-cards summary{cursor:pointer;font-weight:700}
.resource-cards{display:grid;gap:.4rem;grid-template-columns:repeat(3,minmax(0,1fr))}
.resource-image img{display:block;width:min(160px,100%);height:auto;object-fit:contain;aspect-ratio:1}
.resource-table{min-width:0;table-layout:fixed}
.resource-table :is(th,td){vertical-align:top;white-space:normal;overflow-wrap:anywhere}
.resource-table th:first-child{width:22%}
.resource-table th:nth-child(2){width:29%}
.resource-table small{display:block;color:var(--muted);margin-top:.22rem;font-size:.78em}
.resource-page>footer{text-align:center;padding:.65rem}
@media(max-width:540px){
  .resource-panel h2{font-size:1rem}
  .resource-table :is(td,th){font-size:.78rem}
  .resource-links{font-size:.73rem}
  .resource-cards{grid-template-columns:minmax(0,1fr)}
}

.resource-guide{margin-top:.7rem}
.home-study-guide{font-size:.82em;color:var(--muted)}
.home-study-guide summary,.resource-panel details summary{cursor:pointer;font-weight:700}
.home-study-guide p{margin:.35rem 0}
.home-study-guide a{color:var(--accent);text-underline-offset:.18em}
.analytics-open{min-height:34px;padding:0 .35rem;font-size:1rem;line-height:1}
.analytics-open::before{display:none!important}
#analytics-dialog{max-width:min(92vw,29rem);color:var(--ink)}
#analytics-dialog::backdrop{background:#0009}
.analytics-actions{display:flex;flex-wrap:wrap;gap:.4rem}
.analytics-actions .status{flex-basis:100%}
.resource-page> .analytics-open{align-self:center;margin-top:.6rem}
@media(max-width:440px){.analytics-open{min-height:32px;padding-inline:.25rem}}
