/* ============================================================================
   360 BRAND CLUB — ENTERPRISE OJMS DESIGN SYSTEM
   ----------------------------------------------------------------------------
   Every color, radius, and shadow used anywhere in this site reads from the
   custom properties below. Change a value here and the whole product
   re-themes. Built on top of Bootstrap 5 (grid, forms, utilities) — this file
   only supplies the visual identity Bootstrap's defaults don't have.
   ============================================================================ */

:root {
	/* ---- Brand palette (generated from the single primary #EF4046) ---- */
	--bc-primary: #EF4046;
	--bc-primary-600: #EC6C71;
	--bc-primary-700: #E50D14;
	--bc-secondary: #E785B6;
	--bc-accent: #45D387;
	--bc-success: #22A050;
	--bc-warning: #EDA01D;
	--bc-danger: #D92632;
	--bc-info: #3592D4;

	/* ---- Department accent colors (distinct hues, same tonal family) ---- */
	--dept-webdev: #3E6B8A;
	--dept-design: #9C5A9A;
	--dept-video: #B9634A;
	--dept-marketing: #3E8A6B;
	--dept-content: #8A7A3E;
	--dept-bizdev: #6B5A8A;
	--dept-sales: #8A3E4F;
	--dept-photography: #4A7A8A;
	--dept-accountmgmt: #2E7D6B;
	--dept-leadership: #A8842E;

	/* ---- Light mode surfaces ---- */
	--bc-bg: #F9F8F8;
	--bc-card: #FFFFFF;
	--bc-border: #E8E3E3;
	--bc-text: #312627;
	--bc-text-muted: #7C6A6A;
	--bc-sidebar-bg: #FFFFFF;
	--bc-topbar-bg: rgba(255,255,255,.85);

	/* ---- Geometry & elevation ---- */
	--bc-radius-sm: 10px;
	--bc-radius: 16px;
	--bc-radius-lg: 24px;
	--bc-shadow-xs: 0 1px 2px rgba(45,41,43,.05);
	--bc-shadow-sm: 0 2px 8px rgba(45,41,43,.06), 0 1px 2px rgba(45,41,43,.04);
	--bc-shadow-md: 0 8px 24px rgba(45,41,43,.09), 0 2px 6px rgba(45,41,43,.05);
	--bc-shadow-lg: 0 20px 48px rgba(45,41,43,.14), 0 6px 16px rgba(45,41,43,.06);
	--bc-glow-primary: 0 4px 16px rgba(239,64,70,.25);

	/* ---- Type ---- */
	--bc-font-display: 'Lexend', 'Inter', sans-serif;
	--bc-font-body: 'Inter', sans-serif;
	--bc-font-mono: 'JetBrains Mono', monospace;

	/* ---- Layout ---- */
	--bc-sidebar-w: 272px;
	--bc-sidebar-w-collapsed: 88px;
	--bc-topbar-h: 72px;

	/* ---- Motion ---- */
	--bc-ease: cubic-bezier(.25,.8,.25,1);
	--bc-speed-fast: .15s;
	--bc-speed: .25s;
}

[data-theme="dark"] {
	--bc-bg: #1B1313;
	--bc-card: #261D1D;
	--bc-border: #3F3132;
	--bc-text: #F3F1F2;
	--bc-text-muted: #B4A7A7;
	--bc-sidebar-bg: #201818;
	--bc-topbar-bg: rgba(32,24,24,.75);
	--bc-shadow-xs: 0 1px 2px rgba(0,0,0,.35);
	--bc-shadow-sm: 0 2px 10px rgba(0,0,0,.4), 0 1px 3px rgba(0,0,0,.3);
	--bc-shadow-md: 0 10px 30px rgba(0,0,0,.5), 0 3px 8px rgba(0,0,0,.35);
	--bc-shadow-lg: 0 26px 60px rgba(0,0,0,.6), 0 8px 20px rgba(0,0,0,.4);
}

[data-theme="dark"] body {
	background-image:
		radial-gradient(circle at 100% 0%, rgba(239,64,70,.18), transparent 55%),
		radial-gradient(circle at 0% 100%, rgba(69,211,135,.10), transparent 50%);
	background-attachment: fixed;
}

/* ============================================================================
   BASE
   ============================================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	background: var(--bc-bg);
	color: var(--bc-text);
	font-family: var(--bc-font-body);
	font-size: 14.5px;
	transition: background-color var(--bc-speed) var(--bc-ease), color var(--bc-speed) var(--bc-ease);
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .bc-display { font-family: var(--bc-font-display); letter-spacing: -0.02em; }
a { color: var(--bc-primary); text-decoration: none; }
a:hover { color: var(--bc-primary-700); }
code, .bc-mono { font-family: var(--bc-font-mono); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--bc-border); border-radius: 10px; }
::selection { background: rgba(239,64,70,.25); }

:focus-visible { outline: 2px solid var(--bc-primary); outline-offset: 2px; border-radius: 4px; }

.bc-skip-link {
	position: absolute; top: -60px; left: 12px; z-index: 2000;
	background: var(--bc-primary); color: #fff; padding: 10px 18px;
	border-radius: var(--bc-radius-sm); font-weight: 600; transition: top .15s;
}
.bc-skip-link:focus { top: 12px; color: #fff; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ============================================================================
   APP SHELL
   ============================================================================ */
.bc-shell { display: flex; min-height: 100vh; }

