@import url("./stress-control.css");
/* Active control presentation molds share these state tokens. */
.character-sheet{--control-ready:#43bd70;--control-used:#8995a5;--control-ready-border:#43bd7066;--control-ready-fill:#43bd700d}
html[data-theme] .character-sheet [data-control-mold]:is(.is-ready,.is-active){color:var(--control-ready);border-color:var(--control-ready-border);background:var(--control-ready-fill);box-shadow:none}
html[data-theme] .character-sheet [data-control-mold].is-used{color:var(--control-used);border-color:#77818f55;background:#77818f12;box-shadow:none}
html[data-theme] .character-sheet [data-control-mold="ongoing"]{width:76px;min-width:76px;justify-content:center;font-size:14px;font-weight:600}
html[data-theme] .character-sheet [data-control-mold="availability"]{width:44px;min-width:44px;height:36px;padding:0;justify-content:center}
html[data-theme] .character-sheet [data-control-mold="counter"]{font-size:14px;font-weight:600}
html[data-theme] .character-sheet [data-control-mold="counter"] .ability-charge-dot{display:none}
html[data-theme] .character-sheet [data-control-mold="die"]{width:40px;min-width:40px;height:40px;padding:0;justify-content:center}
html[data-theme] .character-sheet [data-control-mold="resource"]:not(.is-used):not(:disabled){color:#efd38a}

html[data-theme] .character-sheet [data-control-mold]:is(.is-ready,.is-active):not(:disabled){box-shadow:0 0 5px #32c76c20}
html[data-theme] .character-sheet [data-control-mold]:is(.is-ready,.is-active) .ability-charge-dot{box-shadow:0 0 4px #32c76c55}
/* State changes are immediate, including during rapid repeated clicks. */
.character-sheet [data-control-mold]{transition:none}

html[data-theme] .character-sheet .ability-charge[data-control-mold]:is(.is-ready,.is-active){color:var(--control-ready);border-color:var(--control-ready-border);background:var(--control-ready-fill)}
html[data-theme] .character-sheet .ability-charge[data-control-mold].is-used{color:var(--control-used)}
html[data-theme] .character-sheet .ability-charge[data-control-mold="resource"]:not(.is-used):not(:disabled){color:#efd38a}
/* Shared sheet panels scroll vertically, never flow overflow into new columns. */
.character-sheet .play-features .feature-layout{columns:auto!important;column-count:auto!important;column-width:auto!important;min-width:0;max-width:100%;overflow-y:auto;overflow-x:hidden}
.character-sheet .play-features .feature-layout>section{min-width:0;max-width:100%;box-sizing:border-box}
.character-sheet .play-features .feature-layout>section+section{padding-top:14px!important}

