/**
 * Echoholics Equipment.
 */

.ech-eq, .ech-eq-manage, .ech-eq-list { font-family: "Just Sanz", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; }
.ech-eq *, .ech-eq-manage *, .ech-eq-list * { box-sizing: border-box; }
.ech-eq [hidden], .ech-eq-manage [hidden] { display: none !important; }

.ech-eq-manage button, .ech-eq button {
  all: unset !important; box-sizing: border-box !important; cursor: pointer !important;
  font-family: "Just Sanz", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif !important;
}
.ech-eq-manage .ech-eq-btn, .ech-eq-manage a.ech-eq-btn {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  font-size: 13.5px !important; font-weight: 600 !important; padding: 11px 20px !important;
  border-radius: 6px !important; border-width: 1px !important; border-style: solid !important;
  line-height: 1.2 !important; text-decoration: none !important;
}
.ech-eq-manage .ech-eq-btn:disabled { opacity: 0.55 !important; cursor: not-allowed !important; }

.ech-eq-manage-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.ech-eq-manage-count { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 11px; }
.ech-eq-rows { display: flex; flex-direction: column; gap: 6px; }
.ech-eq-row {
  display: grid; grid-template-columns: minmax(0, 1fr) 170px 120px;
  gap: 14px; align-items: center; padding: 13px 16px;
  border-radius: 8px; border-width: 1px; border-style: solid; text-decoration: none !important;
}
.ech-eq-row-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ech-eq-row-name { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ech-eq-row-meta, .ech-eq-row-studios { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 10.5px; }

.ech-eq-status {
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 9.5px; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; text-align: center; white-space: nowrap;
}

.ech-eq-form { min-width: 0; }
.ech-eq-back { display: inline-block; font-size: 12.5px; margin-bottom: 14px; text-decoration: none; }
.ech-eq-field { margin-bottom: 16px; }
.ech-eq-field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-bottom: 4px; }
.ech-eq-label {
  display: block; margin-bottom: 6px;
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
}
.ech-eq-label small { text-transform: none; letter-spacing: 0; font-size: 10px; opacity: 0.75; }
.ech-eq-input, .ech-eq-textarea {
  width: 100% !important; border-radius: 6px !important; padding: 11px 13px !important;
  font-size: 14px !important; font-family: inherit !important;
  border-width: 1px !important; border-style: solid !important; box-shadow: none !important;
}
.ech-eq-textarea { resize: vertical !important; }
.ech-eq-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.ech-eq-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px; border-radius: 999px; font-size: 12.5px; cursor: pointer;
  border-width: 1px; border-style: solid;
}
.ech-eq-chip--wide { width: 100%; }
.ech-eq-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.ech-eq-error { border-radius: 6px; padding: 10px 13px; font-size: 13px; margin-bottom: 12px; }
.ech-eq-msg { font-size: 12.5px; }
.ech-eq-hint { font-size: 11.5px; margin: 6px 0 0; }

.ech-eq-filters { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 20px; }
.ech-eq-filter { padding: 8px 14px; border-radius: 999px; font-size: 12.5px; text-decoration: none !important; }
.ech-eq-title { font-family: "Gunterz", Georgia, serif; font-weight: 600; font-size: 20px; margin: 0 0 14px; }
.ech-eq-group { margin-bottom: 26px; }
.ech-eq-group-title {
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 10px;
}
.ech-eq-items { display: flex; flex-direction: column; gap: 6px; }
.ech-eq-item {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; padding: 14px 16px; border-radius: 8px;
  border-width: 1px; border-style: solid; flex-wrap: wrap;
}
.ech-eq-item-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.ech-eq-name { font-size: 14.5px; font-weight: 600; }
.ech-eq-brand { opacity: 0.65; margin-right: 5px; }
.ech-eq-count { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 11.5px; margin-left: 6px; }
.ech-eq-model, .ech-eq-studios { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 10.5px; }
.ech-eq-desc { font-size: 12.5px; line-height: 1.5; margin-top: 2px; }
.ech-eq-item-side { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; flex-shrink: 0; }
.ech-eq-uses { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 10px; }
.ech-eq-empty { border-radius: 10px; border-width: 1px; border-style: dashed; padding: 28px; text-align: center; }
.ech-eq-empty strong { display: block; font-size: 15px; margin-bottom: 5px; }
.ech-eq-empty p { font-size: 13px; line-height: 1.6; margin: 0 auto; max-width: 400px; }

@media (max-width: 640px) {
  .ech-eq-row { grid-template-columns: minmax(0, 1fr) auto; }
  .ech-eq-row-studios { grid-column: 1 / -1; }
  .ech-eq-item-side { align-items: flex-start; }
}