/* ---- Sidebar ---- */
.bc-sidebar {
	width: var(--bc-sidebar-w);
	background: var(--bc-sidebar-bg);
	border-right: 1px solid var(--bc-border);
	display: flex; flex-direction: column;
	position: sticky; top: 0; height: 100vh;
	flex-shrink: 0; z-index: 1030;
	transition: width var(--bc-speed) var(--bc-ease), background-color var(--bc-speed);
}
[data-theme="dark"] .bc-sidebar { background: rgba(32,24,24,.8); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.bc-sidebar.is-collapsed { width: var(--bc-sidebar-w-collapsed); }

.bc-sidebar__brand { display: flex; align-items: center; justify-content: space-between; padding: 22px 20px; border-bottom: 1px solid var(--bc-border); min-height: var(--bc-topbar-h); }
.bc-sidebar__brand-link { display: flex; align-items: center; gap: 12px; overflow: hidden; text-decoration: none; }
.bc-sidebar__mark {
	width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
	background: linear-gradient(135deg, var(--bc-primary), var(--bc-primary-700));
	color: #fff; display: flex; align-items: center; justify-content: center;
	font-family: var(--bc-font-display); font-weight: 700; font-size: 15px;
	box-shadow: var(--bc-glow-primary);
}
.bc-sidebar__mark-img { height: 22px; width: auto; flex-shrink: 0; object-fit: contain; transition: height var(--bc-speed), background-color var(--bc-speed); }
.bc-sidebar.is-collapsed .bc-sidebar__mark-img { height: 20px; }
.bc-sidebar.is-collapsed .bc-sidebar__brand-link { justify-content: center; width: 100%; }
[data-theme="dark"] .bc-sidebar__mark-img { background: rgba(255,255,255,.94); border-radius: 6px; padding: 3px 6px; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.bc-sidebar__name { font-family: var(--bc-font-display); font-weight: 600; font-size: 15.5px; color: var(--bc-text); white-space: nowrap; }
.bc-sidebar.is-collapsed .bc-sidebar__name, .bc-sidebar.is-collapsed .bc-sidebar__tagline { display: none; }
.bc-sidebar__tagline { font-size: 10.5px; color: var(--bc-text-muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 1px; }

.bc-sidebar__toggle { width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--bc-border); background: transparent; color: var(--bc-text-muted); flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all var(--bc-speed-fast); }
.bc-sidebar__toggle:hover { color: var(--bc-primary); border-color: var(--bc-primary); }
.bc-sidebar.is-collapsed .bc-sidebar__toggle i { transform: rotate(180deg); }

.bc-sidebar__nav { flex: 1; overflow-y: auto; padding: 16px 14px; }
.bc-nav-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: .09em; color: var(--bc-text-muted); opacity: .7; padding: 16px 12px 8px; }
.bc-sidebar.is-collapsed .bc-nav-label { display: none; }
.bc-nav-item {
	display: flex; align-items: center; gap: 13px; padding: 11px 13px; margin-bottom: 2px;
	border-radius: var(--bc-radius-sm); color: var(--bc-text-muted); text-decoration: none;
	font-size: 14px; font-weight: 500; position: relative; transition: background-color var(--bc-speed-fast), color var(--bc-speed-fast);
}
.bc-nav-item:hover { background: var(--bc-bg); color: var(--bc-text); }
.bc-nav-item.is-active { background: linear-gradient(90deg, rgba(239,64,70,.14), rgba(239,64,70,.03)); color: var(--bc-primary); font-weight: 600; box-shadow: inset 3px 0 0 var(--bc-primary); }
.bc-nav-item i { width: 18px; text-align: center; font-size: 15px; flex-shrink: 0; }
.bc-nav-item .bc-nav-badge { margin-left: auto; }
.bc-sidebar.is-collapsed .bc-nav-item span, .bc-sidebar.is-collapsed .bc-nav-item .bc-nav-badge { display: none; }
.bc-sidebar.is-collapsed .bc-nav-item { justify-content: center; }
.bc-sidebar.is-collapsed .bc-nav-item:hover::after {
	content: attr(data-label); position: absolute; left: calc(100% + 12px); top: 50%; transform: translateY(-50%);
	background: var(--bc-text); color: var(--bc-card); font-size: 12px; padding: 7px 12px; border-radius: 8px;
	white-space: nowrap; box-shadow: var(--bc-shadow-md); z-index: 50;
}

.bc-sidebar__footer { padding: 16px 20px; border-top: 1px solid var(--bc-border); font-size: 11.5px; color: var(--bc-text-muted); }
.bc-sidebar.is-collapsed .bc-sidebar__footer { display: none; }

/* ---- Topbar ---- */
.bc-topbar {
	position: sticky; top: 0; z-index: 1020; height: var(--bc-topbar-h);
	background: var(--bc-topbar-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--bc-border); display: flex; align-items: center; gap: 16px; padding: 0 28px;
}
.bc-mobile-toggle { display: none; }
.bc-search { flex: 1; max-width: 460px; position: relative; }
.bc-search input {
	width: 100%; border: 1px solid var(--bc-border); background: var(--bc-bg); color: var(--bc-text);
	border-radius: var(--bc-radius-sm); padding: 10px 16px 10px 42px; font-size: 14px; outline: none;
	transition: border-color var(--bc-speed-fast), box-shadow var(--bc-speed-fast);
}
.bc-search input:focus { border-color: var(--bc-primary); box-shadow: 0 0 0 3px rgba(239,64,70,.14); }
.bc-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--bc-text-muted); }
.bc-search kbd { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 11px; color: var(--bc-text-muted); background: var(--bc-card); border: 1px solid var(--bc-border); border-radius: 5px; padding: 2px 6px; }

.bc-topbar__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.bc-icon-btn {
	position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--bc-border);
	background: var(--bc-card); color: var(--bc-text); display: flex; align-items: center; justify-content: center;
	font-size: 16px; transition: all var(--bc-speed-fast);
}
.bc-icon-btn:hover { border-color: var(--bc-primary); color: var(--bc-primary); transform: translateY(-1px); }
.bc-icon-btn .bc-dot { position: absolute; top: -3px; right: -3px; background: var(--bc-danger); color: #fff; font-size: 10px; font-weight: 700; min-width: 17px; height: 17px; border-radius: 999px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--bc-bg); }

.bc-profile-btn { display: flex; align-items: center; gap: 9px; background: transparent; border: none; padding: 4px 6px 4px 4px; border-radius: 999px; transition: background var(--bc-speed-fast); }
.bc-profile-btn:hover { background: var(--bc-bg); }
.bc-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--bc-secondary), var(--bc-primary)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.bc-profile-meta { text-align: left; line-height: 1.25; }
.bc-profile-meta strong { font-size: 13px; display: block; }
.bc-profile-meta small { font-size: 11px; color: var(--bc-text-muted); }

