.mc-inventory-options,.mc-inventory-results{margin:24px 0;padding:24px;border:1px solid #516644;border-radius:16px;background:#15231b;color:#e7f1e5}
.mc-inventory-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.mc-inventory-options h2,.mc-inventory-results h3{font-size:1.35rem;margin:0 0 8px;color:#d7edb6}
.mc-inventory-results h4{font-size:1.05rem;margin:20px 0 8px;color:#d7edb6}
.mc-inventory-options p,.mc-inventory-results p{font-size:.9rem;margin:8px 0 16px;color:#bdcdbb}
.mc-inventory-switch{display:flex;align-items:center;gap:9px;font-weight:600;font-size:.9rem}
.mc-inventory-options input[type=checkbox],.mc-inventory-results input[type=checkbox]{accent-color:#a3cd74;width:18px;height:18px;flex-shrink:0}
.mc-inventory-options a{color:#c3e494;text-decoration:underline}
.mc-inventory-options details,.mc-inventory-results details{margin-top:14px}
.mc-inventory-options summary,.mc-inventory-results summary{cursor:pointer;padding:8px 0;font-weight:600}
.mc-inventory-actions,.mc-inventory-source-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px}
.mc-inventory-actions label{display:grid;gap:8px;font-size:.9rem}
.mc-inventory-options button{background:#33482c;color:#f1f5ec;border:1px solid #678356;border-radius:8px;padding:9px 14px}
.mc-inventory-options button:disabled{opacity:.5}
.mc-inventory-source-tools input{flex:1;min-width:210px;color:#e7f1e5;background:#0e1812;border:1px solid #59724b;padding:10px;border-radius:8px}
.mc-inventory-sources{max-height:320px;overflow:auto;margin:12px 0}
.mc-inventory-sources label{display:flex;align-items:center;gap:12px;padding:10px;border-bottom:1px solid #344d35;cursor:pointer}
.mc-inventory-sources small{display:block;color:#aabcaa;font-size:.8rem}
.mc-inventory-options .mc-inventory-error{color:#ffc3a8}
.mc-inventory-options .mc-inventory-hint{font-size:.8rem}
.mc-inventory-table{overflow-x:auto}
.mc-inventory-table table{width:100%;border-collapse:collapse;font-size:.88rem}
.mc-inventory-table th,.mc-inventory-table td{padding:12px 10px;border-bottom:1px solid #3b5436;text-align:right;font-variant-numeric:tabular-nums}
.mc-inventory-table th:first-child,.mc-inventory-table td:first-child{text-align:left;min-width:160px}
.mc-inventory-table th{color:#c7dea9;font-weight:600}
.mc-inventory-warnings ul{max-height:180px;overflow:auto}
@media(max-width:600px){.mc-inventory-options,.mc-inventory-results{padding:16px}.mc-inventory-table th,.mc-inventory-table td{padding:9px 7px;font-size:.8rem}}
@media print{.mc-inventory-options{display:none!important}.mc-inventory-results{background:white!important;color:black!important;border-color:#aaa}.mc-inventory-results p,.mc-inventory-results h3,.mc-inventory-results h4,.mc-inventory-results th{color:black!important}.mc-inventory-results .mc-inventory-switch,.mc-inventory-results details{display:none}.mc-inventory-table{overflow:visible}.mc-inventory-table th,.mc-inventory-table td{border-color:#aaa}}

@media print{body[data-mc-print="raw"] .mc-inventory-results > :not(.mc-inventory-print-meta),body[data-mc-print="crafting"] .mc-inventory-results > :not(.mc-inventory-print-meta){display:none!important}}

.mc-inventory-sources label > span{min-width:0;overflow-wrap:anywhere}
