/* Functional candidate; imagegen art direction may replace decoration, not state semantics. */
.profile-records091>[hidden]{display:none!important}
.spell-profile-tabs{display:flex;gap:8px;margin-bottom:8px}.spell-profile-tabs button{min-width:88px;min-height:44px}.spell-profile-tabs [aria-pressed=true]{color:#ffdf88;border-color:#e9bd60}
.spell-art{object-fit:contain;image-rendering:auto;flex-shrink:0}.spell-profile .spell-list .spell-card{grid-template-columns:40px minmax(0,1fr)}.spell-card>.spell-art{width:40px;height:40px;grid-row:1/4;align-self:center}.spell-detail-title{display:flex;align-items:center;gap:8px}.spell-detail-title h4{margin:0}.spell-shield summary>.spell-art{width:32px;height:32px;vertical-align:middle;margin-right:8px}
.spell-profile{color:#e7edf3;min-width:0}.spell-profile[hidden]{display:none}.spell-heading h3{margin:0 0 4px}.spell-heading small{color:#adc0ce}.spell-body{display:grid;grid-template-columns:minmax(145px,32%) minmax(0,1fr);gap:10px;margin-top:10px}.spell-list{display:flex;flex-direction:column;gap:6px;min-width:0}
.spell-profile .spell-card{display:grid;grid-template-columns:30px 1fr;gap:4px;text-align:left;white-space:normal;min-height:72px;padding:8px;background:#182c40;border:1px solid #627286;color:#e9eff4}.spell-card strong,.spell-card small{grid-column:2}.spell-card .spell-symbol{grid-row:1/4;align-self:center;font-size:24px}.spell-card.selected{border:2px solid #e0b65f;background:#263c52}.spell-symbol.human{color:#7cc6ef}.spell-symbol.elf{color:#abdf8f}.spell-symbol.demon{color:#f098a6}.spell-symbol.common{color:#ffd172}
.spell-detail{min-width:0;padding:12px;border:1px solid #b6985e;background:#152b3d}.spell-detail h4{font-size:17px;margin:0 0 10px}.spell-detail p{font-size:12px;line-height:1.65;margin:8px 0;overflow-wrap:anywhere}.spell-detail small{display:block;line-height:1.6;color:#b8c6d4}.spell-profile button{cursor:pointer;font-family:inherit}.spell-detail button{min-height:44px;margin:8px 6px 0 0;white-space:normal}.spell-profile button:disabled{opacity:.6;cursor:default}.spell-next{color:#b7edce}.spell-cost{color:#ffdc88}.spell-lock{color:#ffd89f}.spell-confirm{margin-top:10px;padding:10px;background:#253d48;border:1px solid #e4c67a}.spell-condition{color:#c4d1e2}.spell-status{min-height:1.5em;color:#ffdf9b}.spell-shield{margin:8px 0;padding:8px;border:1px solid #607786}.spell-shield summary{min-height:36px;cursor:pointer}.spell-shield p{font-size:12px}.spell-profile>small{display:block;line-height:1.6;color:#b8c6d4}
@media(max-height:450px){.spell-body{grid-template-columns:minmax(125px,31%) minmax(0,1fr);gap:6px}.spell-detail{padding:8px}.spell-heading small{font-size:10px}.spell-profile .spell-card{padding:6px;min-height:68px}.spell-card strong{font-size:11px}.spell-card small{font-size:10px}}
@media(max-width:600px){.spell-body{grid-template-columns:1fr}.spell-list{display:grid;grid-template-columns:1fr 1fr}.spell-detail{padding:10px}}
/* 20261018: tech path tags (unique purple, legendary orange) and the race filter toggle. */
.spell-card .spell-tech-tag1018{display:inline-block;vertical-align:1px;margin-left:5px;padding:0 6px;border-radius:8px;font-size:11px;line-height:16px}
.spell-tech-tag1018.unique{color:#E9D2FF;background:rgba(183,139,224,.22)}
.spell-tech-tag1018.legendary{color:#FFE2BE;background:rgba(238,154,78,.22)}
.spell-detail .spell-tech1018.unique{color:var(--c-g3,#B78BE0)}
.spell-detail .spell-tech1018.legendary{color:var(--c-g4,#EE9A4E)}
.spell-profile .spell-more1018{margin:8px 0 0;min-height:36px;padding:0 12px;border:1px solid #5B7385;border-radius:6px;background:linear-gradient(180deg,#3A4E5E,#26343F);color:var(--c-text,#ECE6D6)}
/* The profile records pane owns scrolling; nested list scrolling hid its last row. */
.spell-profile .spell-list{max-height:none;overflow:visible;align-content:start}
.spell-profile .spell-card{flex-shrink:0}
.spell-profile .spell-body{align-items:start}
.profile-records091>.spell-profile{padding-bottom:12px}
