/* Local fonts only — no external CDN */
@font-face {
	font-family: "Vazirmatn";
	src: url("../fonts/Vazirmatn-Regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Vazirmatn";
	src: url("../fonts/Vazirmatn-Medium.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Vazirmatn";
	src: url("../fonts/Vazirmatn-SemiBold.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Vazirmatn";
	src: url("../fonts/Vazirmatn-Bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* Google Material 3 tokens */
:root {
	--rc-bg: #f8fafd;
	--rc-ink: #1f1f1f;
	--rc-muted: #444746;
	--rc-primary: #1a73e8;
	--rc-primary-hover: #1765cc;
	--rc-primary-press: #1557b0;
	--rc-primary-soft: #e8f0fe;
	--rc-on-primary: #ffffff;
	--rc-secondary-container: #c2e7ff;
	--rc-on-secondary-container: #001e2f;
	--rc-accent: #0b57d0;
	--rc-in: #146c2e;
	--rc-in-container: #c4eed0;
	--rc-on-in-container: #002106;
	--rc-in-soft: #c4eed0;
	--rc-out: #b3261e;
	--rc-out-container: #f9dedc;
	--rc-on-out-container: #410002;
	--rc-out-soft: #f9dedc;
	--rc-surface: #ffffff;
	--rc-surface-2: #e9eef6;
	--rc-surface-highest: #e1e3e1;
	--rc-outline: #747775;
	--rc-outline-variant: #c4c7c5;
	--rc-line: #c4c7c5;
	--rc-danger: #b3261e;
	--rc-ok: #146c2e;
	--rc-warn: #7a5900;
	--rc-warn-soft: #fef7e0;
	--rc-radius: 16px;
	--rc-radius-sm: 12px;
	--rc-radius-xs: 4px;
	--rc-radius-pill: 999px;
	--rc-phone-w: 390px;
	--rc-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.15);
	--rc-shadow-lg: 0 4px 8px 3px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.3);
	--rc-font: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
	--rc-safe-bottom: env(safe-area-inset-bottom, 0px);
	--rc-safe-top: env(safe-area-inset-top, 0px);
	--rc-nav-h: 64px;
	--rc-state-hover: rgba(11, 87, 208, 0.08);
	--rc-state-press: rgba(11, 87, 208, 0.12);
	--rc-chip-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
	--rc-maps-chip-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 2px 6px 2px rgba(60, 64, 67, 0.15);
	--rc-maps-chip-shadow-active: 0 1px 3px 1px rgba(60, 64, 67, 0.2), 0 4px 8px 3px rgba(60, 64, 67, 0.15);
}

html.rollcall-html,
body.rollcall-body {
	margin: 0;
	width: 100%;
	height: 100%;
	max-height: 100%;
	overflow: hidden;
	overscroll-behavior: none;
	touch-action: manipulation;
	background: var(--rc-bg);
	font-family: var(--rc-font);
	color: var(--rc-ink);
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: transparent;
}

.rollcall-body {
	min-height: 100dvh;
	height: 100dvh;
}

/* Hide WordPress chrome inside the app shell */
body.rollcall-app-body #wpadminbar {
	display: none !important;
}

html.rollcall-html {
	margin-top: 0 !important;
}

body.rollcall-app-body {
	margin-top: 0 !important;
}

.rc-shell,
.rc-shell-fullscreen {
	height: 100dvh;
	max-height: 100dvh;
	width: 100%;
	display: grid;
	place-items: stretch;
	padding: 0;
	box-sizing: border-box;
	overflow: hidden;
	background: var(--rc-bg);
}

.rc-phone,
.rc-phone-fullscreen {
	width: 100%;
	height: 100dvh;
	max-height: 100dvh;
	background: var(--rc-bg);
	border-radius: 0;
	box-shadow: none;
	border: 0;
	overflow: hidden;
	position: relative;
	display: flex;
	flex-direction: column;
}

/* Immersive app mode (installed PWA / iOS Add to Home Screen) */
@media (display-mode: standalone) {
	html.rollcall-html,
	body.rollcall-body {
		background: var(--rc-bg);
	}
	.rc-shell,
	.rc-phone {
		height: 100dvh;
		max-height: 100dvh;
		border-radius: 0;
		box-shadow: none;
		border: 0;
	}
}

.rc-status-bar[hidden] {
	display: none !important;
}

.rc-status-bar {
	flex: 0 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: calc(10px + var(--rc-safe-top)) 16px 10px;
	font-size: 13px;
	color: var(--rc-muted);
	border-bottom: 1px solid rgba(196, 199, 197, 0.55);
	background: var(--rc-surface);
	z-index: 5;
}

.rc-brand {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: var(--rc-primary);
}

.rc-brand-mark {
	width: 28px;
	height: 28px;
	border-radius: 8px;
	display: grid;
	place-items: center;
	background: var(--rc-primary);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
}

.rc-clock {
	font-variant-numeric: tabular-nums;
	font-weight: 500;
}

.rc-screen {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
	padding: calc(12px + var(--rc-safe-top)) 16px calc(16px + var(--rc-safe-bottom));
	background: var(--rc-bg);
	position: relative;
}

.rc-screen[data-screen='home'] {
	padding-bottom: calc(16px + var(--rc-safe-bottom));
}

.rc-screen-fixed {
	overflow: hidden;
}

.rc-screen-scroll {
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.rc-screen[data-screen='login'] {
	padding-bottom: calc(24px + var(--rc-safe-bottom));
	background: var(--rc-bg);
}

.rc-screen[data-screen='login'] .rc-m3-field-label {
	background: var(--rc-bg);
}

.rc-login-layout,
.rc-home-layout {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	will-change: transform;
}

.rc-hero {
	text-align: center;
	padding: 18px 0 10px;
	flex: 0 0 auto;
}

.rc-logo {
	width: 64px;
	height: 64px;
	margin: 0 auto 14px;
	border-radius: 16px;
	display: grid;
	place-items: center;
	background: var(--rc-primary);
	color: #fff;
	font-weight: 700;
	font-size: 20px;
	box-shadow: none;
}

.rc-hero h1 {
	margin: 0 0 4px;
	font-size: 1.45rem;
	font-weight: 500;
	color: var(--rc-ink);
}

.rc-hero p,
.rc-muted,
.rc-hint,
.rc-geo-note {
	color: var(--rc-muted);
	margin: 0;
}

.rc-form {
	display: grid;
	gap: 16px;
	margin-top: 8px;
}

.rc-form-login {
	flex: 1 1 auto;
	align-content: start;
	gap: 20px;
	padding: 0 4px;
}

.rc-form label:not(.rc-m3-field),
.rc-field {
	display: grid;
	gap: 6px;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--rc-muted);
}

.rc-field-label {
	padding-inline-start: 4px;
}

/* M3 outlined text field */
.rc-m3-field {
	position: relative;
	display: block;
	width: 100%;
}

.rc-m3-field input {
	width: 100%;
	box-sizing: border-box;
	height: 56px;
	margin: 0;
	padding: 16px 16px 8px;
	border: 1px solid var(--rc-outline);
	border-radius: var(--rc-radius-xs);
	background: transparent;
	font: inherit;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--rc-ink);
	outline: none;
	caret-color: var(--rc-primary);
	transition: border-color 0.15s ease, border-width 0.15s ease;
}

.rc-m3-field-label {
	position: absolute;
	inset-inline-start: 12px;
	top: 50%;
	transform: translateY(-50%);
	padding: 0 4px;
	background: var(--rc-bg);
	color: var(--rc-muted);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1;
	pointer-events: none;
	transition: top 0.15s ease, transform 0.15s ease, font-size 0.15s ease, color 0.15s ease;
}

.rc-m3-field input:focus {
	border-color: var(--rc-primary);
	border-width: 2px;
	padding: 15px 15px 7px;
}

.rc-m3-field input:focus + .rc-m3-field-label,
.rc-m3-field input:not(:placeholder-shown) + .rc-m3-field-label {
	top: 0;
	transform: translateY(-50%);
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--rc-primary);
}