html:not(.psk-theme-light) .ech-eq-row,
html:not(.psk-theme-light) .ech-eq-item { background: #161616; border-color: #2A2A2A; }
html:not(.psk-theme-light) .ech-eq-row:hover { border-color: #4B9BD5; }
html:not(.psk-theme-light) .ech-eq-row-name,
html:not(.psk-theme-light) .ech-eq-name,
html:not(.psk-theme-light) .ech-eq-title,
html:not(.psk-theme-light) .ech-eq-empty strong { color: #E3E3E3; }
html:not(.psk-theme-light) .ech-eq-row-meta,
html:not(.psk-theme-light) .ech-eq-row-studios,
html:not(.psk-theme-light) .ech-eq-model,
html:not(.psk-theme-light) .ech-eq-studios,
html:not(.psk-theme-light) .ech-eq-uses,
html:not(.psk-theme-light) .ech-eq-group-title,
html:not(.psk-theme-light) .ech-eq-label,
html:not(.psk-theme-light) .ech-eq-hint,
html:not(.psk-theme-light) .ech-eq-manage-count,
html:not(.psk-theme-light) .ech-eq-empty p { color: #6B6B6B; }
html:not(.psk-theme-light) .ech-eq-desc { color: #9A9A9A; }
html:not(.psk-theme-light) .ech-eq-count { color: #83BDE7; }
html:not(.psk-theme-light) .ech-eq-input,
html:not(.psk-theme-light) .ech-eq-textarea { background: #1E1E1E !important; border-color: #3A3A3A !important; color: #E3E3E3 !important; }
html:not(.psk-theme-light) .ech-eq-btn { background: #33769F !important; border-color: transparent !important; color: #FFFFFF !important; }
html:not(.psk-theme-light) .ech-eq-btn.is-danger { background: transparent !important; border-color: rgba(248,113,113,0.4) !important; color: #F87171 !important; }
html:not(.psk-theme-light) .ech-eq-chip { background: #1E1E1E; border-color: #3A3A3A; color: #9A9A9A; }
html:not(.psk-theme-light) .ech-eq-chip:has(input:checked) { background: #12202B; border-color: #4B9BD5; color: #83BDE7; }
html:not(.psk-theme-light) .ech-eq-filter { background: #161616; color: #9A9A9A; }
html:not(.psk-theme-light) .ech-eq-filter.is-active { background: #12202B; color: #83BDE7; }
html:not(.psk-theme-light) .ech-eq-status { background: #1E1E1E; color: #9A9A9A; }
html:not(.psk-theme-light) .ech-eq-status.is-maintenance,
html:not(.psk-theme-light) .ech-eq-status.is-mixed { background: rgba(245,185,59,0.14); color: #F5B93B; }
html:not(.psk-theme-light) .ech-eq-status.is-retired { background: rgba(248,113,113,0.12); color: #F87171; }
html:not(.psk-theme-light) .ech-eq-status.is-in-use { background: rgba(74,222,128,0.12); color: #4ADE80; }
html:not(.psk-theme-light) .ech-eq-back { color: #83BDE7; }
html:not(.psk-theme-light) .ech-eq-error { background: rgba(248,113,113,0.12); color: #F87171; }
html:not(.psk-theme-light) .ech-eq-msg { color: #4ADE80; }
html:not(.psk-theme-light) .ech-eq-empty { border-color: #2A2A2A; }

html.psk-theme-light .ech-eq-row,
html.psk-theme-light .ech-eq-item { background: #FFFFFF; border-color: #E3E3E3; }
html.psk-theme-light .ech-eq-row:hover { border-color: #33769F; }
html.psk-theme-light .ech-eq-row-name,
html.psk-theme-light .ech-eq-name,
html.psk-theme-light .ech-eq-title,
html.psk-theme-light .ech-eq-empty strong { color: #0E0E0E; }
html.psk-theme-light .ech-eq-row-meta,
html.psk-theme-light .ech-eq-row-studios,
html.psk-theme-light .ech-eq-model,
html.psk-theme-light .ech-eq-studios,
html.psk-theme-light .ech-eq-uses,
html.psk-theme-light .ech-eq-group-title,
html.psk-theme-light .ech-eq-label,
html.psk-theme-light .ech-eq-hint,
html.psk-theme-light .ech-eq-manage-count,
html.psk-theme-light .ech-eq-empty p { color: #6B6B6B; }
html.psk-theme-light .ech-eq-desc { color: #4A4A4A; }
html.psk-theme-light .ech-eq-count { color: #33769F; }
html.psk-theme-light .ech-eq-input,
html.psk-theme-light .ech-eq-textarea { background: #F7F7F5 !important; border-color: #D1D1CE !important; color: #0E0E0E !important; }
html.psk-theme-light .ech-eq-btn { background: #33769F !important; border-color: transparent !important; color: #FFFFFF !important; }
html.psk-theme-light .ech-eq-btn.is-danger { background: transparent !important; border-color: rgba(220,38,38,0.35) !important; color: #DC2626 !important; }
html.psk-theme-light .ech-eq-chip { background: #F7F7F5; border-color: #D1D1CE; color: #4A4A4A; }
html.psk-theme-light .ech-eq-chip:has(input:checked) { background: #EAF2F8; border-color: #33769F; color: #33769F; }
html.psk-theme-light .ech-eq-filter { background: #F0F0EE; color: #4A4A4A; }
html.psk-theme-light .ech-eq-filter.is-active { background: #EAF2F8; color: #33769F; }
html.psk-theme-light .ech-eq-status { background: #F0F0EE; color: #4A4A4A; }
html.psk-theme-light .ech-eq-status.is-maintenance,
html.psk-theme-light .ech-eq-status.is-mixed { background: rgba(217,119,6,0.10); color: #B45309; }
html.psk-theme-light .ech-eq-status.is-retired { background: rgba(220,38,38,0.10); color: #DC2626; }
html.psk-theme-light .ech-eq-status.is-in-use { background: rgba(22,163,74,0.10); color: #16A34A; }
html.psk-theme-light .ech-eq-back { color: #33769F; }
html.psk-theme-light .ech-eq-error { background: rgba(220,38,38,0.08); color: #DC2626; }
html.psk-theme-light .ech-eq-msg { color: #16A34A; }
html.psk-theme-light .ech-eq-empty { border-color: #D1D1CE; }
