.equipment-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.equipment-header h2 { margin: 0; }
.equipment-menu { position: relative; flex-shrink: 0; z-index: 8; }
.equipment-hamburger { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 48px; height: 48px; border: 1px solid #dcd5ff; border-radius: 13px; background: #f8f6ff; color: #6954dc; cursor: pointer; list-style: none; }
.equipment-hamburger span { width: 22px; height: 2px; background: currentColor; }
.equipment-hamburger::-webkit-details-marker { display: none; }
.equipment-hamburger:focus-visible { outline: 2px solid #6954dc; outline-offset: 3px; }
.equipment-menu-panel { position: absolute; left: 0; top: 56px; width: 260px; max-width: calc(100vw - 80px); padding: 12px; border: 1px solid #ddd6ff; border-radius: 14px; background: #fff; box-shadow: 0 12px 32px #29234e22; display: grid; gap: 9px; }
[dir=ltr] .equipment-menu-panel { right: 0; left: auto; }
.equipment-summary { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; padding: 18px; margin-bottom: 20px; background: #f7f5ff; color: #6854d7; border: 1px solid #e4dfff; border-radius: 13px; }
.equipment-sort { display: grid; gap: 8px; min-width: 180px; max-width: 100%; font-weight: 600; }
.equipment-sort select { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid #e1e2ef; border-radius: 10px; background: white; color: inherit; font: inherit; }
.equipment-table-wrap { max-height: 53vh; overflow: auto; }
.equipment-table { min-width: 780px; }
.equipment-table thead th { position: sticky; top: 0; z-index: 1; background: #f8f7fd; }
.equipment-table th, .equipment-table td { white-space: nowrap; overflow-wrap: normal; vertical-align: middle; }
.equipment-photo { display: block; width: 72px; height: 72px; object-fit: contain; margin: auto; border-radius: 8px; }
.equipment-empty { text-align: center; padding: 48px 16px !important; color: #777e9a; }
.equipment-footer { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #e5e6f2; }
.equipment-form { display: grid; gap: 16px; }
.equipment-form [hidden] { display: none !important; }
.equipment-locations, .equipment-place-fields { display: grid; gap: 16px; }
.equipment-location-toolbar { display: flex; justify-content: flex-end; }
.equipment-location-toolbar button { min-height: 32px; padding: 5px 10px; font-size: 12px; }
.equipment-gear { width: 36px; height: 36px; border: 1px solid #dcd5ff; border-radius: 10px; background: #fff; color: #6954dc; font-size: 23px; cursor: pointer; }
.equipment-gear:hover, .equipment-gear[aria-expanded=true] { background: #eee9ff; }
.equipment-row-menu { position: fixed; inset: auto; margin: 0; padding: 8px; border: 1px solid #ddd6ff; border-radius: 12px; background: #fff; box-shadow: 0 8px 28px #29234e33; width: 160px; }
.equipment-table td:has(> .equipment-gear) { position: sticky; inset-inline-end: 0; background: #fff; z-index: 2; }
.equipment-table:has(.equipment-gear) th:last-child { inset-inline-end: 0; z-index: 3; }
.equipment-row-menu:popover-open { display: grid; gap: 6px; }
.equipment-row-menu button { width: 100%; }
.equipment-row-menu [data-equipment-action=delete] { color: #c33b50; border-color: #f4ced5; }
.equipment-delete-details { background: #fff7f8; border: 1px solid #f4ced5; border-radius: 12px; padding: 16px; }
[data-equipment-action=confirm-delete] { background: #d13c50; }
.equipment-legacy-location p { margin-top: 0; }
.equipment-form label { display: grid; gap: 8px; font-weight: 600; }
.equipment-form input, .equipment-form select, .equipment-form textarea { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid #e1e2ef; border-radius: 10px; background: #fff; color: inherit; font: inherit; }
.equipment-condition { display: grid; gap: 14px; margin: 0; padding: 14px; border: 1px solid #e1e2ef; border-radius: 12px; min-width: 0; }
.equipment-condition legend { padding: 0 6px; font-weight: 700; }
.equipment-condition-choices { display: flex; gap: 24px; flex-wrap: wrap; }
.equipment-condition-choices label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.equipment-condition-choices input { width: 20px; height: 20px; min-height: 20px; padding: 0; accent-color: #6954dc; }
.equipment-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.equipment-location { display: grid; gap: 14px; margin: 0; padding: 14px; border: 1px solid #e1e2ef; border-radius: 12px; min-width: 0; }
.equipment-location legend { padding: 0 6px; font-weight: 700; }
.equipment-location [hidden] { display: none !important; }
.equipment-location .equipment-fields:has(> [hidden]):not(:has(> :not([hidden]))) { display: none; }
.equipment-report-filters { display: grid; grid-template-columns: 1fr 2fr 1fr 1fr 1fr; gap: 16px; padding: 18px; margin-bottom: 20px; border: 1px solid #e4dfff; border-radius: 13px; background: #faf9ff; }
.equipment-report-filters:has(> [hidden]) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.equipment-report-filters [hidden] { display: none !important; }
.equipment-report-filters label { display: grid; gap: 8px; min-width: 0; font-weight: 600; }
.equipment-report-filters select { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid #e1e2ef; border-radius: 10px; background: white; color: inherit; font: inherit; }
.equipment-report-table { min-width: 650px; }
.equipment-report-table tfoot { background: #f7f5ff; font-weight: 700; }
.equipment-use { margin: 0; color: #777e9a; line-height: 1.6; }
.equipment-use:empty, .equipment-preview:empty { display: none; }
.equipment-preview img { display: block; max-width: 100%; max-height: 160px; margin: auto; border-radius: 12px; }
.equipment-error { padding: 12px; background: #fff1f3; border-radius: 10px; color: #b52e46; }
@media (max-width: 900px) { .equipment-report-filters, .equipment-report-filters:has(> [hidden]) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .equipment-fields, .equipment-report-filters, .equipment-report-filters:has(> [hidden]) { grid-template-columns: 1fr; } }
@media print {
  .equipment-print { width: 100%; max-width: none; min-width: 0; margin: 0; padding: 0; font: 12pt Arial, sans-serif; color: #000; }
  .equipment-print h1 { margin: 0 0 12px; font-size: 21pt; text-align: center; }
  .equipment-print-caption { text-align: center; margin: 0 0 14px; font-size: 11pt; line-height: 1.5; color: #000; }
  .equipment-print table { width: 100%; min-width: 0 !important; table-layout: fixed; border-collapse: collapse; }
  .equipment-print th, .equipment-print td { border: 1px solid #555; padding: 8px 6px; white-space: nowrap; overflow-wrap: normal; text-align: center; vertical-align: middle; font-size: 12pt; line-height: 1.5; color: #000; }
  .equipment-print :is(th, td) bdi { white-space: nowrap; font-family: Arial, sans-serif !important; font-weight: 400 !important; }
  .equipment-print th bdi { font-weight: 700 !important; }
  .equipment-print th { background: #f0eef8 !important; }
  .equipment-print img { height: 17mm; width: 15mm; object-fit: contain; }
  .equipment-print thead { display: table-header-group; }
  .equipment-print tr { break-inside: avoid; }
  .equipment-print tbody tr:last-child { break-after: avoid; }
  .equipment-print-total { margin-top: 14px; padding: 12px; border: 2px solid #222; text-align: center; font-size: 20pt; font-weight: 700; color: #000; break-inside: avoid; break-before: avoid; }
  .equipment-print-total strong { font-size: 24pt; }
}