.rc-m3-field input:not(:focus):not(:placeholder-shown) + .rc-m3-field-label {
	color: var(--rc-muted);
}

.rc-form > label:not(.rc-m3-field) > input,
.rc-form > label:not(.rc-m3-field) > select,
.rc-form > label:not(.rc-m3-field) > textarea,
.rc-form select,
.rc-form textarea {
	width: 100%;
	box-sizing: border-box;
	min-height: 56px;
	border: 1px solid var(--rc-outline);
	background: transparent;
	border-radius: var(--rc-radius-xs);
	padding: 16px;
	font: inherit;
	font-size: 1rem;
	color: var(--rc-ink);
	outline: none;
	transition: border-color 0.15s ease;
}

.rc-form textarea {
	min-height: 96px;
	resize: vertical;
}

.rc-form textarea::placeholder,
.rc-form input::placeholder {
	color: #9aa0a6;
	opacity: 1;
}

.rc-time-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 10px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.rc-time-row label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
}

.rc-time-row input[type='time'] {
	width: 100%;
	max-width: 100%;
	min-width: 0 !important;
	box-sizing: border-box;
	font-size: 0.92rem;
	padding: 12px 8px !important;
}

.rc-form input[type='file'] {
	min-height: 48px;
	padding: 10px 12px;
	font-size: 0.9rem;
}

.rc-leave-today-panel {
	margin-top: 20px;
}

.rc-form > label:not(.rc-m3-field) > input:focus,
.rc-form > label:not(.rc-m3-field) > select:focus,
.rc-form > label:not(.rc-m3-field) > textarea:focus,
.rc-form select:focus,
.rc-form textarea:focus {
	border-color: var(--rc-primary);
	border-width: 2px;
	padding: 15px;
}

/* M3 buttons */
.rc-btn {
	appearance: none;
	border: 0;
	border-radius: var(--rc-radius-pill);
	min-height: 40px;
	padding: 10px 24px;
	font: inherit;
	font-weight: 500;
	font-size: 0.875rem;
	letter-spacing: 0.01em;
	line-height: 1.25;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transition: background 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease, color 0.15s ease;
	position: relative;
	overflow: hidden;
}

.rc-btn:active:not(:disabled):not([aria-disabled='true']) {
	opacity: 0.92;
}

.rc-btn:disabled,
.rc-btn[aria-disabled='true'] {
	opacity: 1;
	cursor: not-allowed;
	box-shadow: none !important;
	background: #e8eaed !important;
	color: #9aa0a6 !important;
	border-color: transparent !important;
}

.rc-btn-block {
	width: 100%;
	min-height: 48px;
	margin-top: 4px;
	font-size: 0.95rem;
}

/* Match WP admin RollCall outlined buttons (ویرایش / حذف) */
.rc-btn-admin {
	background: #fff;
	border: 1px solid #dadce0;
	color: #1a73e8;
	border-radius: 20px;
	min-height: 40px;
	height: 40px;
	padding: 0 22px;
	font-weight: 600;
	font-size: 14px;
	box-shadow: none;
}

.rc-btn-admin.rc-btn-block {
	min-height: 40px;
	height: 40px;
	margin-top: 8px;
}

.rc-btn-admin:hover:not(:disabled):not([aria-disabled='true']) {
	background: #e8f0fe;
	border-color: #c6dafc;
	color: #1a73e8;
	box-shadow: none;
}

.rc-btn-admin:focus:not(:disabled):not([aria-disabled='true']) {
	background: #e8f0fe;
	border-color: #1a73e8;
	color: #1a73e8;
	box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2);
	outline: none;
}

