  /**
   * [CSS_Locker.html] 사물함 관리 탭 스타일 (lk- prefix)
   * CSS_Dashboard.html에서 분리됨.
   */
  /* ════════════════ 사물함 탭 스타일 (lk- prefix) ════════════════ */

  /* 툴바 */
  .lk-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
  }

  .lk-zone-select {
    height: 42px;
    min-width: 180px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    outline: none;
  }

  .lk-zone-select:focus {
    border-color: #1a1a1a;
  }

  .lk-toolbar-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-left: auto;
  }

  /* 버튼 공통 */
  .lk-btn {
    height: 42px;
    padding: 0 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
    white-space: nowrap;
    transition: all 0.15s;
    border: none;
  }

  .lk-btn-primary {
    background: #1a1a1a;
    color: #00ff88;
  }

  .lk-btn-primary:hover {
    background: #2a2a2a;
  }

  .lk-btn-outline {
    background: #fff;
    color: #555;
    border: 2px solid #e0e0e0;
  }

  .lk-btn-outline:hover {
    border-color: #999;
    color: #333;
  }

  .lk-btn-danger-sm {
    background: #fff5f5;
    color: #ff5252;
    border: 2px solid #ffcdd2;
  }

  .lk-btn-danger-sm:hover {
    background: #ff5252;
    color: #fff;
  }

  /* 검색바 + 요약 */
  .lk-search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    flex-shrink: 0;
  }

  .lk-search-input {
    height: 40px;
    min-width: 220px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 14px;
    color: #333;
    font-family: 'Noto Sans KR', sans-serif;
    outline: none;
  }

  .lk-search-input:focus {
    border-color: #1a1a1a;
  }

  .lk-summary {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }

  /* 상태 배지 */
  .lk-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
  }

  .lk-valid {
    background: #e8f5e9;
    color: #2e7d32;
  }

  .lk-expire {
    background: #ffebee;
    color: #c62828;
  }

  .lk-hold {
    background: #fffde7;
    color: #f57f17;
  }

  .lk-repair {
    background: #e3f2fd;
    color: #1565c0;
  }

  .lk-etc {
    background: #f5f5f5;
    color: #555;
  }

  .lk-empty {
    background: #fafafa;
    color: #aaa;
    border: 1px solid #e0e0e0;
  }

  /* 로딩/빈 상태 */
  .lk-loading {
    text-align: center;
    color: #bbb;
    padding: 48px 0;
    font-size: 15px;
    width: 100%;
  }

  /* 구역 그룹 */
  .lk-grid {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
  }

  .lk-zone-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .lk-zone-title {
    font-size: 14px;
    font-weight: 900;
    color: #555;
    letter-spacing: 0.5px;
    padding: 0 4px;
    border-left: 4px solid #1a1a1a;
    padding-left: 10px;
  }

  /* 사물함 카드 그리드 */
  .lk-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
  }

  /* 사물함 카드 */
  .lk-card {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    border: 2px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all 0.15s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  }

  .lk-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  }

  /* 상태별 카드 좌측 라인 */
  .lk-card-lk-valid {
    border-left: 4px solid #4caf50;
  }

  .lk-card-lk-expire {
    border-left: 4px solid #ef5350;
  }

  .lk-card-lk-hold {
    border-left: 4px solid #ffc107;
  }

  .lk-card-lk-repair {
    border-left: 4px solid #42a5f5;
  }

  .lk-card-lk-etc {
    border-left: 4px solid #9e9e9e;
  }

  .lk-card-lk-empty {
    border-left: 4px solid #e0e0e0;
    opacity: 0.7;
  }

  .lk-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
  }

  .lk-card-num {
    font-size: 18px;
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1;
  }

  .lk-card-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 10px;
    white-space: nowrap;
  }

  .lk-card-icon {
    font-size: 20px;
    text-align: center;
    margin: 2px 0;
  }

  .lk-card-name {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
  }

  .lk-card-days {
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    display: block;
  }

  .lk-days-ok {
    color: #4caf50;
  }

  .lk-days-over {
    color: #ef5350;
  }

  .lk-card-memo {
    font-size: 10px;
    color: #aaa;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    margin-top: 2px;
  }

  /* ── 사물함 모달 ── */
  .lk-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 20000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
  }

  .lk-modal-overlay.active {
    display: flex;
  }

  .lk-modal {
    background: #fff;
    border-radius: 20px;
    width: 440px;
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    animation: lk-pop 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .lk-modal-sm {
    width: 340px;
  }

  @keyframes lk-pop {
    from {
      transform: scale(0.88);
      opacity: 0;
    }

    to {
      transform: scale(1);
      opacity: 1;
    }
  }

  .lk-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 17px;
    font-weight: 900;
    color: #1a1a1a;
    flex-shrink: 0;
  }

  .lk-modal-close {
    background: transparent;
    border: none;
    font-size: 20px;
    color: #aaa;
    cursor: pointer;
    transition: color 0.15s;
  }

  .lk-modal-close:hover {
    color: #333;
  }

  .lk-modal-body {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
  }

  .lk-modal-footer {
    padding: 16px 24px 20px;
    display: flex;
    gap: 10px;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
  }

  .lk-modal-footer .lk-btn {
    flex: 1;
  }

  .lk-form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .lk-form-label {
    font-size: 12px;
    font-weight: 800;
    color: #888;
    letter-spacing: 0.5px;
  }

  .lk-form-input {
    height: 44px;
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 15px;
    color: #333;
    font-family: 'Noto Sans KR', sans-serif;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
  }

  .lk-form-input:focus {
    border-color: #1a1a1a;
    background: #fff;
  }

  /* 모달 구분선 */
  .lk-modal-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 4px 0;
  }

  /* 상태 자동 미리보기 */
  .lk-status-preview {
    background: #f8f8f8;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  /* 섹션 토글 헤더 */
  .lk-section-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    color: #333;
    transition: color 0.15s;
  }

  .lk-section-toggle:hover {
    color: #1a1a1a;
  }

  .lk-toggle-hint {
    font-size: 11px;
    color: #aaa;
    font-weight: 600;
    flex: 1;
  }

  .lk-toggle-arrow {
    font-size: 11px;
    color: #bbb;
  }

  /* 홀딩/이동 섹션 내부 */
  .lk-hold-wrap {
    background: #fafafa;
    border-radius: 10px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid #f0f0f0;
    margin-bottom: 4px;
  }

  .lk-hold-btn-row {
    display: flex;
    gap: 8px;
    align-items: center;
  }

  /* 버튼 추가 스타일 */
  .lk-btn-hold {
    flex: 1;
    background: linear-gradient(135deg, #ffc107, #e65100);
    color: #fff;
    height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    border: none;
    font-family: 'Noto Sans KR', sans-serif;
    white-space: nowrap;
  }

  .lk-btn-sm {
    height: 36px !important;
    font-size: 12px !important;
    padding: 0 12px !important;
  }

  .lk-btn-full {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .lk-direction-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    color: #555;
    transition: all 0.15s;
    background: #f8f8f8;
  }

  .lk-direction-btn:has(input:checked) {
    border-color: #1a1a1a;
    background: #f0f0f0;
    color: #1a1a1a;
  }

  .lk-direction-btn input {
    accent-color: #1a1a1a;
    width: 16px;
    height: 16px;
    cursor: pointer;
  }

  /* 미리보기 영역 */
  .lk-grid-preview {
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 14px;
    min-height: 60px;
    font-size: 13px;
    color: #aaa;
  }

  .lk-preview-grid {
    display: grid;
    gap: 4px;
    margin-bottom: 8px;
  }

  .lk-preview-cell {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 6px 4px;
    text-align: center;
    font-size: 12px;
    font-weight: 800;
    color: #333;
    min-width: 0;
  }

  .lk-preview-info {
    font-size: 12px;
    font-weight: 700;
    color: #888;
    text-align: center;
  }

  /* 모바일 */
  @media (max-width: 768px) {
    .lk-cards {
      grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
      gap: 8px;
    }

    .lk-card {
      padding: 10px;
    }

    .lk-card-num {
      font-size: 16px;
    }

    .lk-toolbar-btns {
      margin-left: 0;
    }

    .lk-search-input {
      min-width: 160px;
    }
  }

