:root{
  /* Coffee-inspired palette */
  --bg: #f6f1ea;            /* oat milk */
  --surface: #ffffff;       /* crema */
  --surface-2: #fbf6f0;     /* light latte */
  --border: #eadfd4;        /* warm border */
  --text: #1f1a17;          /* espresso ink */
  --muted: #6a5b52;         /* cocoa */
  --brand: #5a3a2e;         /* espresso */
  --brand-2: #7a4a33;       /* roasted */
  --accent: #c47a3a;        /* caramel */
  --accent-2: #9b5a2e;      /* burnt caramel */
  --shadow: 0 10px 30px rgba(31,26,23,.08);

  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 10px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a{ color: inherit; }

/* Layout */
.app-body .app-layout{ display:flex; min-height:100vh; }

.sidebar{
  width: 270px;
  background: linear-gradient(180deg, #2a1b15 0%, #1b1411 100%);
  color:#f5efe9;
  padding:16px;
  position:sticky;
  top:0;
  height:100vh;
  overflow:auto;
  border-right: 1px solid rgba(255,255,255,.06);
}

.brand{
  display:flex;
  gap:12px;
  align-items:center;
  padding:10px 10px 14px 10px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
}

.brand-dot{
  width: 12px; height: 12px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #f1d1a3 0%, var(--accent) 35%, var(--accent-2) 100%);
  box-shadow: 0 0 0 6px rgba(196,122,58,.12);
}

.brand-title{ font-weight: 700; letter-spacing: .2px; }
.brand-sub{ color: rgba(245,239,233,.72); font-size: 12px; margin-top: 2px; }

.nav{ margin-top: 14px; }
.nav-section{
  margin-top: 16px;
  margin-bottom: 8px;
  font-size: 11px;
  color: rgba(245,239,233,.62);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.nav-item{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 10px;
  border-radius: 12px;
  color: rgba(245,239,233,.92);
  text-decoration:none;
  margin-bottom: 6px;
  border: 1px solid rgba(255,255,255,0);
}

.nav-item:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.08);
}

.nav-item.active{
  background: rgba(196,122,58,.18);
  border-color: rgba(196,122,58,.22);
}

.icon{ width: 18px; display:inline-flex; justify-content:center; opacity: .95; }
.label{ font-size: 13px; }

.sidebar-footer{
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.link{
  display:inline-block;
  padding:10px 10px;
  border-radius: 12px;
  text-decoration:none;
  color: rgba(245,239,233,.9);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.link:hover{ background: rgba(255,255,255,.06); }

/* Main */
.main{ flex:1; display:flex; flex-direction:column; }
.topbar{
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  padding: 14px 18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom: 1px solid rgba(90,58,46,.14);
  position: sticky;
  top: 0;
}
.topbar-title{ font-weight: 700; }
.topbar-sub{ margin-top: 2px; font-size: 12px; color: var(--muted); }
.chip{
  font-size: 12px;
  color: var(--brand);
  background: rgba(196,122,58,.14);
  border: 1px solid rgba(196,122,58,.20);
  padding: 8px 10px;
  border-radius: 999px;
}

.content{ padding: 18px; max-width:1180px; margin: 0 auto; }

/* Cards */
.card{
  background: var(--surface);
  border: 1px solid rgba(90,58,46,.14);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow);
}

.card-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
}

h2{ margin: 0; font-size: 18px; letter-spacing: .2px; }
.muted{ color: var(--muted); }

.badge{
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--brand);
  background: rgba(196,122,58,.12);
  border: 1px solid rgba(196,122,58,.18);
}

.callout{
  margin-top: 14px;
  padding: 12px 12px;
  border-radius: var(--radius-md);
  background: var(--surface-2);
  border: 1px solid rgba(196,122,58,.18);
}

.callout-title{
  font-weight: 650;
  margin-bottom: 8px;
  color: var(--brand);
}

.list{
  margin: 0;
  padding-left: 18px;
}
.list li{ margin: 6px 0; }

/* Login */
.login-body{
  min-height: 100vh;
  display:grid;
  place-items:center;
  padding: 18px;
}

