/* ─── totes module styles (v10.22) ────────────────────────────────
   Panel chrome (overlay, header, close) comes from module-lib.css.
   This file styles only what's INSIDE the panel body and sub-modals. */

.totes-panel .ml-panel-inner { max-width: 720px; }
.totes-panel .ml-panel-body { flex-direction: column; }

.totes-search {
  width: calc(100% - 28px);
  margin: 10px 14px;
  padding: 6px 10px;
  background: transparent;
  border: 1px solid var(--accent2);
  color: var(--fg);
  font-family: var(--mono, monospace);
  font-size: 0.95em;
  box-sizing: border-box;
}
.totes-search:focus {
  outline: none;
  border-color: var(--accent);
}

.totes-results {
  flex: 1;
  overflow-y: auto;
  padding: 0 14px;
}

.totes-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tote-row {
  border-left: 2px solid var(--accent2);
  padding: 6px 10px;
  margin-bottom: 8px;
  background: rgba(176,230,176,0.03);
}
.tote-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.tote-id {
  color: var(--accent);
  font-weight: bold;
  font-size: 0.95em;
  min-width: 3em;
}
.tote-location {
  color: var(--dim);
  font-size: 0.9em;
  flex: 1;
}
.tote-edit, .tote-delete {
  cursor: pointer;
  color: var(--dim);
  text-decoration: none;
  padding: 2px 6px;
  font-size: 0.85em;
  border: 1px solid transparent;
  border-radius: 2px;
}
.tote-edit:hover { color: var(--accent); border-color: var(--accent2); }
.tote-delete:hover { color: #e07a7a; border-color: rgba(224,122,122,0.4); }
.tote-items {
  list-style: none;
  margin: 0;
  padding: 0 0 0 8px;
  font-size: 0.9em;
}
.tote-items li { padding: 1px 0; }
.tote-items li::before { content: '· '; color: var(--dim); }
.tote-notes {
  font-size: 0.85em;
  font-style: italic;
  margin: 4px 0 0 0;
}

.totes-panel-foot {
  padding: 10px 14px;
  border-top: 1px solid var(--accent2);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.totes-count { margin-left: auto; font-size: 0.85em; }

/* totes editor + bulk import sub-modals */
.totes-edit-sub .ml-submodal-inner,
.totes-import-sub .ml-submodal-inner { max-width: 520px; }

.totes-edit-actions {
  margin-top: 14px;
  display: flex;
  gap: 8px;
}

.ml-submodal-body .btn {
  background: transparent;
  border: 1px solid var(--accent2);
  color: var(--fg);
  padding: 6px 14px;
  font-family: var(--mono, monospace);
  font-size: 0.88em;
  cursor: pointer;
  border-radius: 2px;
}
.ml-submodal-body .btn:hover {
  background: rgba(176,230,176,0.1);
  border-color: var(--accent);
}
.ml-submodal-body .btn.primary {
  color: var(--accent);
  border-color: var(--accent);
}
.ml-submodal-body .btn.primary:hover {
  background: rgba(176,230,176,0.15);
}
.ml-submodal-body .btn.small {
  padding: 4px 10px;
  font-size: 0.82em;
}
