
/* Responsive Darstellung und lesbare Beschriftungen. */
html.app-loading body{visibility:hidden}
:root{--muted:#596451}body.dark{--muted:#bdc8b7}
:focus-visible{outline:3px solid #a97824;outline-offset:3px}

.hero-card{position:relative}.hero-select{position:absolute;right:12px;top:12px;width:22px;height:22px;accent-color:#345b41}.has-portrait .hero-select{right:110px}
#combatPageHeading{grid-column:1/-1;margin:0 0 4px}
.hero-role,.hero-talents,.life-label,.breadcrumb,.save-status,.fineprint{color:var(--muted)}
.wounds{color:#914a34}.gift{color:#796032}.dark .wounds{color:#f0b09c}.dark .gift{color:#d6bd84}
.eyebrow,.tool-page-heading .eyebrow,.footer-muted,footer{color:#5b6653}
.dark .eyebrow,.dark footer,.dark .footer-muted{color:#c1cbb7}
.check-tabs button.active{color:#244b33}.dark .check-tabs button.active{color:#e5f1dd}
.dark .order-position,.dark .combat-foot{color:#d0ddc7}
.hero-role,.hero-talents,.hero-stats,.fineprint,.check-choice small{font-size:12px;line-height:1.5}
.breadcrumb{font-size:12px}.eyebrow{font-size:11px}footer{font-size:12px}
.check-tabs button,.check-choice,.fighter-detail button{min-height:44px}
.log-time{color:var(--muted)}#clearLog,#selectAll{color:var(--muted)}
#toolFrame{display:block;width:100%;min-height:320px;height:640px;max-height:none;overflow:hidden}
.tool-workspace{min-width:0}.content-loading{min-height:320px;padding:24px;color:var(--muted)}
body.embedded,body.embedded .app-shell{min-height:0!important}
body.embedded{--muted:#bdc8b7} :root[data-theme=light] body.embedded{--muted:#596451}
:root[data-theme=dark] body.embedded .eyebrow{color:#bdc8b7}
body.embedded .content{overflow-wrap:anywhere}
.workshop-v2 .workshop-form{grid-template-columns:minmax(0,1fr)}
.workshop-v2 .workshop-form .form-grid.compact{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}
.workshop-v2 .workshop-form>*{min-width:0;max-width:100%}
.workshop-v2 .workshop-form header>div{min-width:0;max-width:100%}
.workshop-v2 h2,.workshop-v2 h3,.workshop-v2 legend{overflow-wrap:anywhere}
.workshop-v2 .check-line{white-space:normal;line-height:1.6;align-items:flex-start;padding:8px 0}
.workshop-v2 .check-line input{margin:2px 0 0}
.workshop-v2 label{font-size:14px!important;line-height:1.5}
.workshop-v2 input,.workshop-v2 select,.workshop-v2 textarea{font-size:16px;max-width:100%;min-height:44px}
.workshop-v2 .eyebrow{font-size:11px}.workshop-v2 .rule-note,.workshop-v2 .calc-note,.workshop-v2 .data-badge{font-size:13px;line-height:1.5}
.category-tag[data-tone=custom]{color:var(--accessible-label-ink,var(--label-ink))!important}
@media(max-width:600px){
 .workshop-v2 .workshop-form h2{font-size:24px;line-height:1.2}
 .workshop-v2 .workshop-form h3{font-size:20px;line-height:1.3}
 .workshop-v2 .workshop-form header{gap:8px}
 .workshop-v2 .workshop-form .form-grid{grid-template-columns:minmax(0,1fr)}
 .workshop-v2 .subtabs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))}
 .workshop-v2 .subtabs button{min-height:44px;font-size:14px;padding:10px 5px}
 .workshop-v2 .selection-preview{min-height:100px}
 .workshop-v2 .modifier-grid label{grid-template-columns:minmax(0,1fr) 64px}
 .tool-page-heading{gap:10px}
 .rail nav button,.rail nav a{font-size:10px}.rail{width:76px}
 .has-portrait .hero-select{right:98px}
}