.login-card{
  width: min(460px, 94vw);
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(90,58,46,.14);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.brandmark{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 10px 10px 12px 10px;
  border-radius: var(--radius-md);
  background: rgba(196,122,58,.10);
  border: 1px solid rgba(196,122,58,.16);
}

.brandmark-dot{
  width: 12px; height: 12px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #f1d1a3 0%, var(--accent) 35%, var(--accent-2) 100%);
  box-shadow: 0 0 0 6px rgba(196,122,58,.10);
}
.brandmark-title{ font-weight: 800; letter-spacing: .2px; }
.brandmark-sub{ color: var(--muted); font-size: 12px; margin-top: 2px; }

.form label{ display:block; margin-top: 12px; font-size: 13px; color: #3a2c25; }
.form input{
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(90,58,46,.18);
  border-radius: 12px;
  margin-top: 6px;
  background: #fff;
}
.form select{
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(90,58,46,.18);
  border-radius: 12px;
  margin-top: 6px;
  background: #fff;
 }
.form input:focus{
  outline: none;
  border-color: rgba(196,122,58,.55);
  box-shadow: 0 0 0 4px rgba(196,122,58,.16);
}

.form button{
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--brand-2) 0%, var(--brand) 100%);
  color: #fff;
  margin-top: 14px;
  cursor: pointer;
}
.form button:hover{ filter: brightness(1.05); }

.alert{
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  padding: 10px 12px;
  border-radius: 12px;
  margin-top: 12px;
}
.hint{ margin-top: 10px; font-size: 12px; color: var(--muted); }

