/* ==========================================================
   TRENDZ — Program & Sample Management System
   Design system: clean, dense, professional B2B SaaS
   ========================================================== */

:root {
  --navy-900: #0d1b2e;
  --navy-800: #14243c;
  --navy-700: #1c3455;
  --navy-600: #274873;
  --primary: #2f6fed;
  --primary-dark: #2158c9;
  --accent: #d98e2b;
  --bg: #f4f6f9;
  --surface: #ffffff;
  --border: #e3e7ee;
  --border-strong: #ccd3de;
  --text-900: #16202c;
  --text-700: #3d4c5f;
  --text-500: #6b7a8d;
  --text-400: #93a1b3;
  --success: #178a5f;
  --success-bg: #e5f6ef;
  --warning: #b3720f;
  --warning-bg: #fbf0dc;
  --danger: #c53434;
  --danger-bg: #fbe9e9;
  --info: #2f6fed;
  --info-bg: #e9f0fe;
  --purple: #7248c4;
  --purple-bg: #f0eafb;
  --teal: #12807a;
  --teal-bg: #e2f4f2;
  --radius: 8px;
  --radius-sm: 5px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 46, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 27, 46, 0.08);
  --sidebar-w: 224px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text-900);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 4px; font-weight: 650; color: var(--text-900); }
p { margin: 0 0 8px; }

/* ---------- App Shell ---------- */
.app-shell { display: flex; min-height: 100vh; }