.rc-btn-admin:active:not(:disabled):not([aria-disabled='true']) {
	opacity: 1;
	background: #d2e3fc;
}

.rc-btn-filled,
.rc-btn-primary,
.rc-btn-tonal,
.rc-btn-in,
.rc-btn-out {
	background: #1a73e8;
	color: #ffffff;
	box-shadow: none;
	border-radius: 24px;
}

.rc-btn-filled:hover:not(:disabled):not([aria-disabled='true']),
.rc-btn-primary:hover:not(:disabled):not([aria-disabled='true']),
.rc-btn-tonal:hover:not(:disabled):not([aria-disabled='true']),
.rc-btn-in:hover:not(:disabled):not([aria-disabled='true']),
.rc-btn-out:hover:not(:disabled):not([aria-disabled='true']) {
	background: #1765cc;
	box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.rc-btn-text,
.rc-btn-ghost {
	background: transparent;
	color: #1a73e8;
	min-height: 40px;
	padding: 10px 12px;
	border-radius: 24px;
}

.rc-btn-text:hover:not(:disabled):not([aria-disabled='true']),
.rc-btn-ghost:hover:not(:disabled):not([aria-disabled='true']) {
	background: rgba(26, 115, 232, 0.08);
}

.rc-btn-text:disabled,
.rc-btn-text[aria-disabled='true'],
.rc-btn-ghost:disabled,
.rc-btn-ghost[aria-disabled='true'] {
	background: transparent !important;
	color: #9aa0a6 !important;
}

.rc-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin: 14px 0 10px;
	flex: 0 0 auto;
}

.rc-actions .rc-btn {
	min-height: 48px;
	font-size: 0.9rem;
	font-weight: 500;
}

.rc-actions.rc-actions-single {
	grid-template-columns: 1fr;
}

.rc-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 10px;
	flex: 0 0 auto;
}

.rc-header-compact {
	margin-bottom: 8px;
	align-items: center;
}

/* RTL: first child (hamburger) sits on the right */
.rc-header-compact .rc-menu-toggle {
	order: 0;
	flex: 0 0 auto;
}

.rc-header-compact .rc-header-title {
	order: 1;
	flex: 1 1 auto;
	min-width: 0;
	text-align: right;
}

.rc-back-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	flex-direction: row-reverse;
}

.rc-back-icon {
	display: inline-flex;
	font-size: 1.35rem;
	line-height: 1;
	font-weight: 400;
	transform: translateY(-1px);
}

.rc-greeting {
	font-size: 0.8rem;
}

.rc-header h2 {
	margin: 2px 0 0;
	font-size: 1.2rem;
	font-weight: 500;
	font-family: var(--rc-font);
}

.rc-staff-name-row {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--rc-font);
	font-weight: 500;
}

.rc-staff-name-row #staff-name {
	font-family: inherit;
	font-weight: inherit;
}

.rc-verified {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	line-height: 0;
}

.rc-verified .rc-verified-fill {
	fill: #9aa0a6;
}

.rc-verified.is-blue .rc-verified-fill {
	fill: #1d9bf0;
}

.rc-verified.is-gold .rc-verified-fill {
	fill: #eab308;
}

.rc-verified.is-gray .rc-verified-fill {
	fill: #9aa0a6;
}

.rc-manager-only[hidden] {
	display: none !important;
}

.rc-link {
	background: none;
	border: 0;
	color: var(--rc-primary);
	font: inherit;
	font-weight: 500;
	font-size: 0.875rem;
	cursor: pointer;
	padding: 8px 12px;
	border-radius: var(--rc-radius-pill);
}

.rc-link:hover {
	background: var(--rc-state-hover);
}

.rc-home-links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	justify-content: center;
	margin-top: auto;
	padding-top: 4px;
	flex: 0 0 auto;
}

.rc-home-links .rc-btn-text {
	font-size: 0.85rem;
}

.rc-status-panel {
	background: var(--rc-surface);
	border: 1px solid rgba(196, 199, 197, 0.7);
	border-radius: 20px;
	padding: 14px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

/* Collapsible today's punches / form panels */
.rc-traffic-panel {
	margin-top: 10px;
	background: var(--rc-surface);
	border: 1px solid rgba(196, 199, 197, 0.7);
	border-radius: 16px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
	overflow: hidden;
	flex: 0 0 auto;
	min-height: auto;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.rc-traffic-summary {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 14px;
	cursor: pointer;
	user-select: none;
	font-weight: 500;
	color: var(--rc-ink);
}

.rc-traffic-summary::-webkit-details-marker {
	display: none;
}

.rc-traffic-title {
	flex: 1 1 auto;
	font-size: 0.92rem;
}

.rc-traffic-count {
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--rc-primary-soft);
	color: var(--rc-primary);
	font-size: 0.75rem;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.rc-traffic-chevron {
	width: 8px;
	height: 8px;
	border-inline-end: 2px solid var(--rc-muted);
	border-bottom: 2px solid var(--rc-muted);
	transform: rotate(45deg);
	transition: transform 0.15s ease;
	margin-top: -4px;
}

.rc-traffic-panel[open] .rc-traffic-chevron {
	transform: rotate(-135deg);
	margin-top: 2px;
}

.rc-traffic-panel .rc-timeline {
	margin: 0;
	padding: 0 14px 12px;
	max-height: 140px;
	overflow-y: auto;
}

.rc-status-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
	padding: 8px 12px;
	border-radius: var(--rc-radius-pill);
	background: var(--rc-surface-2);
	max-width: 100%;
}

.rc-status-chip.is-work,
.rc-status-chip.is-at_work {
	background: var(--rc-in-soft);
	color: var(--rc-ok);
}

.rc-status-chip.is-friday_work,
.rc-status-chip.is-holiday_work {
	background: #e8f0fe;
	color: #1a73e8;
}

.rc-status-chip.is-mission {
	background: var(--rc-primary-soft);
	color: var(--rc-primary);
}

.rc-status-chip.is-leave,
.rc-status-chip.is-on_leave,
.rc-status-chip.is-leave_overstay {
	background: var(--rc-warn-soft);
	color: var(--rc-warn);
}

.rc-status-chip.is-away,
.rc-status-chip.is-none {
	background: var(--rc-surface-2);
	color: var(--rc-muted);
}

.rc-status-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
	flex: 0 0 auto;
}

