/* O contorno de seleção é contínuo nos quatro lados, inclusive no topo. */
.portal-content :is(.material-card,.materials-area,.exercise-card,.question-module,.discipline-module,.tool-subject-card,.tool-deck-card,.catalog-card,.game-gallery-card,.tool-tile,.op-card,.op-plan-card,.hub-package,.op-resource-grid a,.op-dashboard-steps a,.download-grid a):is(:hover,:focus-visible){outline:1px solid var(--theme-text);outline-offset:-1px}
.material-card{align-items:stretch!important;min-height:0!important}.material-card-art{display:grid;width:100%;align-self:stretch;box-sizing:border-box;min-height:130px;place-items:center}.material-card-body{width:100%;box-sizing:border-box;align-self:stretch}.material-card-body small{margin-top:0!important}.material-card:hover{border-top-color:var(--subject-color)!important}
.material-dialog .material-file>.icon{color:var(--subject-color)}.material-dialog .material-file a{background:var(--subject-color)}.material-dialog .material-file a:hover{filter:brightness(.9)}
.referral-insights{margin-top:30px}.referral-funnel{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin:18px 0}.referral-funnel>div{display:grid;gap:6px;border:1px solid var(--theme-border);border-radius:14px;background:var(--theme-surface);padding:17px}.referral-funnel b{font-size:28px;color:var(--theme-primary)}.referral-funnel span{font-size:12px;color:var(--theme-muted)}.referral-insight-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.referral-insight-grid .op-panel{display:flex;flex-direction:column;align-items:flex-start}.referral-insight-grid .op-panel p{flex:1}.referral-insight-grid .op-panel .op-outline{margin-top:auto;cursor:pointer}.referral-clarity{display:flex;gap:12px;align-items:flex-start;margin-top:16px;padding:16px;border-radius:12px;background:var(--theme-accent-soft);color:var(--theme-text);font-size:12px}.referral-clarity b{white-space:nowrap;color:var(--theme-primary)}
@media(hover:none){.portal-content :is(.material-card,.materials-area,.exercise-card,.question-module,.discipline-module,.tool-subject-card,.tool-deck-card,.catalog-card,.game-gallery-card,.tool-tile,.op-card,.op-plan-card,.hub-package,.op-resource-grid a,.op-dashboard-steps a,.download-grid a):hover{outline:0}}
@media(max-width:900px){.referral-funnel{grid-template-columns:repeat(2,1fr)}.referral-insight-grid{grid-template-columns:1fr}}
@media(max-width:570px){.referral-funnel{grid-template-columns:1fr 1fr}.referral-clarity{display:grid}}