.bc-dropdown {
	position: absolute; top: calc(100% + 12px); right: 0; width: 340px; background: var(--bc-card);
	border: 1px solid var(--bc-border); border-radius: var(--bc-radius); box-shadow: var(--bc-shadow-lg);
	z-index: 1050; max-height: 460px; display: flex; flex-direction: column; opacity: 0; visibility: hidden;
	transform: translateY(-6px); transition: all var(--bc-speed) var(--bc-ease);
}
.bc-dropdown.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.bc-search .bc-dropdown { left: 0; right: 0; width: auto; top: calc(100% + 8px); max-height: 420px; }
.bc-dropdown__head { padding: 16px 18px; border-bottom: 1px solid var(--bc-border); font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.bc-dropdown__head button { background: none; border: none; color: var(--bc-primary); font-size: 12px; font-weight: 500; }
.bc-dropdown__list { overflow-y: auto; }
.bc-dropdown__item { display: block; padding: 13px 18px; border-bottom: 1px solid var(--bc-border); text-decoration: none; color: var(--bc-text); font-size: 13px; border-left: 3px solid transparent; }
.bc-dropdown__item:hover { background: var(--bc-bg); }
.bc-dropdown__item.is-unread { background: rgba(239,64,70,.05); border-left-color: var(--bc-primary); }
.bc-dropdown__item strong { display: block; margin-bottom: 2px; color: var(--bc-text); }
.bc-dropdown__item span { color: var(--bc-text-muted); font-size: 12px; }
.bc-dropdown__foot { padding: 12px 18px; border-top: 1px solid var(--bc-border); text-align: center; }

/* ---- Main content ---- */
.bc-main { flex: 1; min-width: 0; }
.bc-page { padding: 30px 34px; max-width: 1480px; margin: 0 auto; }
.bc-page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.bc-eyebrow { font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--bc-primary); font-weight: 700; margin-bottom: 6px; }
.bc-page-head h1 { font-size: 27px; font-weight: 700; margin: 0; }
.bc-page-head p { color: var(--bc-text-muted); font-size: 13.5px; margin: 6px 0 0; max-width: 620px; }
.bc-breadcrumb { font-size: 12.5px; color: var(--bc-text-muted); margin-bottom: 4px; }
.bc-breadcrumb a { color: var(--bc-text-muted); }
.bc-breadcrumb a:hover { color: var(--bc-primary); }

/* ============================================================================
   COMPONENTS
   ============================================================================ */

/* ---- Cards ---- */
.bc-card {
	background: var(--bc-card);
	border: 1px solid var(--bc-border);
	border-radius: var(--bc-radius);
	box-shadow: var(--bc-shadow-xs);
	padding: 22px;
	transition: box-shadow var(--bc-speed), transform var(--bc-speed-fast), background-color var(--bc-speed);
}
.bc-card--interactive { cursor: pointer; }
.bc-card--interactive:hover { box-shadow: var(--bc-shadow-md); transform: translateY(-2px); }
.bc-card--glass { background: rgba(255,255,255,.6); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.4); }
[data-theme="dark"] .bc-card--glass { background: rgba(35,31,33,.55); border-color: rgba(255,255,255,.06); }
.bc-card__title { font-family: var(--bc-font-display); font-size: 15.5px; font-weight: 600; margin: 0 0 4px; }
.bc-card__subtitle { font-size: 12.5px; color: var(--bc-text-muted); margin: 0 0 18px; }

/* ---- Stat cards ---- */
.bc-stat { display: flex; align-items: flex-start; gap: 16px; }
.bc-stat__icon { transition: transform .2s ease; }
.bc-stat:hover .bc-stat__icon { transform: scale(1.08) rotate(-4deg); }
.bc-stat__icon { width: 48px; height: 48px; border-radius: var(--bc-radius-sm); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.bc-stat__value { font-family: var(--bc-font-display); font-size: 26px; font-weight: 700; line-height: 1; }
.bc-stat__label { font-size: 12.5px; color: var(--bc-text-muted); margin-top: 5px; }
.bc-stat__trend { font-size: 11.5px; font-weight: 600; margin-top: 8px; display: inline-flex; align-items: center; gap: 4px; }
.bc-stat__trend.up { color: var(--bc-success); }
.bc-stat__trend.down { color: var(--bc-danger); }

/* ---- Buttons (layered on Bootstrap's .btn) ---- */
.btn { border-radius: var(--bc-radius-sm); font-weight: 500; font-size: 13.5px; padding: 9px 18px; transition: all var(--bc-speed-fast); }
.btn-primary { background: linear-gradient(135deg, var(--bc-primary), var(--bc-primary-700)); border: none; box-shadow: 0 2px 10px rgba(239,64,70,.28); }
.btn-primary:hover { filter: brightness(1.1); box-shadow: 0 6px 18px rgba(239,64,70,.4); transform: translateY(-1px); }
.btn-outline-secondary { border-color: var(--bc-border); color: var(--bc-text); }
.btn-outline-secondary:hover { border-color: var(--bc-primary); color: var(--bc-primary); background: transparent; }
.btn-sm { padding: 6px 13px; font-size: 12.5px; }
.btn-icon-only { width: 36px; height: 36px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }

/* ---- Badges & pills ---- */
.bc-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }

.bc-attachment-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--bc-border); background: var(--bc-bg); color: var(--bc-text); text-decoration: none; transition: border-color var(--bc-speed-fast) var(--bc-ease), transform var(--bc-speed-fast) var(--bc-ease); }
.bc-attachment-chip:hover { border-color: var(--bc-primary); color: var(--bc-text); transform: translateY(-1px); }
.bc-badge--success { background: rgba(53,141,85,.14); color: var(--bc-success); }
.bc-badge--warning { background: rgba(200,151,65,.16); color: var(--bc-warning); }
.bc-badge--danger  { background: rgba(185,70,78,.14); color: var(--bc-danger); }
.bc-badge--info    { background: rgba(83,141,182,.14); color: var(--bc-info); }
.bc-badge--muted   { background: rgba(117,112,115,.12); color: var(--bc-text-muted); }
.bc-badge--primary { background: rgba(239,64,70,.12); color: var(--bc-primary); }

.bc-dept-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; padding: 4px 11px; border-radius: 999px; }
.bc-dept-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.bc-dept-pill--webdev { color: var(--dept-webdev); background: color-mix(in srgb, var(--dept-webdev) 14%, transparent); }
.bc-dept-pill--design { color: var(--dept-design); background: color-mix(in srgb, var(--dept-design) 14%, transparent); }
.bc-dept-pill--video { color: var(--dept-video); background: color-mix(in srgb, var(--dept-video) 14%, transparent); }
.bc-dept-pill--marketing { color: var(--dept-marketing); background: color-mix(in srgb, var(--dept-marketing) 14%, transparent); }
.bc-dept-pill--content { color: var(--dept-content); background: color-mix(in srgb, var(--dept-content) 14%, transparent); }
.bc-dept-pill--bizdev { color: var(--dept-bizdev); background: color-mix(in srgb, var(--dept-bizdev) 14%, transparent); }
.bc-dept-pill--sales { color: var(--dept-sales); background: color-mix(in srgb, var(--dept-sales) 14%, transparent); }
.bc-dept-pill--photography { color: var(--dept-photography); background: color-mix(in srgb, var(--dept-photography) 14%, transparent); }
.bc-dept-pill--accountmgmt { color: var(--dept-accountmgmt); background: color-mix(in srgb, var(--dept-accountmgmt) 14%, transparent); }
.bc-dept-pill--leadership { color: var(--dept-leadership); background: color-mix(in srgb, var(--dept-leadership) 14%, transparent); }

/* ---- Progress ---- */
.bc-progress { width: 100%; height: 7px; border-radius: 999px; background: var(--bc-border); overflow: hidden; }
.bc-progress__bar { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--bc-primary), var(--bc-secondary)); transition: width .5s var(--bc-ease); }

/* ---- Avatars & stacks ---- */
.bc-avatar-sm { width: 27px; height: 27px; border-radius: 50%; font-size: 10.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, var(--bc-secondary), var(--bc-primary)); border: 2px solid var(--bc-card); }
.bc-avatar-stack { display: flex; }
.bc-avatar-stack .bc-avatar-sm { margin-left: -8px; }
.bc-avatar-stack .bc-avatar-sm:first-child { margin-left: 0; }

/* ---- Tables (DataTables re-themed) ---- */
.bc-table-wrap { overflow-x: auto; }
table.dataTable { border-collapse: collapse !important; width: 100% !important; font-size: 13.5px; }
table.dataTable thead th { text-transform: uppercase; font-size: 10.5px; letter-spacing: .05em; color: var(--bc-text-muted); border-bottom: 1px solid var(--bc-border) !important; padding: 12px !important; font-weight: 700; }
table.dataTable tbody td { padding: 13px 12px !important; border-bottom: 1px solid var(--bc-border) !important; vertical-align: middle; color: var(--bc-text); }
table.dataTable tbody tr { transition: background-color .15s ease; box-shadow: inset 0 0 0 0 var(--bc-primary); }
table.dataTable tbody tr:hover td { background: var(--bc-bg); }
table.dataTable tbody tr:hover td:first-child { box-shadow: inset 3px 0 0 var(--bc-primary); }
table.dataTable tbody tr:last-child td { border-bottom: none !important; }
.dataTables_wrapper .dataTables_filter input, .dataTables_wrapper .dataTables_length select {
	border: 1px solid var(--bc-border); border-radius: var(--bc-radius-sm); padding: 7px 12px; background: var(--bc-card); color: var(--bc-text);
}
.dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_paginate { color: var(--bc-text-muted); font-size: 13px; }
.dataTables_wrapper .dataTables_paginate .paginate_button.current { background: var(--bc-primary) !important; color: #fff !important; border: none !important; border-radius: var(--bc-radius-sm); }
.dataTables_wrapper .dataTables_paginate .paginate_button { color: var(--bc-text) !important; border-radius: var(--bc-radius-sm); }

/* ---- Forms ---- */
.form-label { font-size: 12.5px; font-weight: 600; color: var(--bc-text); margin-bottom: 6px; }
.form-control, .form-select {
	background: var(--bc-card); border: 1px solid var(--bc-border); color: var(--bc-text);
	border-radius: var(--bc-radius-sm); padding: 10px 14px; font-size: 13.5px;
}
.form-control:focus, .form-select:focus { background: var(--bc-card); color: var(--bc-text); border-color: var(--bc-primary); box-shadow: 0 0 0 3px rgba(239,64,70,.14); }
.form-text { font-size: 12px; color: var(--bc-text-muted); }
.bc-form-section { border-bottom: 1px solid var(--bc-border); padding-bottom: 20px; margin-bottom: 20px; }
.bc-form-section:last-child { border-bottom: none; }
.bc-form-section__label { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--bc-primary); font-weight: 700; margin-bottom: 14px; }

/* ---- Tabs ---- */
.bc-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--bc-border); margin-bottom: 22px; overflow-x: auto; }
.bc-tab { padding: 11px 18px; font-size: 13.5px; font-weight: 500; color: var(--bc-text-muted); border-bottom: 2px solid transparent; white-space: nowrap; cursor: pointer; background: none; border-top: none; border-left: none; border-right: none; }
.bc-tab.is-active { color: var(--bc-primary); border-bottom-color: var(--bc-primary); font-weight: 600; }

