:root {
  --teal: #0E8C82;
  --teal-dark: #0B6E66;
  --teal-light: #D7EFEC;
  --charcoal: #2E2E33;
  --grey: #6B6F72;
  --gold: #D9A441;
  --bg: #F5F7F7;
  --border: #E1E4E4;
  --danger: #B3261E;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Calibri, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--charcoal);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--charcoal);
  color: #fff;
  padding: 10px 24px;
  flex-wrap: wrap;
  gap: 8px;
}
.brand { font-weight: bold; font-size: 18px; display: flex; align-items: center; gap: 10px; }
.brand-logo-text { color: #fff; font-weight: bold; font-size: 18px; letter-spacing: 1px; }
.brand-title { color: var(--teal-light); font-weight: normal; font-size: 14px; }
.brand-logo { max-height: 30px; max-width: 140px; display: block; }
.topbar nav { display: flex; gap: 4px; flex-wrap: wrap; }
.topbar nav a {
  color: #C9CFCF;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
}
.topbar nav a:hover, .topbar nav a.active { background: rgba(255,255,255,0.1); color: #fff; }
.topbar nav a.btn-new { background: var(--teal); color: #fff; }
.user-menu { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #C9CFCF; }
.user-menu a { color: #C9CFCF; text-decoration: none; }
.user-menu a:hover { color: #fff; }

.notif-bell-wrap { position: relative; margin-right: 4px; }
.notif-bell { background: none; border: none; font-size: 19px; cursor: pointer; position: relative; padding: 4px 8px; line-height: 1; }
.notif-badge {
  position: absolute; top: -2px; right: 0; background: var(--danger); color: #fff;
  border-radius: 10px; font-size: 10px; font-weight: bold; min-width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
@keyframes notif-shake { 0%,100%{transform:rotate(0);} 20%{transform:rotate(-15deg);} 40%{transform:rotate(12deg);} 60%{transform:rotate(-8deg);} 80%{transform:rotate(5deg);} }
.notif-bell-shake { animation: notif-shake 0.5s ease; }

.notif-dropdown {
  position: absolute; top: 36px; right: -10px; width: 340px; max-height: 420px;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18); z-index: 500; overflow: hidden;
  display: flex; flex-direction: column;
}
.notif-dropdown-header { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.notif-desktop-banner { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 14px; background: var(--teal-light); font-size: 11.5px; border-bottom: 1px solid var(--border); }
.notif-mark-all { background: none; border: none; color: var(--teal-dark); font-size: 12px; cursor: pointer; }
.notif-list { overflow-y: auto; max-height: 360px; }
.notif-item { display: block; padding: 10px 14px; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--charcoal); }
.notif-item:hover { background: var(--bg); }
.notif-item-unread { background: var(--teal-light); }
.notif-item-msg { font-size: 13px; line-height: 1.4; }
.notif-item-time { font-size: 11px; color: var(--grey); margin-top: 3px; }

@media (max-width: 600px) {
  .notif-dropdown {
    position: fixed;
    top: 50%;
    left: 50%;
    right: auto;
    width: calc(100vw - 32px);
    max-width: 400px;
    transform: translate(-50%, -50%);
  }
}
.container { max-width: 1280px; margin: 0 auto; padding: 24px; }

h1 { font-size: 26px; margin: 0 0 12px; }
h2 { font-size: 20px; }
h3 { font-size: 15px; color: var(--teal-dark); margin-top: 0; }

.page-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 18px;
}

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 8px; }
@media (max-width: 1000px) { .kpi-grid { grid-template-columns: repeat(3, 1fr); } }
.kpi-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 16px; text-align: center; }
.kpi-value { font-size: 26px; font-weight: bold; color: var(--teal-dark); }
.kpi-label { font-size: 12px; color: var(--grey); margin-top: 4px; }
.kpi-card-warn { border-color: #E8B4B0; background: #FFF8F7; }
.kpi-card-warn .kpi-value { color: #B3661E; }

.kpi-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.kpi-hero-card {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  border-radius: 12px; padding: 24px 28px; color: #fff;
  box-shadow: 0 4px 14px rgba(11,110,102,0.25);
}
.kpi-hero-card-cost { background: linear-gradient(135deg, #2E2E33, #4A4A52); box-shadow: 0 4px 14px rgba(46,46,51,0.25); }
.kpi-hero-value { font-size: 42px; font-weight: bold; line-height: 1.1; }
.kpi-hero-label { font-size: 13px; color: rgba(255,255,255,0.85); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.5px; }

.kpi-attention-row { display: flex; align-items: center; gap: 12px; margin: 18px 0 16px; flex-wrap: wrap; }
.kpi-attention-title { font-size: 12px; font-weight: bold; color: var(--grey); text-transform: uppercase; letter-spacing: 0.5px; margin-right: 4px; }
.kpi-attention-row .kpi-card { flex: 1; min-width: 160px; }
.kpi-clickable { cursor: pointer; transition: transform 0.15s, box-shadow 0.15s; }
.kpi-clickable:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.12); }

.chart-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 900px) { .chart-grid { grid-template-columns: 1fr; } }

.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.filters input, .filters select { padding: 8px 32px 8px 10px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; background-color: #fff; }
.inline-label { font-size: 13px; color: var(--grey); display: flex; align-items: center; gap: 6px; }

.btn {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--charcoal);
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
}
.btn-primary { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-ghost { background: transparent; }
.btn-block { width: 100%; margin-top: 10px; }
.btn-danger { background: #B3261E; color: #fff; border-color: #B3261E; }
.btn-danger:hover { background: #8f1e18; }

.danger-zone { border: 1px solid #E8B4B0; background: #FFF8F7; }
.danger-zone h3 { color: #B3261E; }
.danger-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid #F0DAD8;
  flex-wrap: wrap;
}
.danger-row form { display: flex; gap: 8px; align-items: center; }
.danger-row form input[type="text"] { width: 180px; margin: 0; }
.danger-row p { margin: 2px 0 0; font-size: 12.5px; }

table.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data-table th { text-align: left; padding: 10px 12px; background: var(--charcoal); color: #fff; font-size: 12px; text-transform: uppercase; }
table.data-table td { padding: 9px 12px; border-bottom: 1px solid var(--border); }
table.data-table tbody tr:hover { background: var(--teal-light); cursor: pointer; }
.features-table th, .features-table td { white-space: nowrap; font-size: 11.5px; }
.features-table tbody tr:hover { background: none; cursor: default; }
.features-table input[type=checkbox] { width: auto; }
.table-wrap { overflow-x: auto; }
.kv-table td:first-child { color: var(--grey); }
.kv-table td:last-child { text-align: right; font-weight: 600; }
.highlight-row td { background: var(--teal-light); }

.tag { padding: 3px 9px; border-radius: 12px; font-size: 11px; font-weight: 600; color: #fff; background: var(--grey); white-space: nowrap; display: inline-block; }
.tag-critical { background: #B3261E; }
.tag-high { background: var(--gold); }
.tag-medium { background: #0E8C82; }
.tag-low { background: #6B6F72; }
.tag-warranty-amc { background: var(--teal); }
.tag-warranty-underwarranty { background: #4C6B8A; }
.tag-warranty-chargeable { background: var(--gold); color: #2E2E33; }
.tag-status-open { background: #B3261E; }
.tag-status-closed { background: #2E7D32; }

.workflow-banner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.workflow-stage-label { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.workflow-stage-badge { padding: 6px 14px; border-radius: 20px; font-weight: bold; font-size: 12.5px; color: #fff; letter-spacing: 0.3px; }
.workflow-stage-badge.stage-new { background: #6B6F72; }
.workflow-stage-badge.stage-assigned { background: #D9A441; color: #2E2E33; }
.workflow-stage-badge.stage-in-progress { background: #0E8C82; }
.workflow-stage-badge.stage-pending-verification { background: #B3661E; }
.workflow-stage-badge.stage-verified { background: #3A6EA5; }
.workflow-stage-badge.stage-closed-temporary { background: #2E7D32; }
.workflow-stage-badge.stage-closed-permanent { background: #2E2E33; }
.workflow-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.workflow-stage-badge-sm { padding: 3px 9px; border-radius: 12px; font-size: 10.5px; }

.bulk-actions-bar {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px; margin-bottom: 12px;
  background: var(--teal-light); border: 1px solid var(--teal); position: sticky; top: 8px; z-index: 50;
}

.signature-pad-wrap { border: 2px dashed var(--border); border-radius: 8px; background: #fdfdfd; display: inline-block; }
#signature-pad { display: block; width: 100%; max-width: 600px; height: 180px; touch-action: none; cursor: crosshair; }

.login-screen { display: flex; min-height: 100vh; margin: -24px; }
@media (max-width: 800px) { .login-screen { flex-direction: column; min-height: auto; } }

.login-branding {
  flex: 1 1 50%; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--teal-dark) 100%);
  display: flex; align-items: center; justify-content: center; min-height: 340px;
}
.login-branding-shape-1 { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: rgba(255,255,255,0.06); top: -120px; left: -100px; }
.login-branding-shape-2 { position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.12); bottom: -80px; right: -60px; }
.login-branding-inner { position: relative; z-index: 1; text-align: center; padding: 40px; max-width: 420px; }
.login-branding-logo { max-height: 64px; max-width: 260px; margin-bottom: 18px; }
.login-branding-logo-text { font-size: 26px; font-weight: bold; color: #fff; letter-spacing: 3px; margin-bottom: 10px; }
.login-branding-title { font-size: 42px; font-weight: bold; color: #fff; margin: 0 0 12px; }
.login-branding-tagline { color: #C9CFCF; font-size: 15px; line-height: 1.6; }

.login-panel { flex: 1 1 50%; display: flex; align-items: center; justify-content: center; background: var(--bg); padding: 40px 24px; }
.login-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 36px; width: 100%; max-width: 380px; }
.login-card h2 { font-size: 22px; margin: 0 0 4px; color: var(--charcoal); }
.login-card form { text-align: left; margin-top: 18px; }
.login-card .hint { text-align: center; margin-top: 18px; }

.alert-toast {
  position: fixed; top: 20px; right: 20px; z-index: 9999;
  background: var(--danger); color: #fff; padding: 14px 18px; border-radius: 8px;
  display: flex; gap: 10px; align-items: flex-start; font-size: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  opacity: 0; transform: translateY(-12px); transition: opacity 0.25s, transform 0.25s;
  max-width: 360px;
}
.alert-toast.show { opacity: 1; transform: translateY(0); }
.alert-toast span { font-size: 18px; line-height: 1; }

.idle-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 10000;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.idle-modal { background: #fff; border-radius: 12px; padding: 28px; max-width: 420px; text-align: center; box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.idle-modal h3 { margin: 0 0 10px; color: var(--danger); font-size: 19px; }
.idle-modal p { color: var(--charcoal); font-size: 14px; line-height: 1.6; margin-bottom: 18px; }
.idle-modal-actions { display: flex; gap: 10px; justify-content: center; }
.hint { font-size: 12px; color: var(--grey); margin-top: 14px; }
.muted { color: var(--grey); }

form label { display: block; font-size: 13px; color: var(--grey); margin: 10px 0 4px; }
form input, form select, form textarea {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
}
form input[readonly] { background: #F0F2F2; color: var(--grey); }
form input:focus, form select:focus, form textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,140,130,0.12);
}

select {
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236B6F72' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px !important;
  cursor: pointer;
}
select:hover { border-color: var(--teal); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
.grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.settings-subnav { display: flex; gap: 6px; margin-bottom: 18px; border-bottom: 1px solid var(--border); }
.settings-subnav a {
  padding: 10px 16px; text-decoration: none; color: var(--grey); font-size: 14px;
  border-bottom: 2px solid transparent;
}
.settings-subnav a.active, .settings-subnav a:hover { color: var(--teal-dark); border-bottom-color: var(--teal); }
.inline-form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.inline-form input { width: auto; }

.lists-manager { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 900px) { .lists-manager { grid-template-columns: 1fr; } }
.list-manager-block { border: 1px solid var(--border); border-radius: 8px; padding: 14px; }
.list-manager-block h4 { margin: 0 0 10px; font-size: 13px; color: var(--charcoal); }
.list-value-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-form { display: inline; }
.chip {
  border: 1px solid var(--border); background: var(--teal-light); color: var(--teal-dark);
  border-radius: 14px; padding: 4px 10px; font-size: 12px; cursor: pointer;
}
.chip span { color: #B3261E; font-weight: bold; margin-left: 4px; }
.chip:hover { background: #FBEAEA; border-color: #E8B4B0; }

.perm-group-title { font-size: 12px; text-transform: uppercase; color: var(--teal-dark); margin: 16px 0 8px; }
.perm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 20px; }
@media (max-width: 800px) { .perm-grid { grid-template-columns: 1fr; } }
.perm-checkbox { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: normal; color: var(--charcoal); margin: 0; }
.perm-checkbox input { width: auto; }

.role-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.role-card { border: 1px solid var(--border); border-radius: 8px; padding: 14px; background: var(--bg); }
.role-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.perm-summary { list-style: none; padding: 0; margin: 0 0 12px; font-size: 12px; color: var(--grey); max-height: 160px; overflow-y: auto; }
.perm-summary li { padding: 2px 0; }
.role-card-actions { display: flex; gap: 8px; }
.btn-xs { padding: 4px 10px !important; font-size: 12px !important; }
.action-cell { white-space: nowrap; display: flex; gap: 6px; }

.steps-list { padding-left: 20px; line-height: 1.8; }
.steps-list li { margin-bottom: 6px; }
.card h4 { font-size: 13px; color: var(--teal-dark); margin: 16px 0 4px; }

.territory-checklist { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 1000px) { .territory-checklist { grid-template-columns: repeat(2, 1fr); } }
.territory-col-label { display: block; font-size: 12px; font-weight: bold; color: var(--teal-dark); margin-bottom: 6px; }
.checkbox-scroll { max-height: 180px; overflow-y: auto; border: 1px solid var(--border); border-radius: 6px; padding: 8px; background: var(--bg); }
.checkbox-row { display: block; font-size: 12.5px; font-weight: normal; padding: 3px 0; color: var(--charcoal); }
.checkbox-row input { width: auto; margin-right: 6px; }

.updates-timeline { display: flex; flex-direction: column; gap: 14px; }
.update-item { border-left: 3px solid var(--teal); padding: 4px 0 4px 14px; }
.update-meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; margin-bottom: 2px; }
.update-item p { margin: 0; font-size: 14px; white-space: pre-wrap; }
.grid-span-2 { grid-column: span 2; }
@media (max-width: 800px) { .grid-2, .grid-3, .grid-2col { grid-template-columns: 1fr; } }

.form-actions { display: flex; gap: 10px; margin: 20px 0 40px; }

.flash-wrap { margin-bottom: 16px; }
.flash { padding: 10px 14px; border-radius: 6px; margin-bottom: 8px; font-size: 14px; }
.flash-success { background: #E3F3E1; color: #1E4620; }
.flash-error { background: #FBEAEA; color: #7A1E1E; }

.view-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 16px 0; }
.view-grid strong { display: block; font-size: 11px; text-transform: uppercase; color: var(--grey); }
@media (max-width: 900px) { .view-grid { grid-template-columns: repeat(2, 1fr); } }

.report-head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 2px solid var(--teal); padding-bottom: 12px; margin-bottom: 16px; }
.report-logo { font-weight: bold; color: var(--teal-dark); font-size: 22px; }
.business-case { background: var(--teal-light); padding: 16px; border-radius: 8px; line-height: 1.6; }

.role-badge {
  padding: 3px 9px;
  border-radius: 10px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--teal);
  color: #fff;
}
.role-badge.role-manager { background: var(--gold); color: #2E2E33; }
.role-badge.role-engineer { background: #4C6B8A; }

.attachment-grid { display: flex; flex-wrap: wrap; gap: 12px; margin: 10px 0 16px; }
.attachment-thumb {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: 130px; text-decoration: none; color: var(--charcoal);
  border: 1px solid var(--border); border-radius: 8px; padding: 8px; font-size: 11px; text-align: center;
}
.attachment-thumb img { width: 100%; height: 90px; object-fit: cover; border-radius: 4px; }
.attachment-thumb span {
  width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.attachment-file {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px;
  border: 1px solid var(--border); border-radius: 8px; text-decoration: none;
  color: var(--charcoal); font-size: 13px; height: fit-content;
}
.attachment-archived { background: var(--bg); cursor: default; }
.attachment-item { display: flex; flex-direction: column; gap: 4px; }
.attachment-remove-btn {
  background: none; border: none; color: #B3261E; font-size: 11px; cursor: pointer;
  padding: 2px 4px; text-align: left; opacity: 0.75;
}
.attachment-remove-btn:hover { opacity: 1; text-decoration: underline; }

.app-footer {
  text-align: center;
  padding: 16px 20px;
  color: var(--muted, #888);
  font-size: 11px;
  border-top: 1px solid var(--border);
  margin-top: 24px;
}
.upload-inline { display: flex; gap: 10px; align-items: center; margin-top: 6px; flex-wrap: wrap; }
.upload-inline input[type="file"] { flex: 1; padding: 8px; border: 1px dashed var(--border); border-radius: 6px; min-width: 160px; }
.upload-inline label.btn,
.upload-inline button.btn { flex: 0 0 auto; }

@media (max-width: 480px) {
  .upload-inline { flex-direction: column; align-items: stretch; }
  .upload-inline input[type="file"],
  .upload-inline label.btn,
  .upload-inline button.btn {
    width: 100%;
    text-align: center;
  }
}
@media print {
  .no-print { display: none !important; }
  body { background: #fff; }
  .card, .print-card { border: none; box-shadow: none; padding: 0; }
  .container { padding: 0; max-width: 100%; }

  /* Diagonal watermark - faint, doesn't obscure content underneath */
  body::before {
    content: "DEKI ELECTRONICS LTD — CONFIDENTIAL";
    position: fixed;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-35deg);
    font-size: 42px;
    font-weight: 700;
    color: rgba(46, 46, 51, 0.08);
    white-space: nowrap;
    z-index: 9999;
    pointer-events: none;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* Confidentiality footer - the actual legally-meaningful text, always readable */
  body::after {
    content: "This document is generated by FixHub and is the confidential and proprietary property of Deki Electronics Ltd. Unauthorized distribution, copying, or disclosure is strictly prohibited.";
    position: fixed;
    bottom: 8px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 8px;
    color: #666;
    padding: 0 20px;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
.upload-preview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.upload-preview-item {
  display: flex; align-items: center; gap: 6px;
  border: 1px solid var(--border); border-radius: 6px; padding: 4px 8px;
  font-size: 12px; color: var(--charcoal); background: var(--bg);
}
.upload-preview-item img { width: 32px; height: 32px; object-fit: cover; border-radius: 4px; }