/* ═══════════════════════════════════════════════════════════════════
   GESCA STAFF · Sistema de diseño
   Tokens heredados de la familia Gesca (gescamobility.es)
   ═══════════════════════════════════════════════════════════════════ */

/* ── Fuentes autoalojadas ── */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/poppins-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/poppins-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/poppins-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/poppins-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/poppins-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/poppins-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/jetbrains-mono-latin-600-normal.woff2') format('woff2'); }

:root {
	--font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

	--ink: #202020;
	--ink-2: #333333;
	--muted: #666666;
	--faint: #9AA0A6;

	--brand: #065D86;
	--brand-2: #2574A9;
	--brand-deep: #044A6C;
	--brand-night: #063A54;

	--bg: #F2F5F7;
	--surface: #FFFFFF;
	--surface-2: #FAFBFC;
	--line: #E4E8EC;
	--line-2: #D6DDE3;

	--accent-soft: #E6EFF3;
	--blue-bg: #E6EFF3;
	--indigo-bg: #DEE9F0;

	--green: #0F7A5E;   --green-bg: #E3F2EC;
	--amber: #B7791F;   --amber-bg: #FBF3E4;
	--red: #B23B3B;     --red-bg: #FBEAEA;
	--slate: #5D5E5D;   --slate-bg: #EDEFF1;

	--radius: 12px;
	--radius-sm: 9px;
	--radius-lg: 16px;
	--radius-pill: 999px;

	--shadow-sm: 0 1px 2px rgba(32,32,32,.05), 0 1px 1px rgba(32,32,32,.04);
	--shadow: 0 4px 16px rgba(32,32,32,.06), 0 1px 3px rgba(32,32,32,.05);
	--shadow-lg: 0 12px 40px rgba(32,32,32,.12);
	--ease: cubic-bezier(.2,.7,.2,1);

	--sidebar-w: 240px;
	--topbar-h: 62px;
}

/* ── Base ── */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 14px;
	line-height: 1.5;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p { margin: 0; }
a { color: var(--brand); text-decoration: none; }
button { font-family: inherit; }
img { display: block; }
::selection { background: rgba(6,93,134,.16); }

.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* Scrollbars discretos */
* { scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 8px; }
*::-webkit-scrollbar-track { background: transparent; }