/* Small layout helpers */
.grid-2{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.helper{ font-size: 12px; color: var(--muted); margin-top: 6px; }

/* Notices */
.notice{ padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(90,58,46,.14); }
.notice.ok{ background: rgba(34,197,94,.10); border-color: rgba(34,197,94,.25); color: #14532d; }
.notice.err{ background: rgba(239,68,68,.10); border-color: rgba(239,68,68,.25); color: #7f1d1d; }

/* Responsive */
@media (max-width: 920px){
  .sidebar{ width: 230px; }
}
@media (max-width: 720px){
  .sidebar{ display:none; }
  .content{ padding: 12px; }
  .topbar{ padding: 12px 12px; }
}

/* --- Tables & UI elements --- */
.table-wrap{ overflow:auto; border: 1px solid rgba(90,58,46,.14); border-radius: 14px; background: #fff; }
.table{ width: 100%; border-collapse: collapse; font-size: 13px; }
.table thead th{ text-align: left; padding: 10px 12px; background: rgba(90,58,46,.06); border-bottom: 1px solid rgba(90,58,46,.14); white-space: nowrap; }
.table tbody td{ padding: 10px 12px; border-bottom: 1px solid rgba(90,58,46,.10); vertical-align: top; }
.table tbody tr:hover td{ background: rgba(90,58,46,.03); }

.pill{ display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(90,58,46,.18); background: rgba(90,58,46,.06); font-size: 12px; }
.mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 12px; }

.actions{ display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.btn{ display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 12px; border-radius: 12px; border: 1px solid rgba(90,58,46,.20); background: #fff; color: var(--text); text-decoration: none; font-size: 13px; cursor: pointer; }
.btn:hover{ background: rgba(90,58,46,.04); }
.btn.primary{ border: 0; background: linear-gradient(180deg, var(--brand-2) 0%, var(--brand) 100%); color: #fff; }
.btn.primary:hover{ filter: brightness(1.05); }

.filters{ display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 10px; margin-top: 10px; }
.filters .field label{ display:block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.filters .field input, .filters .field select{ width: 100%; padding: 10px 12px; border: 1px solid rgba(90,58,46,.16); border-radius: 12px; background: #fff; }

.pager{ display:flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; }
.pager .pbtn{ padding: 8px 10px; border-radius: 12px; border: 1px solid rgba(90,58,46,.20); background:#fff; text-decoration:none; color: var(--text); font-size: 13px; }
.pager .pbtn:hover{ background: rgba(90,58,46,.04); }

.split{ display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.split-col{ background: rgba(255,255,255,.7); border: 1px solid rgba(90,58,46,.12); border-radius: 14px; padding: 12px; }
.h3{ margin: 0 0 10px 0; font-size: 14px; }

.kv{ display:grid; grid-template-columns: 180px 1fr; gap: 8px 12px; }
.kv .k{ color: var(--muted); font-size: 12px; }
.kv .v{ font-size: 13px; }

@media (max-width: 920px){
  .filters{ grid-template-columns: 1fr 1fr; }
  .split{ grid-template-columns: 1fr; }
  .kv{ grid-template-columns: 140px 1fr; }
}

.btn.sm{ padding: 7px 10px; border-radius: 10px; font-size: 12px; }
.btn.ghost{ background: transparent; }
.btn.disabled{ opacity: .45; pointer-events: none; }

/* ========= UI/UX OVERHAUL UTILITIES (safe, non-breaking) ========= */

/* Page container */
.page{ max-width:1180px; margin:0 auto; padding:16px; }
@media (max-width: 620px){ .page{ padding:12px; } }

/* Head */
.page-head{ display:flex; gap:12px; align-items:flex-end; justify-content:space-between; flex-wrap:wrap; margin-bottom:12px; }
.page-head h2{ margin:0; font-size:18px; font-weight:900; letter-spacing:.2px; }
.page-head .muted{ font-size:12px; color:var(--muted); margin-top:2px; }

/* Rhythm */
.container-xl{ max-width:1180px; margin: 0 auto; }
.stack-8 > * + *{ margin-top: 8px; }
.stack-12 > * + *{ margin-top: 12px; }
.stack-16 > * + *{ margin-top: 16px; }
.stack-24 > * + *{ margin-top: 24px; }

.row{ display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
.row.between{ justify-content:space-between; }
.row.end{ justify-content:flex-end; }

.grid{ display:grid; gap:14px; }
.grid-2{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px){
  .grid-4{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px){
  .grid-4,.grid-3,.grid-2{ grid-template-columns: 1fr; }
}

/* Filter bar (supports existing .filters too) */
.filterbar, .filters{
  display:flex; flex-wrap:wrap; gap:10px;
  align-items:flex-end;
  padding:12px;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  border: 1px solid rgba(90,58,46,.12);
}
.filterbar .field, .filters .field{ display:flex; flex-direction:column; gap:6px; min-width: 180px; }
.filterbar label, .filters label{ font-size: 11px; color: var(--muted); }

/* KPI cards */
.kpi{ padding:14px; }
.kpi .k{ font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.kpi .v{ font-size: 20px; font-weight: 900; letter-spacing: .2px; }
.kpi .sub{ margin-top: 6px; font-size: 12px; color: var(--muted); }

/* Tables (readable) */
.table{
  width:100%;
  border-collapse: separate;
  border-spacing:0;
  overflow:hidden;
  border: 1px solid rgba(90,58,46,.14);
  border-radius: var(--radius-md);
  background: #fff;
}
.table th, .table td{
  padding:10px 10px;
  border-bottom: 1px solid rgba(90,58,46,.10);
  font-size: 13px;
  vertical-align: top;
}
.table th{
  background: rgba(246,241,234,.9);
  color: var(--brand);
  font-weight: 900;
  position: sticky;
  top: 0;
  z-index: 1;
}
.table tr:nth-child(even) td{ background: rgba(251,246,240,.65); }
.table tr:last-child td{ border-bottom: none; }

/* Charts */
.chart-wrap{
  padding: 10px 10px 2px;
  border: 1px solid rgba(90,58,46,.12);
  background: #fff;
  border-radius: var(--radius-lg);
}
.chart-wrap canvas{ width:100% !important; height: 300px !important; }
@media (max-width: 620px){ .chart-wrap canvas{ height: 240px !important; } }

/* Section titles */
.section-title{ font-size: 14px; font-weight: 900; color: var(--brand); margin: 0; }
.section-sub{ font-size: 12px; color: var(--muted); margin-top: 4px; }

/* Pills */
.pill{
  display:inline-flex; align-items:center; gap:6px;
  padding:6px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(196,122,58,.12);
  border: 1px solid rgba(196,122,58,.20);
  color: var(--brand);
}

/* Compact card spacing for insights */
.card{ overflow:hidden; }
.card.compact{ padding:14px; }

/* Print */
@media print{
  .sidebar, .topbar, .filters, .filterbar, .btn, .notice { display:none !important; }
  .page{ max-width: 1100px; margin: 0 auto; padding:0; }
  .card{ box-shadow:none; }
}

/* Global canvas safety */
.card canvas{ max-width:100% !important; max-height:420px !important; }

/* ================================
   Dashboard Shell v1 - Role Aware
   ================================ */
.shell-v1{ background:
  radial-gradient(circle at 86% 2%, rgba(196,122,58,.12), transparent 28%),
  radial-gradient(circle at 18% 4%, rgba(122,74,51,.10), transparent 26%),
  var(--bg);
}
.shell-main{ min-width:0; }
.shell-topbar{
  z-index:20;
  padding: 16px 22px;
  gap: 16px;
  align-items:center;
  background: rgba(255,255,255,.86);
  box-shadow: 0 8px 24px rgba(31,26,23,.04);
}
.shell-topbar-left{ min-width:0; }
.breadcrumb-line{
  display:flex;
  align-items:center;
  gap:7px;
  color: rgba(106,91,82,.82);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.crumb-sep{ opacity:.45; }
.shell-page-title{
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.shell-page-sub{
  max-width: 720px;
  font-size: 13px;
}
.shell-context{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 360px;
  justify-content:flex-end;
}
.context-pill{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 0;
  padding: 9px 11px;
  border-radius: 16px;
  background: rgba(251,246,240,.88);
  border: 1px solid rgba(90,58,46,.12);
  box-shadow: 0 8px 18px rgba(31,26,23,.04);
}
.context-icon,
.avatar-dot{
  width:34px;
  height:34px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  background: rgba(196,122,58,.14);
  color: var(--brand);
  font-weight:800;
}
.avatar-dot{
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
  color:#fff;
  text-transform: uppercase;
}
.context-text{ min-width:0; }
.context-label{
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  max-width: 210px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.context-note{
  margin-top:2px;
  font-size: 11px;
  color: var(--muted);
  max-width: 220px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.role-strip{
  display:grid;
  grid-template-columns: minmax(260px, 1.35fr) minmax(220px, .65fr) minmax(280px, 1fr);
  gap: 12px;
  padding: 16px 22px 0;
  max-width: 1240px;
  width:100%;
  margin: 0 auto;
}
.role-card{
  border: 1px solid rgba(90,58,46,.12);
  border-radius: 20px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 12px 30px rgba(31,26,23,.05);
  padding: 14px;
  min-width:0;
}
.role-card-main{
  background:
    radial-gradient(circle at 93% 10%, rgba(196,122,58,.16), transparent 30%),
    rgba(255,255,255,.82);
}
.role-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  border-radius:999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 900;
  color: var(--brand);
  background: rgba(196,122,58,.14);
  border: 1px solid rgba(196,122,58,.20);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.role-badge.soft{
  background: rgba(90,58,46,.08);
  border-color: rgba(90,58,46,.12);
}
.role-title{
  margin-top: 10px;
  font-weight: 800;
  color: #2a1b15;
  line-height:1.35;
}
.role-note{
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height:1.5;
}
.role-meta-label{
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
}
.role-meta-value{
  margin-top:8px;
  font-size: 17px;
  line-height:1.25;
  font-weight: 900;
  color: #2a1b15;
}
.role-meta-sub{
  margin-top:5px;
  color: var(--muted);
  font-size: 12px;
}
.quick-action-row{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top: 10px;
}
.quick-action{
  display:inline-flex;
  align-items:center;
  border-radius: 999px;
  padding: 7px 10px;
  background: #fff;
  color: var(--brand);
  border: 1px solid rgba(90,58,46,.14);
  font-size: 12px;
  font-weight: 800;
  text-decoration:none;
}
.quick-action:hover{ background: #fff8f1; border-color: rgba(196,122,58,.28); }
.shell-content{ width:100%; max-width:1240px; padding:16px 22px 24px; }
.dashboard-home{ display:flex; flex-direction:column; gap:14px; }
.home-hero{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  background:
    radial-gradient(circle at 92% 4%, rgba(196,122,58,.14), transparent 24%),
    rgba(255,255,255,.88);
}
.home-hero h2{
  margin-top:12px;
  font-size: 24px;
  letter-spacing:-.02em;
}
.home-hero-copy{ max-width: 720px; line-height:1.55; }
.home-context-box{
  min-width: 240px;
  background: var(--surface-2);
  border: 1px solid rgba(90,58,46,.12);
  border-radius: 16px;
  padding: 13px;
}
.home-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:12px;
}
.role-stat{
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(90,58,46,.12);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(31,26,23,.05);
}
.role-stat .stat-label{
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 900;
  color: var(--muted);
}
.role-stat .stat-value{
  margin-top: 9px;
  font-size: 26px;
  font-weight: 950;
  color: #2a1b15;
  letter-spacing:-.03em;
}
.role-stat .stat-note{
  margin-top:4px;
  color: var(--muted);
  font-size:12px;
  line-height:1.4;
}
.shell-split{ gap:14px; }
.role-focus-panel{
  background: rgba(255,255,255,.86);
  border-radius: 18px;
}
.role-actions-stack{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.role-actions-stack .btn{ margin:0; }

@media (max-width: 1180px){
  .shell-context{ min-width: 0; }
  .context-outlet{ display:none; }
  .role-strip{ grid-template-columns: 1fr 1fr; }
  .role-card-actions{ grid-column: 1 / -1; }
  .home-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px){
  .shell-topbar{ align-items:flex-start; flex-direction:column; }
  .shell-context{ width:100%; justify-content:space-between; }
  .context-outlet{ display:flex; }
  .context-pill{ flex:1; }
  .role-strip{ grid-template-columns: 1fr; padding: 14px 14px 0; }
  .shell-content{ padding:14px; }
  .home-hero{ flex-direction:column; }
  .home-context-box{ width:100%; }
}
@media (max-width: 640px){
  .home-grid{ grid-template-columns: 1fr; }
  .shell-page-title{ font-size: 19px; }
  .context-outlet{ display:none; }
}

/* Dashboard Shell v1.1 refinements */
.shell-v1 .sidebar{
  display:flex;
  flex-direction:column;
  min-height:100vh;
}
.shell-v1 .nav{
  flex:1 1 auto;
  overflow-y:auto;
  padding-bottom:18px;
}
.shell-v1 .sidebar-footer{
  position:sticky;
  bottom:0;
  margin-top:auto;
  padding-top:14px;
  background:linear-gradient(180deg, rgba(44,27,21,0), #24140f 28%, #24140f 100%);
}
.shell-v1 .role-card-compact .role-meta-sub{
  max-width:280px;
}
.employee-progress-card{
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:center;
  margin-top:18px;
}
.employee-progress-card .h3{
  margin:10px 0 6px;
}
.employee-progress-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(135px,1fr));
  gap:12px;
  min-width:460px;
}
.mini-progress-box{
  border:1px solid rgba(107,70,50,.18);
  border-radius:18px;
  padding:14px 16px;
  background:rgba(255,250,245,.74);
}
.mini-progress-box span{
  display:block;
  font-size:12px;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:#7b675b;
  font-weight:800;
  margin-bottom:7px;
}
.mini-progress-box strong{
  display:block;
  font-size:22px;
  line-height:1.1;
  color:#24140f;
}
@media (max-width: 1120px){
  .employee-progress-card{align-items:flex-start;flex-direction:column;}
  .employee-progress-grid{min-width:0;width:100%;}
}
@media (max-width: 720px){
  .employee-progress-grid{grid-template-columns:1fr;}
}

/* NataCoffee UI Foundation v2 — dependency cleanup helpers */
.nc-hidden{display:none!important;}
.nc-muted{color:var(--muted)!important;}
.nc-nowrap{white-space:nowrap!important;}
.nc-action-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;}
.nc-stack{display:flex;flex-direction:column;gap:12px;}
.nc-card-soft{border:1px solid rgba(107,70,50,.14);background:rgba(255,255,255,.78);border-radius:18px;box-shadow:0 12px 34px rgba(38,23,15,.06);}
.nc-section-title{font-size:13px;letter-spacing:.08em;text-transform:uppercase;font-weight:900;color:var(--muted);}
.nc-empty-state{border:1px dashed rgba(107,70,50,.22);border-radius:18px;background:rgba(255,250,245,.72);padding:22px;text-align:center;color:var(--muted);}
.nc-upload-box{border:1px dashed rgba(107,70,50,.28);border-radius:18px;background:rgba(255,250,245,.82);padding:18px;}
.nc-badge{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:6px 10px;font-size:12px;line-height:1;font-weight:850;border:1px solid rgba(107,70,50,.16);background:#fffaf4;color:#4b2d1f;}
.nc-badge-success{background:#effaf2;color:#176b35;border-color:rgba(23,107,53,.18);}
.nc-badge-warning{background:#fff8e8;color:#8a5a09;border-color:rgba(138,90,9,.2);}
.nc-badge-danger{background:#fff1ef;color:#a23a2b;border-color:rgba(162,58,43,.18);}
.nc-badge-info{background:#eef6ff;color:#285f96;border-color:rgba(40,95,150,.18);}
.nc-js-ready [data-nc-reveal="js"]{display:initial;}
@media (max-width:720px){.nc-action-row{align-items:stretch}.nc-action-row>.btn,.nc-action-row>button,.nc-action-row>a{justify-content:center}}