/* ---- Empty / loading states ---- */
.bc-empty { text-align: center; padding: 70px 20px; color: var(--bc-text-muted); }
.bc-empty i { font-size: 38px; margin-bottom: 16px; opacity: .5; display: block; }
.bc-empty h6 { color: var(--bc-text); margin-bottom: 6px; }

.bc-skeleton { background: linear-gradient(90deg, var(--bc-border) 25%, var(--bc-bg) 50%, var(--bc-border) 75%); background-size: 200% 100%; animation: bc-shimmer 1.4s infinite; border-radius: var(--bc-radius-sm); }
@keyframes bc-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ---- Kanban ---- */
.bc-kanban { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 12px; align-items: flex-start; }
.bc-kanban__col { flex: 0 0 300px; background: var(--bc-bg); border-radius: var(--bc-radius); padding: 14px; border: 1px solid var(--bc-border); }
.bc-kanban__col-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; padding: 0 4px; }
.bc-kanban__col-title { font-weight: 700; font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.bc-kanban__count { background: var(--bc-card); border-radius: 999px; padding: 2px 9px; font-size: 11.5px; color: var(--bc-text-muted); }
.bc-kanban__cards { display: flex; flex-direction: column; gap: 10px; min-height: 60px; }
.bc-kanban-card { background: var(--bc-card); border: 1px solid var(--bc-border); border-radius: var(--bc-radius-sm); padding: 13px; cursor: grab; transition: box-shadow var(--bc-speed-fast), transform var(--bc-speed-fast); }
.bc-kanban-card:hover { box-shadow: var(--bc-shadow-sm); transform: translateY(-1px); }
.bc-kanban-card.is-dragging { opacity: .5; }
.bc-kanban-card__title { font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
.bc-kanban-card__meta { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; color: var(--bc-text-muted); }
.bc-kanban__col.is-dragover { outline: 2px dashed var(--bc-primary); outline-offset: -4px; }

/* ---- Calendar (FullCalendar re-theme) ---- */
.fc { --fc-border-color: var(--bc-border); --fc-page-bg-color: var(--bc-card); --fc-neutral-bg-color: var(--bc-bg); --fc-today-bg-color: rgba(239,64,70,.06); font-family: var(--bc-font-body); }
.fc .fc-toolbar-title { font-family: var(--bc-font-display); font-size: 18px; font-weight: 700; color: var(--bc-text); }
.fc .fc-button-primary { background: var(--bc-primary); border-color: var(--bc-primary); }
.fc .fc-button-primary:hover { background: var(--bc-primary-700); border-color: var(--bc-primary-700); }
.fc .fc-daygrid-day-number, .fc .fc-col-header-cell-cushion { color: var(--bc-text); }
.fc-event { border: none !important; border-radius: 6px !important; padding: 2px 6px !important; font-size: 11.5px !important; }

/* ---- Charts container ---- */
.bc-chart-wrap { position: relative; height: 300px; }
.bc-chart-wrap--sm { height: 220px; }

/* ---- Announcement / activity ---- */
.bc-activity-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--bc-border); }
.bc-activity-item:last-child { border-bottom: none; }
.bc-activity-icon { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.bc-activity-body { font-size: 13px; }
.bc-activity-time { font-size: 11.5px; color: var(--bc-text-muted); margin-top: 2px; }

/* ============================================================================
   LOGIN PAGE
   ----------------------------------------------------------------------------
   WORKORA brand-hierarchy pass (Aug 2026): 360BC is the parent/company
   brand, WORKORA is the product brand. The product brand must read as the
   dominant identity on this screen; 360BC stays present but visually
   secondary (small wordmark-style credit near the top, no logo badge).
   ============================================================================ */
.bc-auth { min-height: 100vh; display: flex; overflow-x: hidden; }
.bc-auth__visual {
	flex: 1.15; position: relative; overflow: hidden; padding: clamp(32px, 4.5vw, 56px);
	display: grid; grid-template-rows: auto 1fr auto; row-gap: clamp(20px, 3vw, 28px);
	background: linear-gradient(155deg, var(--bc-primary) 0%, var(--bc-primary-700) 55%, #2A1414 100%);
	color: #fff;
}
.bc-auth__visual::before {
	content: ''; position: absolute; inset: 0;
	background-image: radial-gradient(circle at 85% 15%, rgba(255,255,255,.14), transparent 45%), radial-gradient(circle at 10% 90%, rgba(69,211,135,.25), transparent 50%);
}
.bc-auth__visual > * { position: relative; z-index: 1; }

/* ---- Giant WORKORA background wordmark — premium brand texture, ----
   ---- not a watermark: extremely low opacity, crops naturally      ---- */
.bc-auth__visual > .bc-auth__bg-wordmark {
	position: absolute; z-index: 0; top: 50%; left: -3%; transform: translateY(-50%);
	font-family: var(--bc-font-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1;
	font-size: clamp(150px, 21vw, 340px);
	color: rgba(255,255,255,.055);
	white-space: nowrap; pointer-events: none; user-select: none;
	animation: bc-bg-wordmark-drift 28s ease-in-out infinite;
}
@keyframes bc-bg-wordmark-drift {
	0%, 100% { transform: translateY(-50%) translateX(0); }
	50% { transform: translateY(-50%) translateX(-1.4%); }
}

/* ---- 360BC — parent brand, deliberately quiet ---- */
.bc-auth__parent-brand { display: flex; align-items: center; gap: 8px; }
.bc-auth__parent-logo { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: .5; }
.bc-auth__parent-label { font-family: var(--bc-font-mono); font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); }

/* ---- WORKORA — product brand, the dominant identity on this screen ---- */
.bc-auth__product { display: flex; flex-direction: column; justify-content: center; }
.bc-auth__product-wordmark { font-family: var(--bc-font-display); font-weight: 800; font-size: clamp(38px, 4.2vw, 54px); letter-spacing: -0.02em; line-height: 1; color: #fff; margin: 0; }
.bc-auth__product-tagline { font-family: var(--bc-font-mono); font-size: 13px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: rgba(255,255,255,.8); margin: 12px 0 0; }
.bc-auth__product-desc { font-size: 19px; font-weight: 600; line-height: 1.32; max-width: 430px; letter-spacing: -0.01em; margin: 24px 0 0; }
.bc-auth__product-subdesc { opacity: .8; max-width: 400px; font-size: 14px; line-height: 1.7; margin: 12px 0 0; }

/* ---- Subtle Work -> Flow -> Perform product preview ---- */
.bc-auth__preview { margin-top: 32px; }
.bc-auth__preview-flow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.bc-auth__preview-step { font-family: var(--bc-font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.45); padding: 5px 11px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; }
.bc-auth__preview-step.is-done { color: #fff; border-color: rgba(255,255,255,.4); }
.bc-auth__preview-step.is-active { color: #fff; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); }
.bc-auth__preview-line { width: 20px; height: 1px; background: rgba(255,255,255,.22); }
.bc-auth__preview-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--bc-radius); padding: 13px 16px; backdrop-filter: blur(6px); max-width: 340px; }
.bc-auth__preview-row { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: rgba(255,255,255,.85); padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.bc-auth__preview-row:last-child { border-bottom: none; }
.bc-auth__preview-row span:nth-child(2) { flex: 1; }
.bc-auth__preview-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.25); flex-shrink: 0; }
.bc-auth__preview-dot.is-done { background: var(--bc-accent); }
.bc-auth__preview-dot.is-active { background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.18); animation: bc-preview-pulse 2.4s ease-in-out infinite; }
.bc-auth__preview-row i.fa-check { font-size: 10px; color: var(--bc-accent); }
.bc-auth__preview-timer { font-family: var(--bc-font-mono); font-size: 11px; color: rgba(255,255,255,.6); }
@keyframes bc-preview-pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(255,255,255,.18); } 50% { box-shadow: 0 0 0 6px rgba(255,255,255,.08); } }

