.combat-workbench{font-size:16px;line-height:1.7}.combat-workbench-heading{display:flex;gap:20px;justify-content:space-between;align-items:center;padding-right:25px}.combat-workbench h2{font-size:27px}.combat-workbench h3{font-size:20px}.combat-scope{padding:16px 20px;border:1px solid #706d44;border-radius:12px;background:#30382a;margin:22px 0}.combat-section{margin-top:24px;padding:24px;border:1px solid #40543e;border-radius:16px;min-width:0}.combat-section>.sub{margin:12px 0 20px;font-size:15px;line-height:1.8}.combat-target-grid,.combat-slot-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:start}.combat-target-summary{display:flex;gap:20px;align-items:center;background:#19291f;padding:16px;border-radius:12px;margin-top:20px}.combat-target-portrait{width:78px;height:84px;object-fit:contain;flex-shrink:0}.combat-target-summary strong{font-size:19px}.combat-target-summary>div>div{display:flex;gap:24px;flex-wrap:wrap;margin-top:8px}.combat-target-summary .inline-icon{width:24px;height:24px}.combat-current-strip{display:flex;gap:9px;flex-wrap:wrap;margin:18px 0}.combat-current-chip{display:inline-flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid #506447;border-radius:10px;font-size:14px;background:#263727}.combat-current-chip .inline-icon{width:28px;height:28px}.combat-current-chip>button{display:grid;place-items:center;width:25px;height:25px;font:700 20px/1 "Segoe UI",system-ui,Arial,sans-serif;color:#dce6d5;border:0;background:#354b31;border-radius:6px;cursor:pointer}.combat-setup-details>summary,.combat-candidate summary,.combat-event-resists>summary{cursor:pointer;font-size:16px;font-weight:700;padding:12px 0}.combat-picker-toolbar{display:flex;gap:16px;align-items:center;justify-content:space-between;margin:14px 0;flex-wrap:wrap}.combat-picker-tabs{display:flex;gap:6px;flex-wrap:wrap}.combat-picker-tabs [aria-pressed=true]{background:#4c683d;border-color:#b5d18d;color:#edf6e4}.combat-picker-toolbar input{width:240px;max-width:100%}.combat-picker-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-height:400px;overflow:auto;padding:4px 8px 4px 0;margin-bottom:20px}.combat-picker-item{display:flex;align-items:center;gap:11px;padding:11px;border:1px solid #40543e;border-radius:10px;cursor:pointer;background:#17271e;min-width:0}.combat-picker-item:has(input:checked){background:#334b2f;border-color:#b3d188}.combat-picker-item input,.combat-checkbox input{width:19px;height:19px;accent-color:#b2cc8f;flex-shrink:0}.combat-picker-icon{width:42px;height:45px;object-fit:contain;flex-shrink:0}.combat-picker-item strong{font-size:15px;display:block;overflow-wrap:anywhere}.combat-picker-item small{font-size:13px;display:block;color:#bac8b1;line-height:1.5;margin-top:5px}.combat-slot-counts{margin:20px 0}.combat-checkbox{display:flex;align-items:center;gap:10px;margin:20px 0;font-size:15px;font-weight:600}.combat-candidate-grid{display:grid;gap:20px;margin-top:22px}.combat-candidate{padding:22px;background:#192b20;border:1px solid #4b6342;border-radius:14px;min-width:0}.combat-candidate-title{display:flex;gap:15px;align-items:center;justify-content:space-between;flex-wrap:wrap}.combat-build-items{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.combat-build-item{display:grid;justify-items:center;align-content:start;gap:8px;border:1px solid #40583b;border-radius:10px;background:#24352a;color:#e2eadb;width:112px;padding:12px 7px;font-family:inherit;font-size:13px;font-weight:600;line-height:1.5;cursor:pointer}.combat-build-item>img{width:50px;height:52px;object-fit:contain}.combat-candidate-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.combat-candidate-metrics>div{padding:15px;background:#263a29;border-radius:10px;min-width:0}.combat-candidate-metrics small{display:block;color:#bacbb1;font-size:14px}.combat-candidate-metrics strong{display:block;font-size:22px;line-height:1.5;margin:8px 0}.combat-candidate .table-wrap{margin:14px 0}.combat-candidate table{white-space:normal}.combat-candidate td,.combat-candidate th{font-size:14px}.combat-coverage{border-top:1px solid #43553d;padding-top:8px;margin-top:16px}.combat-coverage p,.combat-results-label{font-size:15px;line-height:1.8;margin:14px 0}.combat-coverage-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.combat-coverage-list>div{display:flex;gap:10px;align-items:center;background:#25372b;border-radius:8px;padding:10px}.combat-coverage-list .inline-icon{width:32px;height:35px;flex-shrink:0}.combat-coverage-list small{display:block;font-size:14px;color:#c0cbb9}.combat-coverage-list strong{font-size:15px}.combat-error{padding:16px;background:#442e2a;border:1px solid #957161;border-radius:10px;margin-top:20px;color:#ffddc9}.combat-scope+p{font-size:15px}
@media(max-width:1100px){.combat-target-grid,.combat-slot-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.combat-picker-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.combat-workbench-heading{align-items:start;flex-direction:column;padding-right:0}.combat-section{padding:16px}.combat-target-grid,.combat-slot-counts,.combat-candidate-metrics,.combat-coverage-list,.combat-picker-list{grid-template-columns:minmax(0,1fr)}.combat-picker-list{max-height:350px}.combat-candidate{padding:16px}.combat-target-summary{gap:12px}.combat-target-portrait{width:60px;height:70px}.combat-build-item{width:96px}.combat-current-chip{max-width:100%}.combat-current-chip>span{overflow-wrap:anywhere}.combat-picker-toolbar input{width:100%}.combat-picker-tabs .btn{font-size:13px;padding:8px 10px}}

.combat-workbench [hidden]{display:none!important}

.combat-boss-mechanics{margin-top:18px;padding:16px;border:1px solid #696643;border-radius:10px;background:#2c3427}.combat-boss-mechanics>summary{cursor:pointer;font-size:16px;font-weight:700}.combat-boss-mechanics .table-wrap{margin:18px 0}.combat-boss-mechanics table{white-space:normal}.combat-boss-mechanics td,.combat-boss-mechanics th{font-size:15px}.combat-boss-mechanics p{margin-top:16px;line-height:1.8}

.combat-build-group{padding-top:15px;border-top:1px solid #3b5139;margin-top:15px}.combat-build-group>strong{font-size:15px;color:#c5d4ba}.combat-build-group .combat-build-items{margin:12px 0}.combat-build-item.is-empty{border-style:dashed;opacity:.6;justify-content:center;align-content:center}.combat-empty-symbol{display:grid;place-items:center;width:50px;height:52px;font-size:25px}.combat-build-changes{display:grid;gap:12px;padding:16px;background:#25382a;border-radius:10px;margin:18px 0}.combat-build-changes>div{display:flex;gap:16px;align-items:flex-start}.combat-build-changes>div>strong{min-width:60px;font-size:15px}.combat-build-changes>div>span{display:flex;gap:10px 16px;flex-wrap:wrap}.combat-build-changes>div>span>span{display:inline-flex;align-items:center;gap:7px;font-size:14px}.combat-build-changes .inline-icon{width:27px;height:29px}

.combat-build-layout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 20px}.combat-build-layout>.combat-build-group:first-child{grid-column:1/-1}.combat-build-item{font-size:14px;cursor:default}.combat-build-item>span:last-child{min-height:3em}.combat-candidate-metrics{scroll-margin-top:16px}#combatResults{scroll-margin-top:20px}@media(max-width:650px){.combat-build-layout{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}.combat-build-layout>.combat-build-group:last-child{grid-column:1/-1}.combat-build-item{font-size:13px;width:91px}}

.combat-results-context{display:grid;gap:6px;padding:18px 20px;background:#333a29;border:1px solid #777449;border-radius:12px;margin-top:22px}.combat-results-context strong{font-size:19px}.combat-results-context span{font-size:15px;color:#d5ddc7}.combat-build-item>span:last-child{min-height:4.5em}

.boss-fight-notes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.boss-fight-notes>div{border:1px solid #4b6243;border-radius:12px;background:#233427;padding:16px}.boss-fight-notes strong{font-size:16px;display:flex;align-items:center;gap:9px}.boss-fight-notes p{font-size:15px;line-height:1.8;margin:10px 0 0;color:#d0dbc8}.boss-fight-notes .inline-icon{width:25px;height:27px;flex-shrink:0}.boss-dossier h4{font-size:17px;margin:24px 0 14px}.boss-dossier p{font-size:15px;line-height:1.8;margin:16px 0}.boss-dossier .table-wrap{margin:18px 0}.boss-dossier td,.boss-dossier th{font-size:15px;white-space:normal}.boss-dossier table{white-space:normal;min-width:540px}.combat-target-option{display:flex;gap:10px;align-items:center;min-width:0}.combat-target-option>.inline-icon{width:30px;height:32px;object-fit:contain;flex-shrink:0}.combat-target-grid>label:first-child{grid-column:span 2}@media(max-width:650px){.boss-fight-notes{grid-template-columns:minmax(0,1fr)}.combat-target-grid>label:first-child{grid-column:auto}}

.combat-encounter-note{padding:16px;background:#303b29;border:1px solid #778153;border-radius:10px;margin:16px 0}.combat-encounter-note strong{font-size:17px}.combat-encounter-note p{font-size:15px;line-height:1.8;margin-top:8px}

.combat-healing{padding:16px;border:1px solid var(--line);border-radius:12px;margin:16px 0;background:var(--panel)}
.combat-healing p{font-size:15px;line-height:1.6;margin:8px 0}.combat-healing-source{display:flex;gap:10px;align-items:center;margin:10px 0}.combat-healing-source span{min-width:0;overflow-wrap:anywhere}.combat-healing summary{min-height:44px;display:flex;align-items:center;cursor:pointer}

.combat-marks{padding:16px;border:1px solid #66517b;background:#242b2a;border-radius:12px;margin:16px 0}.combat-marks summary{min-height:44px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;cursor:pointer;font-size:16px;font-weight:700}.combat-marks summary>span:last-child{color:#d3a2f1}.combat-marks p{font-size:15px;line-height:1.7;margin:14px 0}.combat-mark-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px}.combat-mark-metrics>div{padding:12px;border-radius:10px;background:#1b2822;min-width:0}.combat-mark-metrics small{display:block;font-size:14px;color:#c3ceb9}.combat-mark-metrics strong{display:block;color:#d3a2f1;font-size:22px;margin-top:8px}.combat-mark-sources{display:flex;gap:14px;flex-wrap:wrap}.combat-mark-sources>span{display:flex;gap:8px;align-items:center;font-size:15px}.combat-marks .table-wrap{margin:14px 0 0;max-height:300px}.combat-marks th,.combat-marks td{font-size:15px}
@media(max-width:500px){.combat-marks{padding:12px}.combat-mark-metrics{grid-template-columns:minmax(0,1fr)}.combat-mark-metrics>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.combat-mark-metrics strong{margin:0;font-size:20px}.combat-marks summary{align-items:flex-start}.combat-marks summary>span:last-child{width:100%}}

.combat-mark-sources{display:grid;gap:10px}.combat-mark-sources>div{display:grid;grid-template-columns:32px minmax(0,1fr) max-content;align-items:center;gap:12px;padding:12px;background:#1b2822;border-radius:10px;min-width:0}.combat-mark-sources>div>.inline-icon{width:32px;height:32px}.combat-mark-sources strong{font-size:16px;line-height:1.45}.combat-mark-sources small{display:block;font-size:14px;line-height:1.5;color:#c3ceb9;font-weight:600;margin-top:3px}.combat-mark-sources b{text-align:right;font-size:18px}.combat-mark-sources span{min-width:0;overflow-wrap:anywhere}.combat-marks h4{font-size:16px;margin:18px 0 10px}
@media(max-width:500px){.combat-mark-sources>div{grid-template-columns:28px minmax(0,1fr);gap:10px;padding:10px}.combat-mark-sources>div>.inline-icon{width:28px;height:28px}.combat-mark-sources b{grid-column:2;text-align:left}.combat-mark-sources b small{display:inline;margin-left:8px}}
@media(max-width:650px){
 #detailContent:has(>.combat-workbench){padding-left:8px;padding-right:8px}
 .combat-workbench .combat-section:has(#combatResults){padding:16px 0;border:0;border-radius:0}
 .combat-workbench .combat-candidate{padding:16px 10px}
 .combat-candidate .combat-marks{margin-left:-10px;margin-right:-10px;padding:12px 10px;border-left:0;border-right:0;border-radius:0}
}

/* Matching headers in the two boss tools; shared safe space for modal close. */
.boss-planner-heading,.combat-workbench-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:nowrap;padding-right:48px;margin:0 0 18px;min-height:48px}
.boss-planner-heading h2,.combat-workbench-heading h2{font-size:26px;line-height:1.3;margin:0;min-width:0;letter-spacing:-.3px}
.boss-planner-heading>.btn,.combat-workbench-heading>.btn{flex:none;min-height:44px;margin:0;white-space:normal;font-size:15px;padding:10px 16px}
.boss-planner>.combat-scope,.combat-workbench>.combat-scope{margin:0 0 24px;padding:16px 20px;font-size:15px;line-height:1.75;border:1px solid #706d44;border-radius:12px;background:#30382a;color:#d8dfd0}
@media(max-width:650px){
 .boss-planner-heading,.combat-workbench-heading{padding-right:0;flex-direction:column;align-items:stretch;gap:14px}
 .boss-planner-heading h2,.combat-workbench-heading h2{font-size:23px;padding-right:38px;min-height:38px}
 .boss-planner-heading>.btn,.combat-workbench-heading>.btn{width:100%}
 .boss-planner>.combat-scope,.combat-workbench>.combat-scope{padding:14px;font-size:16px}
}

@media(max-width:650px){#detailContent:has(>.boss-planner){padding-left:8px;padding-right:8px}}
