.planner-workbench{margin:1rem 0;padding:1rem;border:1px solid var(--border,#77775d);border-radius:8px;background:var(--surface,#20251a);overflow-wrap:anywhere}.planner-workbench fieldset{border:0;padding:0;min-width:0}.planner-workbench details{margin:.8rem 0}.planner-workbench summary{cursor:pointer;font-weight:bold;padding:.4rem 0}.planner-controls{display:flex;gap:.65rem;align-items:end;flex-wrap:wrap;margin:.6rem 0}.planner-workbench label{display:flex;flex-direction:column;gap:.3rem;max-width:100%}.planner-workbench input,.planner-workbench select,.planner-workbench textarea{box-sizing:border-box;padding:.5rem;background:#131710;color:inherit;border:1px solid #77775d;max-width:100%;font:inherit}.planner-workbench textarea{width:100%;resize:vertical}.planner-workbench input[type=number]{width:6rem}.planner-workbench input[type=checkbox]{width:auto}.planner-workbench button{white-space:normal;overflow-wrap:normal}.planner-preview{border:1px solid #da8a37;border-radius:6px;padding:.8rem;margin:.8rem 0}.planner-table-wrap{overflow-x:auto;max-width:100%}.planner-workbench table{border-collapse:collapse;width:100%;min-width:500px}.planner-workbench td,.planner-workbench th{padding:.5rem;text-align:start;border-bottom:1px solid #62634c}.planner-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.6rem}.planner-stats div{padding:.6rem;background:#131710}.planner-stats dt{font-size:.9rem}.planner-stats dd{font-weight:bold;margin:.2rem 0}.planner-workbench .planner-warning{border-inline-start:3px solid #e2a342;padding-inline-start:.7rem}.planner-workbench [role=status]{min-height:1.4em}@media(max-width:600px){.planner-controls>label{width:100%}.planner-controls>button{flex:1;min-width:130px}.planner-workbench{padding:.75rem}.planner-controls select,.planner-controls input:not([type=checkbox]){width:100%}}
#weapon-library .planner-table-wrap table{min-width:760px;overflow-wrap:normal}
#weapon-library .planner-table-wrap td:first-child{min-width:10rem;overflow-wrap:anywhere}
#weapon-library .planner-table-wrap td:nth-child(5){min-width:16rem}
#weapon-library .planner-table-wrap th{word-break:normal}
#weapon-library label:has(>input[type=checkbox]){flex-direction:row;align-items:flex-start;gap:.5rem;line-height:1.4}
#weapon-library label>input[type=checkbox]{flex:0 0 auto;margin:.2rem 0 0;padding:0}
.cultist-correction-matches,.cultist-correction-comparison{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:.75rem}.cultist-correction-matches article,.cultist-correction-comparison article{min-width:0;padding:.75rem;border:1px solid var(--border,#77775d);border-radius:4px}.cultist-correction-matches select{width:100%}#cultist-correction button{min-height:44px}#cultist-correction :focus-visible{outline:2px solid var(--accent,#d9802e);outline-offset:3px}
.cultist-correction-matches label:has(>input[type=checkbox]),#cultist-correction label:has(>#cultist-correction-empty){flex-direction:row;align-items:flex-start;gap:.5rem}.cultist-correction-matches input[type=checkbox],#cultist-correction-empty{flex:0 0 auto}
