/* Consistent, compact combat presentation; gameplay controls remain inline. */
.combat-workspace{gap:20px;padding-top:18px}.enemy-toolbar{gap:12px}.enemy-title-card{padding:12px 16px!important;box-shadow:none!important}.enemy-title-card .w-9{width:30px;height:30px}.enemy-top-actions button{padding:9px 13px;font-size:12px}.encounter-bar{box-shadow:none}.encounter-bar-inner{padding:9px 12px}.enemy-title-card h2{letter-spacing:.025em}#monstersList{gap:16px}#monstersList>[data-id]{padding:16px;gap:12px;box-shadow:none;border-color:#334155;background:#0f172a}#monstersList>[data-id]>div:first-child>div:first-child{align-items:center;margin-bottom:12px}#monstersList h3{font-size:15px;line-height:1.4}.enemy-card-actions button{padding:4px;color:#64748b}.enemy-card-actions button:hover{color:#fbbf24}#monstersList>[data-id]>.pt-3{padding-top:12px}#monstersList input[title="Direct edit current HP"]{font-size:16px;font-weight:700;width:42px}#monstersList .h-2\.5{height:6px}#monstersList input[id^="hp-input-"]{width:52px}.monster-dashboard{display:flex;flex-direction:column;gap:0}.monster-dashboard>section{padding:14px 0;border-top:1px solid #293548}.monster-dashboard>.md-defenses{padding-top:0;padding-bottom:12px}.md-section-head{margin-bottom:8px}.md-section-head h4{font-family:Inter,sans-serif;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#94a3b8}.monster-dashboard button{border-color:#35435a;background:#172235;padding:5px 8px;font-size:11px}.md-section-head button,.md-entry-tools button{border:0;background:transparent;color:#64748b;padding:3px 6px}.md-entry-tools{display:flex;flex-shrink:0;gap:1px}.md-entry-head{gap:6px}.md-entry-head strong{font-size:12px;line-height:1.4;flex:1;min-width:0;overflow-wrap:anywhere}.md-entry{padding:9px 0;border-bottom:1px solid #263246}.md-entry:last-child{border-bottom:0}.md-range{color:#94a3b8}.md-roll-buttons{margin:6px 0 0}.md-roll-buttons button:first-of-type{color:#fde68a;border-color:#66522d}.md-description{margin-top:5px;font-size:11px}.md-description summary{font-size:10px;color:#94a3b8;cursor:pointer;width:fit-content}.md-description p{background:#0b1422;border-left:2px solid #475569;padding:8px;margin-top:5px}.md-defense-grid{gap:10px;margin-top:0}.md-defense-grid>div{border:0;background:transparent;padding:0;gap:4px}.md-defense-grid b{font-size:9px;text-transform:none;letter-spacing:0}.md-defense-grid span{font-size:12px}.md-roll-mode{justify-content:space-between;border-top:1px solid #293548;padding-top:10px;margin:0 0 10px}.md-roll-mode label{display:flex;align-items:center;gap:6px;color:#94a3b8;font-size:11px}.md-result{border-left:2px solid #fbbf24;background:#242015;margin:0 0 8px;color:#fde68a}.md-ability-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;margin:0 0 12px}.md-ability-grid>div{background:#0b1422;padding:6px 3px;gap:4px;border:1px solid #273448}.md-ability-grid strong{font-size:9px;color:#94a3b8;white-space:nowrap}.md-ability-grid button{font-size:10px;padding:3px 1px;border:0;background:transparent}.md-ability-grid button:first-of-type{color:#e2e8f0;font-size:15px;font-weight:600}.md-ability-grid button:last-of-type{color:#94a3b8;font-size:9px}.md-skills{gap:5px;margin-bottom:10px}.md-skills>span{border:1px solid #273448;border-radius:6px;overflow:hidden}.md-skills button{background:transparent;border:0;padding:4px 5px;font-size:10px}.md-skills button:last-child{color:#64748b;padding-left:0}.md-skills>button{font-size:10px;border-style:dashed;background:transparent}.md-resource-count{padding:3px 7px;background:#153528;border-radius:5px;color:#86efac!important;font-weight:600;font-size:11px}.md-resource-count.is-spent{background:#34202a;color:#fda4af!important}.md-refresh-label,.md-save-hint{font-size:10px;color:#94a3b8}.md-refresh-label{margin-left:auto}.md-empty{font-size:11px;color:#64748b;padding:4px 0}.md-loot-row{padding:6px 0;border-bottom:1px solid #263246;margin:0;gap:8px;font-size:11px}.md-loot-row>b{background:#242015;width:21px;height:21px;text-align:center;border-radius:5px;line-height:21px;flex-shrink:0}.md-loot-row button{border:0;background:transparent;color:#64748b;font-size:10px}.monster-dashboard p>b{color:#94a3b8;font-weight:500}#initiativeRail{box-shadow:none!important}.combat-condition{background:#282216;border-color:#66522d}@container monster (max-width:340px){.md-ability-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.md-defense-grid{grid-template-columns:1fr;gap:6px}.md-defense-grid>div{flex-direction:row;justify-content:space-between}}
.monster-dashboard>.md-defenses{min-height:106px}.md-skills{padding-top:4px}@media(max-width:650px){#monstersList>[data-id]>div:first-child>div:first-child{flex-wrap:wrap;gap:8px}#monstersList>[data-id]>div:first-child>div:first-child>div:last-child{flex-wrap:wrap;max-width:100%}.enemy-top-actions button{padding:7px 9px;font-size:11px}}
.monster-dashboard .md-section-head>div>button,.monster-dashboard .md-section-head>button{background:#27364c;border:1px solid #64748b;color:#f8fafc;padding:7px 13px;font-size:12px;font-weight:600;min-height:32px;border-radius:7px}.monster-dashboard .md-section-head>div>button:hover,.monster-dashboard .md-section-head>button:hover{background:#384961;border-color:#fbbf24;color:#fde68a}.monster-dashboard .md-section-head{margin-bottom:10px}.monster-dashboard .md-skills>button{background:#27364c;border:1px solid #64748b;color:#f8fafc;font-size:11px;font-weight:600;padding:6px 10px}
.monster-dashboard .md-entry-tools button{color:#cbd5e1;background:#1e293b;border:1px solid #475569;min-width:25px;padding:4px 6px}.monster-dashboard .md-entry-tools button:hover{color:#fde68a;border-color:#fbbf24}.monster-dashboard>.md-defenses{position:relative;padding-right:64px}.monster-dashboard .md-defenses>.md-section-head{display:block;position:absolute;right:0;top:0;margin:0}.md-defenses>.md-section-head h4{display:none}.md-defenses>.md-section-head>button{padding:5px 10px;min-height:28px;font-size:11px}
.enemy-context{align-items:center;gap:7px!important}.enemy-context>.combat-condition{order:2;flex-basis:100%;margin-top:3px}.enemy-context>div:not(.combat-condition){order:1}.enemy-meta-label{color:#94a3b8;font-size:10px;font-weight:500;margin-right:3px}.enemy-context>div[title]{padding:4px 7px;font-size:12px;border-color:#334155;background:#152033}.enemy-context select{padding:5px 7px;font-size:11px}.enemy-context+div{margin-top:0}