.bc-auth__stats { display: flex; gap: 32px; }
.bc-auth__stats div strong { font-size: 22px; font-family: var(--bc-font-display); display: block; }
.bc-auth__stats div span { font-size: 11.5px; opacity: .75; text-transform: uppercase; letter-spacing: .06em; }

@media (prefers-reduced-motion: reduce) {
	.bc-auth__bg-wordmark, .bc-auth__preview-dot.is-active { animation: none; }
}

/* ---- Form column. flex-direction:column is load-bearing: once the   ----
   ---- mobile brand block below becomes visible, this column has TWO  ----
   ---- children (brand + form) — without an explicit column axis a    ----
   ---- flex container defaults to ROW, which put them side-by-side    ----
   ---- instead of stacked. That was the mobile "brand and form        ----
   ---- competing for the same horizontal space" bug. ---- */
.bc-auth__form-wrap {
	flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
	padding: clamp(20px, 6vw, 40px); background: var(--bc-bg); min-width: 0;
}
.bc-auth__form { width: 100%; max-width: 400px; }
.bc-auth__form h2 { font-size: 25px; font-weight: 700; margin-bottom: 6px; }
.bc-auth__form p.bc-lead { color: var(--bc-text-muted); font-size: 13.5px; margin-bottom: 30px; }
.bc-role-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 22px; }
.bc-role-chip { border: 1px solid var(--bc-border); border-radius: var(--bc-radius-sm); padding: 9px 10px; font-size: 12px; font-weight: 500; text-align: center; background: var(--bc-card); color: var(--bc-text-muted); cursor: pointer; transition: all var(--bc-speed-fast); }
.bc-role-chip.is-active { background: var(--bc-primary); border-color: var(--bc-primary); color: #fff; box-shadow: var(--bc-glow-primary); }

/* ---- Remember me / Forgot password: fits on one line at normal      ----
   ---- widths; at the narrowest phones it wraps as two clean whole    ----
   ---- rows (never mid-word) because each side is nowrap and the row  ----
   ---- itself is allowed to wrap.                                     ---- */
.bc-auth__form-row { flex-wrap: wrap; row-gap: 10px; column-gap: 12px; }
.bc-auth__form-row .form-check, .bc-auth__form-row > a { white-space: nowrap; }

/* ---- iOS zooms the viewport on focusing any input under 16px — this ----
   ---- is scoped to the login form only, not the shared .form-control ----
   ---- rule every other page in the app already relies on.            ---- */
.bc-auth__form .form-control, .bc-auth__form .form-select { font-size: 16px; padding: 12px 14px; }

/* ---- Compact WORKORA brand header shown ABOVE the form once the     ----
   ---- full split-screen hero panel is hidden — normal document flow  ----
   ---- only (no absolute positioning), so it can never overlap the    ----
   ---- form below it.                                                 ---- */
.bc-auth__mobile-brand { display: none; width: 100%; text-align: center; margin-bottom: clamp(20px, 5vw, 30px); }
.bc-auth__mobile-parent { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--bc-text-muted); margin-bottom: 6px; }
.bc-auth__mobile-wordmark { font-family: var(--bc-font-display); font-weight: 800; font-size: clamp(26px, 6vw, 32px); letter-spacing: -0.02em; color: var(--bc-text); }
.bc-auth__mobile-tagline { font-family: var(--bc-font-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--bc-primary); margin-top: 4px; }

/* ============================================================================
   LOGIN PAGE — RESPONSIVE
   ----------------------------------------------------------------------------
   Three intentional tiers, not one squeezed layout:
     Desktop (>=1100px)      full split-screen brand experience.
     Tablet  (900px-1099px)  split-screen kept, but proportions/type/the
                              preview card are recalculated for the width -
                              not the desktop layout shrunk down.
     Mobile  (<900px)        single column. Covers real phones AND narrow
                              portrait tablets (768/834px) alike, per the
                              explicit call to fall back to one column once
                              two columns stop being comfortable rather than
                              forcing a split at those widths.
   ============================================================================ */
