.training-jump{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}.training-jump button{padding:9px 13px;border:1px solid var(--line);background:var(--panel);color:var(--text);font:inherit;font-size:13px;cursor:pointer}.training-jump button:hover{border-color:var(--gold)}.training-jump button:focus-visible{outline:3px solid var(--gold);outline-offset:2px}.spell-choice-list{display:grid;gap:8px}.spell-choice{border:1px solid var(--line);background:var(--panel);min-width:0}.spell-choice.selected{border-color:var(--gold);background:#f8ecec}.spell-choice-main{display:grid;grid-template-columns:20px 48px minmax(0,1fr);gap:10px;align-items:center;padding:9px 12px;cursor:pointer}.spell-choice-main input{accent-color:var(--gold);width:17px;height:17px}.spell-choice-icon{width:46px;height:46px;display:grid;place-items:center;background:#eee4d6;border:1px solid #c9baa8}.spell-sigil{width:36px;height:36px;color:var(--sigil)}.spell-choice-icon img{width:100%;height:100%;object-fit:cover}.spell-choice-copy{display:grid;gap:2px;min-width:0}.spell-choice-copy strong{font-size:14px}.spell-choice-copy small{font-size:11px;color:var(--muted)}.spell-choice-copy>span{font-size:12px;line-height:1.4}.spell-choice-details{border-top:1px solid var(--line);padding:7px 12px 11px 90px}.spell-choice-details summary{cursor:pointer;color:var(--gold);font-size:12px}.spell-choice-details p{margin:10px 0;font-size:12px;line-height:1.55}.spell-choice-details dl{display:grid;grid-template-columns:max-content 1fr;gap:4px 12px;font-size:12px;margin:8px 0}.spell-choice-details dt{font-weight:700}.spell-choice-details dd{margin:0}.spell-options legend{align-items:baseline;gap:14px}.spell-options legend span{white-space:nowrap}.adnd-choice-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.adnd-choice-panel{border:1px solid var(--line);background:var(--panel);padding:18px;min-width:0}.adnd-choice-panel h2{margin:0 0 8px}.adnd-choice-panel>p{font-size:12px}.adnd-choice-budget{font-size:13px;padding:8px 10px;background:#f2e8da;margin:10px 0}.adnd-choice-list{max-height:450px;overflow:auto;border-top:1px solid var(--line)}.adnd-choice-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:8px;align-items:center;border-bottom:1px solid var(--line);padding:7px 0;font-size:12px}.adnd-choice-row img{width:38px;height:38px;object-fit:cover;background:#eee4d6}.adnd-choice-row strong{display:block}.adnd-choice-row small{display:block;color:var(--muted)}.adnd-choice-actions{display:flex;align-items:center;gap:5px}.adnd-choice-actions button{min-width:29px;min-height:29px;border:1px solid var(--line);background:var(--panel);cursor:pointer}.adnd-choice-actions button:disabled{opacity:.4;cursor:default}.adnd-choice-actions b{min-width:18px;text-align:center}.adnd-training-advanced>summary{cursor:pointer;font:18px Georgia,serif;padding:14px 0}.adnd-training-advanced{margin-top:20px}.adnd-skill-adjust{width:55px!important;padding:6px!important}.adnd-skill-label{display:flex;align-items:center;gap:5px}.adnd-skill-label small{font-size:10px}@media(max-width:800px){.adnd-choice-layout{grid-template-columns:1fr}.spell-choice-details{padding-left:12px}}
.spell-choice-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:10px 0 12px}.spell-choice-toolbar>div{display:flex}.spell-choice-toolbar button{border:1px solid var(--line);background:var(--panel);color:var(--text);padding:5px 10px;cursor:pointer;font-size:12px}.spell-choice-toolbar button[aria-pressed="true"]{background:#633e51;color:#fff;border-color:#633e51}.spell-choice-toolbar button:disabled{opacity:.45;cursor:default}.spell-choice-list.spell-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));align-items:start}.spell-choice-main:is(button,.adnd-choice-main){grid-template-columns:46px minmax(0,1fr);width:100%;border:0;background:transparent;color:inherit;text-align:left;font:inherit}.spell-choice-main:is(button,.adnd-choice-main):disabled{opacity:.48;cursor:default}.spell-choice-main:is(button,.adnd-choice-main):focus-visible{outline:3px solid var(--gold);outline-offset:-3px}.spell-choice.selected .spell-choice-main:is(button,.adnd-choice-main){box-shadow:inset 0 0 0 2px #8f493f}.spell-grid .spell-choice-main:is(button,.adnd-choice-main){min-height:110px;padding:9px;align-items:start}.spell-grid .spell-choice-details{padding:6px 9px 8px}.spell-grid .spell-choice-copy>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.spell-grid .spell-choice-icon{width:42px;height:42px}.spell-grid .spell-choice-icon img{object-fit:contain}.spell-choice-list:not(.spell-grid) .spell-choice-main:is(button,.adnd-choice-main){min-height:66px}
.creator-summary>.creator-summary-portrait{height:270px;max-height:none;margin:0 0 20px;background:radial-gradient(ellipse,#cfac6430,transparent 70%);border:0}
.weapon-choice{display:grid!important;grid-template-columns:18px 48px minmax(0,1fr);gap:10px!important;align-items:center!important;border:1px solid var(--line)!important;padding:8px!important;background:var(--panel)}.weapon-choice.selected{border-color:var(--gold)!important;background:#f8ecec}.weapon-choice .weapon-illustration,.weapon-choice-placeholder{width:46px;height:46px;object-fit:contain;display:grid;place-items:center;background:#eee4d6}.weapon-choice strong,.weapon-choice small{display:block}.weapon-choice small{color:var(--muted);line-height:1.35;margin-top:2px}.creator-options:has(.weapon-choice) .check-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}@media(max-width:550px){.creator-options:has(.weapon-choice) .check-grid{grid-template-columns:1fr}}
.spell-full-text{white-space:pre-line;max-height:420px;overflow:auto;padding-right:8px}
.spell-choice label.spell-choice-main{display:grid;grid-template-columns:20px 48px minmax(0,1fr);gap:10px;align-items:center}

/* Illustrated choices: large readable glyphs, short rules, and one clear selection target. */
.spell-choice{--spell-accent:#797094;--spell-pale:#f0ecf3;padding:0;border-color:#cbb99a;background:#fffaf1}
.spell-type-acid{--spell-accent:#56864e;--spell-pale:#e9f0e4}.spell-type-fire{--spell-accent:#b74d32;--spell-pale:#f8e7de}.spell-type-cold{--spell-accent:#468ab3;--spell-pale:#e5f1f6}.spell-type-lightning{--spell-accent:#b9952b;--spell-pale:#f8f0d9}.spell-type-thunder{--spell-accent:#65849b;--spell-pale:#e8eff4}.spell-type-poison{--spell-accent:#6c853e;--spell-pale:#ebf0df}.spell-type-necrotic{--spell-accent:#77548f;--spell-pale:#eee7f2}.spell-type-radiant{--spell-accent:#aa8037;--spell-pale:#f7eedb}.spell-type-healing{--spell-accent:#3e947b;--spell-pale:#e3f2eb}.spell-type-psychic{--spell-accent:#985d86;--spell-pale:#f3e8ee}.spell-type-illusion{--spell-accent:#7f6cad;--spell-pale:#eeeaf7}.spell-type-nature{--spell-accent:#568368;--spell-pale:#e9f0e9}.spell-type-force{--spell-accent:#775db0;--spell-pale:#ece8f7}.spell-type-ward{--spell-accent:#527c95;--spell-pale:#e6eef3}.spell-type-water{--spell-accent:#5689a3;--spell-pale:#e5f0f3}
.spell-choice.selected{border-color:var(--spell-accent);background:var(--spell-pale);box-shadow:inset 0 0 0 2px var(--spell-accent)}
.spell-choice-main:is(button,.adnd-choice-main){color:var(--text);padding:12px;gap:10px;min-width:0}
.spell-choice.selected .spell-choice-main:is(button,.adnd-choice-main){box-shadow:none}
.spell-choice-icon{display:grid;place-items:center;border:0;background:none;flex:none;position:relative;overflow:hidden}
.spell-choice-icon img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:100%;max-height:100%;margin:0;object-fit:contain}
.spell-symbol{display:block;width:100%;height:100%;overflow:visible;fill:none;stroke-linecap:round;stroke-linejoin:round}.spell-symbol-ring{stroke:var(--spell-accent);stroke-width:1.2;opacity:.62}.spell-symbol-main path{stroke:#352a3c;stroke-width:1.75}.spell-symbol-mark path{stroke:var(--spell-accent);stroke-width:1.9}
.spell-card-type{display:inline-block;align-self:flex-start;padding:3px 7px;border:1px solid currentColor;color:var(--spell-accent);font-size:10px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;line-height:1.2}
.spell-choice-copy{min-width:0;gap:5px}.spell-choice-copy strong{font:20px Georgia,serif;line-height:1.12;color:#3b2b36}.spell-choice-copy small{font-size:11px;color:#695f66;line-height:1.35}.spell-choice-effect{color:var(--spell-accent);font-weight:700;font-size:12px;line-height:1.35}.spell-choice-summary{font-size:12px;line-height:1.45;color:#39333b}
.spell-choice-details{padding:10px 13px 12px;border-top:1px solid #d5c8b5}.spell-choice-details summary{font-size:12px;font-weight:700;color:#783e51}.spell-choice-details[open]{background:#fffdf8}
.spell-choice-list.spell-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,190px),1fr));gap:12px;align-items:stretch}
.spell-grid .spell-choice{display:flex;flex-direction:column;min-height:284px}
.spell-grid .spell-choice-main:is(button,.adnd-choice-main){display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;min-height:0;flex:1;padding:12px 12px 14px}
.spell-grid .spell-card-type{align-self:center}
.spell-grid .spell-choice-icon{width:116px;height:104px}
.spell-grid .spell-choice-copy{display:flex;flex-direction:column;align-items:center;gap:7px;width:100%}
.spell-grid .spell-choice-copy strong{font-size:20px}
.spell-grid .spell-choice-summary{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.spell-grid .spell-choice-details{margin-top:auto}
.spell-choice-list:not(.spell-grid) .spell-choice-main:is(button,.adnd-choice-main){display:grid;grid-template-columns:62px minmax(0,1fr) auto;min-height:96px;align-items:center}
.spell-choice-list:not(.spell-grid) .spell-choice-icon{grid-column:1;grid-row:1;width:62px;height:70px}
.spell-choice-list:not(.spell-grid) .spell-choice-copy{grid-column:2;grid-row:1;align-items:start}
.spell-choice-list:not(.spell-grid) .spell-card-type{grid-column:3;grid-row:1;align-self:start}
.spell-choice-list:not(.spell-grid) .spell-choice-summary{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}

.skill-choice-grid,.trait-info-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,170px),1fr));gap:10px;margin:12px 0 22px}
.skill-choice,.trait-info-card{--choice-accent:#8d685d;display:flex;flex-direction:column;align-items:center;gap:7px;padding:15px 11px;border:1px solid #cbb99a;background:#fffaf1;color:#352c36;text-align:center;min-width:0}
.skill-choice{cursor:pointer;font:inherit;min-height:190px}.skill-choice:hover{border-color:var(--choice-accent);background:#f9f2e6}.skill-choice.selected{border-color:var(--choice-accent);background:#f2e8dc;box-shadow:inset 0 0 0 2px var(--choice-accent)}.skill-choice:focus-visible{outline:3px solid var(--choice-accent);outline-offset:2px}
.ability-str{--choice-accent:#9c5d48}.ability-dex{--choice-accent:#518477}.ability-con{--choice-accent:#799046}.ability-int{--choice-accent:#597998}.ability-wis{--choice-accent:#9a783b}.ability-cha{--choice-accent:#94627e}
.skill-choice-icon,.trait-info-icon{display:grid;place-items:center;width:76px;height:76px;margin:0 auto 2px;border-radius:50%;background:radial-gradient(circle,#fffaf1 35%,#eee0c8);color:var(--choice-accent)}
.choice-glyph{width:54px;height:54px}.skill-choice strong,.trait-info-card h3{font:19px Georgia,serif;color:#352a36;line-height:1.15;margin:0}.skill-choice small{color:var(--choice-accent);font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.skill-choice>span:last-child,.trait-info-card p{font-size:12px;line-height:1.45;color:#514754;margin:0}
.trait-info-card{min-height:175px;--choice-accent:#806392}.trait-info-card .trait-info-icon{width:64px;height:64px}.trait-info-card .choice-glyph{width:46px;height:46px}
.adnd-skill-symbol{display:grid;place-items:center;width:38px;height:38px;color:var(--gold)}.adnd-skill-symbol .choice-glyph{width:30px;height:30px}.adnd-skill-description{display:block;font-size:11px;line-height:1.4;margin:3px 0;color:var(--muted)}.adnd-thief-skill .adnd-choice-actions button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
@media(max-width:500px){.spell-choice-list.spell-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.spell-grid .spell-choice{min-height:282px}.spell-grid .spell-choice-main:is(button,.adnd-choice-main){padding:10px 8px}.spell-grid .spell-choice-icon{width:92px;height:88px}.spell-grid .spell-choice-copy strong{font-size:17px}.spell-grid .spell-choice-copy small{font-size:10px}.spell-grid .spell-choice-summary{font-size:11px}.skill-choice-grid,.trait-info-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.skill-choice,.trait-info-card{padding:12px 8px}.skill-choice strong,.trait-info-card h3{font-size:17px}}
.creator-summary-portrait{display:block;width:100%;max-height:210px;object-fit:contain;object-position:center;margin:12px 0;background:#eee5da;border:1px solid var(--line)}.creator-mobile-summary{display:none}@media(max-width:700px){.creator-mobile-summary{display:block;grid-column:1;border:1px solid var(--line);background:var(--panel);padding:11px 14px;margin-bottom:14px}.creator-mobile-summary>summary{cursor:pointer;font-size:13px;font-weight:600}.creator-mobile-summary .creator-summary-portrait{width:120px;height:140px;object-fit:contain}}
.adnd-training-panels .adnd-choice-list{max-height:none;overflow:visible}
.adnd-training-view{margin:12px 0}
.adnd-creator .adnd-segmented button{font-size:13px;padding:8px 12px}
.adnd-weapon-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
/* The 2e pickers all use the spell choice card, grid and segmented controls. */
.adnd-choice-list.spell-choice-list{max-height:none;overflow:visible;border:0}
.spell-choice-list>h3{grid-column:1/-1;margin:16px 0 0}
.adnd-selector-choice{position:relative;border-radius:12px;overflow:hidden}
.adnd-choice-main{cursor:default}
.adnd-selector-choice .adnd-choice-actions{justify-content:center;margin:0;padding:10px 12px;min-height:48px;border-top:1px solid #d5c8b5;color:var(--text)}
.adnd-selector-choice:has(.selector-reference-icon) .adnd-choice-actions{padding-right:48px}
.adnd-selector-choice .adnd-choice-actions button{color:var(--text);border-color:#b29a69;border-radius:6px;background:#fff8eb;font:inherit}
.adnd-selector-choice .adnd-choice-actions button:disabled{opacity:.45}
.adnd-selector-choice .spell-choice-icon .choice-glyph{width:70%;height:70%;color:var(--spell-accent)}
.adnd-skill-adjustment{display:flex;align-items:center;gap:6px;justify-content:center;font-size:11px;color:#695f66}
.spell-choice-list:not(.spell-grid) .adnd-skill-adjustment{justify-content:flex-start}
.spell-grid .adnd-selector-choice:has(.selector-reference-icon) .spell-choice-main{padding:12px 12px 42px}
.spell-grid .adnd-selector-choice:has(.adnd-choice-actions) .spell-choice-main{padding-bottom:14px}
.adnd-selector-choice[hidden],.spell-choice-list>h3[hidden]{display:none}
@media(max-width:500px){.adnd-creator .spell-choice-list.spell-grid{grid-template-columns:1fr}.spell-choice-list:not(.spell-grid) .adnd-selector-choice .spell-choice-main{grid-template-columns:50px minmax(0,1fr)}.spell-choice-list:not(.spell-grid) .adnd-selector-choice .spell-card-type{grid-column:2;grid-row:1;justify-self:start}.spell-choice-list:not(.spell-grid) .adnd-selector-choice .spell-choice-copy{grid-row:2}.spell-choice-list:not(.spell-grid) .adnd-selector-choice .spell-choice-icon{grid-row:1/3;width:50px;height:60px}}
