/* Essentials only: natural page scrolling, no bounded cards or new resource rules. */
#view-characters .essentials-layout{display:grid;gap:.65rem;min-width:0}
.essentials-layout *{min-width:0}
.essentials-layout .ess-panel{border:1px solid #31545a;border-top:3px solid var(--cyan);border-radius:.45rem;background:#0c1c20ed;overflow-wrap:anywhere}
.essentials-layout h2{margin:0;font-size:1rem;line-height:1.3;color:var(--cyan)}
.essentials-layout h2 small{font-size:.75rem;color:var(--muted);font-weight:normal}
.essentials-layout .ess-heading{display:flex;justify-content:space-between;align-items:center;gap:.5rem;padding:.5rem .7rem}
.essentials-layout :is(button, a:where(.route-link)),.essentials-layout summary{min-height:2.75rem}
.essentials-layout :is(button, a:where(.route-link)){padding:.4rem .65rem;font-size:.8rem}
.essentials-layout summary{cursor:pointer;display:flex;align-items:center}
.essentials-layout input,.essentials-layout select{min-height:2.6rem;padding:.4rem .5rem}
.essentials-layout label{font-size:.8rem}
.essentials-layout .ess-progression{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1rem;padding:.5rem .7rem;border:1px solid #796327;border-radius:.45rem;background:#29220de8}
.essentials-layout .ess-level{display:flex;gap:.4rem;align-items:center}
.essentials-layout .ess-level>span{font-size:.8rem;color:var(--muted)}
.essentials-layout .ess-level output{color:var(--yellow);font-size:1.35rem;font-weight:800}
.essentials-layout .ess-level :is(button, a:where(.route-link)){padding:.2rem .4rem}
.essentials-layout .ess-grinding{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem}
.essentials-layout .ess-grinding>span{white-space:nowrap;font-weight:normal;font-size:.8rem}
.essentials-layout .ess-grinding>.sr-only{top:0;left:0}
.essentials-layout .ess-grinding input{width:5.3rem}
.essentials-layout .ess-secondary{display:flex;flex-wrap:wrap;gap:.5rem 1rem;margin-left:auto}
.essentials-layout .ess-secondary label{display:flex;align-items:center;gap:.4rem}
.essentials-layout .ess-secondary input{width:5.3rem}
.essentials-layout .ess-health{padding:.3rem .7rem .45rem;border-color:#796327;border-top-color:var(--yellow);background:#231e10ed}
.essentials-layout .ess-health .ess-heading{padding:.15rem 0}
.essentials-layout .ess-health h2{color:var(--yellow)}
.essentials-layout [data-ess-health]{font-size:.78rem;color:var(--muted)}
.essentials-layout .health-bar{width:100%;gap:.35rem}
.essentials-layout .health-slot{aspect-ratio:auto;min-height:44px;height:44px;border-block:4px solid transparent;background-clip:padding-box;font-size:.8rem}
.essentials-layout .health-slot.lost{border-block-color:transparent}
.essentials-layout .health-slot b{white-space:nowrap}
.essentials-layout .ess-vitals{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:.65rem;align-items:start}
.essentials-layout .ess-vitals>section{padding:.65rem .8rem}
.essentials-layout .ess-mana{position:relative}
.essentials-layout .ess-mana-pair{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;margin-top:.25rem;font-size:1.6rem;font-weight:800;color:var(--cyan)}
.essentials-layout .ess-mana-pair input{width:6.3rem;font-size:1.5rem;color:var(--cyan);font-weight:800}
.essentials-layout .ess-mana-pair .sr-only{top:0;left:0}
.essentials-layout .ess-mana>small{display:block;margin-top:.35rem;color:var(--muted);font-size:.75rem}
.essentials-layout .ess-defence>output{display:block;margin-top:.25rem;font-size:1.8rem;font-weight:800}
.essentials-layout .ess-dr{background:#29111fed;border-color:#7e2c53;border-top-color:var(--pink)}
.essentials-layout .ess-dr h2{color:#ff8abb}
.essentials-layout .ess-defence summary{color:var(--muted);font-size:.8rem}
.essentials-layout .ess-defence p{font-size:.8rem;margin-bottom:.3rem}
.essentials-layout .bonus-editor .list-section{background:#111b1e;border:0;padding:.3rem 0;box-shadow:none}
.essentials-layout .bonus-editor .section-title{gap:.4rem;margin-bottom:.2rem;flex-wrap:wrap}
.essentials-layout .bonus-editor .list-section h2{font-size:.85rem}
.essentials-layout .bonus-editor .list-table{display:table;table-layout:fixed;width:100%}
.essentials-layout .bonus-editor th:last-child{width:3.5rem}
.essentials-layout .bonus-editor>summary{justify-content:space-between;gap:.4rem}
.essentials-layout .bonus-editor th,.essentials-layout .bonus-editor td{padding:.2rem}
.essentials-layout .bonus-editor input{width:100%}
.essentials-layout .ess-actions{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:.65rem;align-items:start}
.essentials-layout .ess-combat{display:grid;gap:.65rem}
.essentials-layout .ess-buffs,.essentials-layout .ess-debuffs,.essentials-layout .ess-hotlist{background:#24131fed;border-color:#6f2c4e;border-top-color:var(--pink)}
.essentials-layout .ess-buffs h2,.essentials-layout .ess-debuffs h2,.essentials-layout .ess-hotlist h2{color:#ff8abb}
.essentials-layout .ess-empty{margin:0;padding:0 .7rem .55rem;font-size:.8rem;color:var(--muted)}
.essentials-layout .ess-entry{border-top:1px solid var(--line)}
.essentials-layout .ess-entry>summary{display:flex;justify-content:space-between;gap:.65rem;list-style:none;padding:.6rem .7rem}
.essentials-layout .ess-entry>summary::-webkit-details-marker{display:none}
.essentials-layout .ess-entry>summary strong{display:block;color:var(--yellow);font-size:.9rem;white-space:pre-wrap}
.essentials-layout .ess-entry-summary{display:block;margin-top:.2rem;white-space:pre-wrap;color:#c5c3bb;font-size:.8rem;line-height:1.45}
.essentials-layout .ess-entry-affordance{color:var(--cyan);font-size:.75rem;flex-shrink:0}
.essentials-layout .ess-entry-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;padding:.7rem;border-top:1px solid #2a3b3e}
.essentials-layout .ess-entry-fields input,.essentials-layout .ess-entry-fields select{width:100%}
.essentials-layout .ess-entry-fields textarea{width:100%;min-height:5rem;resize:vertical}
.essentials-layout .ess-entry-fields .ess-wide{grid-column:1/-1}
.essentials-layout .ess-entry-fields .row-delete{justify-self:start;color:#ff9b97}
.essentials-layout .ess-hot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem;padding:0 .65rem .65rem}
.essentials-layout .ess-hot-slot{display:flex;align-items:start;gap:.55rem;text-align:left;min-height:3rem;background:#151517}
.essentials-layout .ess-hot-slot>b{color:var(--yellow);flex-shrink:0}
.essentials-layout .ess-hot-slot>span{overflow-wrap:anywhere;font-size:.85rem;font-weight:600}
.essentials-layout .ess-hot-slot small{display:block;color:var(--muted);font-size:.7rem;font-weight:normal}
.essentials-layout #ess-hotlist-editor{padding:.65rem;border-top:1px solid #71324d}
.essentials-layout #ess-hotlist-editor>p{font-size:.8rem}
.essentials-layout .ess-hot-assignment{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.4rem;align-items:end;margin-bottom:.6rem}
.essentials-layout .ess-hot-assignment select{width:100%}
.essentials-layout .ess-hot-order{display:flex;gap:.25rem;flex-wrap:wrap}
.essentials-layout .ess-hot-order :is(button, a:where(.route-link)){padding:.3rem .5rem}
.essentials-layout .ess-core{background:#211e10ed;border-color:#746027;border-top-color:var(--yellow);padding:.6rem .7rem}
.essentials-layout .ess-core h2,.essentials-layout .ess-core h3{color:var(--yellow)}
.essentials-layout .ess-core-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.6rem;margin-top:.5rem}
.essentials-layout .ess-stat{border-right:1px solid #635329;padding-right:.5rem;display:grid;gap:.15rem}
.essentials-layout .ess-stat:last-child{border-right:0}
.essentials-layout .ess-stat h3{font-size:.8rem;text-transform:capitalize;margin:0}
.essentials-layout .ess-stat>strong{font-size:1.4rem}
.essentials-layout .ess-stat>span,.essentials-layout .ess-stat small{font-size:.75rem;color:var(--muted)}
.essentials-layout .ess-stat b{color:var(--yellow)}
.essentials-layout .ess-core>details>summary{font-size:.85rem;color:var(--yellow);margin-top:.4rem}
.essentials-layout .ess-core-editor{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.7rem;margin-top:.4rem}
.essentials-layout .ess-core-editor fieldset{border:1px solid #665929;padding:.5rem;margin:0}
.essentials-layout .ess-core-editor legend{font-size:.8rem;text-transform:capitalize}
.essentials-layout .ess-core-editor input{width:100%}
.essentials-layout summary:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}
@media(max-width:1150px){.essentials-layout .ess-secondary{margin-left:0}.essentials-layout .ess-actions{grid-template-columns:minmax(0,1fr)}.essentials-layout .ess-core-editor{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.essentials-layout .ess-vitals{grid-template-columns:repeat(2,minmax(0,1fr))}.essentials-layout .ess-mana,.essentials-layout .ess-defence{grid-column:1/-1}.essentials-layout .ess-secondary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.essentials-layout .ess-secondary label{justify-content:space-between}.essentials-layout .ess-secondary input{width:4.7rem}.essentials-layout .ess-entry-fields{grid-template-columns:minmax(0,1fr)}.essentials-layout .ess-core-strip,.essentials-layout .ess-core-editor{grid-template-columns:repeat(2,minmax(0,1fr))}.essentials-layout .ess-hot-assignment{grid-template-columns:minmax(0,1fr)}.essentials-layout .ess-entry>summary{flex-wrap:wrap}.essentials-layout .health-bar{gap:.25rem}.essentials-layout input,.essentials-layout select,.essentials-layout textarea{font-size:1rem}}