@media (min-width: 900px) and (max-width: 1099px) {
	.bc-auth__visual { flex: 1; padding: 40px 36px; }
	.bc-auth__bg-wordmark { font-size: clamp(120px, 24vw, 220px); left: -4%; }
	.bc-auth__product-wordmark { font-size: clamp(32px, 4.6vw, 42px); }
	.bc-auth__product-desc { font-size: 16.5px; max-width: 320px; }
	.bc-auth__product-subdesc { font-size: 13px; max-width: 300px; }
	.bc-auth__preview { display: none; }
	.bc-auth__stats { flex-wrap: wrap; row-gap: 14px; column-gap: 24px; }
	.bc-auth__form-wrap { flex: 1; padding: 36px 32px; }
}

@media (max-width: 899px) {
	.bc-auth__visual { display: none; }
	.bc-auth__mobile-brand { display: block; }
}

/* ============================================================================
   RESPONSIVE (shell-level)
   ============================================================================ */
@media (max-width: 992px) {
	.bc-sidebar { position: fixed; left: 0; top: 0; bottom: 0; transform: translateX(-100%); transition: transform var(--bc-speed) var(--bc-ease); box-shadow: var(--bc-shadow-lg); }
	.bc-sidebar.is-mobile-open { transform: translateX(0); }
	.bc-mobile-toggle { display: flex; }
	.bc-search { max-width: none; }
}
@media (max-width: 576px) {
	.bc-page { padding: 18px; }
	.bc-profile-meta { display: none; }
	.bc-dropdown { position: fixed; top: auto; bottom: 0; left: 0; right: 0; width: 100%; border-radius: var(--bc-radius-lg) var(--bc-radius-lg) 0 0; max-height: 75vh; }
}

/* ============================================================================
   PRINT
   ============================================================================ */
@media print {
	.bc-sidebar, .bc-topbar, .bc-no-print { display: none !important; }
	.bc-page { padding: 0; max-width: none; }
	body { background: #fff; color: #000; }
}

/* ============================================================================
   HOVER ANIMATIONS - tasteful, consistent motion on every interactive element
   ============================================================================ */

/* Buttons: lift + press feedback across every variant, not just primary */
.btn { transition: transform var(--bc-speed-fast) var(--bc-ease), box-shadow var(--bc-speed-fast) var(--bc-ease), filter var(--bc-speed-fast), background-color var(--bc-speed-fast), color var(--bc-speed-fast), border-color var(--bc-speed-fast); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-outline-secondary:hover { box-shadow: var(--bc-shadow-sm); }

/* Icon buttons: slightly more lift + a quick scale, feels tactile without being silly */
.bc-icon-btn { transition: transform var(--bc-speed-fast) var(--bc-ease), border-color var(--bc-speed-fast), color var(--bc-speed-fast), box-shadow var(--bc-speed-fast); }
.bc-icon-btn:hover { transform: translateY(-2px) scale(1.05); box-shadow: var(--bc-shadow-sm); }
.bc-icon-btn:active { transform: translateY(0) scale(1); }

/* Sidebar nav: icon nudges right, active accent bar already handled elsewhere */
.bc-nav-item i { transition: transform var(--bc-speed-fast) var(--bc-ease); }
.bc-nav-item:hover i { transform: translateX(2px); }

/* Sidebar logo: subtle scale on hover, invites the click back to Dashboard */
.bc-sidebar__brand-link { transition: opacity var(--bc-speed-fast); }
.bc-sidebar__mark-img { transition: height var(--bc-speed), background-color var(--bc-speed), transform var(--bc-speed-fast) var(--bc-ease); }
.bc-sidebar__brand-link:hover .bc-sidebar__mark-img { transform: scale(1.06); }

/* Cards already lift on hover (.bc-card--interactive); add a touch more polish - a soft border glow */
.bc-card--interactive { transition: box-shadow var(--bc-speed) var(--bc-ease), transform var(--bc-speed-fast) var(--bc-ease), border-color var(--bc-speed); }
.bc-card--interactive:hover { border-color: color-mix(in srgb, var(--bc-primary) 30%, var(--bc-border)); }

/* Avatars: gentle pop on hover, used across employee/client/task cards */
.bc-avatar-sm, .bc-avatar { transition: transform var(--bc-speed-fast) var(--bc-ease); }
.bc-avatar-stack .bc-avatar-sm:hover { transform: translateY(-3px) scale(1.1); z-index: 2; position: relative; }
.bc-profile-btn:hover .bc-avatar { transform: scale(1.06); }

/* Badges & department pills: only give a hover cue where they sit inside something clickable */
a .bc-badge, a .bc-dept-pill, .bc-card--interactive .bc-badge, .bc-card--interactive .bc-dept-pill { transition: transform var(--bc-speed-fast) var(--bc-ease); }
.bc-card--interactive:hover .bc-dept-pill { transform: translateX(1px); }

/* Kanban cards: lift already present, add a slightly longer, smoother ease for a premium feel */
.bc-kanban-card { transition: box-shadow var(--bc-speed) var(--bc-ease), transform var(--bc-speed) var(--bc-ease), border-color var(--bc-speed); }
.bc-kanban-card:hover { border-color: color-mix(in srgb, var(--bc-primary) 35%, var(--bc-border)); }

/* Table rows: smooth background fade instead of an instant snap */
table.dataTable tbody tr { transition: background-color var(--bc-speed-fast) var(--bc-ease); }

/* Tabs: underline grows in rather than appearing instantly */
.bc-tab { position: relative; transition: color var(--bc-speed-fast); }
.bc-tab::after { content: ''; position: absolute; left: 50%; right: 50%; bottom: -1px; height: 2px; background: var(--bc-primary); transition: left var(--bc-speed) var(--bc-ease), right var(--bc-speed) var(--bc-ease); }
.bc-tab.is-active::after, .bc-tab:hover::after { left: 0; right: 0; }
.bc-tab.is-active::after { background: var(--bc-primary); }
.bc-tab:not(.is-active):hover::after { background: color-mix(in srgb, var(--bc-primary) 40%, transparent); }

/* Dropdown items: soft slide-in on hover instead of an instant background snap */
.bc-dropdown__item, .bc-nav-item { transition: background-color var(--bc-speed-fast) var(--bc-ease), color var(--bc-speed-fast) var(--bc-ease), padding-left var(--bc-speed-fast) var(--bc-ease); }
.bc-dropdown__item:hover { padding-left: 22px; }

/* Role chips on login (if reused elsewhere) and form switches: gentle scale */
.bc-role-chip { transition: all var(--bc-speed-fast) var(--bc-ease); }
.bc-role-chip:hover { transform: translateY(-1px); box-shadow: var(--bc-shadow-sm); }

/* Respect reduced-motion users - already globally disabled via the rule near the top of this file. */

/* ============================================================================
   DASHBOARD REFINEMENTS
   ----------------------------------------------------------------------------
   Additive only - nothing above this block is touched, so every other page
   using .bc-stat / .bc-card / .bc-progress keeps its existing look. These
   classes are new modifiers used only on dashboard.html.
   ============================================================================ */

/* ---- KPI cards: number is the visual focus, consistent height, no wrap-jank ---- */
.bc-stat--kpi {
	flex-direction: column; align-items: flex-start; justify-content: space-between;
	gap: 16px; min-height: 132px; cursor: default;
}
.bc-stat--kpi .bc-stat__icon { width: 40px; height: 40px; font-size: 15px; }
.bc-stat--kpi .bc-stat__main { display: flex; flex-direction: column; }
.bc-stat--kpi .bc-stat__value { font-size: 32px; }
.bc-stat--kpi .bc-stat__label { font-size: 12.5px; line-height: 1.35; margin-top: 4px; max-width: 100%; }
.bc-stat--kpi:hover { transform: translateY(-2px); box-shadow: var(--bc-shadow-sm); }

/* ---- Section heads used inside dashboard cards (title + optional link/action, one row) ---- */
.bc-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.bc-section-head__text { min-width: 0; }

/* ---- Department Performance: clean horizontal bar list (replaces the old nested radial chart) ---- */
.bc-dept-row { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--bc-border); }
.bc-dept-row:last-child { border-bottom: none; padding-bottom: 2px; }
.bc-dept-row:first-child { padding-top: 2px; }
.bc-dept-row__label { flex: 0 0 152px; min-width: 0; display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--bc-text); }
.bc-dept-row__label i { font-size: 11px; flex-shrink: 0; }
.bc-dept-row__label span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bc-dept-row__bar { flex: 1; min-width: 0; }
.bc-dept-row__bar .bc-progress { height: 8px; }
.bc-dept-row__meta { flex: 0 0 auto; text-align: right; font-size: 12.5px; }
.bc-dept-row__pct { font-family: var(--bc-font-display); font-weight: 700; color: var(--bc-text); }
.bc-dept-row__sub { display: block; font-size: 10.5px; color: var(--bc-text-muted); margin-top: 1px; white-space: nowrap; }

