/* ── Reset & base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; }
body {
  font-family: 'Segoe UI', system-ui, Arial, sans-serif;
  background: #f0f4f8;
  color: #2d3748;
  min-height: 100vh;
}
a { color: #3182ce; text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: 'SFMono-Regular', Consolas, monospace; font-size: 0.88em; background: #edf2f7; padding: 1px 5px; border-radius: 3px; }

/* ── Navbar ───────────────────────────────────────── */
.navbar {
  background: #1a2744;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 56px;
  position: sticky;
  top: 0;
  z-index: 100;
  flex-wrap: wrap;
}
.navbar-brand { display: flex; align-items: center; gap: 10px; }
.brand-link { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1.05rem; letter-spacing: 0.2px; }
.brand-link:hover { text-decoration: none; opacity: 0.9; }
.brand-icon { font-size: 1.4rem; }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; padding: 4px 8px; }
.navbar-menu { display: flex; align-items: center; gap: 4px; }
.nav-link { color: #a0aec0; padding: 6px 12px; border-radius: 5px; font-size: 0.9rem; transition: background 0.15s, color 0.15s; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.1); text-decoration: none; }
.nav-divider { width: 1px; height: 24px; background: rgba(255,255,255,0.15); margin: 0 8px; }
.nav-user { display: flex; align-items: center; gap: 8px; }
.nav-name { color: #e2e8f0; font-size: 0.88rem; }
.nav-logout { color: #fc8181 !important; }
.nav-logout:hover { background: rgba(252,129,129,0.15) !important; }
.role-badge { font-size: 0.72rem; padding: 2px 8px; border-radius: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; }
.role-admin  { background: #744210; color: #fbd38d; }
.role-editor { background: #1a365d; color: #90cdf4; }
.role-reader { background: #1a202c; color: #a0aec0; }

@media (max-width: 720px) {
  .navbar { height: auto; padding: 10px 16px; }
  .nav-toggle { display: block; }
  .navbar-menu { display: none; width: 100%; flex-direction: column; align-items: flex-start; padding: 8px 0 12px; gap: 2px; }
  .navbar.nav-open .navbar-menu { display: flex; }
  .nav-divider { width: 100%; height: 1px; margin: 4px 0; }
  .nav-user { flex-wrap: wrap; }
}

/* ── Layout ───────────────────────────────────────── */
.main { flex: 1; }
.container { max-width: 1280px; margin: 0 auto; padding: 24px 20px; }

/* ── Login ────────────────────────────────────────── */
.login-body { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: #1a2744; }
.login-wrap { width: 100%; max-width: 400px; padding: 20px; }
.login-card { background: #fff; border-radius: 12px; padding: 40px 36px; box-shadow: 0 8px 32px rgba(0,0,0,0.25); }
.login-logo { font-size: 3rem; text-align: center; margin-bottom: 12px; }
.login-title { font-size: 1.4rem; font-weight: 700; text-align: center; color: #1a2744; margin-bottom: 4px; }
.login-sub { text-align: center; color: #718096; font-size: 0.88rem; margin-bottom: 28px; }
.login-form .form-group { margin-bottom: 16px; }
.btn-full { width: 100%; }

/* ── Page header ──────────────────────────────────── */
.page-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.page-title { font-size: 1.5rem; font-weight: 700; color: #1a2744; }
.breadcrumb { color: #718096; font-size: 0.88rem; display: inline-block; margin-bottom: 2px; }
.breadcrumb:hover { color: #3182ce; text-decoration: none; }
.header-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── Alerts ───────────────────────────────────────── */
.alert { padding: 12px 16px; border-radius: 7px; margin-bottom: 16px; font-size: 0.9rem; }
.alert-error   { background: #fff5f5; border: 1px solid #fed7d7; color: #c53030; }
.alert-warning { background: #fffbeb; border: 1px solid #fbd38d; color: #744210; }
.alert-success { background: #f0fff4; border: 1px solid #9ae6b4; color: #276749; }
.alert-info    { background: #ebf8ff; border: 1px solid #90cdf4; color: #2c5282; }
.generated-password-box { background: #1a2744; color: #fff; border-radius: 8px; padding: 18px 22px; margin-bottom: 20px; }
.generated-password-box .gp-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: #fc8181; margin-bottom: 8px; }
.generated-password-box .gp-value { font-family: monospace; font-size: 1.5rem; letter-spacing: 3px; color: #fefce8; word-break: break-all; }
.generated-password-box .gp-note  { font-size: 0.8rem; color: #a0aec0; margin-top: 8px; }

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 16px; border-radius: 6px; border: none;
  cursor: pointer; font-size: 0.88rem; font-weight: 600;
  text-decoration: none; transition: filter 0.15s, opacity 0.15s;
  white-space: nowrap;
}
.btn:hover { filter: brightness(0.92); text-decoration: none; }
.btn-primary   { background: #3182ce; color: #fff; }
.btn-success   { background: #38a169; color: #fff; }
.btn-warning   { background: #d69e2e; color: #fff; }
.btn-danger    { background: #e53e3e; color: #fff; }
.btn-secondary { background: #718096; color: #fff; }
.btn-ghost     { background: #edf2f7; color: #4a5568; }
.btn-sm { padding: 5px 10px; font-size: 0.82rem; }

/* ── Forms ────────────────────────────────────────── */
.form-group { margin-bottom: 0; }
.form-group label { display: block; font-size: 0.83rem; font-weight: 600; color: #4a5568; margin-bottom: 4px; }
.req { color: #e53e3e; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; border: 1px solid #cbd5e0; border-radius: 6px;
  padding: 9px 11px; font-size: 0.9rem; background: #fff;
  outline: none; transition: border-color 0.15s, box-shadow 0.15s;
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: #3182ce; box-shadow: 0 0 0 3px rgba(49,130,206,0.12); }

.asset-form { background: #fff; border-radius: 10px; box-shadow: 0 1px 6px rgba(0,0,0,0.07); padding: 28px; max-width: 860px; }
.form-section { margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid #e2e8f0; }
.form-section:last-of-type { border-bottom: none; margin-bottom: 0; }
.form-section-title { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: #718096; margin-bottom: 14px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid-2 .full-width { grid-column: 1 / -1; }
.form-actions { display: flex; gap: 10px; margin-top: 24px; }

@media (max-width: 600px) {
  .form-grid-2 { grid-template-columns: 1fr; }
  .form-grid-2 .full-width { grid-column: auto; }
  .asset-form { padding: 16px; }
}

/* ── Filter card ──────────────────────────────────── */
.filter-card { background: #fff; border-radius: 8px; padding: 16px 18px; margin-bottom: 16px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.filter-search-row { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.filter-search-input { flex: 1; min-width: 200px; border: 1px solid #cbd5e0; border-radius: 6px; padding: 8px 12px; font-size: 0.9rem; outline: none; }
.filter-search-input:focus { border-color: #3182ce; box-shadow: 0 0 0 3px rgba(49,130,206,0.12); }
.filter-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.filter-row select { border: 1px solid #cbd5e0; border-radius: 6px; padding: 7px 10px; font-size: 0.88rem; background: #fff; cursor: pointer; }
.toggle-label { display: flex; align-items: center; gap: 6px; font-size: 0.88rem; color: #4a5568; cursor: pointer; user-select: none; white-space: nowrap; }
.result-summary { font-size: 0.88rem; color: #718096; margin-bottom: 10px; }
.arch-count { color: #e53e3e; }

/* ── Table ────────────────────────────────────────── */
.table-wrap { background: #fff; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); overflow: hidden; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.data-table thead th { background: #1a2744; color: #fff; padding: 11px 13px; text-align: left; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.3px; white-space: nowrap; }
.data-table tbody td { padding: 10px 13px; border-bottom: 1px solid #edf2f7; vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover td { background: #f7fafc; }
.row-archived td { opacity: 0.55; }
.col-actions { display: flex; gap: 6px; white-space: nowrap; }
.asset-link { font-weight: 600; color: #2d3748; }
.asset-link:hover { color: #3182ce; text-decoration: none; }
.inv-num { font-size: 0.83rem; }
.location { color: #4a5568; }

/* Mobile table → cards */
@media (max-width: 720px) {
  .data-table thead { display: none; }
  .data-table tbody tr {
    display: block; margin: 8px; border-radius: 8px;
    border: 1px solid #e2e8f0; padding: 12px;
    background: #fff;
  }
  .data-table tbody td {
    display: flex; align-items: baseline; gap: 8px;
    padding: 4px 0; border: none; font-size: 0.88rem;
  }
  .data-table tbody td::before {
    content: attr(data-label);
    font-weight: 600; color: #718096;
    min-width: 110px; flex-shrink: 0; font-size: 0.8rem;
  }
  .col-actions { flex-direction: row; flex-wrap: wrap; }
  .col-actions::before { display: none; }
}

/* ── Status badges ────────────────────────────────── */
.status-badge { display: inline-block; padding: 2px 9px; border-radius: 11px; font-size: 0.78rem; font-weight: 700; white-space: nowrap; }
.sb-uj          { background: #bee3f8; color: #1a365d; }
.sb-hasznalt    { background: #c6f6d5; color: #1c4532; }
.sb-hibas       { background: #feebc8; color: #744210; }
.sb-selejt      { background: #fed7d7; color: #742a2a; }
.sb-kolcsonben  { background: #e9d8fd; color: #44337a; }
.badge-arch     { background: #e2e8f0; color: #718096; font-size: 0.72rem; padding: 1px 7px; border-radius: 10px; font-weight: 600; margin-left: 6px; }

/* Category tag */
.cat-tag { background: #ebf8ff; color: #2b6cb0; font-size: 0.78rem; padding: 2px 8px; border-radius: 11px; font-weight: 600; }

/* Warranty colors */
.expired { color: #e53e3e; }
.expiring { color: #d69e2e; }

/* ── Empty state ──────────────────────────────────── */
.empty-state { text-align: center; padding: 60px 20px; color: #a0aec0; }
.empty-icon { font-size: 3rem; margin-bottom: 12px; }

/* ── Eszközlista csoportosított (accordion) nézet — mobilbarát,
      natív <details>, nagy érintőfelületek ─────────────────── */
.acc-tree { display: flex; flex-direction: column; gap: 10px; }
.acc-node { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.acc-node-sub { margin: 8px 0 0 0; box-shadow: none; border: 1px solid #e2e8f0; }
.acc-summary { display: flex; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer; list-style: none; -webkit-tap-highlight-color: rgba(49,130,206,0.15); }
.acc-summary::-webkit-details-marker { display: none; }
.acc-summary-top { font-size: 1.05rem; font-weight: 700; color: #1a2744; }
.acc-summary-sub { font-size: 0.95rem; font-weight: 600; color: #2d3748; padding: 14px 16px; }
.acc-chevron { color: #a0aec0; font-size: 0.8rem; transition: transform 0.15s; flex-shrink: 0; }
details[open] > .acc-summary .acc-chevron { transform: rotate(90deg); }
.acc-meta { margin-left: auto; color: #718096; font-size: 0.85rem; font-weight: 600; white-space: nowrap; }
.acc-body { padding: 0 12px 12px 12px; }
.acc-node-sub .acc-body { padding: 0 10px 10px 10px; }
.acc-model-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px; margin-top: 6px; border-radius: 8px; background: #f7fafc; text-decoration: none; color: #2b6cb0; font-weight: 600; font-size: 0.94rem; -webkit-tap-highlight-color: rgba(49,130,206,0.15); }
.acc-model-row:hover, .acc-model-row:active { background: #edf2f7; }
.acc-empty { padding: 10px 4px; color: #a0aec0; font-size: 0.85rem; }
.group-chk { width: 20px; height: 20px; flex-shrink: 0; accent-color: #3182ce; }
.group-chk:disabled { opacity: 0.3; }

/* Modell szint (3. mélység) — a modell maga is <details>, saját checkboxos
   eszköz-listával, hogy ne kelljen elnavigálni a kijelöléshez. */
.acc-node-model { margin: 6px 0 0 0; box-shadow: none; border: 1px solid #e2e8f0; background: #fbfcfd; }
.acc-summary-model { font-size: 0.9rem; font-weight: 600; color: #2d3748; padding: 13px 14px; }
.acc-body-model { padding: 4px 10px 10px 10px; }
.acc-model-link { display: block; font-size: 0.8rem; color: #3182ce; text-decoration: none; padding: 8px 4px; font-weight: 600; }
.acc-asset-row { display: flex; align-items: center; gap: 10px; padding: 12px 8px; border-radius: 8px; cursor: pointer; min-height: 24px; }
.acc-asset-row:hover, .acc-asset-row:active { background: #f7fafc; }
.acc-asset-row input[type="checkbox"] { width: 20px; height: 20px; flex-shrink: 0; }
.acc-asset-name { flex: 1; color: #1a2744; font-weight: 500; font-size: 0.92rem; text-decoration: none; }
.acc-asset-name:hover { text-decoration: underline; }

/* ── Leltár 2.0 fa-nézet (teljes/módszeres mód) — pipálás-jelzés a
   kijelölő checkbox helyén ────────────────────────────────────── */
.inv-asset-row .inv-check { display: none; width: 20px; flex-shrink: 0; color: #38a169; font-weight: 700; font-size: 1.1rem; }
.inv-asset-row.scanned .inv-check { display: inline-block; }
.inv-asset-row.scanned { background: #f0fff4; }
.inv-asset-row.scanned .acc-asset-name { color: #276749; }
.inv-manual-btn { flex-shrink: 0; }

/* ── Kategória-fa ─────────────────────────────────── */
.cat-tree { display: flex; flex-direction: column; gap: 14px; }
.cat-node { background: #fff; border-radius: 8px; padding: 14px 18px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.cat-node.cat-sub { margin: 12px 0 0 24px; box-shadow: none; border: 1px solid #e2e8f0; }
.cat-node-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cat-node-name { font-weight: 700; color: #1a2744; font-size: 1rem; }
.cat-top .cat-node-name { font-size: 1.05rem; }
.cat-node-meta { font-size: 0.8rem; color: #a0aec0; }
.cat-node-actions { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.cat-model-list { list-style: none; margin: 10px 0 0 4px; display: flex; flex-direction: column; gap: 4px; }
.cat-model-list li { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px; border-radius: 6px; background: #f7fafc; font-size: 0.88rem; }
.cat-model-list li a { color: #2b6cb0; font-weight: 600; }

/* ── Detail page ──────────────────────────────────── */
.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.detail-main { display: flex; flex-direction: column; gap: 16px; }
.detail-side { display: flex; flex-direction: column; gap: 16px; }
.detail-card { background: #fff; border-radius: 8px; padding: 20px 22px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.detail-card-title { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: #718096; margin-bottom: 14px; }
.detail-list { display: grid; grid-template-columns: 160px 1fr; gap: 0; }
.detail-list dt { font-size: 0.83rem; font-weight: 600; color: #718096; padding: 7px 0; border-bottom: 1px solid #f0f4f8; }
.detail-list dd { font-size: 0.9rem; color: #2d3748; padding: 7px 0; border-bottom: 1px solid #f0f4f8; }
.detail-list dt:last-of-type, .detail-list dd:last-of-type { border-bottom: none; }
.notes-text { font-size: 0.9rem; color: #4a5568; line-height: 1.6; white-space: pre-wrap; }
.muted { color: #a0aec0; font-size: 0.88rem; }

@media (max-width: 900px) {
  .detail-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .detail-list { grid-template-columns: 1fr; }
  .detail-list dt { padding-bottom: 2px; border-bottom: none; }
  .detail-list dd { border-bottom: 1px solid #f0f4f8; padding-bottom: 8px; }
}

/* ── Audit log ────────────────────────────────────── */
.audit-entry { padding: 10px 0; border-bottom: 1px solid #edf2f7; }
.audit-entry:last-child { border-bottom: none; }
.audit-header { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 2px; }
.audit-action { font-size: 0.78rem; font-weight: 700; padding: 1px 8px; border-radius: 10px; }
.audit-letrehozva   { background: #c6f6d5; color: #1c4532; }
.audit-modositva    { background: #bee3f8; color: #1a365d; }
.audit-archiválva, .audit-archivxlva { background: #feebc8; color: #744210; }
.audit-visszaxllitva { background: #e9d8fd; color: #44337a; }
.audit-time { font-size: 0.78rem; color: #a0aec0; }
.audit-user { font-size: 0.82rem; color: #718096; margin-bottom: 4px; }
.audit-changes { list-style: none; font-size: 0.8rem; color: #4a5568; margin-top: 4px; }
.audit-changes li { padding: 1px 0; }
.audit-from { color: #e53e3e; }
.audit-to   { color: #38a169; }

.audit-changes-compact { list-style: none; font-size: 0.8rem; }
.audit-changes-compact li { color: #4a5568; line-height: 1.6; }

/* ── Tabs ─────────────────────────────────────────── */
.tabs { display: flex; gap: 0; margin-bottom: 20px; border-bottom: 2px solid #e2e8f0; flex-wrap: wrap; }
.tab-btn { background: none; border: none; padding: 10px 20px; font-size: 0.9rem; font-weight: 600; color: #718096; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color 0.15s, border-color 0.15s; display: flex; align-items: center; gap: 6px; }
.tab-btn:hover { color: #3182ce; }
.tab-btn.active { color: #1a2744; border-bottom-color: #3182ce; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }
.tab-count { background: #e2e8f0; color: #4a5568; font-size: 0.72rem; padding: 1px 6px; border-radius: 10px; font-weight: 700; }

/* ── Hidden util ──────────────────────────────────── */
.hidden { display: none !important; }

/* ── New option input ─────────────────────────────── */
.new-option-wrap input { width: 100%; border: 1px solid #3182ce; border-radius: 6px; padding: 7px 10px; font-size: 0.88rem; }

/* ── Timeline (Történet) ──────────────────────────── */
.timeline { position: relative; padding-left: 20px; }
.timeline::before { content:''; position:absolute; left:6px; top:0; bottom:0; width:2px; background:#e2e8f0; }
.timeline-item { position:relative; margin-bottom:20px; }
.timeline-dot { width:12px; height:12px; border-radius:50%; background:#3182ce; border:2px solid #fff; box-shadow:0 0 0 2px #3182ce; position:absolute; left:-18px; top:4px; }
.timeline-body { background:#f7fafc; border-radius:8px; padding:12px 14px; }
.timeline-header { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:6px; }
.timeline-date { font-size:0.82rem; color:#718096; }
.timeline-user { font-size:0.82rem; font-weight:600; color:#4a5568; }
.reason-badge { background:#ebf8ff; color:#2b6cb0; font-size:0.75rem; padding:1px 8px; border-radius:10px; font-weight:600; }
.timeline-changes { display:flex; flex-direction:column; gap:3px; }
.tl-change { font-size:0.85rem; color:#2d3748; }
.tl-change s { color:#a0aec0; }
.tl-change strong { color:#276749; }
.tl-note { font-size:0.82rem; color:#718096; font-style:italic; margin-top:2px; }

/* ── Maintenance list ─────────────────────────────── */
.maint-list { display:flex; flex-direction:column; gap:0; }
.maint-entry { padding:12px 0; border-bottom:1px solid #edf2f7; }
.maint-entry:last-child { border-bottom:none; }
.maint-header { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:4px; }
.maint-date { font-size:0.83rem; font-weight:700; color:#2d3748; }
.maint-type { background:#feebc8; color:#744210; font-size:0.78rem; padding:1px 8px; border-radius:10px; font-weight:700; }
.maint-cost { font-size:0.83rem; color:#38a169; font-weight:600; }
.maint-desc { font-size:0.88rem; color:#4a5568; margin:4px 0; }
.maint-meta { display:flex; gap:12px; flex-wrap:wrap; font-size:0.8rem; color:#a0aec0; }
.maint-invoice { color:#3182ce; font-weight:600; }

/* ── Status: Karbantartás alatt ───────────────────── */
.sb-karbantartas { background:#e9d8fd; color:#44337a; }

/* ── Stat grid (riportok) ─────────────────────────── */
.stat-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:16px; margin-bottom:24px; }
.stat-card { background:#fff; border-radius:8px; padding:20px 24px; box-shadow:0 1px 4px rgba(0,0,0,0.06); border-top:4px solid #3182ce; }
.stat-card.stat-warn   { border-top-color:#d69e2e; }
.stat-card.stat-danger { border-top-color:#e53e3e; }
.stat-card.stat-info   { border-top-color:#38a169; }
.stat-number { font-size:2rem; font-weight:700; color:#1a2744; line-height:1; margin-bottom:4px; }
.stat-label  { font-size:0.83rem; color:#718096; }

/* ── Reports grid ─────────────────────────────────── */
.reports-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
@media(max-width:800px){ .reports-grid { grid-template-columns:1fr; } }

/* ── Report table ─────────────────────────────────── */
.report-table { width:100%; border-collapse:collapse; font-size:0.87rem; }
.report-table th { background:#f7fafc; color:#4a5568; padding:7px 10px; text-align:left; font-size:0.78rem; font-weight:700; text-transform:uppercase; letter-spacing:0.4px; border-bottom:2px solid #e2e8f0; }
.report-table td { padding:7px 10px; border-bottom:1px solid #f0f4f8; vertical-align:middle; }
.report-table tr:last-child td { border-bottom:none; }
.subcat-row td { color:#718096; font-size:0.84rem; padding-left:24px; }

/* ── Depreciation bar ─────────────────────────────── */
.depr-bar-wrap { background:#edf2f7; border-radius:4px; height:8px; width:120px; overflow:hidden; margin-bottom:2px; }
.depr-bar { background:#e53e3e; height:100%; border-radius:4px; }

/* ── Inventory mode ───────────────────────────────── */
.found-toggle { display:flex; align-items:center; gap:8px; cursor:pointer; user-select:none; }
.found-toggle input { width:18px; height:18px; accent-color:#38a169; cursor:pointer; }
.found-label { font-size:0.85rem; color:#718096; }
.row-found td { background:#f0fff4 !important; }
.row-found .found-label { color:#276749; font-weight:600; }
.row-missing td { background:#fff5f5 !important; opacity:0.7; }
.inv-summary { margin-top:12px; font-size:0.9rem; color:#4a5568; text-align:right; }
