.weapon-dialog{width:min(570px,94vw);max-height:90vh;overflow:auto;border:1px solid #bfd1e6;border-top:4px solid #d0ac49;border-radius:10px;background:#fff;color:#2e4a6b;padding:32px;box-shadow:0 15px 70px #163a6635}.weapon-dialog::backdrop{background:#142a4455;backdrop-filter:blur(3px)}.weapon-dialog h2{font-size:30px;margin:15px 0 24px;color:#234d7a}.weapon-dialog label{display:block;margin:16px 0;font-size:10px;color:#6e859e;letter-spacing:.6px}.weapon-dialog input,.weapon-dialog textarea{border:1px solid #bdcfe5;border-radius:5px;background:#fbfdff;color:#24466c;padding:11px;margin-top:7px;font-size:14px}.weapon-dialog textarea{min-height:110px;line-height:1.7}.weapon-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.weapon-form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:25px}.weapon-form-actions .primary{width:auto;min-width:160px;background:#24588f;color:#fff;border-color:#24588f}.weapon-dialog .dialog-close{color:#7c91ab}.hero-reference .gear-section .section-top{gap:12px;margin-bottom:20px}.hero-reference .gear-section .section-top h3{margin:0;text-align:left}.hero-reference .gear-section #add-weapon{font-size:10px;border:1px solid #abc5e4;background:#eef5fe;color:#23568a;border-radius:5px;white-space:nowrap;padding:9px}.weapon-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin:10px 0 20px}.weapon-card{background:linear-gradient(140deg,#fff,#f5f9ff);border:1px solid #c3d4e9;border-top:3px solid #1f568e;border-radius:7px;padding:16px;box-shadow:0 3px 10px #2e537c06;min-width:0}.weapon-card-header{display:flex;align-items:center;gap:11px;margin-bottom:16px}.weapon-symbol{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border:1px solid #c3d4e8;border-radius:6px;background:#eaf2fc;color:#295a8b;font-size:21px}.weapon-card h4{font-size:14px;font-weight:800;color:#214c7b;margin:0;overflow-wrap:anywhere}.weapon-values{display:grid;grid-template-columns:1fr 1fr;gap:12px}.weapon-values>div{background:#fff;border:1px solid #d8e3f1;border-radius:5px;padding:10px;min-width:0}.weapon-values span{display:block;font-size:8px;font-weight:800;letter-spacing:1px;color:#8497ac;margin-bottom:8px}.weapon-values strong{font-size:15px;color:#285582;overflow-wrap:anywhere}.weapon-note{font-size:11px;line-height:1.7;color:#6c809a;overflow-wrap:anywhere;margin:14px 0 0}.weapon-card-actions{display:flex;gap:6px;margin-top:17px;flex-wrap:wrap}.weapon-card-actions button{font-size:10px;padding:7px 9px;border-radius:4px;color:#41658c}.weapon-card-actions button:first-child{background:#e9f3ff;border-color:#aac6e7;color:#1f558f}.weapon-card-actions button:last-child{margin-left:auto;background:transparent;border-color:transparent;color:#a65b67}.equipment-empty{padding:24px 18px;text-align:center;border:1px dashed #b8cbe2;border-radius:7px;background:#f9fbff;color:#577492}.equipment-empty>span{font-size:30px;color:#b4c6db}.equipment-empty p{font-size:12px;font-weight:700;color:#54708e}.equipment-empty small{font-size:10px;line-height:1.7}.equipment-money{font-size:10px!important;letter-spacing:.8px!important;color:#748ba5!important}.hero-reference .equipment-money input{border:1px solid #c8d8eb;background:#fcfdff;border-radius:5px;padding:10px 12px;margin-top:8px}.equipment-notes{margin-top:20px;color:#7a90a9;font-size:11px}.equipment-notes summary{cursor:pointer;color:#466c92}.equipment-notes textarea{margin-top:15px;padding:12px;min-height:110px}.hero-reference .gear-section{scroll-margin-top:130px}@media(max-width:600px){.weapon-dialog{padding:28px 20px}.weapon-dialog h2{font-size:27px}.weapon-form-grid{grid-template-columns:1fr;gap:0}.weapon-form-actions{flex-wrap:wrap}.weapon-form-actions .primary{min-width:140px}.weapon-cards{grid-template-columns:1fr}.weapon-card{padding:15px}.weapon-values strong{font-size:17px}.hero-reference .gear-section .section-top{gap:8px}.hero-reference .gear-section #add-weapon{font-size:9px;padding:8px}.weapon-card-actions button{padding:8px 10px}.weapon-note{font-size:12px}}

.weapon-system-details{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:12px;padding:10px 0;line-height:1.6}.session-weapon .weapon-system-details{grid-column:1/-1}.weapon-dialog details>summary{cursor:pointer;margin:8px 0 16px}.weapon-dialog details .hint{margin-bottom:18px}