/* ── Splash de arranque ── */
.boot-splash {
	position: fixed; inset: 0; display: grid; place-items: center; background: var(--bg);
}
.boot-splash img { animation: boot-pulse 1.1s var(--ease) infinite alternate; }
@keyframes boot-pulse { from { opacity: .35; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }

/* ═══════════════════ ESTRUCTURA DE LA APLICACIÓN ═══════════════════ */

.app { min-height: 100vh; }
.shell { display: flex; min-height: 100vh; }

/* ── Sidebar ── */
.sidebar {
	position: fixed; inset: 0 auto 0 0; width: var(--sidebar-w);
	background: var(--surface); border-right: 1px solid var(--line);
	display: flex; flex-direction: column; z-index: 40;
	padding: 18px 14px 14px;
}
.sidebar-logo { display: block; padding: 4px 10px 18px; }
.sidebar-logo img { height: 34px; width: auto; }
.nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.nav-item {
	display: flex; align-items: center; gap: 11px;
	padding: 9.5px 12px; border-radius: var(--radius-sm);
	color: var(--muted); font-size: 13.5px; font-weight: 500;
	transition: .16s var(--ease); position: relative;
}
.nav-item svg { width: 19px; height: 19px; flex: 0 0 auto; }
.nav-item:hover { background: var(--surface-2); color: var(--ink); }
.nav-item.on { background: var(--accent-soft); color: var(--brand-deep); font-weight: 600; }
.nav-item .nav-badge {
	margin-left: auto; min-width: 19px; height: 19px; padding: 0 5px;
	border-radius: var(--radius-pill); background: var(--red); color: #fff;
	font-size: 10.5px; font-weight: 700; display: grid; place-items: center;
}
.sidebar-foot { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
.user-chip { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: var(--radius-sm); }
.user-chip .u-name { font-size: 13px; font-weight: 600; line-height: 1.2; }
.user-chip .u-role { font-size: 11px; color: var(--faint); }
.logout-btn {
	margin-left: auto; width: 30px; height: 30px; border: 0; background: transparent;
	border-radius: 8px; color: var(--faint); display: grid; place-items: center; cursor: pointer;
	transition: .16s var(--ease);
}
.logout-btn:hover { background: var(--red-bg); color: var(--red); }

/* ── Main ── */
.main { flex: 1; margin-left: var(--sidebar-w); min-width: 0; display: flex; flex-direction: column; }
.topbar {
	height: var(--topbar-h); display: flex; align-items: center; gap: 14px;
	padding: 0 28px; position: sticky; top: 0; z-index: 30;
	background: color-mix(in srgb, var(--bg) 82%, transparent);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.page-title { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.topbar-spacer { flex: 1; }
.content { padding: 6px 28px 46px; max-width: 1340px; width: 100%; margin: 0 auto; }

/* Transición entre vistas */
.view { animation: view-in .24s var(--ease); }
@keyframes view-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ── Barra móvil ── */
.mobile-top { display: none; }
.tabbar { display: none; }

@media (max-width: 960px) {
	.sidebar { display: none; }
	.main { margin-left: 0; }
	.topbar { display: none; }
	.mobile-top {
		display: flex; align-items: center; gap: 12px;
		position: sticky; top: 0; z-index: 30; height: 56px; padding: 0 16px;
		background: color-mix(in srgb, var(--bg) 86%, transparent);
		backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	}
	.mobile-top .mt-logo { height: 26px; }
	.mobile-top .mt-title { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
	.mobile-top .mt-spacer { flex: 1; }
	.content { padding: 4px 14px calc(86px + env(safe-area-inset-bottom)); }
	.tabbar {
		display: grid; grid-template-columns: repeat(5, 1fr);
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
		background: color-mix(in srgb, var(--surface) 92%, transparent);
		backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
		border-top: 1px solid var(--line);
		padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
	}
	.tab-item {
		display: flex; flex-direction: column; align-items: center; gap: 3px;
		padding: 5px 0 3px; border-radius: 10px; color: var(--faint);
		font-size: 10px; font-weight: 600; transition: .16s var(--ease); position: relative;
	}
	.tab-item svg { width: 21px; height: 21px; }
	.tab-item.on { color: var(--brand); }
	.tab-item:active { transform: scale(.94); }
	.tab-item .nav-badge {
		position: absolute; top: 1px; right: calc(50% - 21px);
		min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px;
		background: var(--red); color: #fff; font-size: 9.5px; font-weight: 700;
		display: grid; place-items: center;
	}
}

/* ═══════════════════ COMPONENTES ═══════════════════ */

/* ── Tarjetas ── */
.card {
	background: var(--surface); border: 1px solid var(--line);
	border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.card-pad { padding: 18px 20px; }
.card-head {
	display: flex; align-items: center; gap: 10px;
	padding: 15px 20px 0;
}
.card-head h3 { font-size: 14.5px; font-weight: 700; letter-spacing: -.01em; }
.card-head .ch-spacer { flex: 1; }
.card-link { font-size: 12.5px; font-weight: 600; color: var(--brand); }
.card-link:hover { text-decoration: underline; }
.hover-lift { transition: .18s var(--ease); }
.hover-lift:hover { transform: translateY(-1px); box-shadow: var(--shadow); }

/* ── Botones ── */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	border: 0; cursor: pointer; font-family: inherit;
	font-size: 13.5px; font-weight: 600; letter-spacing: .01em;
	padding: 10px 16px; border-radius: var(--radius);
	transition: .16s var(--ease); white-space: nowrap;
	text-decoration: none;
}
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 4px 14px rgba(6,93,134,.3); }
.btn-primary:hover { background: var(--brand-deep); }
.btn-ghost { background: var(--surface); color: var(--ink-2); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--brand-2); color: var(--brand-deep); background: var(--surface-2); }
.btn-soft { background: var(--accent-soft); color: var(--brand-deep); }
.btn-soft:hover { background: var(--indigo-bg); }
.btn-danger-soft { background: var(--red-bg); color: var(--red); }
.btn-danger-soft:hover { background: #f6dcdc; }
.btn-block { width: 100%; padding: 13px 20px; font-size: 15px; font-weight: 700; border-radius: var(--radius-lg); }
.btn-sm { padding: 7px 12px; font-size: 12.5px; border-radius: var(--radius-sm); }
.btn-icon {
	width: 34px; height: 34px; padding: 0; border-radius: var(--radius-sm);
	background: transparent; color: var(--muted); border: 0; cursor: pointer;
	display: inline-grid; place-items: center; transition: .16s var(--ease);
}
.btn-icon:hover { background: var(--slate-bg); color: var(--ink); }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ── Formularios ── */
.field { display: block; margin-bottom: 13px; }
.field-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 5px; }
.input, .select, textarea.input {
	width: 100%; font-family: inherit; font-size: 13.5px; color: var(--ink);
	background: var(--surface); border: 1.5px solid var(--line-2);
	border-radius: var(--radius-sm); padding: 9px 12px;
	transition: .16s var(--ease); outline: none; appearance: none;
}
.input::placeholder { color: var(--faint); }
.input:hover, .select:hover { border-color: #C3CDD6; }
.input:focus, .select:focus { border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(37,116,169,.14); }
.select {
	background-image: 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='%23666' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 10px center; padding-right: 32px;
}
.search-box { position: relative; }
.search-box svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--faint); pointer-events: none; }
.search-box .input { padding-left: 34px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-grid .span-2 { grid-column: span 2; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .form-grid .span-2 { grid-column: span 1; } }

/* ── Segmentado ── */
.seg {
	display: inline-flex; background: var(--slate-bg); border-radius: var(--radius-sm);
	padding: 3px; gap: 2px;
}
.seg button {
	border: 0; background: transparent; cursor: pointer; font-family: inherit;
	font-size: 12.5px; font-weight: 600; color: var(--muted);
	padding: 6px 12px; border-radius: 7px; transition: .15s var(--ease); white-space: nowrap;
}
.seg button:active { transform: scale(.96); }
.seg button.on { background: var(--surface); color: var(--brand-deep); box-shadow: var(--shadow-sm); }

/* ── Avatares ── */
.avatar {
	display: inline-grid; place-items: center; flex: 0 0 auto;
	width: 34px; height: 34px; border-radius: var(--radius-pill);
	font-size: 12px; font-weight: 700; letter-spacing: .02em;
	color: #fff; user-select: none;
}
.avatar.sm { width: 26px; height: 26px; font-size: 9.5px; }
.avatar.lg { width: 52px; height: 52px; font-size: 18px; }
.avatar.xl { width: 68px; height: 68px; font-size: 23px; }
/* Tintas de avatar: familia de azules y neutros de la marca */
.hue-0 { background: linear-gradient(135deg, #065D86, #044A6C); }
.hue-1 { background: linear-gradient(135deg, #2574A9, #065D86); }
.hue-2 { background: linear-gradient(135deg, #3E7C97, #2C5A70); }
.hue-3 { background: linear-gradient(135deg, #0E6E8C, #06485E); }
.hue-4 { background: linear-gradient(135deg, #5D5E5D, #434443); }
.hue-5 { background: linear-gradient(135deg, #4A6FA5, #33507C); }
.hue-6 { background: linear-gradient(135deg, #16697A, #0D4652); }
.hue-7 { background: linear-gradient(135deg, #7A8B99, #5A6873); }

/* ── Chips de estado (semáforo documental) ── */
.badge {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 11.5px; font-weight: 600; line-height: 1;
	padding: 5px 9px; border-radius: var(--radius-pill); white-space: nowrap;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-verde { background: var(--green-bg); color: var(--green); }
.badge-ambar { background: var(--amber-bg); color: var(--amber); }
.badge-rojo { background: var(--red-bg); color: var(--red); }
.badge-caducado { background: var(--red); color: #fff; }
.badge-neutral { background: var(--slate-bg); color: var(--slate); }
.badge-brand { background: var(--accent-soft); color: var(--brand-deep); }

/* ── Chips de turno ── */
.shift-chip {
	display: inline-flex; align-items: center; justify-content: center; gap: 5px;
	min-width: 34px; height: 30px; padding: 0 8px;
	border-radius: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .02em;
	border: 1.5px solid transparent; user-select: none;
	transition: .15s var(--ease);
}
.sc-manana { background: #E6EFF3; color: #044A6C; }
.sc-tarde { background: #2574A9; color: #fff; }
.sc-noche { background: #063a54; color: #CFE3EF; }
.sc-partido { background: linear-gradient(115deg, #E6EFF3 48%, #2574A9 52%); color: #044A6C; }
.sc-partido .sc-l2 { color: #fff; }
.sc-libre { background: transparent; color: var(--faint); border-color: var(--line-2); border-style: dashed; font-weight: 600; }
.sc-vacaciones { background: var(--green-bg); color: var(--green); }
.sc-empty { background: transparent; border: 1.5px dashed transparent; color: transparent; }

/* ═══════════════════ DASHBOARD ═══════════════════ */

.dash-hero { padding: 18px 0 4px; }
.dash-hello { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.dash-date { color: var(--muted); font-size: 13px; margin-top: 2px; }
.dash-date::first-letter { text-transform: uppercase; }

.stat-row {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
	margin: 18px 0 22px;
}
@media (max-width: 1100px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: var(--shadow-sm); padding: 16px 18px 14px; position: relative; overflow: hidden;
	transition: .18s var(--ease); cursor: pointer;
}
.stat:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.stat .st-label { font-size: 12px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.stat .st-label svg { width: 15px; height: 15px; color: var(--brand-2); }
.stat .st-value { font-size: 27px; font-weight: 800; letter-spacing: -.02em; margin-top: 6px; line-height: 1.1; }
.stat .st-sub { font-size: 11.5px; color: var(--faint); margin-top: 3px; }
.stat .st-sub .up { color: var(--green); font-weight: 700; }
.stat .st-sub .down { color: var(--amber); font-weight: 700; }
.stat.st-alert .st-value { color: var(--red); }
.stat.st-ok .st-value { color: var(--green); }

.dash-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 1100px) { .dash-grid { grid-template-columns: 1fr; } }
.dash-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

/* Hoy por establecimiento */
.today-estab { padding: 4px 0 12px; }
.te-row { display: flex; align-items: center; gap: 10px; padding: 12px 20px 10px; }
.te-dot { width: 9px; height: 9px; border-radius: 3px; transform: rotate(45deg); flex: 0 0 auto; }
.te-name { font-weight: 700; font-size: 13.5px; }
.te-cov { margin-left: auto; display: flex; gap: 4px; }
.cov-slot {
	width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center;
	font-size: 9.5px; font-weight: 800;
}
.cov-ok { background: var(--green-bg); color: var(--green); }
.cov-gap { background: var(--red-bg); color: var(--red); box-shadow: inset 0 0 0 1.5px var(--red); animation: gap-blink 1.6s var(--ease) infinite; }
@keyframes gap-blink { 0%,100% { opacity: 1; } 50% { opacity: .55; } }
.te-people { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 6px; }
.person-pill {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--surface-2); border: 1px solid var(--line);
	border-radius: var(--radius-pill); padding: 4px 12px 4px 4px;
	font-size: 12.5px; font-weight: 600; transition: .16s var(--ease); cursor: pointer;
}
.person-pill:hover { border-color: var(--brand-2); background: var(--accent-soft); }
.person-pill .pp-shift { font-size: 10.5px; color: var(--faint); font-weight: 600; }
.te-empty { padding: 2px 20px 10px; color: var(--faint); font-size: 12.5px; }

/* Listas de alertas y caducidades */
.mini-list { display: flex; flex-direction: column; padding: 8px 8px 10px; }
.mini-item {
	display: flex; align-items: flex-start; gap: 11px; padding: 10px 12px;
	border-radius: var(--radius-sm); transition: .15s var(--ease); cursor: pointer;
}
.mini-item:hover { background: var(--surface-2); }
.mini-ic {
	width: 30px; height: 30px; border-radius: 9px; flex: 0 0 auto;
	display: grid; place-items: center;
}
.mini-ic svg { width: 16px; height: 16px; }
.mi-critical { background: var(--red-bg); color: var(--red); }
.mi-warning { background: var(--amber-bg); color: var(--amber); }
.mi-info { background: var(--accent-soft); color: var(--brand-deep); }
.mini-item .mi-title { font-size: 12.8px; font-weight: 600; line-height: 1.35; }
.mini-item .mi-sub { font-size: 11.5px; color: var(--faint); margin-top: 1px; line-height: 1.4; }
.mini-item .mi-side { margin-left: auto; flex: 0 0 auto; }

/* Accesos rápidos */
.quick-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 2px; }

/* ═══════════════════ EMPLEADOS ═══════════════════ */

.emp-toolbar { display: flex; gap: 10px; align-items: center; margin: 14px 0 16px; flex-wrap: wrap; }
.emp-toolbar .search-box { flex: 1; min-width: 200px; max-width: 340px; }

.emp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(285px, 1fr)); gap: 14px; }
.emp-card {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: var(--shadow-sm); padding: 16px; cursor: pointer;
	transition: .18s var(--ease); position: relative;
}
.emp-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-2); }
.emp-card .ec-top { display: flex; gap: 12px; align-items: center; }
.emp-card .ec-name { font-size: 14px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.emp-card .ec-pos { font-size: 12px; color: var(--muted); margin-top: 1px; }
.emp-card .ec-baja { position: absolute; top: 12px; right: 12px; }
.emp-card .ec-foot { display: flex; align-items: center; gap: 8px; margin-top: 13px; }
.emp-card .ec-estab { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); font-weight: 500; }
.emp-card .ec-estab .te-dot { width: 7px; height: 7px; }
.emp-card .ec-docs { margin-left: auto; }

/* Ficha */
.emp-head { display: flex; gap: 18px; align-items: center; padding: 20px 0 16px; flex-wrap: wrap; }
.emp-head .eh-name { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.emp-head .eh-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.emp-head .eh-actions { margin-left: auto; display: flex; gap: 9px; }
@media (max-width: 700px) { .emp-head .eh-actions { margin-left: 0; width: 100%; } }

.emp-cols { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 1000px) { .emp-cols { grid-template-columns: 1fr; } }

.datalist { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: var(--radius-sm); overflow: hidden; margin: 4px 20px 18px; }
.datalist > div { background: var(--surface); padding: 10px 14px; }
.datalist .dl-k { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--faint); }
.datalist .dl-v { font-size: 13px; font-weight: 500; margin-top: 1px; word-break: break-word; }

/* Horas anuales */
.hours-block { padding: 4px 20px 18px; }
.hours-top { display: flex; align-items: baseline; gap: 8px; }
.hours-top .hv { font-size: 21px; font-weight: 800; }
.hours-top .hc { color: var(--faint); font-size: 12px; }
.progress { height: 7px; background: var(--slate-bg); border-radius: 99px; overflow: hidden; margin-top: 8px; }
.progress .p-fill { height: 100%; border-radius: 99px; background: var(--brand-2); transition: width .5s var(--ease); }
.progress .p-fill.warn { background: var(--amber); }
.progress .p-fill.over { background: var(--red); }

/* Documentos */
.doc-list { display: flex; flex-direction: column; gap: 8px; padding: 4px 16px 16px; }
.doc-row {
	display: flex; align-items: center; gap: 12px;
	border: 1px solid var(--line); border-radius: var(--radius-sm);
	padding: 10px 12px; background: var(--surface-2);
	transition: .16s var(--ease);
}
.doc-row:hover { border-color: var(--line-2); background: var(--surface); box-shadow: var(--shadow-sm); }
.doc-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft); color: var(--brand-deep); display: grid; place-items: center; flex: 0 0 auto; }
.doc-ic svg { width: 17px; height: 17px; }
.doc-t { min-width: 0; }
.doc-t .d-title { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc-t .d-sub { font-size: 11.5px; color: var(--faint); }
.doc-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }

/* Zona drag&drop */
.dropzone {
	margin: 0 16px 16px; border: 2px dashed var(--line-2); border-radius: var(--radius);
	padding: 22px 16px; text-align: center; color: var(--muted); font-size: 12.5px;
	transition: .18s var(--ease); cursor: pointer; background: var(--surface-2);
}
.dropzone:hover { border-color: var(--brand-2); color: var(--brand-deep); background: var(--accent-soft); }
.dropzone.drag { border-color: var(--brand); background: var(--accent-soft); color: var(--brand-deep); transform: scale(1.005); }
.dropzone svg { width: 22px; height: 22px; margin: 0 auto 6px; display: block; }

/* ═══════════════════ CUADRANTE ═══════════════════ */

.sch-toolbar {
	display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
	margin: 14px 0;
}
.estab-tabs { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.estab-tab {
	display: inline-flex; align-items: center; gap: 8px;
	border: 1.5px solid var(--line-2); background: var(--surface);
	border-radius: var(--radius-pill); padding: 7px 14px;
	font-size: 12.5px; font-weight: 600; color: var(--muted); cursor: pointer;
	transition: .16s var(--ease); font-family: inherit;
}
.estab-tab:hover { border-color: var(--brand-2); color: var(--ink); }
.estab-tab.on { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 4px 14px rgba(6,93,134,.25); }
.estab-tab.on .te-dot { background: #fff !important; }
.sch-week-nav { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; }
.sch-week-label { font-size: 13px; font-weight: 700; min-width: 168px; text-align: center; }
.sch-week-label small { display: block; font-weight: 500; color: var(--faint); font-size: 11px; }
@media (max-width: 960px) { .sch-week-nav { margin-left: 0; width: 100%; justify-content: space-between; } .sch-week-label { flex: 1; } }

.intensity-bar { display: flex; align-items: center; gap: 9px; margin: 2px 0 12px; flex-wrap: wrap; }
.intensity-bar .il { font-size: 12px; color: var(--muted); font-weight: 500; }
.int-baja { color: var(--slate); } .int-media { color: var(--brand-2); }
.int-alta { color: var(--amber); } .int-completo { color: var(--red); }

/* Rejilla semanal */
.sch-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); }
.sch-grid { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 830px; }
.sch-grid th, .sch-grid td { border-bottom: 1px solid var(--line); }
.sch-grid thead th {
	position: sticky; top: 0; z-index: 3; background: var(--surface-2);
	font-size: 11px; font-weight: 600; color: var(--muted);
	padding: 9px 6px; text-align: center; min-width: 84px;
}
.sch-grid thead th.today { color: var(--brand-deep); }
.sch-grid thead th.today .dnum { background: var(--brand); color: #fff; }
.sch-grid thead th .dname { text-transform: uppercase; letter-spacing: .06em; font-size: 9.5px; }
.sch-grid thead th .dnum {
	display: inline-grid; place-items: center; width: 24px; height: 24px;
	border-radius: 8px; font-size: 12px; font-weight: 700; color: var(--ink); margin-top: 3px;
}
.sch-grid thead th:first-child { text-align: left; padding-left: 14px; min-width: 190px; left: 0; z-index: 4; }
.sch-grid tbody th {
	position: sticky; left: 0; z-index: 2; background: var(--surface);
	text-align: left; padding: 8px 10px 8px 14px; font-weight: 500;
	border-right: 1px solid var(--line); min-width: 190px; max-width: 230px;
}
.sch-emp { display: flex; align-items: center; gap: 10px; }
.sch-emp .se-name { font-size: 12.8px; font-weight: 600; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sch-emp .se-pos { font-size: 10.5px; color: var(--faint); font-weight: 500; }
.sch-emp .se-meta { min-width: 0; flex: 1; }
.sch-emp .se-hours { margin-top: 3px; display: flex; align-items: center; gap: 6px; }
.sch-emp .se-hours .num { font-size: 9.5px; color: var(--faint); }
.sch-emp .mini-prog { flex: 1; max-width: 74px; height: 4px; background: var(--slate-bg); border-radius: 99px; overflow: hidden; }
.sch-emp .mini-prog i { display: block; height: 100%; background: var(--brand-2); border-radius: 99px; }
.sch-emp .mini-prog i.warn { background: var(--amber); }
.sch-emp .mini-prog i.over { background: var(--red); }

.sch-cell { padding: 5px 5px; text-align: center; position: relative; cursor: pointer; transition: background .15s var(--ease); }
.sch-cell:hover { background: var(--surface-2); }
.sch-cell.today { background: rgba(6,93,134,.035); }
.sch-cell .shift-chip { width: 100%; justify-content: center; }
.sch-cell .add-hint {
	opacity: 0; width: 100%; height: 30px; border: 1.5px dashed var(--line-2);
	border-radius: 8px; display: grid; place-items: center; color: var(--faint);
	transition: .15s var(--ease); font-size: 14px; font-weight: 600;
}
.sch-cell:hover .add-hint { opacity: 1; }
.sch-cell.conflict .shift-chip { box-shadow: 0 0 0 2px var(--red); }
.conflict-dot {
	position: absolute; top: 2px; right: 2px; width: 15px; height: 15px;
	background: var(--red); color: #fff; border-radius: 50%;
	display: grid; place-items: center; font-size: 9px; font-weight: 800;
	box-shadow: 0 1px 4px rgba(178,59,59,.5); z-index: 1;
}
.warn-dot { background: var(--amber); box-shadow: 0 1px 4px rgba(183,121,31,.5); }
.other-tag { display: block; font-size: 8.5px; font-weight: 700; letter-spacing: .02em; margin-top: 2px; line-height: 1.1; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cell-shake { animation: shake .45s var(--ease); }
@keyframes shake { 10%, 90% { transform: translateX(-1px); } 20%, 80% { transform: translateX(2px); } 30%, 70% { transform: translateX(-3px); } 50% { transform: translateX(3px); } }

/* Fila de cobertura */
.sch-grid tfoot th {
	position: sticky; left: 0; background: var(--surface-2); z-index: 2;
	text-align: left; padding: 8px 14px; font-size: 10.5px; font-weight: 600;
	color: var(--muted); border-right: 1px solid var(--line); text-transform: uppercase; letter-spacing: .05em;
}
.sch-grid tfoot td { background: var(--surface-2); padding: 7px 5px; text-align: center; }
.cov-cell { display: inline-flex; gap: 3px; }

/* Vista mensual */
.month-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); }
.month-grid { border-collapse: separate; border-spacing: 0; }
.month-grid th, .month-grid td { border-bottom: 1px solid var(--line); }
.month-grid thead th {
	font-size: 9.5px; color: var(--muted); font-weight: 600; padding: 7px 2px; min-width: 26px;
	text-align: center; background: var(--surface-2); position: sticky; top: 0;
}
.month-grid thead th.wkend { color: var(--brand-2); }
.month-grid thead th.today { background: var(--brand); color: #fff; border-radius: 6px 6px 0 0; }
.month-grid thead th:first-child, .month-grid tbody th { position: sticky; left: 0; background: var(--surface); z-index: 2; text-align: left; padding: 6px 10px 6px 14px; min-width: 150px; border-right: 1px solid var(--line); }
.month-grid tbody th { font-size: 12px; font-weight: 600; white-space: nowrap; max-width: 170px; overflow: hidden; text-overflow: ellipsis; }
.mcell { padding: 3px 2px; text-align: center; cursor: pointer; }
.mcell i {
	display: block; width: 20px; height: 20px; margin: 0 auto; border-radius: 6px;
	font-style: normal; font-size: 8.5px; font-weight: 800; line-height: 20px;
	transition: .14s var(--ease);
}
.mcell:hover i { transform: scale(1.18); }
.mc-manana i { background: #E6EFF3; color: #044A6C; }
.mc-tarde i { background: #2574A9; color: #fff; }
.mc-noche i { background: #063a54; color: #B9D6E8; }
.mc-partido i { background: linear-gradient(115deg, #E6EFF3 48%, #2574A9 52%); color: #044A6C; }
.mc-libre i { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--line-2); }
.mc-vacaciones i { background: var(--green-bg); color: var(--green); }
.mc-empty i { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: transparent; }
.mcell.conflict i { box-shadow: 0 0 0 2px var(--red); }

/* Leyenda */
.sch-legend { display: flex; gap: 14px; flex-wrap: wrap; margin: 12px 2px 0; align-items: center; }
.sch-legend .lg { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); }
.sch-legend .shift-chip { min-width: 26px; height: 22px; font-size: 9.5px; }

/* Popover selector de turno */
.popover {
	position: absolute; z-index: 70; background: var(--surface);
	border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: var(--shadow-lg); padding: 10px;
	animation: pop-in .16s var(--ease); min-width: 228px;
}
@keyframes pop-in { from { opacity: 0; transform: scale(.94) translateY(4px); } to { opacity: 1; transform: none; } }
.pop-title { font-size: 11px; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; padding: 2px 4px 8px; }
.pop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pop-opt {
	border: 1.5px solid var(--line); background: var(--surface); border-radius: 9px;
	padding: 7px 4px 6px; cursor: pointer; font-family: inherit; text-align: center;
	transition: .14s var(--ease);
}
.pop-opt:hover { border-color: var(--brand-2); background: var(--accent-soft); transform: translateY(-1px); }
.pop-opt .po-k { display: block; font-size: 13px; font-weight: 800; }
.pop-opt .po-l { display: block; font-size: 9.5px; color: var(--muted); font-weight: 600; margin-top: 1px; }
.pop-clear {
	margin-top: 7px; width: 100%; border: 0; background: var(--slate-bg); color: var(--muted);
	border-radius: 8px; padding: 7px; font-size: 11.5px; font-weight: 600; cursor: pointer;
	font-family: inherit; transition: .14s var(--ease);
}
.pop-clear:hover { background: var(--red-bg); color: var(--red); }

/* ═══════════════════ ALERTAS ═══════════════════ */

.alert-toolbar { display: flex; align-items: center; gap: 10px; margin: 14px 0 16px; flex-wrap: wrap; }
.alert-list { display: flex; flex-direction: column; gap: 10px; }
.alert-card {
	display: flex; gap: 13px; align-items: flex-start;
	background: var(--surface); border: 1px solid var(--line);
	border-left-width: 4px; border-radius: var(--radius);
	padding: 14px 16px; box-shadow: var(--shadow-sm);
	transition: .18s var(--ease); animation: view-in .22s var(--ease);
}
.alert-card:hover { box-shadow: var(--shadow); }
.alert-card.sv-critical { border-left-color: var(--red); }
.alert-card.sv-warning { border-left-color: var(--amber); }
.alert-card.sv-info { border-left-color: var(--brand-2); }
.alert-card .al-title { font-size: 13.5px; font-weight: 700; }
.alert-card .al-body { font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.alert-card .al-meta { font-size: 11px; color: var(--faint); margin-top: 6px; display: flex; gap: 10px; flex-wrap: wrap; }
.alert-card .al-actions { margin-left: auto; flex: 0 0 auto; display: flex; gap: 6px; }
.alert-card.resolving { opacity: 0; transform: translateX(14px); }

/* ═══════════════════ INFORME ═══════════════════ */

.report-toolbar { display: flex; align-items: center; gap: 10px; margin: 14px 0 18px; flex-wrap: wrap; }
.report-sheet {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: var(--shadow); max-width: 860px; margin: 0 auto;
	padding: 46px 54px 40px;
}
@media (max-width: 700px) { .report-sheet { padding: 26px 20px; } }
.rp-head { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; border-bottom: 2px solid var(--brand); }
.rp-head img { height: 40px; }
.rp-head .rp-t { margin-left: auto; text-align: right; }
.rp-head .rp-title { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.rp-head .rp-sub { font-size: 12px; color: var(--muted); }
.rp-badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 5px; }
.rp-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0 8px; }
@media (max-width: 700px) { .rp-kpis { grid-template-columns: repeat(2, 1fr); } }
.rp-kpi { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.rp-kpi .k { font-size: 10.5px; font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: .05em; }
.rp-kpi .v { font-size: 20px; font-weight: 800; margin-top: 3px; letter-spacing: -.01em; }
.rp-kpi .d { font-size: 10.5px; margin-top: 1px; color: var(--muted); }
.rp-narrative h3 { font-size: 14.5px; font-weight: 800; margin: 26px 0 8px; color: var(--brand-deep); letter-spacing: -.01em; }
.rp-narrative h4 { font-size: 13px; font-weight: 700; margin: 16px 0 6px; }
.rp-narrative p { font-size: 13.2px; line-height: 1.7; color: var(--ink-2); margin: 0 0 10px; }
.rp-narrative ul { margin: 4px 0 12px; padding-left: 20px; }
.rp-narrative li { font-size: 13.2px; line-height: 1.65; color: var(--ink-2); margin-bottom: 5px; }

/* Barras de horas por establecimiento (una sola serie, tono de marca) */
.rp-bars { margin: 18px 0 6px; display: flex; flex-direction: column; gap: 11px; }
.rp-bar { display: grid; grid-template-columns: 172px 1fr 128px; gap: 12px; align-items: center; }
@media (max-width: 700px) { .rp-bar { grid-template-columns: 110px 1fr 96px; } }
.rp-bar .b-label { font-size: 12px; font-weight: 600; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-bar .b-track { position: relative; height: 12px; background: var(--slate-bg); border-radius: 4px; }
.rp-bar .b-fill { position: absolute; inset: 0 auto 0 0; background: var(--brand); border-radius: 4px 4px 4px 4px; min-width: 3px; transition: width .6s var(--ease); }
.rp-bar .b-fill.prev { background: var(--line-2); }
.rp-bar .b-val { font-size: 11.5px; color: var(--muted); text-align: right; }
.rp-bar .b-val strong { color: var(--ink); font-weight: 700; }
.rp-table { width: 100%; border-collapse: collapse; margin: 14px 0 6px; font-size: 12.5px; }
.rp-table th { text-align: left; font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--faint); font-weight: 600; padding: 7px 10px; border-bottom: 1px solid var(--line-2); }
.rp-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); }
.rp-table td.r, .rp-table th.r { text-align: right; }
.rp-foot { margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 11px; color: var(--faint); display: flex; gap: 10px; flex-wrap: wrap; }
.rp-foot .sp { flex: 1; }

/* Estado de generación */
.report-generating { text-align: center; padding: 60px 20px; }
.gen-mark { width: 62px; height: 62px; margin: 0 auto 18px; position: relative; }
.gen-mark img { width: 100%; height: 100%; animation: boot-pulse 1s var(--ease) infinite alternate; }
.report-generating .g-t { font-weight: 700; font-size: 15px; }
.report-generating .g-s { color: var(--muted); font-size: 12.5px; margin-top: 4px; }

/* ═══════════════════ CAPAS: MODAL · TOAST · TOOLTIP ═══════════════════ */

.modal-backdrop {
	position: fixed; inset: 0; background: rgba(15,30,40,.4);
	backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
	z-index: 80; display: grid; place-items: center; padding: 20px;
	animation: fade-in .18s var(--ease);
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal {
	background: var(--surface); border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg); width: 100%; max-width: 560px;
	max-height: min(86vh, 780px); display: flex; flex-direction: column;
	animation: modal-in .22s var(--ease);
}
@keyframes modal-in { from { opacity: 0; transform: scale(.96) translateY(10px); } to { opacity: 1; transform: none; } }
.modal-head { display: flex; align-items: center; gap: 10px; padding: 18px 22px 0; }
.modal-head h3 { font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.modal-body { padding: 16px 22px 6px; overflow-y: auto; }
.modal-foot { display: flex; gap: 9px; justify-content: flex-end; padding: 12px 22px 20px; }
@media (max-width: 600px) {
	.modal-backdrop { padding: 0; align-items: end; }
	.modal { max-width: none; border-radius: 18px 18px 0 0; max-height: 92dvh; animation: sheet-in .26s var(--ease); }
	@keyframes sheet-in { from { transform: translateY(60px); opacity: .4; } to { transform: none; opacity: 1; } }
}

.toast-zone { position: fixed; z-index: 95; bottom: 22px; right: 22px; display: flex; flex-direction: column; gap: 9px; max-width: min(94vw, 380px); }
@media (max-width: 960px) { .toast-zone { bottom: calc(88px + env(safe-area-inset-bottom)); right: 12px; left: 12px; } }
.toast {
	display: flex; gap: 10px; align-items: flex-start;
	background: #202D36; color: #F0F4F7; border-radius: var(--radius);
	box-shadow: var(--shadow-lg); padding: 12px 14px; font-size: 12.8px;
	animation: toast-in .24s var(--ease);
}
@keyframes toast-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.toast.out { opacity: 0; transform: translateY(6px); transition: .25s var(--ease); }
.toast svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 1px; }
.toast.t-ok svg { color: #6CC9A8; }
.toast.t-err svg { color: #E89B9B; }
.toast.t-warn svg { color: #E5BE7A; }
.toast .t-msg b { font-weight: 700; }

.tooltip {
	position: absolute; z-index: 90; background: #202D36; color: #EDF2F6;
	font-size: 11.5px; line-height: 1.45; font-weight: 500;
	padding: 7px 10px; border-radius: 8px; max-width: 260px;
	box-shadow: var(--shadow-lg); pointer-events: none;
	animation: fade-in .12s var(--ease);
}

/* ═══════════════════ ESQUELETOS Y VACÍOS ═══════════════════ */

.skeleton { position: relative; overflow: hidden; background: var(--slate-bg); border-radius: 8px; }
.skeleton::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
	transform: translateX(-100%); animation: shimmer 1.3s infinite;
}
@keyframes shimmer { to { transform: translateX(100%); } }
.sk-line { height: 13px; margin-bottom: 9px; }
.sk-card { height: 108px; border-radius: var(--radius); }
.sk-stat { height: 92px; border-radius: var(--radius); }
.sk-row { height: 52px; border-radius: var(--radius-sm); margin-bottom: 8px; }

.empty {
	text-align: center; padding: 44px 24px; color: var(--muted);
}
.empty .e-mark { margin: 0 auto 14px; width: 74px; height: 74px; position: relative; }
.empty .e-title { font-weight: 700; font-size: 14.5px; color: var(--ink-2); }
.empty .e-sub { font-size: 12.5px; margin-top: 4px; line-height: 1.55; }
.empty .btn { margin-top: 16px; }

/* ═══════════════════ LOGIN ═══════════════════ */

.login-body {
	min-height: 100dvh; margin: 0; display: grid; place-items: center;
	background:
		radial-gradient(720px 420px at 82% -8%, rgba(6,93,134,.09), transparent 60%),
		radial-gradient(600px 420px at 8% 108%, rgba(37,116,169,.08), transparent 55%),
		var(--bg);
	padding: 24px 16px;
}
.login-wrap { width: 100%; max-width: 392px; animation: view-in .35s var(--ease); }
.login-card {
	background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
	box-shadow: var(--shadow-lg); padding: 34px 32px 28px; margin: 0;
}
.login-brand { text-align: center; margin-bottom: 24px; }
.login-logo { margin: 0 auto; height: 54px; width: auto; }
.login-tagline { color: var(--muted); font-size: 12.5px; margin-top: 9px; }
.login-error {
	display: flex; gap: 9px; align-items: center;
	background: var(--red-bg); color: var(--red);
	border-radius: var(--radius-sm); padding: 10px 12px;
	font-size: 12.5px; font-weight: 500; margin-bottom: 16px;
	animation: shake .5s var(--ease);
}
.login-error svg { flex: 0 0 auto; }
.login-remember {
	display: flex; align-items: center; gap: 8px; margin: 4px 0 18px;
	font-size: 12.5px; color: var(--muted); cursor: pointer; user-select: none;
}
.login-remember input { accent-color: var(--brand); width: 15px; height: 15px; }
.login-foot { text-align: center; color: var(--faint); font-size: 11.5px; margin-top: 18px; }

/* ═══════════════════ IMPRESIÓN (informe) ═══════════════════ */

@media print {
	body { background: #fff; }
	.sidebar, .topbar, .tabbar, .mobile-top, .report-toolbar, .toast-zone, .quick-row { display: none !important; }
	.main { margin: 0; }
	.content { padding: 0; max-width: none; }
	.report-sheet { border: 0; box-shadow: none; padding: 10mm 6mm; max-width: none; }
	.rp-bar .b-fill { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.stat, .card { box-shadow: none; }
}