.rc-today-status {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 600;
	color: inherit;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rc-meta-line {
	margin: 8px 0 0;
	font-size: 0.78rem;
	line-height: 1.45;
	color: var(--rc-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.rc-timeline {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
	display: grid;
	gap: 6px;
	min-height: 0;
	overflow: hidden;
}

.rc-timeline-compact {
	flex: 1 1 auto;
}

.rc-timeline li {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	font-size: 0.82rem;
	padding: 6px 0 0;
	border-top: 1px solid rgba(196, 199, 197, 0.55);
	color: var(--rc-muted);
}

.rc-geo-note {
	display: none !important;
}

/* Hamburger + drawer (right side) */
.rc-menu-toggle {
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 22px;
	background: #e8f0fe;
	color: #1a73e8;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	flex: 0 0 auto;
}

.rc-menu-bars,
.rc-menu-bars::before,
.rc-menu-bars::after {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	position: relative;
}

.rc-menu-bars::before,
.rc-menu-bars::after {
	content: '';
	position: absolute;
	left: 0;
}

.rc-menu-bars::before {
	top: -6px;
}

.rc-menu-bars::after {
	top: 6px;
}

body.rc-drawer-open {
	overflow: hidden;
}

.rc-drawer {
	position: absolute;
	inset: 0;
	z-index: 40;
	pointer-events: none;
	visibility: hidden;
	transition: visibility 0s linear 0.32s;
}

.rc-drawer.is-open {
	pointer-events: auto;
	visibility: visible;
	transition-delay: 0s;
}

.rc-drawer[hidden] {
	display: none !important;
}

.rc-drawer-backdrop {
	position: absolute;
	inset: 0;
	border: 0;
	padding: 0;
	margin: 0;
	background: rgba(32, 33, 36, 0.45);
	cursor: pointer;
	z-index: 1;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.rc-drawer.is-open .rc-drawer-backdrop {
	opacity: 1;
}

.rc-drawer-panel {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: auto;
	width: min(86%, 320px);
	max-width: 320px;
	background: #fff;
	box-shadow: -4px 0 24px rgba(60, 64, 67, 0.28);
	display: flex;
	flex-direction: column;
	padding: calc(12px + var(--rc-safe-top)) 0 calc(16px + var(--rc-safe-bottom));
	z-index: 2;
	transform: translateX(104%);
	transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
	will-change: transform;
}

.rc-drawer.is-open .rc-drawer-panel {
	transform: translateX(0);
}

.rc-drawer-profile-block {
	border-bottom: 1px solid #e8eaed;
	padding-bottom: 4px;
}

.rc-drawer-profile {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 8px 16px 12px;
	border: 0;
	background: transparent;
	cursor: pointer;
	font: inherit;
	color: inherit;
	text-align: right;
}

.rc-drawer-profile:active {
	background: #f8fafd;
}

.rc-drawer-avatar {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #1a73e8;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--rc-font);
	font-weight: 500;
	font-size: 1.1rem;
	background-size: cover;
	background-position: center;
	flex: 0 0 auto;
}

.rc-drawer-avatar.has-photo {
	background-color: #e8eaed;
}

.rc-drawer-profile-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	flex: 1 1 auto;
	text-align: right;
}

.rc-drawer-name-row {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
}

.rc-drawer-name {
	font-family: var(--rc-font);
	font-size: 1rem;
	font-weight: 500;
	color: #202124;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rc-drawer-mobile {
	font-family: var(--rc-font);
	font-size: 0.82rem;
	font-weight: 400;
	color: #5f6368;
}

.rc-drawer-profile-chevron {
	width: 10px;
	height: 10px;
	border-right: 2px solid #5f6368;
	border-bottom: 2px solid #5f6368;
	transform: rotate(45deg);
	transition: transform 0.22s ease;
	flex: 0 0 auto;
	margin-left: 4px;
}

.rc-drawer-profile[aria-expanded="true"] .rc-drawer-profile-chevron {
	transform: rotate(-135deg);
	margin-top: 4px;
}

.rc-drawer-profile-details {
	display: grid;
	grid-template-rows: 0fr;
	opacity: 0;
	overflow: hidden;
	transition: grid-template-rows 0.3s ease, opacity 0.24s ease;
	padding: 0 16px;
}

.rc-drawer-profile-details.is-open {
	grid-template-rows: 1fr;
	opacity: 1;
	padding-bottom: 12px;
}

.rc-drawer-profile-details-inner {
	overflow: hidden;
	display: grid;
	gap: 8px;
	padding-top: 10px;
	min-height: 0;
}

.rc-drawer-detail {
	margin: 0;
	font-size: 0.82rem;
	font-weight: 400;
	color: #5f6368;
	line-height: 1.45;
	text-align: right;
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.rc-drawer-detail-ico {
	display: inline-flex;
	flex: 0 0 auto;
	color: #80868b;
	margin-top: 1px;
}

.rc-drawer-detail[hidden] {
	display: none !important;
}

.rc-drawer-depts {
	align-items: flex-start;
}

.rc-drawer-depts-list {
	display: grid;
	gap: 4px;
	flex: 1 1 auto;
	min-width: 0;
}

.rc-drawer-dept-line {
	margin: 0;
	font-size: inherit;
	font-weight: 400;
	color: inherit;
}

.rc-drawer-dept-line.is-manager-dept {
	font-weight: 700;
	color: #202124;
}

#drawer-shift-info[hidden],
#drawer-leave-balance[hidden],
#drawer-edu-balance[hidden] {
	display: none !important;
}

.rc-history-filter {
	margin-bottom: 12px;
}

.rc-history-line {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: nowrap;
}

.rc-history-line strong {
	flex: 0 0 auto;
}

.rc-history-meta {
	flex: 1 1 auto;
	text-align: left;
	direction: ltr;
	color: var(--rc-muted, #5f6368);
	font-size: 0.85rem;
	white-space: nowrap;
}

.rc-form-panel {
	margin-top: 8px;
	/* Don't flex-shrink inside scroll screens — was clipping the open form halfway. */
	flex: 0 0 auto;
	min-height: auto;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	overflow: hidden;
}

.rc-form-panel .rc-form {
	margin-top: 4px;
	padding: 4px 14px 16px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	min-width: 0;
}

.rc-form-panel .rc-form > label,
.rc-form-panel .rc-form > .rc-time-row,
.rc-form-panel .rc-form > .rc-btn,
.rc-form-panel .rc-form > select,
.rc-form-panel .rc-form > textarea {
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.rc-wr-form > select,
.rc-wr-form > textarea {
	width: 100%;
	display: block;
	margin: 0 0 10px;
	font: inherit;
	padding: 12px;
	border: 1px solid var(--rc-line, #e0e3e7);
	border-radius: 12px;
	background: var(--rc-surface, #fff);
	color: var(--rc-ink, #1f1f1f);
}

.rc-wr-form > textarea {
	min-height: 64px;
	resize: vertical;
}

#screen-work-report.rc-screen-scroll {
	overflow: hidden;
}

#screen-work-report .rc-form-panel {
	margin-bottom: 8px;
}

#screen-work-report .rc-muted {
	margin-bottom: 8px;
}

.rc-form-panel .rc-time-row input[type='time'] {
	/* Override focus rule that bumps padding and can overflow the card. */
	padding: 12px 8px !important;
}

.rc-form-panel .rc-time-row input[type='time']:focus {
	padding: 11px 7px !important;
	border-width: 2px;
}

.rc-inactive-banner {
	margin-top: 16px;
	padding: 14px 16px;
	border-radius: var(--rc-radius-sm, 12px);
	background: #fce8e6;
	color: #c5221f;
	text-align: center;
}

.rc-inactive-banner p {
	margin: 6px 0 0;
	font-size: 0.9rem;
}

.rc-actions.is-disabled,
.rc-drawer-item.is-disabled {
	opacity: 0.45;
	pointer-events: none;
}

.rc-drawer-profile-form {
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	display: grid;
	gap: 8px;
}

.rc-drawer-profile-form label {
	display: grid;
	gap: 4px;
	font-size: 0.8rem;
	color: #5f6368;
}

.rc-drawer-profile-form input[type='email'],
.rc-drawer-profile-form input[type='password'],
.rc-drawer-profile-form input[type='tel'] {
	padding: 8px 10px;
	border: 1px solid #dadce0;
	border-radius: 8px;
	font-size: 0.9rem;
}

.rc-btn-sm {
	padding: 8px 12px;
	font-size: 0.85rem;
}

.rc-jdp-days button.is-selected {
	background: var(--rc-primary) !important;
	color: #fff !important;
}

.rc-jdp-days button.is-today:not(.is-selected) {
	box-shadow: inset 0 0 0 1.5px var(--rc-primary);
}

.rc-jdp-head strong {
	font-weight: 600;
	font-size: 0.95rem;
}

.rc-count-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	margin-right: 6px;
	border-radius: 999px;
	background: #9aa0a6;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 600;
	line-height: 1;
	vertical-align: middle;
}

.rc-count-badge[hidden] {
	display: none !important;
}

.rc-dept-tabs {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	overflow-x: auto;
	padding: 4px 0 12px;
	-webkit-overflow-scrolling: touch;
}

.rc-dept-tabs[hidden] {
	display: none !important;
}

.rc-dept-tab {
	flex: 0 0 auto;
	border: 1px solid #dadce0;
	background: #fff;
	color: #5f6368;
	border-radius: 999px;
	padding: 8px 14px;
	font: inherit;
	font-size: 0.85rem;
	font-weight: 500;
	cursor: pointer;
	white-space: nowrap;
}

.rc-dept-tab.is-active {
	background: #e8f0fe;
	border-color: #1a73e8;
	color: #1a73e8;
}

.rc-approvals-root {
	display: grid;
	gap: 10px;
}

.rc-approve-group {
	background: var(--rc-surface);
	border: 1px solid rgba(196, 199, 197, 0.7);
	border-radius: 16px;
	overflow: hidden;
}

.rc-approve-group > summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	font-weight: 500;
	font-size: 0.95rem;
	color: #202124;
	user-select: none;
}

.rc-approve-group > summary::-webkit-details-marker {
	display: none;
}

.rc-approve-group-ico {
	display: inline-flex;
	color: #5f6368;
}

.rc-approve-group-title {
	flex: 1 1 auto;
	text-align: right;
}

.rc-approve-group-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: #e8eaed;
	color: #5f6368;
	font-size: 0.72rem;
	font-weight: 600;
}

.rc-approve-group-chevron {
	width: 8px;
	height: 8px;
	border-right: 2px solid #5f6368;
	border-bottom: 2px solid #5f6368;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
	margin-left: 2px;
}

.rc-approve-group[open] > summary .rc-approve-group-chevron {
	transform: rotate(-135deg);
	margin-top: 4px;
}

.rc-approve-group .rc-list {
	margin: 0;
	padding: 0 10px 10px;
	border-top: 1px solid #e8eaed;
}

.rc-approvals-approved-panel {
	margin-top: 16px;
}

.rc-approvals-approved-body {
	padding: 0 12px 12px;
}

.rc-approved-subgroup {
	margin-top: 8px;
}

.rc-approved-subgroup-title {
	margin: 0 0 6px;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--rc-muted, #5f6368);
}

.rc-approved-item .rc-badge {
	margin-top: 0;
	margin-right: 6px;
	vertical-align: middle;
}

.rc-drawer-nav {
	display: flex;
	flex-direction: column;
	padding: 8px;
	gap: 4px;
	overflow-y: auto;
}

.rc-drawer-item {
	border: 0;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-direction: row;
	gap: 12px;
	width: 100%;
	text-align: right;
	padding: 14px 14px;
	border-radius: 16px;
	font: inherit;
	font-family: var(--rc-font);
	font-size: 0.95rem;
	font-weight: 500;
	color: #202124;
	cursor: pointer;
}

.rc-drawer-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	color: #5f6368;
}

.rc-drawer-item-label {
	flex: 1 1 auto;
	text-align: right;
}

.rc-drawer-item:active {
	background: #e8f0fe;
	color: #1a73e8;
}

.rc-drawer-item:active .rc-drawer-ico {
	color: #1a73e8;
}

.rc-drawer-logout {
	margin-top: 8px;
	color: #d93025;
	border-top: 1px solid #e8eaed;
	border-radius: 0 0 16px 16px;
}

.rc-drawer-logout .rc-drawer-ico {
	color: #d93025;
}

.rc-drawer-logout:active {
	background: #fce8e6;
	color: #d93025;
}

.rc-drawer-logout:active .rc-drawer-ico {
	color: #d93025;
}

.rc-home-notices {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 10px;
	flex: 0 0 auto;
	max-height: 42%;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 2px 0 4px;
	-webkit-overflow-scrolling: touch;
}

.rc-home-notices[hidden] {
	display: none !important;
}

.rc-notice {
	position: relative;
	background: var(--rc-surface);
	border: 1px solid rgba(196, 199, 197, 0.75);
	border-radius: 14px;
	padding: 10px 12px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
	touch-action: pan-y;
	transition: transform 0.2s ease, opacity 0.2s ease;
	will-change: transform;
}

.rc-notice.is-swiping {
	transition: none;
}

.rc-notice.is-removing {
	opacity: 0;
	transform: translateX(-120%);
}

.rc-notice-kind {
	display: block;
	font-size: 0.72rem;
	font-weight: 500;
	color: #5f6368;
	margin-bottom: 2px;
}

.rc-notice-text {
	margin: 0;
	font-size: 0.88rem;
	font-weight: 500;
	color: #202124;
	line-height: 1.4;
	text-align: right;
}

.rc-notice.is-approved {
	border-color: rgba(20, 108, 46, 0.35);
	background: #f1f8f3;
}

.rc-notice.is-rejected {
	border-color: rgba(179, 38, 30, 0.35);
	background: #fceeee;
}

.rc-notice.is-pending {
	border-color: rgba(122, 89, 0, 0.3);
	background: #fffbf0;
}

.rc-list {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.rc-list li {
	background: var(--rc-surface);
	border: 1px solid rgba(196, 199, 197, 0.7);
	border-radius: var(--rc-radius-sm);
	padding: 12px 14px;
	font-size: 0.9rem;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.rc-list .rc-badge {
	display: inline-block;
	margin-top: 6px;
	padding: 3px 10px;
	border-radius: var(--rc-radius-pill);
	font-size: 0.75rem;
	font-weight: 600;
}

.rc-badge-pending {
	background: var(--rc-warn-soft);
	color: var(--rc-warn);
}

.rc-badge-approved {
	background: var(--rc-in-soft);
	color: var(--rc-ok);
}

.rc-badge-rejected {
	background: var(--rc-out-soft);
	color: var(--rc-danger);
}

.rc-badge-draft {
	background: rgba(0, 0, 0, 0.06);
	color: #5f6368;
}

.rc-badge-pending_manager,
.rc-badge-pending_admin {
	background: var(--rc-warn-soft);
	color: var(--rc-warn);
}

.rc-wr-toolbar {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 8px 4px 12px;
}

.rc-wr-select-all {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.9rem;
}

.rc-wr-list .rc-wr-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.rc-wr-check {
	padding-top: 4px;
}

.rc-wr-body {
	flex: 1;
	min-width: 0;
}

.rc-wr-item-actions {
	display: flex;
	gap: 8px;
	margin-top: 8px;
	flex-wrap: wrap;
}

.rc-wr-check-spacer {
	width: 18px;
	flex: 0 0 18px;
}

.rc-wr-saved {
	margin-top: 22px;
	padding: 14px 14px 10px;
	background: var(--rc-surface);
	border: 1px solid rgba(196, 199, 197, 0.7);
	border-radius: 16px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.rc-wr-group {
	margin-top: 10px;
	flex: none;
}

.rc-wr-group .rc-list {
	padding: 0 12px 10px;
	margin: 0;
}

.rc-screen-swipe-out {
	transition: transform 0.24s ease, opacity 0.24s ease;
	transform: translateX(22%);
	opacity: 0;
	pointer-events: none;
}

.rc-screen-swipe-in {
	animation: rc-screen-swipe-in 0.28s ease;
}

@keyframes rc-screen-swipe-in {
	from {
		opacity: 0.55;
		transform: translateX(-10%);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.rc-wr-saved-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 6px;
}

.rc-wr-saved-head h3 {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
}

.rc-wr-saved-hint {
	margin: 0 0 10px;
	font-size: 0.85rem;
}

.rc-qty-field .rc-qty-stepper {
	display: flex;
	align-items: center;
	gap: 0;
	margin-top: 6px;
	border: 1px solid var(--rc-line);
	border-radius: var(--rc-radius-pill);
	overflow: hidden;
	background: var(--rc-surface);
	max-width: 200px;
}

.rc-qty-stepper input[type='number'] {
	flex: 1 1 auto;
	min-width: 0;
	width: 64px;
	border: 0 !important;
	border-radius: 0 !important;
	text-align: center;
	padding: 10px 4px !important;
	font-size: 1.05rem !important;
	font-weight: 600;
	-moz-appearance: textfield;
	appearance: textfield;
}

.rc-qty-stepper input[type='number']::-webkit-outer-spin-button,
.rc-qty-stepper input[type='number']::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.rc-qty-btn {
	appearance: none;
	border: 0;
	background: var(--rc-primary-soft);
	color: var(--rc-primary);
	width: 44px;
	min-height: 44px;
	font-size: 1.35rem;
	font-weight: 500;
	cursor: pointer;
	line-height: 1;
}

.rc-qty-btn:active {
	background: var(--rc-primary);
	color: #fff;
}

.rc-btn-sm {
	min-height: 32px;
	padding: 6px 14px;
	font-size: 0.8rem;
}

/* Material banner — top of phone, soft surfaces */
.rc-snackbar {
	position: absolute;
	top: calc(48px + var(--rc-safe-top));
	left: 12px;
	right: 12px;
	z-index: 55;
	pointer-events: none;
}

.rc-snackbar[hidden] {
	display: none !important;
}

.rc-snackbar-sheet {
	pointer-events: auto;
	position: relative;
	background: var(--rc-surface-2);
	color: var(--rc-ink);
	border: 1px solid rgba(196, 199, 197, 0.85);
	border-radius: 12px;
	padding: 12px 14px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
	transform: translateY(0);
	opacity: 1;
	transition: transform 0.22s ease, opacity 0.22s ease;
	touch-action: none;
	user-select: none;
}

.rc-snackbar.is-ok .rc-snackbar-sheet {
	background: var(--rc-in-soft);
	border-color: rgba(20, 108, 46, 0.25);
	color: var(--rc-ok);
}

.rc-snackbar.is-error .rc-snackbar-sheet {
	background: var(--rc-out-soft);
	border-color: rgba(179, 38, 30, 0.22);
	color: #8c1d18;
}

.rc-snackbar.is-info .rc-snackbar-sheet {
	background: var(--rc-primary-soft);
	border-color: rgba(11, 87, 208, 0.22);
	color: var(--rc-primary);
}

.rc-snackbar.is-dismissing .rc-snackbar-sheet {
	transform: translateY(-20px);
	opacity: 0;
}

.rc-snackbar-text {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.45;
	font-weight: 500;
	text-align: center;
}

/* Pull-to-refresh veil (home) — no top hint bar */
.rc-refresh-veil {
	position: absolute;
	inset: 0;
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(248, 250, 253, 0.55);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	pointer-events: all;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.rc-refresh-veil.is-open {
	opacity: 1;
	visibility: visible;
}

.rc-refresh-veil[hidden] {
	display: none !important;
}

.rc-refresh-veil-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 20px 28px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(60, 64, 67, 0.15), 0 8px 24px rgba(60, 64, 67, 0.12);
	transform: scale(0.92);
	opacity: 0.85;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.rc-refresh-veil.is-open .rc-refresh-veil-inner {
	transform: scale(1);
	opacity: 1;
}

.rc-refresh-icon {
	color: #1a73e8;
	display: block;
	animation: rc-refresh-spin 0.85s linear infinite;
	transform-origin: 50% 50%;
}

.rc-refresh-veil-label {
	font-size: 0.875rem;
	font-weight: 600;
	color: #3c4043;
}

@keyframes rc-refresh-spin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

body.rc-is-refreshing {
	overflow: hidden;
	touch-action: none;
}

@keyframes rc-spin {
	to {
		transform: rotate(360deg);
	}
}

.rc-selfie-hint {
	margin: 0 0 4px !important;
	font-size: 0.78rem !important;
	line-height: 1.3 !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: center;
}

.rc-overlay {
	position: absolute;
	inset: 0;
	background: rgba(31, 31, 31, 0.45);
	display: grid;
	place-items: end center;
	padding: 16px;
	z-index: 50;
}

.rc-overlay[hidden] {
	display: none !important;
}

.rc-overlay-card {
	width: 100%;
	max-height: calc(100% - 24px);
	overflow: auto;
	background: var(--rc-surface);
	border-radius: 28px 28px 20px 20px;
	padding: 20px;
	display: grid;
	gap: 10px;
	animation: rc-up 0.22s ease;
	box-shadow: var(--rc-shadow-lg);
}

.rc-overlay-card h3 {
	margin: 0;
	font-weight: 500;
}

.rc-overlay-card p {
	margin: 0;
	color: var(--rc-muted);
	line-height: 1.6;
	font-size: 0.92rem;
}

.rc-geo-steps {
	margin: 0;
	padding: 0 18px 0 0;
	color: var(--rc-ink);
	font-size: 0.88rem;
	line-height: 1.7;
}

.rc-overlay-selfie {
	place-items: center;
	background: rgba(31, 31, 31, 0.55);
}

.rc-selfie-card {
	max-height: calc(100% - 24px);
}

.rc-selfie-stage {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 20px;
	overflow: hidden;
	background: #1f1f1f;
}

.rc-selfie-stage video,
.rc-selfie-stage img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transform: scaleX(-1);
}

.rc-selfie-actions {
	display: grid;
	gap: 8px;
}

.rc-selfie-actions[hidden] {
	display: none !important;
}

@keyframes rc-up {
	from {
		transform: translateY(16px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.rc-screen[hidden] {
	display: none !important;
}

.rc-jdp {
	position: absolute;
	z-index: 60;
	width: 280px;
	background: var(--rc-surface);
	border: 1px solid var(--rc-line);
	border-radius: 16px;
	box-shadow: var(--rc-shadow-lg);
	padding: 12px;
	font-family: var(--rc-font);
}

.rc-jdp-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
	color: var(--rc-ink);
}

.rc-jdp-head button,
.rc-jdp-days button,
.rc-jdp-today {
	border: 0;
	background: var(--rc-primary-soft);
	border-radius: 50%;
	width: 36px;
	height: 36px;
	padding: 0;
	cursor: pointer;
	font: inherit;
	color: var(--rc-primary);
}

.rc-jdp-days button {
	width: 100%;
	height: 34px;
	border-radius: 50%;
	background: transparent;
	color: var(--rc-ink);
}

.rc-jdp-days button:hover {
	background: var(--rc-primary-soft);
}

.rc-jdp-week,
.rc-jdp-days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 2px;
	text-align: center;
	font-size: 0.8rem;
}

.rc-jdp-week {
	color: var(--rc-muted);
	margin-bottom: 4px;
}

.rc-jdp-today {
	width: 100%;
	margin-top: 8px;
	border-radius: 20px;
	background: var(--rc-primary);
	color: #fff;
	height: 40px;
}

.rc-scope-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

/* display:* rules must not override HTML hidden */
.rc-scope-row[hidden],
.leave-hourly-only[hidden],
#leave-date-to-wrap[hidden],
#leave-day-count[hidden],
#leave-time-from-wrap[hidden],
#leave-time-to-wrap[hidden] {
	display: none !important;
}

.rc-scope-row label {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 10px 12px;
	border: 1px solid var(--rc-line);
	border-radius: 20px;
	background: var(--rc-surface);
	font-size: 0.88rem;
	color: var(--rc-ink);
}

.rc-approve-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-top: 8px;
}

.rc-nav-item .rc-dot {
	display: inline-block;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	margin-right: 2px;
	border-radius: 999px;
	background: var(--rc-out);
	color: #fff;
	font-size: 0.65rem;
	line-height: 16px;
	vertical-align: middle;
}

/* Responsive / small screens / landscape */
@media (max-height: 560px) {
	.rc-screen-fixed {
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}
	.rc-login-layout .rc-hero h1 {
		font-size: 1.25rem;
	}
	.rc-login-layout .rc-hero p {
		display: none;
	}
}

@media (min-width: 768px) {
	.rc-phone-fullscreen {
		max-width: 480px;
		margin-inline: auto;
		border-inline: 1px solid var(--rc-line, #e0e3e7);
		box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02), 0 12px 40px rgba(26, 35, 50, 0.08);
	}
}

@media (prefers-reduced-motion: reduce) {
	.rc-refresh-veil,
	.rc-refresh-veil-inner,
	.rc-snackbar,
	.rc-drawer-panel,
	.rc-bottom-sheet-panel,
	.rc-bottom-sheet-backdrop {
		transition: none !important;
	}
}

/* Bottom sheet lists (leave / mission / OT / work reports) */
body.rc-sheet-open {
	overflow: hidden;
}

.rc-sheet-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	margin: 12px 0 8px;
	padding: 14px 16px;
	border: 1px solid var(--rc-line, #e0e3e7);
	border-radius: 14px;
	background: var(--rc-surface-2, #f8f9fa);
	color: var(--rc-ink, #1f1f1f);
	font: inherit;
	font-weight: 600;
	text-align: right;
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.rc-sheet-trigger:active {
	transform: scale(0.99);
}

.rc-sheet-trigger-label {
	flex: 1;
}

.rc-sheet-trigger .rc-traffic-count {
	flex-shrink: 0;
}

.rc-bottom-sheet {
	position: absolute;
	inset: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	z-index: 80;
	margin: 0;
	padding: 0;
	pointer-events: none;
	overflow: hidden;
}

.rc-bottom-sheet[hidden] {
	display: none !important;
}

.rc-bottom-sheet.is-open {
	pointer-events: auto;
}

.rc-bottom-sheet-backdrop {
	position: absolute;
	inset: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	border: 0;
	padding: 0;
	margin: 0;
	background: rgba(15, 23, 42, 0.45);
	opacity: 0;
	transition: opacity 0.36s ease;
	cursor: pointer;
	pointer-events: auto;
	z-index: 0;
	-webkit-tap-highlight-color: transparent;
}

.rc-bottom-sheet.is-open .rc-bottom-sheet-backdrop {
	opacity: 1;
}

.rc-bottom-sheet-panel {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	width: 100%;
	max-width: none;
	margin: 0;
	height: 66.666%;
	max-height: 66.666%;
	display: flex;
	flex-direction: column;
	background: var(--rc-surface, #fff);
	border-radius: 20px 20px 0 0;
	box-shadow: 0 -10px 32px rgba(15, 23, 42, 0.2);
	transform: translate3d(0, 100%, 0);
	transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
	padding-bottom: env(safe-area-inset-bottom, 0);
	will-change: transform;
	pointer-events: auto;
}

.rc-bottom-sheet.is-open .rc-bottom-sheet-panel {
	transform: translate3d(0, 0, 0);
}

.rc-bottom-sheet.is-dragging .rc-bottom-sheet-panel {
	transition: none;
}

.rc-bottom-sheet-grab {
	flex-shrink: 0;
	display: flex;
	justify-content: center;
	padding: 10px 0 4px;
	touch-action: none;
	cursor: grab;
}

.rc-bottom-sheet-grab span {
	width: 42px;
	height: 5px;
	border-radius: 999px;
	background: #c4c7c5;
}

.rc-bottom-sheet-head {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 4px 16px 12px;
	border-bottom: 1px solid var(--rc-line, #e0e3e7);
}

.rc-bottom-sheet-head h3 {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
}

.rc-bottom-sheet-body {
	flex: 1;
	min-height: 0;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	padding: 8px 12px 16px;
}

.rc-bottom-sheet-body .rc-list {
	margin: 0;
}

.rc-wr-group-block {
	margin-bottom: 16px;
}

.rc-wr-group-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin: 8px 4px 10px;
}

.rc-wr-group-head strong {
	font-size: 0.95rem;
}