.sidebar {
  width: var(--sidebar-w);
  background: var(--navy-900);
  color: #cbd6e6;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; bottom: 0; left: 0;
  z-index: 40;
}
.sidebar-brand {
  padding: 18px 20px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.logo-mark {
  width: 30px; height: 30px; border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), #f2b95a);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--navy-900); font-size: 15px; flex-shrink: 0;
}
.sidebar-brand .logo-mark {
  width: 30px; height: 30px; border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), #f2b95a);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--navy-900); font-size: 15px;
}
.sidebar-brand .brand-text { font-size: 15px; font-weight: 700; color: #fff; letter-spacing: 0.2px; }
.sidebar-brand .brand-sub { font-size: 10.5px; color: #8fa0b8; letter-spacing: 0.4px; text-transform: uppercase; }

.sidebar-nav { flex: 1; padding: 10px 10px; overflow-y: auto; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; margin-bottom: 2px;
  border-radius: var(--radius-sm);
  color: #a9b8cc; font-size: 13.5px; font-weight: 500;
  text-decoration: none;
}
.sidebar-nav a:hover { background: rgba(255,255,255,0.06); color: #fff; text-decoration: none; }
.sidebar-nav a.active { background: var(--primary); color: #fff; }
.sidebar-nav .nav-icon { width: 16px; text-align: center; font-size: 14px; }
.sidebar-footer { padding: 12px 16px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 11.5px; color: #77869c; }

.main-col { margin-left: var(--sidebar-w); flex: 1; display: flex; flex-direction: column; min-width: 0; }

.topbar {
  height: 58px; background: var(--surface); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; padding: 0 22px;
  position: sticky; top: 0; z-index: 30;
}
.topbar-search { flex: 1; max-width: 420px; }
.topbar-search input {
  width: 100%; padding: 8px 12px 8px 34px; border-radius: 7px; border: 1px solid var(--border);
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7a8d' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat 12px center;
  font-size: 13.5px;
}
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-icon-btn { position: relative; background: none; border: none; font-size: 17px; color: var(--text-500); cursor: pointer; padding: 6px; border-radius: 6px; }
.topbar-icon-btn:hover { background: var(--bg); }
.notif-dot { position: absolute; top: 3px; right: 3px; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); border: 2px solid #fff; }
.user-chip { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; background: var(--navy-700); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.user-chip .u-name { font-size: 13px; font-weight: 600; }
.user-chip .u-role { font-size: 11px; color: var(--text-500); }

.content { padding: 22px 26px 60px; flex: 1; }

.page-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; gap: 14px; flex-wrap: wrap; }
.page-head h1 { font-size: 20px; }
.page-head .sub { color: var(--text-500); font-size: 13px; }
.page-head-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px; justify-content: center;
  padding: 8px 14px; border-radius: 7px; font-size: 13px; font-weight: 600;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-700);
  cursor: pointer; text-decoration: none; line-height: 1.2;
}
.btn:hover { background: var(--bg); text-decoration: none; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-success { background: var(--success); border-color: var(--success); color: #fff; }
.btn-success:hover { opacity: 0.9; }
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger:hover { opacity: 0.9; }
.btn-sm { padding: 5px 10px; font-size: 12px; border-radius: 6px; }
.btn-xs { padding: 3px 8px; font-size: 11.5px; border-radius: 5px; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-500); }
.btn-ghost:hover { background: var(--bg); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn-block { width: 100%; }

/* ---------- Cards / Grid ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
.card + .card { margin-top: 16px; }
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.card-head h3 { font-size: 14.5px; }
.card-head .muted-link { font-size: 12.5px; color: var(--text-500); }

.stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 18px; }
@media (max-width: 1400px) { .stat-grid { grid-template-columns: repeat(3, 1fr); } }
.stat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 16px; position: relative; overflow: hidden;
}
.stat-card .stat-val { font-size: 24px; font-weight: 750; color: var(--text-900); }
.stat-card .stat-label { font-size: 12px; color: var(--text-500); margin-top: 2px; font-weight: 500; }
.stat-card .stat-icon { position: absolute; right: 12px; top: 12px; font-size: 20px; opacity: 0.5; }
.stat-card.accent-red .stat-val { color: var(--danger); }
.stat-card.accent-amber .stat-val { color: var(--warning); }
.stat-card.accent-green .stat-val { color: var(--success); }
.stat-card.accent-blue .stat-val { color: var(--primary); }
.stat-card a { color: inherit; text-decoration: none; display: block; }

.grid-2 { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1100px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
table.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data-table th {
  text-align: left; padding: 9px 12px; background: var(--bg); color: var(--text-500);
  font-weight: 650; font-size: 11px; text-transform: uppercase; letter-spacing: 0.4px;
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
table.data-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
table.data-table tr:last-child td { border-bottom: none; }
table.data-table tbody tr:hover { background: #fafbfd; }
table.data-table a.row-link { color: var(--text-900); font-weight: 600; }
table.data-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table-empty { padding: 40px 20px; text-align: center; color: var(--text-500); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 20px;
  font-size: 11px; font-weight: 650; white-space: nowrap; line-height: 1.5;
}
.badge-gray { background: #eef1f5; color: var(--text-500); }
.badge-blue { background: var(--info-bg); color: var(--primary); }
.badge-green { background: var(--success-bg); color: var(--success); }
.badge-amber { background: var(--warning-bg); color: var(--warning); }
.badge-red { background: var(--danger-bg); color: var(--danger); }
.badge-purple { background: var(--purple-bg); color: var(--purple); }
.badge-teal { background: var(--teal-bg); color: var(--teal); }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 18px; }
.form-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.form-grid.cols-1 { grid-template-columns: 1fr; }
@media (max-width: 900px) { .form-grid, .form-grid.cols-3 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 5px; }
.field.span-2 { grid-column: span 2; }
.field.span-3 { grid-column: span 3; }
.field label { font-size: 12.5px; font-weight: 650; color: var(--text-700); }
.field .hint { font-size: 11px; color: var(--text-400); }
input[type=text], input[type=number], input[type=date], input[type=email], input[type=password], input[type=file],
select, textarea {
  padding: 8px 10px; border: 1px solid var(--border-strong); border-radius: 6px; font-size: 13px;
  font-family: inherit; background: #fff; color: var(--text-900); width: 100%;
}
textarea { resize: vertical; min-height: 70px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(47,111,237,0.12); }
fieldset { border: none; padding: 0; margin: 0 0 22px; }
fieldset legend { font-size: 13.5px; font-weight: 700; color: var(--text-900); padding: 0 0 10px; width: 100%; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.checkbox-row { display: flex; align-items: center; gap: 8px; }
.checkbox-row input { width: auto; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--border); margin-bottom: 18px; overflow-x: auto; }
.tabs a {
  padding: 10px 14px; font-size: 13px; font-weight: 600; color: var(--text-500);
  border-bottom: 2px solid transparent; white-space: nowrap; text-decoration: none;
}
.tabs a:hover { color: var(--text-900); text-decoration: none; }
.tabs a.active { color: var(--primary); border-bottom-color: var(--primary); }

/* ---------- Timeline ---------- */
.hz-timeline { display: flex; align-items: flex-start; overflow-x: auto; padding: 10px 4px 4px; gap: 0; }
.hz-step { display: flex; flex-direction: column; align-items: center; min-width: 108px; position: relative; }
.hz-step .hz-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--border); border: 3px solid var(--surface); display: flex; align-items: center; justify-content: center; z-index: 2; font-size: 10px; color: #fff; font-weight: 700; }
.hz-step.done .hz-dot { background: var(--success); }
.hz-step.current .hz-dot { background: var(--primary); box-shadow: 0 0 0 4px rgba(47,111,237,0.18); }
.hz-step.rejected .hz-dot { background: var(--danger); }
.hz-step .hz-line { position: absolute; top: 11px; left: -50%; width: 100%; height: 2px; background: var(--border); z-index: 1; }
.hz-step.done .hz-line, .hz-step.current .hz-line { background: var(--success); }
.hz-step:first-child .hz-line { display: none; }
.hz-step .hz-label { font-size: 10.5px; text-align: center; margin-top: 8px; color: var(--text-500); font-weight: 600; max-width: 100px; line-height: 1.3; }
.hz-step.done .hz-label, .hz-step.current .hz-label { color: var(--text-900); }

.v-timeline { position: relative; padding-left: 26px; }
.v-timeline::before { content: ''; position: absolute; left: 8px; top: 4px; bottom: 4px; width: 2px; background: var(--border); }
.v-item { position: relative; padding-bottom: 18px; }
.v-item:last-child { padding-bottom: 0; }
.v-item::before { content: ''; position: absolute; left: -26px; top: 3px; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--border); }
.v-item .v-meta { font-size: 11.5px; color: var(--text-500); margin-bottom: 2px; }
.v-item .v-title { font-size: 13px; font-weight: 650; color: var(--text-900); }
.v-item .v-desc { font-size: 12.5px; color: var(--text-700); margin-top: 1px; }

/* ---------- Misc ---------- */
.muted { color: var(--text-500); }
.small { font-size: 12px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.flex { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-6 { gap: 6px; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.mb-8 { margin-bottom: 8px; } .mb-12 { margin-bottom: 12px; } .mb-16 { margin-bottom: 16px; } .mb-20 { margin-bottom: 20px; }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; }
hr.sep { border: none; border-top: 1px solid var(--border); margin: 18px 0; }
.divider-label { text-align: center; color: var(--text-400); font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; margin: 16px 0; }
.pill-filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; align-items: center; }
.pill-filter-bar select, .pill-filter-bar input { max-width: 170px; }
.kpi-highlight { border: 1.5px solid var(--success); background: var(--success-bg); }
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-500); }
.empty-state .icon { font-size: 34px; margin-bottom: 10px; }
.alert { padding: 10px 14px; border-radius: 7px; font-size: 13px; margin-bottom: 16px; }
.alert-warning { background: var(--warning-bg); color: var(--warning); }
.alert-danger { background: var(--danger-bg); color: var(--danger); }
.alert-info { background: var(--info-bg); color: var(--primary); }
.alert-success { background: var(--success-bg); color: var(--success); }
.section-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-500); margin: 22px 0 10px; }
.section-title:first-child { margin-top: 0; }
.kv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 20px; }
@media (max-width: 1100px) { .kv-grid { grid-template-columns: repeat(2, 1fr); } }
.kv-item .kv-label { font-size: 11px; color: var(--text-500); text-transform: uppercase; letter-spacing: 0.3px; font-weight: 650; }
.kv-item .kv-value { font-size: 14px; font-weight: 600; margin-top: 2px; }
.photo-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.photo-grid .photo-thumb { width: 90px; height: 90px; border-radius: 6px; object-fit: cover; border: 1px solid var(--border); }
.doc-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--border); border-radius: 6px; font-size: 12.5px; margin: 0 6px 6px 0; }
.factory-avatar { width: 36px; height: 36px; border-radius: 8px; background: var(--navy-700); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.notif-item { display: flex; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.notif-item:last-child { border-bottom: none; }
.notif-item.unread { background: #f7faff; }
.notif-icon { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.calendar-cell { min-height: 92px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 6px; font-size: 11.5px; }
.calendar-cell .cell-date { font-weight: 700; color: var(--text-500); font-size: 11px; margin-bottom: 4px; }
.calendar-cell.today { background: var(--info-bg); }
.calendar-cell.other-month { background: #fafbfc; color: var(--text-400); }
.cal-event { display: block; padding: 2px 5px; border-radius: 4px; margin-bottom: 2px; font-size: 10.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; }
.cal-weekday { text-align: center; font-size: 11px; font-weight: 700; color: var(--text-500); padding: 6px 0; text-transform: uppercase; }

/* ---------- Auth pages ---------- */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); }
.auth-card { background: #fff; width: 380px; padding: 32px 30px; border-radius: 12px; box-shadow: var(--shadow-md); }
.auth-card .logo-mark { width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), #f2b95a); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--navy-900); font-size: 20px; margin: 0 auto 14px; }
.auth-card h1 { text-align: center; font-size: 18px; }
.auth-card .sub { text-align: center; margin-bottom: 22px; }
.auth-demo { margin-top: 18px; padding: 12px; background: var(--bg); border-radius: 8px; font-size: 11.5px; color: var(--text-500); }
.auth-demo code { background: #fff; padding: 1px 4px; border-radius: 3px; border: 1px solid var(--border); }
.auth-switch { text-align: center; margin-top: 14px; font-size: 12.5px; }

/* ---------- Portal ---------- */
.portal-shell { min-height: 100vh; background: var(--bg); }
.portal-topbar { background: var(--navy-900); color: #fff; padding: 14px 26px; display: flex; align-items: center; justify-content: space-between; }
.portal-content { max-width: 1000px; margin: 0 auto; padding: 26px; }

/* Modal (native <dialog>) */
dialog.modal { border: none; border-radius: 10px; padding: 0; width: 560px; max-width: 92vw; box-shadow: var(--shadow-md); }
dialog.modal::backdrop { background: rgba(13,27,46,0.5); }
.modal-head { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.modal-body { padding: 18px 20px; max-height: 70vh; overflow-y: auto; }
.modal-foot { padding: 14px 20px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 8px; }

/* ---------- Compact per-row stage progress (Running Production list, factory portal) ---------- */
.stage-mini { display: flex; align-items: center; }
.stage-mini .sm-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); flex-shrink: 0; }
.stage-mini .sm-line { width: 9px; height: 2px; background: var(--border-strong); flex-shrink: 0; }
.stage-mini .sm-dot.done { background: var(--success); }
.stage-mini .sm-line.done { background: var(--success); }
.stage-mini .sm-dot.current { background: var(--primary); width: 12px; height: 12px; box-shadow: 0 0 0 3px rgba(47,111,237,0.2); }
.stage-mini .sm-dot.delayed { background: var(--danger); width: 12px; height: 12px; box-shadow: 0 0 0 3px rgba(197,52,52,0.2); }
.stage-label-current { font-size: 11px; font-weight: 700; margin-top: 4px; }

/* ---------- Attention / follow-up rows (dashboard + portal Action Center) ---------- */
.attn-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 7px; border-left: 3px solid var(--border-strong); background: #fafbfd; margin-bottom: 6px; }
.attn-row.sev-high { border-left-color: var(--danger); }
.attn-row.sev-med { border-left-color: var(--warning); }
.attn-row .attn-icon { font-size: 15px; flex-shrink: 0; }
.attn-row .attn-body { flex: 1; min-width: 0; }
.attn-row .attn-title { font-size: 12.5px; font-weight: 650; color: var(--text-900); }
.attn-row .attn-sub { font-size: 11.5px; color: var(--text-500); }
.attn-row:last-child { margin-bottom: 0; }

/* ---------- Analytics pipeline funnel ---------- */
.pipeline-row { display: flex; align-items: stretch; gap: 6px; overflow-x: auto; padding: 6px 2px 2px; }
.pipeline-stage { flex: 1; min-width: 96px; background: #fafbfd; border: 1px solid var(--border); border-radius: 7px; padding: 10px 8px; text-align: center; transition: border-color .15s; text-decoration: none; display: block; }
.pipeline-stage:hover { border-color: var(--primary); text-decoration: none; }
.pipeline-stage .ps-count { font-size: 19px; font-weight: 750; font-variant-numeric: tabular-nums; color: var(--text-900); }
.pipeline-stage .ps-bar { height: 4px; border-radius: 3px; background: var(--primary); margin: 6px auto; }
.pipeline-stage .ps-label { font-size: 10px; color: var(--text-500); font-weight: 650; }
.pipeline-arrow { display: flex; align-items: center; color: var(--text-400); font-size: 13px; flex-shrink: 0; }

/* ---------- Chips (factory capability tags, priority pickers) ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 5px 11px; border-radius: 20px; border: 1px solid var(--border-strong); font-size: 12px; color: var(--text-700); cursor: pointer; background: var(--surface); display: inline-flex; align-items: center; gap: 4px; }
.chip.on, .chip.selected { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip input[type=checkbox] { display: none; }

/* ---------- Upload boxes (Create Sample Request attachments) ---------- */
.upload-box { border: 1.5px dashed var(--border-strong); border-radius: 8px; padding: 14px; text-align: left; color: var(--text-500); font-size: 12.5px; background: #fafbfd; }
.upload-box label { display: block; font-weight: 650; color: var(--text-700); margin-bottom: 6px; cursor: pointer; }
.upload-box input[type=file] { font-size: 11.5px; }

/* ---------- Stat rating stars ---------- */
.rating-stars { color: var(--accent); font-weight: 700; }

@media print {
  .sidebar, .topbar, .page-head-actions, .tabs { display: none !important; }
  .main-col { margin-left: 0; }
}
