/* Ran and Våpenlager share the site's charcoal and bronze surfaces. */
#armoryOptionsDialog,#armoryOverviewDialog,#robberyLightboxDialog { background: #171719; border-color: #625841; box-shadow: 0 30px 90px #0009; }
.robbery-accordion { border-radius: 5px; overflow: hidden; }
dialog .robbery-form-section.robbery-weapon-section { border-top-color: #8a7556; }
.weapon-usage-history { margin: 18px 0; border: 1px solid var(--line); border-radius: 5px; background: #111113; font-family: Inter,sans-serif; }
.weapon-usage-history summary { display: flex; align-items: center; gap: 14px; padding: 16px; cursor: pointer; color: var(--text); font-size: 13px; list-style: none; }
.weapon-usage-history summary::-webkit-details-marker { display: none; }
.weapon-usage-history summary strong { margin-left: auto; color: var(--bronze); font-size: 12px; white-space: nowrap; }
.usage-chevron { transition: transform .15s; }
.weapon-usage-history[open] .usage-chevron { transform: rotate(180deg); }
.weapon-usage-history ol { list-style: none; padding: 4px 18px 18px; margin: 0; }
.weapon-usage-history li { display: flex; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line); }
.weapon-usage-history li strong { color: var(--text); font-size: 13px; line-height: 1.6; display: block; font-weight: 500; }
.weapon-usage-history small { display: block; color: var(--muted); margin-top: 5px; font-size: 11px; }
.weapon-usage-history>p { padding: 0 16px 16px; font-size: 13px; }
.usage-timeline-dot { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--bronze); margin-top: 7px; }
.usage-run-link { border: 0; background: none; color: var(--bronze); padding: 10px 0 0; font-size: 12px; font-weight: 600; text-align: left; }
.armory-serial>span { display: block; }
.armory-usage-toggle { display: flex; gap: 10px; align-items: center; border: 1px solid #675a47; background: #2a251f; color: var(--bronze); border-radius: 4px; padding: 7px 9px; margin-top: 9px; font: 500 11px Inter,sans-serif; white-space: nowrap; }
.armory-table-wrap .armory-usage-row { cursor: default; background: #0e0e10; }
.armory-table-wrap .armory-usage-row>td { padding: 0 18px; }
.armory-usage-row .weapon-usage-history { max-width: 850px; }
.robbery-used-weapons { padding: 12px 14px; border: 1px solid #675a47; border-radius: 4px; background: #25211b; color: var(--bronze); }
.robbery-used-weapons summary { cursor: pointer; font-size: 13px; font-weight: 600; }
.robbery-used-weapons ul { margin-top: 12px; color: var(--text); font-size: 13px; line-height: 1.8; }
.robbery-run-card.usage-highlight { border-color: var(--bronze); box-shadow: 0 0 0 2px #cfb99825; }
.robbery-used-weapon-field { display: grid; grid-template-columns: minmax(0,1fr) 40px; align-items: start; gap: 10px; margin-top: 16px; }
.weapon-combobox { position: relative; min-width: 0; }
.weapon-combobox label { font-size: 11px; color: var(--muted); margin: 0 0 7px; }
.weapon-remove { height: 44px; margin-top: 21px; border: 1px solid var(--line); border-radius: 4px; color: var(--red); background: #242427; }
.weapon-selection-info { display: block; padding-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.has-weapon .weapon-selection-info { color: var(--bronze); }
.weapon-suggestions { position: relative; z-index: 2; max-height: 260px; overflow-y: auto; border: 1px solid #75654d; border-top: 0; background: #171719; border-radius: 0 0 5px 5px; }
.weapon-suggestions button { display: block; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--text); padding: 12px 14px; }
.weapon-suggestions button:hover,.weapon-suggestions button[aria-selected="true"] { background: #302a22; }
.weapon-suggestions strong { color: var(--bronze); font: 600 13px monospace; }
.weapon-suggestions small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.weapon-suggestions p { padding: 4px 14px; font-size: 12px; }
.robbery-form-head p { max-width: 520px; line-height: 1.6; font-size: 12px; }
.robbery-weapon-section { border-top: 2px solid #8a7556; }
.robbery-form-head>.ghost-btn { flex-shrink: 0; }
#robberyRunForm>.robbery-run-context { grid-template-columns: minmax(0,1.4fr) minmax(0,1fr) minmax(0,.8fr); }
.robbery-run-card>div:first-child { min-width: 0; }
.robbery-run-card { overflow-wrap: anywhere; }
.armory-option-create { grid-template-columns: minmax(0,1fr) auto; }
.weapon-attachments { border-radius: 4px; }
@media(max-width:650px) {
  .robbery-form-head { flex-wrap: wrap; }
  #robberyRunForm>.robbery-run-context { grid-template-columns: 1fr 1fr; }
  #robberyRunForm>.robbery-run-context>label:first-child { grid-column: 1/-1; }
  .weapon-attachments>div:first-child { align-items: start; flex-wrap: wrap; }
  .robbery-form-section { padding: 14px; }
  .weapon-usage-history summary { padding: 12px; gap: 8px; }
  .armory-options-box,.armory-overview-box { padding: 18px; }
}
