.weapon-type-tooltip-trigger{cursor:help!important;text-decoration:underline!important;text-decoration-style:dotted!important;text-decoration-color:#4a9eff!important;color:inherit;display:inline-block}.weapon-type-tooltip-trigger:hover{text-decoration-style:solid!important;color:#4a9eff}.weapon-type-tooltip-backdrop{position:fixed;inset:0;background:#0000004d;z-index:10000}.weapon-type-tooltip{background:var(--bg-primary, #1a1a2e);border:2px solid var(--accent-color, #4a9eff);border-radius:8px;padding:0;box-shadow:0 8px 32px #00000080;max-width:600px;min-width:400px;max-height:80vh;overflow-y:auto;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif}.weapon-type-tooltip-header{background:var(--bg-secondary, #16213e);border-bottom:2px solid var(--accent-color, #4a9eff);padding:15px 20px;display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;z-index:1}.weapon-type-tooltip-header h3{margin:0;color:var(--accent-color, #4a9eff);font-size:1.2rem;font-weight:600}.weapon-type-tooltip-close{background:transparent;border:none;color:var(--text-primary, #ffffff);font-size:2rem;line-height:1;cursor:pointer;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .2s}.weapon-type-tooltip-close:hover{background:#ffffff1a}.weapon-type-tooltip-content{padding:20px;color:var(--text-primary, #ffffff);line-height:1.6}.weapon-type-tooltip-content p{margin:0 0 15px;text-align:justify}.weapon-type-tooltip-content p:last-child{margin-bottom:0}.weapon-type-tooltip-content b,.weapon-type-tooltip-content strong{color:var(--accent-color, #4a9eff);font-weight:600}.weapon-type-tooltip::-webkit-scrollbar{width:8px}.weapon-type-tooltip::-webkit-scrollbar-track{background:var(--bg-primary, #1a1a2e);border-radius:4px}.weapon-type-tooltip::-webkit-scrollbar-thumb{background:var(--accent-color, #4a9eff);border-radius:4px}.weapon-type-tooltip::-webkit-scrollbar-thumb:hover{background:var(--accent-hover, #3a8eef)}.content-grid{display:grid;gap:2rem;padding:1rem}.category-section{background:var(--vscode-editor-background);border:1px solid var(--vscode-panel-border);border-radius:4px}.category-notes{margin:.5rem 1rem;padding:.5rem;background-color:var(--vscode-textBlockQuote-background);border-left:4px solid var(--vscode-textBlockQuote-border);white-space:pre-line;padding:1rem}.category-section h3{margin-top:0;color:var(--vscode-editor-foreground)}.reference{font-style:italic;color:var(--vscode-textPreformat-foreground);margin-bottom:1rem}.page-container{padding:.5rem;max-width:100%}.range-calculation-info{margin-top:.5rem;padding:.5rem;background-color:var(--vscode-textCodeBlock-background);border:1px solid var(--vscode-textBlockQuote-border);border-radius:4px;color:var(--vscode-foreground)}.range-calculation-info small{font-size:.85em}.filter-section{margin:1rem 0;padding:1rem;background:var(--vscode-editor-background);border:1px solid var(--vscode-panel-border);border-radius:4px}.filter-controls{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.search-control,.category-control{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.search-input{padding:.5rem;border:2px solid #555;background:var(--vscode-input-background);color:var(--vscode-input-foreground);border-radius:4px;font-size:14px;min-width:250px}.search-input:focus{outline:none;border-color:var(--vscode-focusBorder)}.category-filter{padding:.5rem;border:2px solid #555;background:var(--vscode-dropdown-background);color:var(--vscode-dropdown-foreground);border-radius:4px;font-size:14px}.category-filter.filter-hidden{border-color:#e74c3c;background:#e74c3c1a;color:#e74c3c}.category-filter.filter-hidden option[value=None]{color:#e74c3c;font-weight:700}.filter-status-text{color:#e74c3c;font-size:12px;font-style:italic;margin-left:.5rem}.expand-collapse-btn{padding:.5rem 1rem;background:var(--vscode-button-background);color:var(--vscode-button-foreground);border:none;border-radius:4px;cursor:pointer;font-size:14px;font-weight:500;transition:background-color .2s}.expand-collapse-btn:hover{background:var(--vscode-button-hoverBackground)}.expand-collapse-btn:active{transform:translateY(1px)}.owned-equipment-section{margin:1rem 0 2rem;background:var(--vscode-editor-background);border:2px solid var(--vscode-button-background);border-radius:8px;padding:1rem}.owned-equipment-section h3{margin-top:0;margin-bottom:1rem;color:var(--vscode-button-foreground);background:var(--vscode-button-background);padding:.5rem 1rem;border-radius:4px;text-align:center}.owned-items-table{overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}.owned-items-table table{width:100%;border-collapse:collapse;font-size:.9em}.owned-items-table th{background:var(--vscode-button-secondaryBackground);color:var(--vscode-button-secondaryForeground);padding:.4rem .3rem;text-align:center;border:1px solid var(--vscode-panel-border);font-weight:700;font-size:.85em;white-space:nowrap}.owned-items-table td{padding:.3rem .2rem;text-align:center;border:1px solid var(--vscode-panel-border);font-size:.6em;white-space:nowrap}.owned-items-table .item-name{font-weight:700;text-align:left;min-width:100px;max-width:150px;overflow:hidden;text-overflow:ellipsis}.owned-items-table .item-category{font-style:italic;color:var(--vscode-textPreformat-foreground);text-align:left;min-width:100px}.owned-items-table .item-notes{text-align:left;max-width:200px;overflow:hidden;text-overflow:ellipsis;font-size:.8em}.owned-items-table tr:nth-child(2n){background:var(--vscode-list-inactiveSelectionBackground)}.owned-items-table tr:hover{background:var(--vscode-list-hoverBackground)}.content-grid{margin:0;padding:0}.category-section{margin-bottom:1rem}.items-table{overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch;margin:0;padding:0}.items-table table{width:auto;border-collapse:collapse;table-layout:auto}.items-table th[key=type]{min-width:100px}.items-table th[key=cost]{min-width:60px}.items-table th[key=encumbrance]{min-width:50px}.items-table th[key^=range],.items-table th[key=ss],.items-table th[key=rof],.items-table th[key=mn]{min-width:40px}.items-table th[key=damage]{min-width:80px}.items-table th[key=q]{min-width:40px}.items-table th[key=unit]{min-width:50px}.items-table th[key=name]{min-width:200px}.items-table th{text-align:center;background-color:var(--vscode-editor-background);position:sticky;top:0;z-index:1;font-size:.9rem;line-height:1.2;padding:.25rem}.items-table tbody tr:hover{background-color:var(--vscode-list-hoverBackground)}.items-table td[key=type],.items-table td[key=cost],.items-table td[key=encumbrance],.items-table td[key^=range],.items-table td[key=ss],.items-table td[key=rof],.items-table td[key=mn],.items-table td[key=damage],.items-table td[key=unit]{text-align:center}.items-table input[type=checkbox]{margin:0;padding:0;-webkit-appearance:checkbox!important;-moz-appearance:checkbox!important;appearance:checkbox!important}.items-table th,.items-table td{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:.4rem .2rem;min-width:1rem}.items-table th[key=type],.items-table td[key=type],.items-table th[key=cost],.items-table td[key=cost],.items-table th[key=encumbrance],.items-table td[key=encumbrance],.items-table th[key^=range],.items-table td[key^=range],.items-table th[key=ss],.items-table td[key=ss],.items-table th[key=rof],.items-table td[key=rof],.items-table th[key=mn],.items-table td[key=mn],.items-table th[key=damage],.items-table td[key=damage],.items-table th[key=q],.items-table td[key=q],.items-table th[key=unit],.items-table td[key=unit]{text-align:center}.items-table th[key=select],.items-table td[key=select]{width:2.2rem;padding:.25rem}.items-table th[key=name],.items-table td[key=name]{width:auto;min-width:8rem;max-width:12rem;padding-right:1rem}.items-table th[key=type],.items-table td[key=type]{width:4rem;padding:.25rem}.items-table th[key^=range],.items-table td[key^=range]{width:2.5rem;padding:.25rem}.items-table th[key=weaponSkill],.items-table td[key=weaponSkill]{width:4rem;padding:.25rem}.items-table th[key=ss],.items-table th[key=rof],.items-table th[key=mn],.items-table td[key=ss],.items-table td[key=rof],.items-table td[key=mn]{width:2.5rem;padding:.25rem}.items-table th[key=encumbrance],.items-table td[key=encumbrance],.items-table th[key=cost],.items-table td[key=cost]{width:3rem;padding:.25rem}.items-table th[key=damage],.items-table td[key=damage],.items-table th[key=unit],.items-table td[key=unit]{width:4rem;padding:.25rem}.items-table th[key=notes],.items-table td[key=notes]{min-width:6rem;max-width:12rem;padding-left:.5rem}.items-table th,.items-table td{padding:.5rem;text-align:center;border:1px solid var(--vscode-panel-border)}.items-table th{background:var(--vscode-editor-lineHighlightBackground);font-weight:700}.items-table tr:nth-child(2n){background:var(--vscode-editor-lineHighlightBackground)}.summary-section{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;padding:1rem;margin-top:2rem}.summary-card{background:var(--vscode-editor-background);border:1px solid var(--vscode-panel-border);border-radius:4px;padding:1rem;text-align:center}.summary-card h4{margin:0;color:var(--vscode-editor-foreground)}.summary-card .value{font-size:1.5rem;font-weight:700;margin-top:.5rem;color:var(--vscode-textLink-foreground)}.weapon-ammo-page{padding:20px;max-width:100%;overflow-x:auto}.filters{position:sticky;top:0;background:#fff;z-index:100;padding:10px 0;border-bottom:1px solid #eee}.filter-group{display:flex;gap:10px;margin-bottom:10px;align-items:center}.weapon-filters{display:flex;gap:10px;margin-bottom:10px}.search-input,.filter-select{padding:8px;border:1px solid #ccc;border-radius:4px;min-width:200px}.toggle-button{padding:8px 16px;border:1px solid #ccc;background:#f5f5f5;cursor:pointer;border-radius:4px}.toggle-button.active{background:#007bff;color:#fff;border-color:#0056b3}.weapons-grid,.ammo-grid{display:flex;flex-direction:column;gap:30px;margin-top:20px}.weapon-category,.ammo-category{background:#f8f9fa;padding:20px;border-radius:8px;box-shadow:0 2px 4px #0000001a}.weapon-category h3,.ammo-category h3{margin-top:0;margin-bottom:15px;color:#333;display:flex;align-items:center;justify-content:space-between}.reference{font-size:.8em;color:#666;font-weight:400}.weapons-table,.ammo-table{width:100%;border-collapse:collapse;background:#fff;font-size:14px}.weapons-table th,.weapons-table td,.ammo-table th,.ammo-table td{padding:8px;text-align:left;border:1px solid #ddd}.weapons-table th,.ammo-table th{background:#f1f3f5;font-weight:700;white-space:nowrap}tr.selected{background-color:#e3f2fd}.weapons-table tr:hover,.ammo-table tr:hover{background:#f8f9fa}.info-button{background:#007bff;color:#fff;border:none;border-radius:4px;padding:4px 8px;cursor:pointer;font-size:12px;width:24px;height:24px;display:flex;align-items:center;justify-content:center}.info-button:hover{background:#0056b3}.weapon-description-row{background:#f8f9fa!important}.weapon-description{padding:15px;background:#fff;border-radius:4px;margin:5px 0;border-left:4px solid #007bff}.weapon-description h4{margin:0 0 10px;color:#333;font-size:16px}.weapon-description p{margin:5px 0;line-height:1.4}.weapon-description strong{color:#555}@media (max-width: 1024px){.filters{position:static}.filter-group,.weapon-filters{flex-direction:column}.weapons-table,.ammo-table{display:block;overflow-x:auto}.weapon-category,.ammo-category{padding:10px}}