/* ---- Validation Summary: compact metric cluster + CTA ---- */
.bc-validation-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 18px; }
.bc-validation-metric__value { font-family: var(--bc-font-display); font-size: 26px; font-weight: 700; line-height: 1; color: var(--bc-text); }
.bc-validation-metric__value.is-accent { color: var(--bc-accent, #a479e2); }
.bc-validation-metric__value.is-danger { color: var(--bc-danger); }
.bc-validation-metric__label { font-size: 12px; color: var(--bc-text-muted); margin-top: 6px; }

/* ---- Active Work: compact rows instead of heavy cards ---- */
.bc-worktable { width: 100%; border-collapse: collapse; font-size: 13px; }
.bc-worktable th { text-align: left; text-transform: uppercase; font-size: 10.5px; letter-spacing: .05em; color: var(--bc-text-muted); font-weight: 700; padding: 0 12px 10px; border-bottom: 1px solid var(--bc-border); }
.bc-worktable td { padding: 12px; border-bottom: 1px solid var(--bc-border); vertical-align: middle; color: var(--bc-text); }
.bc-worktable tbody tr:last-child td { border-bottom: none; }
.bc-worktable tbody tr { cursor: pointer; transition: background-color var(--bc-speed-fast) var(--bc-ease); }
.bc-worktable tbody tr:hover td { background: var(--bc-bg); }
.bc-worktable tbody tr:hover td:first-child { box-shadow: inset 3px 0 0 var(--bc-primary); }
.bc-worktable__task { font-weight: 600; color: var(--bc-text); }
.bc-worktable__meta { font-size: 11px; color: var(--bc-text-muted); margin-top: 2px; }
.bc-worktable__time { font-family: var(--bc-font-mono); font-size: 12.5px; }

/* ---- Responsive: dashboard-specific ---- */
@media (max-width: 767px) {
	.bc-dept-row { flex-wrap: wrap; row-gap: 6px; }
	.bc-dept-row__label { flex: 1 1 auto; }
	.bc-dept-row__bar { flex: 1 1 100%; order: 3; }
	.bc-dept-row__meta { flex: 0 0 auto; }
	.bc-worktable thead { display: none; }
	.bc-worktable, .bc-worktable tbody, .bc-worktable tr, .bc-worktable td { display: block; width: 100%; }
	.bc-worktable tr { border-bottom: 1px solid var(--bc-border); padding: 10px 0; }
	.bc-worktable td { border-bottom: none; padding: 3px 0; }
	.bc-worktable td::before { content: attr(data-label); display: inline-block; min-width: 92px; font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--bc-text-muted); }
}
