:root {
	--rp-bg: #050505;
	--rp-bg-2: #09090c;
	--rp-panel: #0e1014;
	--rp-panel-2: #12141a;
	--rp-panel-3: #171a21;
	--rp-line: rgba(255, 255, 255, 0.08);
	--rp-line-strong: rgba(255, 255, 255, 0.14);
	--rp-text: #f5f7fb;
	--rp-text-soft: #b8bfcd;
	--rp-text-dim: #8b93a3;
	--rp-orange: #ff9a00;
	--rp-orange-2: #ff7600;
	--rp-orange-soft: rgba(255, 154, 0, 0.12);
	--rp-amber: #ffb11a;
	--rp-green: #22c55e;
	--rp-green-soft: rgba(34, 197, 94, 0.16);
	--rp-blue: #4f8cff;
	--rp-blue-soft: rgba(79, 140, 255, 0.16);
	--rp-red: #ef4444;
	--rp-red-soft: rgba(239, 68, 68, 0.16);
	--rp-shadow-xl: 0 28px 70px rgba(0, 0, 0, 0.52);
	--rp-shadow-lg: 0 18px 40px rgba(0, 0, 0, 0.34);
	--rp-shadow-md: 0 10px 24px rgba(0, 0, 0, 0.22);
	--rp-radius-xl: 24px;
	--rp-radius-lg: 18px;
	--rp-radius-md: 14px;
	--rp-radius-sm: 10px;
	--rp-safe-bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
}

html,
body {
	min-height: 100vh;
	margin: 0;
	padding: 0;
	background:
		radial-gradient(circle at top center, rgba(255, 138, 0, 0.08), transparent 24%),
		linear-gradient(180deg, #040404 0%, #07080b 100%);
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body.rp-body-app {
	min-height: 100vh;
	margin: 0 !important;
	padding: 0 !important;
	background:
		radial-gradient(circle at top center, rgba(255, 138, 0, 0.08), transparent 24%),
		linear-gradient(180deg, #040404 0%, #07080b 100%);
}

body.rp-body-app.admin-bar {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

body.rp-body-app #wpadminbar,
body.rp-body-app header.wp-block-template-part,
body.rp-body-app footer.wp-block-template-part,
body.rp-body-app .wp-site-blocks > footer,
body.rp-body-app .wp-site-blocks > header,
body.rp-body-app .site-header,
body.rp-body-app .site-footer {
	display: none !important;
}

body.rp-body-app .wp-site-blocks,
body.rp-body-app main,
body.rp-body-app .entry-content,
body.rp-body-app .wp-block-post-content,
body.rp-body-app .is-layout-constrained,
body.rp-body-app .wp-block-group,
body.rp-body-app .wp-block-group__inner-container,
body.rp-body-app .wp-block-post-content.is-layout-constrained,
body.rp-body-app .wp-site-blocks > main,
body.rp-body-app .wp-block-post-content > .wp-block-group,
body.rp-body-app .wp-block-post-content > .wp-block-group > .wp-block-group__inner-container {
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}

body.rp-body-app .wp-site-blocks {
	padding-top: 0 !important;
	min-height: 100vh !important;
}

body.rp-body-app .entry-content.wp-block-post-content {
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
	padding-block-start: 0 !important;
	padding-block-end: 0 !important;
}

.rp-runner-dashboard {
	font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--rp-text);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

.rp-runner-dashboard *,
.rp-runner-dashboard *::before,
.rp-runner-dashboard *::after {
	box-sizing: border-box;
}

.rp-runner-dashboard--app {
	width: 100%;
	max-width: 100%;
	min-height: 100vh;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent;
}

.rp-runner-dashboard--logged-out {
	width: 100%;
	min-height: 100vh;
	padding: 24px 14px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.rp-runner-login-wrap {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 420px;
	width: 100%;
	margin: 0 auto;
}

.rp-runner-shell {
	width: 100%;
	min-height: 100vh;
	margin: 0 !important;
	padding: 2px 8px calc(var(--rp-safe-bottom) + 10px) !important;
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: transparent;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.rp-runner-shell::-webkit-scrollbar {
	display: none;
}

.rp-login-card {
	margin-top: 10px;
}

#rp-runner-loginform {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

#rp-runner-loginform p {
	margin: 0;
}

#rp-runner-loginform label {
	display: block;
	margin-bottom: 6px;
	font-size: 12px;
	line-height: 1.1;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rp-orange);
}

#rp-runner-loginform input[type="text"],
#rp-runner-loginform input[type="password"] {
	width: 100%;
	min-height: 48px;
	padding: 0 14px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: #0c1016;
	color: #ffffff;
	font-size: 16px;
	font-weight: 700;
	outline: none;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

#rp-runner-loginform input[type="text"]:focus,
#rp-runner-loginform input[type="password"]:focus {
	border-color: rgba(255, 138, 0, 0.5);
	box-shadow:
		0 0 0 3px rgba(255, 138, 0, 0.14),
		inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

#rp-runner-loginform .login-remember {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
	color: var(--rp-text-soft);
}

#rp-runner-loginform .login-remember label {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	color: var(--rp-text-soft);
}

#rp-runner-loginform .button,
#rp_wp_submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 46px;
	padding: 0 16px;
	border: none;
	border-radius: 14px;
	background: linear-gradient(180deg, var(--rp-orange) 0%, var(--rp-orange-2) 100%);
	color: #111111;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	box-shadow: var(--rp-shadow-md);
	cursor: pointer;
}

/* HEADER */

.rp-app-header {
	position: sticky;
	top: 0;
	z-index: 60;
	margin: 0 -8px 0;
	padding: 10px 10px 12px;
	background: rgba(5, 5, 5, 0.92);
	backdrop-filter: blur(16px) saturate(135%);
	-webkit-backdrop-filter: blur(16px) saturate(135%);
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.rp-app-header-top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: start;
	column-gap: 14px;
}

.rp-app-brand-wrap {
	min-width: 0;
}

.rp-app-brandline {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.rp-app-brand-mark {
	position: relative;
	width: 84px;
	height: 84px;
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 84px;
	overflow: hidden;
	background:
		linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%),
		radial-gradient(circle at 30% 30%, rgba(255,168,0,0.22), rgba(255,168,0,0.02) 70%);
	border: 1px solid rgba(255,255,255,0.08);
	box-shadow:
		0 10px 24px rgba(0,0,0,0.28),
		0 0 24px rgba(255,153,0,0.16);
}

.rp-app-brand-mark-dot {
	position: absolute;
	left: 8px;
	top: 8px;
	width: 7px;
	height: 7px;
	border-radius: 999px;
	background: linear-gradient(180deg, #ffc15f 0%, var(--rp-orange) 100%);
	box-shadow: 0 0 0 4px rgba(255, 154, 0, 0.12);
}

.rp-app-brand-mark-route {
	position: absolute;
	right: 5px;
	bottom: 7px;
	width: 18px;
	height: 11px;
	border: 2px solid rgba(255, 255, 255, 0.82);
	border-top: 0;
	border-left: 0;
	border-radius: 0 0 10px 0;
	transform: rotate(-6deg);
	opacity: 0.9;
}

.rp-app-brand-copy {
	min-width: 0;
}

.rp-app-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 18px;
	font-size: 17px;
	line-height: 1;
	font-weight: 950;
	letter-spacing: -0.05em;
	color: #ffffff;
}

.rp-app-subbrand {
	font-size: 11px;
	line-height: 1.15;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rp-text-dim);
	margin-top: 3px;
}

.rp-app-header-center {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding-top: 2px;
}

.rp-app-header-right {
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
}

.rp-app-production-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 210px;
	min-height: 34px;
	padding: 8px 12px;
	border-radius: 999px;
	text-decoration: none;
	background: linear-gradient(180deg, var(--rp-orange) 0%, var(--rp-orange-2) 100%);
	color: #111111;
	font-size: 10px;
	line-height: 1;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	box-shadow:
		0 10px 20px rgba(255, 118, 0, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.1);
	white-space: nowrap;
}

.rp-app-production-btn:active {
	transform: scale(0.985);
}

.rp-profile-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 999px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
	cursor: pointer;
	box-shadow: var(--rp-shadow-md);
	overflow: hidden;
}

.rp-profile-trigger:active {
	transform: scale(0.985);
}

.rp-profile-avatar-img,
.rp-profile-panel-avatar-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rp-profile-avatar-fallback,
.rp-profile-panel-avatar-fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: -0.02em;
	color: #111111;
	background: linear-gradient(180deg, var(--rp-orange) 0%, var(--rp-orange-2) 100%);
}

.rp-app-userline {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	column-gap: 16px;
	margin-top: 12px;
	width: 100%;
}

.rp-app-userline-left {
	display: flex;
	align-items: baseline;
	gap: 14px;
	min-width: 0;
	flex-wrap: nowrap;
}

.rp-app-userline-role {
	flex: 0 0 auto;
	font-size: 12px;
	line-height: 1;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rp-text-dim);
}

.rp-app-userline-name {
	font-size: 18px;
	line-height: 1.05;
	font-weight: 900;
	letter-spacing: -0.03em;
	color: #ffffff;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rp-header-live-time {
	display: block;
	font-size: 18px;
	line-height: 1.05;
	font-weight: 900;
	letter-spacing: -0.03em;
	color: #ffffff;
	text-align: right;
	white-space: nowrap;
}

.rp-header-live-time-value {
	display: inline;
	color: #ffffff;
}

.rp-app-project-strip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 10px;
	padding: 10px 12px;
	border-radius: 16px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.rp-app-project-meta {
	min-width: 0;
	flex: 1 1 auto;
}

.rp-app-project-kicker {
	font-size: 11px;
	line-height: 1.1;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rp-text-dim);
	margin-bottom: 4px;
}

.rp-app-project-name {
	font-size: 15px;
	line-height: 1.15;
	font-weight: 900;
	letter-spacing: -0.03em;
	color: #ffffff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rp-app-project-side {
	flex: 0 0 auto;
}

.rp-app-shift-pill {
	display: inline-flex;
	flex-direction: column;
	gap: 2px;
	padding: 8px 10px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.06);
	min-width: 78px;
}

.rp-app-shift-pill.is-live {
	background: rgba(255, 138, 0, 0.12);
	border-color: rgba(255, 138, 0, 0.18);
}

.rp-app-shift-pill-label {
	font-size: 10px;
	line-height: 1;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rp-text-dim);
}

.rp-app-shift-pill-value {
	font-size: 12px;
	line-height: 1.1;
	font-weight: 900;
	color: #ffffff;
}

.rp-profile-panel {
	margin-top: 10px;
	padding: 12px;
	border-radius: 18px;
	background: linear-gradient(180deg, #0d1015 0%, #131720 100%);
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: var(--rp-shadow-lg);
}

.rp-profile-panel[hidden] {
	display: none !important;
}

.rp-profile-panel-head,
.rp-menu-profile-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.rp-profile-panel-avatar,
.rp-menu-profile-avatar {
	width: 46px;
	height: 46px;
	border-radius: 999px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
	flex: 0 0 auto;
	background: #1a1a1f;
}

.rp-profile-panel-user,
.rp-menu-profile-user {
	min-width: 0;
}

.rp-profile-panel-name {
	font-size: 14px;
	line-height: 1.1;
	font-weight: 900;
	letter-spacing: -0.03em;
	color: #ffffff;
	margin-bottom: 3px;
}

.rp-profile-panel-role {
	font-size: 12px;
	line-height: 1;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rp-text-dim);
}

.rp-profile-panel-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 12px;
}

.rp-profile-row {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 9px 10px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.05);
}

.rp-profile-row--compact {
	padding: 8px 10px;
}

.rp-profile-row-label {
	font-size: 12px;
	line-height: 1.1;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rp-orange);
}

.rp-profile-row-value {
	font-size: 14px;
	line-height: 1.3;
	font-weight: 700;
	color: #ffffff;
	word-break: break-word;
	text-decoration: none;
}

.rp-profile-panel-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.rp-profile-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 10px 12px;
	border-radius: 12px;
	text-decoration: none;
	font-size: 12px;
	line-height: 1;
	font-weight: 900;
	letter-spacing: 0.04em;
	background: linear-gradient(180deg, #1b1b20 0%, #16161a 100%);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: var(--rp-shadow-md);
	text-align: center;
}

.rp-profile-link--logout {
	background: linear-gradient(180deg, rgba(255, 138, 0, 0.16) 0%, rgba(255, 106, 0, 0.16) 100%);
	color: #ffb25d;
	border-color: rgba(255, 138, 0, 0.18);
}

.rp-app-status-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.rp-app-status-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 36px;
	padding: 0 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.rp-app-status-pill--primary {
	background: rgba(255, 138, 0, 0.12);
	border-color: rgba(255, 138, 0, 0.18);
}

.rp-app-status-pill-label {
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rp-text-dim);
}

.rp-app-status-pill-value {
	font-size: 12px;
	font-weight: 900;
	color: #ffffff;
}

.rp-app-shell {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: calc(100vh - 88px);
	padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 96px) !important;
	backdrop-filter: saturate(120%);
}

.rp-screen-shell {
	display: block;
}

.rp-screen {
	display: none;
	flex-direction: column;
	gap: 10px;
}

.rp-screen.rp-screen--active {
	display: flex;
}

.rp-screen-head {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-top: 0;
}

.rp-section-kicker,
.rp-home-block-title,
.rp-home-stat-label,
.rp-report-card-label,
.rp-meta-label,
.rp-project-name,
.rp-shift-title,
.rp-report-mini-label,
.rp-detail-label,
.rp-mission-meta-label,
.rp-mission-note-label,
.rp-home-mini-label {
	font-size: 12px;
	line-height: 1.15;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rp-text-dim);
}

.rp-section-title {
	margin: 0;
	font-size: 18px;
	line-height: 1;
	font-weight: 950;
	letter-spacing: -0.05em;
	color: #ffffff;
}

.rp-section-subinfo {
	font-size: 13px;
	line-height: 1.3;
	font-weight: 700;
	color: var(--rp-text-soft);
	margin-top: 4px;
}

.rp-screen-subtitle {
	margin: 0 0 10px;
	font-size: 16px;
	line-height: 1.05;
	font-weight: 900;
	letter-spacing: -0.03em;
	color: #ffffff;
}

.rp-menu-card,
.rp-empty-state,
.rp-shift-bar,
.rp-home-mini-card,
.rp-home-actions-block,
.rp-home-timeline-block,
.rp-mission-card {
	padding: 14px;
	border-radius: var(--rp-radius-lg);
	background: linear-gradient(180deg, #10141b 0%, #151b25 100%);
	border: 1px solid rgba(255, 255, 255, 0.06);
	box-shadow: var(--rp-shadow-lg);
}

.rp-empty-state {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.rp-empty-state-title {
	font-size: 15px;
	line-height: 1.15;
	font-weight: 900;
	letter-spacing: -0.03em;
	color: #ffffff;
}

.rp-empty-state-text {
	font-size: 13px;
	line-height: 1.4;
	font-weight: 700;
	color: var(--rp-text-soft);
}

.rp-home-layout {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.rp-home-mini-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.rp-home-mini-card {
	padding: 12px;
}

.rp-home-mini-label {
	margin-bottom: 8px;
}

.rp-home-mini-value {
	font-size: 22px;
	line-height: 1;
	font-weight: 950;
	letter-spacing: -0.05em;
	color: #ffffff;
}

.rp-home-mini-value--small {
	font-size: 13px;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.rp-mission-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px;
	background:
		radial-gradient(circle at top right, rgba(255, 138, 0, 0.08), transparent 28%),
		linear-gradient(180deg, #10141b 0%, #151b25 100%);
	cursor: pointer;
	transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.rp-mission-card:active {
	transform: scale(0.99);
	box-shadow: var(--rp-shadow-md);
}

.rp-mission-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.rp-mission-card-kicker {
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rp-orange);
}

.rp-mission-status-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 26px;
	padding: 0 9px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.rp-mission-card-main {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.rp-mission-time-wrap {
	flex: 0 0 auto;
}

.rp-mission-time {
	font-size: 34px;
	line-height: 0.95;
	font-weight: 1000;
	letter-spacing: -0.07em;
	color: #ffffff;
}

.rp-mission-date {
	margin-top: 5px;
	font-size: 12px;
	font-weight: 800;
	color: var(--rp-text-soft);
}

.rp-mission-route-wrap {
	min-width: 0;
	flex: 1 1 auto;
	padding-top: 2px;
}

.rp-mission-route {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 16px;
	font-weight: 900;
	color: #ffffff;
	letter-spacing: -0.03em;
}

.rp-mission-project {
	margin-top: 6px;
	font-size: 13px;
	font-weight: 800;
	color: var(--rp-text-soft);
}

.rp-mission-meta-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.rp-mission-meta-box {
	padding: 10px 11px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.05);
	min-width: 0;
}

.rp-mission-meta-value {
	margin-top: 4px;
	font-size: 16px;
	line-height: 1.15;
	font-weight: 900;
	color: #ffffff;
	letter-spacing: -0.03em;
}

.rp-mission-meta-value--text {
	font-size: 13px;
	line-height: 1.3;
	font-weight: 800;
	letter-spacing: -0.01em;
	word-break: break-word;
}

.rp-mission-note {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 11px 12px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.05);
}

.rp-mission-note-text {
	font-size: 13px;
	line-height: 1.4;
	font-weight: 700;
	color: #ffffff;
}

.rp-mission-open-link {
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--rp-orange);
}

.rp-home-actions-block {
	padding: 13px;
}

.rp-home-action-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.rp-home-action-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 42px;
	padding: 0 13px;
	border-radius: 13px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	background: rgba(255, 255, 255, 0.04);
	color: #ffffff;
	text-decoration: none;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	box-shadow: var(--rp-shadow-md);
	cursor: pointer;
}

.rp-home-action-pill:active {
	transform: scale(0.985);
}

.rp-home-action-pill--nav {
	background: rgba(255, 255, 255, 0.06);
}

.rp-home-action-pill--call {
	background: linear-gradient(180deg, #5ea1ff 0%, #3f86ff 100%);
}

.rp-home-action-pill--arrived {
	background: linear-gradient(180deg, var(--rp-orange) 0%, var(--rp-orange-2) 100%);
	color: #111111;
}

.rp-home-action-pill--complete {
	background: linear-gradient(180deg, #2fd06f 0%, #1ea956 100%);
	color: #ffffff;
}

.rp-home-action-pill-icon {
	font-size: 14px;
	line-height: 1;
}

.rp-home-action-pill-text {
	line-height: 1;
}

.rp-home-timeline-block {
	padding: 13px;
}

.rp-home-timeline-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 10px;
}

.rp-home-timeline-item {
	display: grid;
	grid-template-columns: 48px 16px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	padding: 2px 0;
	cursor: pointer;
}

.rp-home-timeline-time {
	font-size: 13px;
	line-height: 1.2;
	font-weight: 900;
	letter-spacing: -0.02em;
	color: #ffffff;
	padding-top: 1px;
}

.rp-home-timeline-track {
	position: relative;
	display: flex;
	justify-content: center;
	min-height: 48px;
}

.rp-home-timeline-track::after {
	content: "";
	position: absolute;
	top: 12px;
	bottom: -10px;
	left: 50%;
	width: 2px;
	transform: translateX(-50%);
	background: rgba(255, 255, 255, 0.08);
}

.rp-home-timeline-item:last-child .rp-home-timeline-track::after {
	display: none;
}

.rp-home-timeline-dot {
	position: relative;
	z-index: 2;
	display: block;
	width: 10px;
	height: 10px;
	border-radius: 999px;
	margin-top: 5px;
	background: var(--rp-text-dim);
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.03);
}

.rp-home-timeline-content {
	min-width: 0;
	padding-bottom: 6px;
}

.rp-home-timeline-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.rp-home-timeline-route {
	font-size: 14px;
	line-height: 1.25;
	font-weight: 900;
	letter-spacing: -0.02em;
	color: #ffffff;
	min-width: 0;
}

.rp-home-timeline-tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 24px;
	padding: 0 8px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.rp-home-timeline-sub {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
	margin-top: 5px;
	font-size: 12px;
	font-weight: 700;
	color: var(--rp-text-soft);
}

.rp-pickup-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.rp-pickup-accordion-item {
	border-radius: var(--rp-radius-lg);
	background: linear-gradient(180deg, #0f131a 0%, #141a24 100%);
	border: 1px solid rgba(255, 255, 255, 0.06);
	box-shadow: var(--rp-shadow-lg);
	overflow: hidden;
}

.rp-pickup-accordion-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	padding: 12px 14px;
	background: transparent;
	border: none;
	color: inherit;
	cursor: pointer;
	text-align: left;
}

.rp-pickup-accordion-main {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.rp-pickup-accordion-topline {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.rp-pickup-accordion-time {
	font-size: 18px;
	font-weight: 900;
	letter-spacing: -0.04em;
	color: #ffffff;
}

.rp-status-badge {
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 4px 6px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.08);
}

.rp-status-assigned {
	color: var(--rp-orange);
	background: rgba(255, 138, 0, 0.16);
}

.rp-status-arrived {
	color: var(--rp-blue);
	background: rgba(79, 140, 255, 0.18);
}

.rp-status-in_progress {
	color: var(--rp-amber);
	background: rgba(255, 177, 26, 0.18);
}

.rp-status-completed {
	color: var(--rp-green);
	background: rgba(34, 197, 94, 0.18);
}

.rp-pickup-accordion-route {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 800;
	color: #ffffff;
	letter-spacing: -0.02em;
	flex-wrap: wrap;
}

.rp-pickup-accordion-sub {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 2px;
}

.rp-pickup-accordion-subitem {
	font-size: 12px;
	font-weight: 800;
	color: var(--rp-text-soft);
}

.rp-pickup-accordion-countdown {
	margin-top: 4px;
	font-size: 12px;
	font-weight: 900;
}

.rp-countdown-label {
	color: var(--rp-text-dim);
}

.rp-countdown-live {
	color: var(--rp-orange);
}

.rp-countdown-value {
	color: #ffffff;
}

.rp-countdown-past {
	color: var(--rp-text-soft);
}

.rp-pickup-accordion-icon {
	font-size: 18px;
	font-weight: 900;
	color: var(--rp-text-dim);
	flex: 0 0 auto;
}

.rp-pickup-accordion-item.is-open .rp-pickup-accordion-icon {
	color: var(--rp-orange);
}

.rp-pickup-accordion-body {
	padding: 12px 14px 14px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.rp-pickup-detail-grid {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.rp-detail-row {
	display: flex;
	justify-content: space-between;
	gap: 8px;
}

.rp-detail-value {
	font-size: 13px;
	font-weight: 700;
	color: #ffffff;
	text-align: right;
}

.rp-pickup-inline-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
	flex-wrap: wrap;
}

.rp-pickup-passengers {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.rp-pickup-passenger-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.rp-pickup-passenger-card {
	padding: 12px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.05);
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.rp-pickup-passenger-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.rp-pickup-passenger-name {
	font-size: 14px;
	line-height: 1.2;
	font-weight: 900;
	color: #ffffff;
	letter-spacing: -0.02em;
}

.rp-pickup-passenger-line {
	display: flex;
	justify-content: space-between;
	gap: 8px;
}

.rp-pickup-passenger-actions {
	display: flex;
	justify-content: flex-end;
}

.rp-btn,
.rp-btn:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: transform 0.08s ease, box-shadow 0.08s ease, opacity 0.08s ease;
}

.rp-btn:active {
	transform: scale(0.985);
}

.rp-btn-icon {
	width: 40px;
	height: 40px;
	min-width: 40px;
	padding: 0;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 900;
	background: rgba(255, 255, 255, 0.06);
	color: #ffffff;
	box-shadow: var(--rp-shadow-md);
}

.rp-btn-map {
	background: rgba(255, 255, 255, 0.06);
	color: #ffffff;
}

.rp-btn-call {
	background: linear-gradient(180deg, #5ea1ff 0%, #3f86ff 100%);
	color: #ffffff;
}

.rp-btn-main-action {
	flex: 1 1 auto;
	min-height: 40px;
	padding: 0 14px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	box-shadow: var(--rp-shadow-md);
}

.rp-btn-arrived {
	background: linear-gradient(180deg, var(--rp-orange) 0%, var(--rp-orange-2) 100%);
	color: #111111;
}

.rp-btn-complete {
	background: linear-gradient(180deg, #2fd06f 0%, #1ea956 100%);
	color: #ffffff;
}

.rp-btn-shift-start,
.rp-btn-modal-confirm {
	min-height: 44px;
	padding: 0 16px;
	border-radius: 14px;
	background: linear-gradient(180deg, var(--rp-orange) 0%, var(--rp-orange-2) 100%);
	color: #111111;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	box-shadow: var(--rp-shadow-md);
}

.rp-btn-shift-end {
	min-height: 44px;
	padding: 0 16px;
	border-radius: 14px;
	background: linear-gradient(180deg, #f5f7fb 0%, #e6ebf3 100%);
	color: #111111;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	box-shadow: var(--rp-shadow-md);
}

.rp-loading,
.rp-btn.is-loading,
.rp-btn-modal-confirm.is-loading,
.rp-shift-actions button.is-loading,
.rp-pickup-inline-actions button.is-loading {
	opacity: 0.65;
	pointer-events: none;
}

.rp-shift-bar {
	padding: 14px;
}

.rp-shift-bar--active {
	border-color: rgba(255, 138, 0, 0.18);
	box-shadow: 0 16px 34px rgba(255, 118, 0, 0.12);
}

.rp-shift-bar-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 12px;
}

.rp-shift-title-wrap {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.rp-shift-title {
	color: var(--rp-orange);
}

.rp-shift-status {
	font-size: 17px;
	font-weight: 900;
	letter-spacing: -0.03em;
	color: #ffffff;
}

.rp-shift-project {
	font-size: 13px;
	font-weight: 800;
	color: var(--rp-text-soft);
}

.rp-shift-km {
	display: flex;
	flex-direction: column;
	gap: 5px;
	align-items: flex-end;
}

.rp-shift-km-item {
	font-size: 12px;
	font-weight: 700;
	color: var(--rp-text-soft);
}

.rp-shift-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.rp-shift-complete {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 14px;
	border-radius: 12px;
	background: rgba(34, 197, 94, 0.12);
	color: #86efac;
	border: 1px solid rgba(34, 197, 94, 0.18);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.rp-report-mini-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.rp-report-mini-card {
	padding: 12px;
	border-radius: var(--rp-radius-lg);
	background: linear-gradient(180deg, #10141b 0%, #151b25 100%);
	border: 1px solid rgba(255, 255, 255, 0.06);
	box-shadow: var(--rp-shadow-lg);
}

.rp-report-mini-label {
	margin-bottom: 8px;
	color: var(--rp-text-dim);
}

.rp-report-mini-value {
	font-size: 22px;
	line-height: 1;
	font-weight: 900;
	letter-spacing: -0.05em;
	color: #ffffff;
}

.rp-report-mini-value--small {
	font-size: 13px;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.rp-compact-rows {
	gap: 6px;
}

.rp-menu-card + .rp-menu-card {
	margin-top: 8px;
}

.rp-shift-modal[hidden] {
	display: none !important;
}

.rp-shift-modal {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.rp-shift-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.rp-shift-modal-dialog {
	position: relative;
	width: min(100%, 460px);
	margin: 0 auto;
	padding: 16px;
	border-radius: 22px 22px 0 0;
	background: linear-gradient(180deg, #0f141b 0%, #141b26 100%);
	border: 1px solid rgba(255, 255, 255, 0.06);
	box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.45);
}

.rp-shift-modal-close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 32px;
	height: 32px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	color: #ffffff;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.rp-shift-modal-head {
	padding-right: 36px;
	margin-bottom: 14px;
}

.rp-shift-modal-input {
	width: 100%;
	min-height: 46px;
	padding: 0 14px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: #0c1016;
	color: #ffffff;
	font-size: 16px;
	font-weight: 800;
	outline: none;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.rp-shift-modal-input:focus {
	border-color: rgba(255, 138, 0, 0.5);
	box-shadow:
		0 0 0 3px rgba(255, 138, 0, 0.14),
		inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.rp-shift-modal-input::placeholder {
	color: var(--rp-text-dim);
}

.rp-app-bottom-nav {
	position: fixed !important;
	left: 8px !important;
	right: 8px !important;
	bottom: calc(env(safe-area-inset-bottom, 0px) + 8px) !important;
	width: auto !important;
	max-width: 460px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 5px;
	padding: 8px 8px calc(env(safe-area-inset-bottom, 0px) + 8px);
	background: rgba(10, 10, 12, 0.94);
	backdrop-filter: blur(18px) saturate(140%);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	border: 1px solid rgba(255, 255, 255, 0.08) !important;
	border-radius: 18px !important;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42) !important;
	z-index: 99999 !important;
}

.rp-app-tab {
	min-height: 40px;
	padding: 7px 4px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
	color: var(--rp-text-soft);
	font-size: 11px;
	line-height: 1.1;
	font-weight: 900;
	letter-spacing: 0.03em;
	text-align: center;
	cursor: pointer;
	transition: transform 0.15s ease, border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.rp-app-tab.is-active {
	background: linear-gradient(180deg, rgba(255, 138, 0, 0.18), rgba(255, 106, 0, 0.14));
	color: #ffffff;
	border-color: rgba(255, 138, 0, 0.18);
	box-shadow: 0 8px 18px rgba(255, 106, 0, 0.12);
	transform: translateY(-1px);
}

.rp-app-tab:active {
	transform: scale(0.98);
}

.rp-app-tab-label {
	display: block;
}

input,
select,
textarea {
	font-size: 16px;
}

@media (min-width: 900px) {
	.rp-runner-dashboard--app {
		max-width: 460px;
		margin: 0 auto !important;
		box-shadow:
			0 0 0 1px rgba(255, 255, 255, 0.05),
			0 30px 80px rgba(0, 0, 0, 0.6);
		border-left: 1px solid rgba(255, 255, 255, 0.03);
		border-right: 1px solid rgba(255, 255, 255, 0.03);
	}

	.rp-runner-shell {
		padding-bottom: 26px !important;
	}

	.rp-app-bottom-nav {
		left: 50% !important;
		right: auto !important;
		width: 444px !important;
		max-width: 444px !important;
		transform: translateX(-50%) !important;
	}
}

@media (max-width: 640px) {
	.rp-runner-shell {
		padding: 2px 6px 16px !important;
		gap: 8px;
	}

	.rp-app-header {
		margin: 0 -6px 0;
		padding: 8px 8px 10px;
	}

	.rp-app-shell {
		padding-bottom: calc(var(--rp-safe-bottom) + 90px) !important;
	}

	.rp-mission-time {
		font-size: 30px;
	}

	.rp-app-header-top {
		grid-template-columns: minmax(0, 1fr) auto;
		row-gap: 10px;
	}

	.rp-app-header-center {
		grid-column: 1 / 2;
		grid-row: 2;
		justify-content: flex-start;
		padding-top: 0;
	}

	.rp-app-header-right {
		grid-column: 2 / 3;
		grid-row: 1;
	}

	.rp-app-production-btn {
		min-width: 0;
		width: auto;
	}

	.rp-app-userline {
		grid-template-columns: 1fr;
		row-gap: 6px;
	}

	.rp-app-userline-left {
		gap: 10px;
		flex-wrap: wrap;
	}

	.rp-header-live-time {
		text-align: left;
		font-size: 16px;
	}

	.rp-app-userline-name {
		font-size: 16px;
	}
}

@media (max-width: 420px) {
	.rp-app-brand {
		font-size: 16px;
	}

	.rp-app-brand-mark {
		width: 31px;
		height: 31px;
		border-radius: 11px;
	}

	.rp-app-subbrand {
		font-size: 10px;
	}

	.rp-app-production-btn {
		min-height: 32px;
		padding: 7px 10px;
		font-size: 10px;
	}

	.rp-profile-trigger {
		width: 32px;
		height: 32px;
	}

	.rp-section-title {
		font-size: 17px;
	}

	.rp-mission-time {
		font-size: 28px;
	}

	.rp-mission-route,
	.rp-pickup-accordion-route,
	.rp-home-timeline-route {
		font-size: 14px;
	}

	.rp-report-mini-grid,
	.rp-profile-panel-actions,
	.rp-home-mini-grid,
	.rp-mission-meta-grid {
		grid-template-columns: 1fr;
	}

	.rp-btn-icon {
		width: 38px;
		height: 38px;
		min-width: 38px;
	}

	.rp-btn-main-action {
		min-height: 38px;
		font-size: 11px;
		padding: 0 12px;
	}

	.rp-app-bottom-nav {
		gap: 4px;
		padding-left: 6px;
		padding-right: 6px;
	}

	.rp-app-tab {
		min-height: 38px;
		font-size: 10px;
		padding: 6px 3px;
	}

	.rp-home-action-row {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rp-home-action-pill {
		width: 100%;
		padding: 0 10px;
	}

	.rp-header-live-time {
		font-size: 14px;
	}
}





/* =========================================================
   KOS CSS 1/3
   FILE: runner-pro.css
   SECTION: PRODUCTION DASHBOARD BASE + MAP STABLE CORE

   NAMEN:
   - čist production dashboard CSS brez podvajanj
   - ohrani stabilno mapo
   - ohrani runner cards / overview
   - pripravi bazo za alerts / summary / quick actions
   - header je zdaj pravi compact control bar
   - desktop: brand / KPI / side info v eni vrstici
   - mobile: šele nato kontroliran wrap
   - NE posega v runner dashboard zgoraj
   ========================================================= */

/* =========================================================
   PRODUCTION DASHBOARD — BASE
   ========================================================= */

.rp-production-dashboard {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 100%;
	min-height: 100vh;
	padding: 14px;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--rp-text);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

.rp-production-dashboard *,
.rp-production-dashboard *::before,
.rp-production-dashboard *::after {
	box-sizing: border-box;
}

.rp-production-wall {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: 100%;
}

/* =========================================================
   PRODUCTION HEADER
   ========================================================= */

.rp-production-wall-head {
	padding: 10px 12px;
	border-radius: 16px;
	background:
		radial-gradient(circle at top right, rgba(255, 138, 0, 0.05), transparent 24%),
		linear-gradient(180deg, #10141b 0%, #151b25 100%);
	border: 1px solid rgba(255, 255, 255, 0.05);
	box-shadow: var(--rp-shadow-lg);
}

.rp-production-wall-head--bar {
	display: block;
}

.rp-production-wall-bar {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.rp-production-wall-bar-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	flex: 0 0 auto;
}

.rp-production-wall-brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	min-width: 0;
}

.rp-production-wall-logo-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	padding: 6px;
	border-radius: 14px;
	background:
		radial-gradient(circle at top, rgba(255, 154, 0, 0.11), transparent 62%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
	border: 1px solid rgba(255, 255, 255, 0.06);
	box-shadow:
		0 10px 22px rgba(0, 0, 0, 0.22),
		0 0 0 1px rgba(255, 154, 0, 0.03) inset;
	overflow: hidden;
	flex: 0 0 56px;
}

.rp-production-wall-logo-wrap--empty {
	background:
		radial-gradient(circle at top, rgba(255, 154, 0, 0.08), transparent 62%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.rp-production-wall-logo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.16));
}

.rp-production-wall-logo-fallback {
	display: block;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: linear-gradient(180deg, rgba(255, 154, 0, 1), rgba(255, 118, 0, 1));
	box-shadow: 0 0 0 5px rgba(255, 154, 0, 0.08);
}

.rp-production-wall-kicker {
	display: none;
}

.rp-production-wall-title {
	margin: 0;
	font-size: 13px;
	line-height: 1;
	font-weight: 1000;
	letter-spacing: -0.03em;
	color: var(--rp-orange);
	white-space: nowrap;
}

.rp-production-wall-subtitle {
	display: none;
}

.rp-production-wall-head-left,
.rp-production-wall-head-right,
.rp-production-wall-head--compact {
	display: contents;
}

.rp-production-wall-bar-kpis {
	min-width: 0;
	width: 100%;
}

.rp-production-wall-bar-side {
	min-width: 0;
	flex: 0 0 auto;
}

.rp-production-wall-meta {
	display: grid;
	width: 100%;
	min-width: 0;
	align-items: stretch;
}

.rp-production-wall-meta--kpis {
	grid-template-columns: repeat(6, minmax(74px, 1fr));
	gap: 6px;
}

.rp-production-wall-meta--side {
	grid-template-columns: minmax(120px, 150px) minmax(220px, 320px);
	gap: 6px;
	justify-content: end;
}

.rp-production-wall-meta-pill {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2px;
	min-height: 44px;
	padding: 6px 8px 6px 12px;
	border-radius: 11px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.06);
	box-shadow: var(--rp-shadow-md);
	overflow: hidden;
	min-width: 0;
}

.rp-production-wall-meta-pill::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 7px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.28);
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
}

.rp-production-wall-meta-pill span {
	padding-left: 11px;
	font-size: 8px;
	line-height: 1.05;
	font-weight: 900;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rp-text-dim);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rp-production-wall-meta-pill strong {
	padding-left: 11px;
	font-size: 11px;
	line-height: 1.05;
	font-weight: 1000;
	letter-spacing: -0.02em;
	color: #ffffff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: normal;
}

.rp-production-wall-meta-pill--neutral::before {
	background: #8b93a3;
}

.rp-production-wall-meta-pill--active::before {
	background: #ffb100;
}

.rp-production-wall-meta-pill--done::before {
	background: #22c55e;
}

.rp-production-wall-meta-pill--danger::before {
	background: #ef4444;
}

.rp-production-wall-meta-pill--updated {
	min-width: 0;
}

.rp-production-wall-meta-pill--context {
	background:
		linear-gradient(180deg, rgba(255, 154, 0, 0.08), rgba(255, 154, 0, 0.03)),
		rgba(255, 255, 255, 0.035);
	border-color: rgba(255, 154, 0, 0.12);
}

.rp-production-wall-meta-pill--context::before {
	background: var(--rp-orange);
}

.rp-production-wall-meta-pill--context strong {
	font-size: 11px;
	line-height: 1.08;
}

.rp-production-wall-meta-pill--wide {
	grid-column: auto;
}

@media (max-width: 1600px) {
	.rp-production-wall-bar {
		grid-template-columns: auto minmax(0, 1fr);
		row-gap: 8px;
	}

	.rp-production-wall-bar-side {
		grid-column: 1 / -1;
	}

	.rp-production-wall-meta--side {
		grid-template-columns: minmax(120px, 160px) minmax(220px, 1fr);
	}
}

@media (max-width: 1360px) {
	.rp-production-wall-head {
		padding: 10px;
	}

	.rp-production-wall-logo-wrap {
		width: 50px;
		height: 50px;
		flex-basis: 50px;
		border-radius: 12px;
	}

	.rp-production-wall-title {
		font-size: 12px;
	}

	.rp-production-wall-meta--kpis {
		grid-template-columns: repeat(3, minmax(88px, 1fr));
	}

	.rp-production-wall-meta--side {
		grid-template-columns: repeat(2, minmax(160px, 1fr));
	}
}

@media (max-width: 980px) {
	.rp-production-dashboard {
		padding: 12px;
	}

	.rp-production-wall {
		gap: 12px;
	}

	.rp-production-wall-bar {
		grid-template-columns: 1fr;
		align-items: stretch;
	}

	.rp-production-wall-bar-brand,
	.rp-production-wall-bar-kpis,
	.rp-production-wall-bar-side {
		width: 100%;
	}

	.rp-production-wall-logo-wrap {
		width: 48px;
		height: 48px;
		flex-basis: 48px;
		padding: 5px;
		border-radius: 12px;
	}

	.rp-production-wall-title {
		font-size: 12px;
	}

	.rp-production-wall-meta--kpis {
		grid-template-columns: repeat(3, minmax(88px, 1fr));
	}

	.rp-production-wall-meta--side {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 720px) {
	.rp-production-wall-head {
		padding: 9px;
		border-radius: 14px;
	}

	.rp-production-wall-bar-brand {
		gap: 9px;
	}

	.rp-production-wall-logo-wrap {
		width: 44px;
		height: 44px;
		flex-basis: 44px;
		border-radius: 11px;
	}

	.rp-production-wall-title {
		font-size: 11px;
	}

	.rp-production-wall-meta--kpis {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6px;
	}

	.rp-production-wall-meta-pill {
		min-height: 42px;
		padding: 6px 8px 6px 12px;
		border-radius: 10px;
	}

	.rp-production-wall-meta-pill span {
		font-size: 8px;
	}

	.rp-production-wall-meta-pill strong,
	.rp-production-wall-meta-pill--context strong {
		font-size: 11px;
		white-space: normal;
		overflow: visible;
		text-overflow: clip;
	}
}

@media (max-width: 520px) {
	.rp-production-dashboard {
		padding: 10px;
	}

	.rp-production-wall-head {
		padding: 8px;
	}

	.rp-production-wall-meta--kpis,
	.rp-production-wall-meta--side {
		grid-template-columns: 1fr;
	}

	.rp-production-wall-meta-pill {
		min-height: 40px;
	}

	.rp-production-wall-meta-pill strong,
	.rp-production-wall-meta-pill--context strong {
		font-size: 10px;
	}
}

/* =========================================================
   MAP WRAPPER + STABLE MAP CORE
   ========================================================= */

.rp-production-wall-map-wrap {
	position: relative;
	display: block;
	width: 100%;
	min-height: 460px;
	padding: 10px;
	border-radius: 24px;
	background: linear-gradient(180deg, #10141b 0%, #151b25 100%);
	border: 1px solid rgba(255, 255, 255, 0.06);
	box-shadow: var(--rp-shadow-xl);
	overflow: hidden;
}

.rp-production-wall-map {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	height: 62vh !important;
	min-height: 420px !important;
	max-height: 720px !important;
	border-radius: 18px;
	overflow: hidden;
	background: #0d1016;
	border: 1px solid rgba(255, 255, 255, 0.05);
	z-index: 1;
}

/* Leaflet core fallback */
.rp-production-wall-map.leaflet-container,
.rp-production-wall .leaflet-container {
	background: #0d1016 !important;
	outline: none;
	font: inherit;
}

.rp-production-wall .leaflet-container {
	overflow: hidden;
}

.rp-production-wall .leaflet-pane,
.rp-production-wall .leaflet-tile,
.rp-production-wall .leaflet-marker-icon,
.rp-production-wall .leaflet-marker-shadow,
.rp-production-wall .leaflet-tile-container,
.rp-production-wall .leaflet-pane > svg,
.rp-production-wall .leaflet-pane > canvas,
.rp-production-wall .leaflet-zoom-box,
.rp-production-wall .leaflet-image-layer,
.rp-production-wall .leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
}

.rp-production-wall .leaflet-tile-pane {
	z-index: 200 !important;
}

.rp-production-wall .leaflet-overlay-pane {
	z-index: 400 !important;
}

.rp-production-wall .leaflet-shadow-pane {
	z-index: 500 !important;
}

.rp-production-wall .leaflet-marker-pane {
	z-index: 600 !important;
}

.rp-production-wall .leaflet-tooltip-pane {
	z-index: 650 !important;
}

.rp-production-wall .leaflet-popup-pane {
	z-index: 700 !important;
}

.rp-production-wall .leaflet-control {
	z-index: 800 !important;
}

.rp-production-wall .leaflet-top,
.rp-production-wall .leaflet-bottom {
	z-index: 900 !important;
	pointer-events: none;
}

.rp-production-wall .leaflet-top .leaflet-control,
.rp-production-wall .leaflet-bottom .leaflet-control {
	pointer-events: auto;
}

.rp-production-wall .leaflet-tile {
	visibility: inherit !important;
	max-width: none !important;
	max-height: none !important;
	opacity: 1 !important;
	filter: none !important;
	mix-blend-mode: normal !important;
}

.rp-production-wall .leaflet-tile-loaded {
	opacity: 1 !important;
}

.rp-production-wall .leaflet-control-zoom a {
	color: #111111;
}

/* =========================================================
   PRODUCTION MAIN GRID
   ========================================================= */

.rp-production-wall-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.8fr) minmax(320px, 0.9fr);
	gap: 16px;
	align-items: start;
}

.rp-production-wall-main,
.rp-production-wall-side {
	min-width: 0;
}

.rp-production-wall-section-head {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 10px;
	padding: 0 2px;
}

.rp-production-wall-section-head h3 {
	margin: 0;
	font-size: 19px;
	line-height: 1.05;
	font-weight: 950;
	letter-spacing: -0.04em;
	color: #ffffff;
}

.rp-production-wall-section-sub {
	font-size: 13px;
	line-height: 1.3;
	font-weight: 700;
	color: var(--rp-text-soft);
}

/* =========================================================
   RUNNER CARDS + OVERVIEW BLOCKS
   ========================================================= */

.rp-production-runner-cards,
.rp-production-overview-cards {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.rp-production-runner-card,
.rp-production-project-card,
.rp-production-overview-stat {
	padding: 14px;
	border-radius: 18px;
	background: linear-gradient(180deg, #10141b 0%, #151b25 100%);
	border: 1px solid rgba(255, 255, 255, 0.06);
	box-shadow: var(--rp-shadow-lg);
}

.rp-production-runner-card {
	position: relative;
	overflow: hidden;
	padding-left: 16px;
}

/* pomembno:
   leva runner barva prihaja inline iz PHP preko border-left.
   tukaj ne dodajamo več ::before status trakov. */

.rp-production-runner-card-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.rp-production-runner-name {
	font-size: 18px;
	line-height: 1.05;
	font-weight: 950;
	letter-spacing: -0.04em;
	color: #ffffff;
}

.rp-production-runner-project {
	margin-top: 5px;
	font-size: 13px;
	line-height: 1.25;
	font-weight: 700;
	color: var(--rp-text-soft);
}

.rp-production-runner-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	padding: 0 10px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.rp-production-runner-badge.rp-status-assigned {
	color: #b7d2ff;
	background: rgba(79, 140, 255, 0.18);
}

.rp-production-runner-badge.rp-status-in_progress {
	color: #111111;
	background: linear-gradient(180deg, var(--rp-orange) 0%, var(--rp-orange-2) 100%);
}

.rp-production-runner-badge.rp-status-arrived {
	color: #dffff0;
	background: rgba(34, 197, 94, 0.18);
}

.rp-production-runner-badge.rp-status-completed {
	color: #d1d5db;
	background: rgba(107, 114, 128, 0.2);
}

.rp-production-runner-route {
	margin-bottom: 12px;
	font-size: 15px;
	line-height: 1.3;
	font-weight: 900;
	letter-spacing: -0.02em;
	color: #ffffff;
	word-break: break-word;
}

.rp-production-runner-meta {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}

.rp-production-runner-meta-item {
	min-width: 0;
	padding: 10px 11px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.05);
}

.rp-production-runner-meta-item span {
	display: block;
	margin-bottom: 6px;
	font-size: 11px;
	line-height: 1.1;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--rp-text-dim);
}

.rp-production-runner-meta-item strong {
	display: block;
	font-size: 14px;
	line-height: 1.2;
	font-weight: 900;
	color: #ffffff;
	word-break: break-word;
}

.rp-production-runner-actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 12px;
}

.rp-production-runner-call {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 14px;
	border-radius: 12px;
	text-decoration: none;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	background: linear-gradient(180deg, #5ea1ff 0%, #3f86ff 100%);
	color: #ffffff;
	box-shadow: var(--rp-shadow-md);
}

.rp-production-overview-stat-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 12px;
}

.rp-production-overview-stat {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.rp-production-overview-stat span {
	font-size: 11px;
	line-height: 1.1;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rp-text-dim);
}

.rp-production-overview-stat strong {
	font-size: 22px;
	line-height: 1;
	font-weight: 1000;
	letter-spacing: -0.05em;
	color: #ffffff;
}

.rp-production-project-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.rp-production-project-name {
	font-size: 15px;
	line-height: 1.15;
	font-weight: 950;
	letter-spacing: -0.03em;
	color: #ffffff;
}

.rp-production-project-venue {
	margin-top: 5px;
	font-size: 13px;
	line-height: 1.3;
	font-weight: 700;
	color: var(--rp-text-soft);
}

.rp-production-project-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 10px;
	font-size: 12px;
	line-height: 1.2;
	font-weight: 800;
	color: var(--rp-text-soft);
}

.rp-production-project-meta strong {
	color: #ffffff;
	font-weight: 900;
}

/* =========================================================
   MAP MARKER + POPUP + FALLBACK
   ========================================================= */

.rp-production-map-marker-wrap {
	background: transparent !important;
	border: none !important;
}

.rp-production-map-marker {
	position: relative;
	display: block;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	border: 4px solid rgba(255, 255, 255, 0.96);
	box-shadow:
		0 0 0 6px rgba(255, 255, 255, 0.08),
		0 12px 22px rgba(0, 0, 0, 0.38);
}

.rp-production-map-marker::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.96);
	transform: translate(-50%, -50%);
}

.rp-production-map-popup {
	min-width: 190px;
}

.rp-production-map-popup-name {
	margin-bottom: 5px;
	font-size: 14px;
	line-height: 1.1;
	font-weight: 900;
	letter-spacing: -0.02em;
}

.rp-production-map-popup-status,
.rp-production-map-popup-project {
	margin-bottom: 4px;
	font-size: 12px;
	line-height: 1.25;
	font-weight: 700;
	color: #374151;
}

.rp-production-map-popup-route {
	margin-bottom: 6px;
	font-size: 13px;
	line-height: 1.3;
	font-weight: 900;
	color: #111111;
}

.rp-production-map-popup-meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 12px;
	line-height: 1.25;
	color: #374151;
}

.rp-production-wall .leaflet-popup-content-wrapper,
.rp-production-wall .leaflet-popup-tip {
	box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.rp-production-wall .leaflet-popup-content {
	margin: 12px 14px;
}

.rp-production-map-fallback {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 260px;
	padding: 24px;
	text-align: center;
	color: var(--rp-text);
	background: linear-gradient(180deg, #10141b 0%, #151b25 100%);
	border-radius: 18px;
}

.rp-production-map-fallback-title {
	margin-bottom: 8px;
	font-size: 18px;
	font-weight: 900;
	color: #ffffff;
}

.rp-production-map-fallback-text {
	font-size: 13px;
	font-weight: 700;
	color: var(--rp-text-soft);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1180px) {
	.rp-production-wall-grid {
		grid-template-columns: 1fr;
	}

	.rp-production-wall-side {
		order: 2;
	}

	.rp-production-wall-main {
		order: 1;
	}
}

@media (max-width: 900px) {
	.rp-production-dashboard {
		padding: 12px;
	}

	.rp-production-wall-head {
		flex-direction: column;
		align-items: stretch;
	}

	.rp-production-wall-meta {
		justify-content: flex-start;
	}

	.rp-production-wall-title {
		font-size: 26px;
	}

	.rp-production-wall-map-wrap {
		min-height: 360px;
	}

	.rp-production-wall-map {
		height: 52vh !important;
		min-height: 320px !important;
	}

	.rp-production-runner-meta {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.rp-production-dashboard {
		padding: 8px;
	}

	.rp-production-wall {
		gap: 10px;
	}

	.rp-production-wall-head,
	.rp-production-runner-card,
	.rp-production-project-card,
	.rp-production-overview-stat {
		border-radius: 16px;
	}

	.rp-production-wall-meta {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.rp-production-wall-meta-pill {
		min-width: 0;
	}

	.rp-production-wall-map-wrap {
		min-height: 300px;
	}

	.rp-production-wall-map {
		height: 44vh !important;
		min-height: 260px !important;
		border-radius: 14px;
	}

	.rp-production-wall-title {
		font-size: 22px;
	}

	.rp-production-runner-card-top {
		flex-direction: column;
		align-items: flex-start;
	}

	.rp-production-runner-meta {
		grid-template-columns: 1fr;
	}

	.rp-production-overview-stat-grid {
		grid-template-columns: 1fr 1fr;
	}
}

/* =========================================================
   KOS CSS 2/3
   FILE: runner-pro.css
   SECTION: PRODUCTION ALERTS + SUMMARY TABLE

   NAMEN:
   - alerts blok postane card-based
   - summary dobi urejen grid/tabelast izgled
   - brez posega v mapo
   ========================================================= */

/* =========================================================
   ALERTS BLOCK
   ========================================================= */

.rp-production-alerts {
	min-width: 0;
}

.rp-production-alert-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.rp-production-alert {
	padding: 14px 15px;
	border-radius: 18px;
	background: linear-gradient(180deg, #10141b 0%, #151b25 100%);
	border: 1px solid rgba(255, 255, 255, 0.06);
	box-shadow: var(--rp-shadow-lg);
	position: relative;
	overflow: hidden;
}

.rp-production-alert::before {
	content: "";
	position: absolute;
	left: 0;
	top: 12px;
	bottom: 12px;
	width: 4px;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.14);
}

.rp-production-alert--info::before {
	background: var(--rp-blue);
}

.rp-production-alert--warning::before {
	background: var(--rp-orange);
}

.rp-production-alert--danger::before {
	background: var(--rp-red);
}

.rp-production-alert--success::before {
	background: var(--rp-green);
}

.rp-production-alert-title {
	margin: 0 0 6px;
	padding-left: 6px;
	font-size: 15px;
	line-height: 1.15;
	font-weight: 950;
	letter-spacing: -0.02em;
	color: #ffffff;
}

.rp-production-alert-text {
	padding-left: 6px;
	font-size: 13px;
	line-height: 1.45;
	font-weight: 700;
	color: var(--rp-text-soft);
}

/* =========================================================
   SUMMARY WRAP
   ========================================================= */

.rp-production-summary-table-wrap {
	min-width: 0;
	overflow-x: auto;
	border-radius: 18px;
	background: linear-gradient(180deg, #10141b 0%, #151b25 100%);
	border: 1px solid rgba(255, 255, 255, 0.06);
	box-shadow: var(--rp-shadow-lg);
}

/* =========================================================
   SUMMARY TABLE — DESKTOP / TABLE-LIKE
   ========================================================= */

.rp-production-summary-table {
	display: flex;
	flex-direction: column;
	min-width: 760px;
	width: 100%;
}

.rp-production-summary-row {
	display: grid;
	grid-template-columns: minmax(220px, 1.6fr) repeat(6, minmax(72px, 0.7fr));
	align-items: center;
	gap: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.rp-production-summary-row:last-child {
	border-bottom: none;
}

.rp-production-summary-row > div {
	padding: 14px 14px;
	min-width: 0;
	font-size: 13px;
	line-height: 1.25;
	font-weight: 800;
	color: #ffffff;
}

.rp-production-summary-row > div:not(:first-child) {
	text-align: center;
}

.rp-production-summary-row--head {
	position: sticky;
	top: 0;
	z-index: 2;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
		linear-gradient(180deg, #10141b 0%, #151b25 100%);
}

.rp-production-summary-row--head > div {
	font-size: 11px;
	line-height: 1.1;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rp-text-dim);
	white-space: nowrap;
}

.rp-production-summary-row > div:first-child {
	font-size: 14px;
	line-height: 1.2;
	font-weight: 900;
	letter-spacing: -0.02em;
	color: #ffffff;
}

.rp-production-summary-row:not(.rp-production-summary-row--head):nth-child(even) {
	background: rgba(255, 255, 255, 0.015);
}

/* =========================================================
   SMALL EMPHASIS INSIDE SUMMARY
   ========================================================= */

.rp-production-summary-row > div strong {
	font-weight: 950;
	color: #ffffff;
}

.rp-production-summary-row > div.is-dim {
	color: var(--rp-text-dim);
}

.rp-production-summary-row > div.is-warning {
	color: #ffcc73;
}

.rp-production-summary-row > div.is-good {
	color: #8ef0b2;
}

/* =========================================================
   MOBILE BEHAVIOR
   ========================================================= */

@media (max-width: 900px) {
	.rp-production-summary-table {
		min-width: 680px;
	}

	.rp-production-summary-row {
		grid-template-columns: minmax(180px, 1.5fr) repeat(6, minmax(64px, 0.7fr));
	}

	.rp-production-summary-row > div {
		padding: 12px 12px;
	}
}

@media (max-width: 640px) {
	.rp-production-alert {
		border-radius: 16px;
		padding: 13px 13px;
	}

	.rp-production-alert-title {
		font-size: 14px;
	}

	.rp-production-alert-text {
		font-size: 12px;
		line-height: 1.4;
	}

	.rp-production-summary-table-wrap {
		border-radius: 16px;
	}

	.rp-production-summary-table {
		min-width: 620px;
	}

	.rp-production-summary-row > div {
		padding: 11px 10px;
		font-size: 12px;
	}

	.rp-production-summary-row > div:first-child {
		font-size: 13px;
	}
}


/* =========================================================
   KOS CSS 3/3
   FILE: runner-pro.css
   SECTION: PRODUCTION QUICK ACTIONS + PICKUP FORM

   NAMEN:
   - production panel za quick actions
   - form za vnos novega pickupa
   - skladno z obstoječim dark premium slogom
   - brez posega v map engine
   ========================================================= */

/* =========================================================
   QUICK ACTIONS / FORM PANEL
   ========================================================= */

.rp-production-actions-panel {
	padding: 16px;
	border-radius: 20px;
	background:
		radial-gradient(circle at top right, rgba(255, 138, 0, 0.07), transparent 30%),
		linear-gradient(180deg, #10141b 0%, #151b25 100%);
	border: 1px solid rgba(255, 255, 255, 0.06);
	box-shadow: var(--rp-shadow-lg);
}

.rp-production-actions-panel + .rp-production-actions-panel {
	margin-top: 12px;
}

.rp-production-actions-head {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 14px;
}

.rp-production-actions-title {
	margin: 0;
	font-size: 18px;
	line-height: 1.05;
	font-weight: 950;
	letter-spacing: -0.04em;
	color: #ffffff;
}

.rp-production-actions-sub {
	font-size: 13px;
	line-height: 1.35;
	font-weight: 700;
	color: var(--rp-text-soft);
}

/* =========================================================
   FORM LAYOUT
   ========================================================= */

.rp-production-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.rp-production-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.rp-production-form-grid--single {
	grid-template-columns: 1fr;
}

.rp-production-form-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.rp-production-form-label {
	font-size: 11px;
	line-height: 1.1;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rp-text-dim);
}

.rp-production-form-help {
	margin-top: -2px;
	font-size: 12px;
	line-height: 1.35;
	font-weight: 700;
	color: var(--rp-text-soft);
}

/* =========================================================
   INPUTS / SELECTS / TEXTAREA
   ========================================================= */

.rp-production-input,
.rp-production-select,
.rp-production-textarea {
	width: 100%;
	min-width: 0;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: #0c1016;
	color: #ffffff;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
	outline: none;
	appearance: none;
	-webkit-appearance: none;
}

.rp-production-input,
.rp-production-select {
	min-height: 46px;
	padding: 0 14px;
	font-size: 15px;
	font-weight: 800;
}

.rp-production-textarea {
	min-height: 110px;
	padding: 12px 14px;
	font-size: 14px;
	line-height: 1.45;
	font-weight: 700;
	resize: vertical;
}

.rp-production-input::placeholder,
.rp-production-textarea::placeholder {
	color: var(--rp-text-dim);
}

.rp-production-input:focus,
.rp-production-select:focus,
.rp-production-textarea:focus {
	border-color: rgba(255, 138, 0, 0.5);
	box-shadow:
		0 0 0 3px rgba(255, 138, 0, 0.14),
		inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.rp-production-select {
	background-image:
		linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.7) 50%),
		linear-gradient(135deg, rgba(255,255,255,0.7) 50%, transparent 50%);
	background-position:
		calc(100% - 18px) calc(50% - 2px),
		calc(100% - 12px) calc(50% - 2px);
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
	padding-right: 34px;
}

/* =========================================================
   FORM ROW HELPERS
   ========================================================= */

.rp-production-inline-note {
	padding: 11px 12px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.05);
	font-size: 12px;
	line-height: 1.4;
	font-weight: 700;
	color: var(--rp-text-soft);
}

.rp-production-inline-note strong {
	color: #ffffff;
	font-weight: 900;
}

.rp-production-form-divider {
	height: 1px;
	background: rgba(255, 255, 255, 0.06);
	margin: 2px 0;
}

/* =========================================================
   ACTION BUTTONS
   ========================================================= */

.rp-production-form-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 4px;
}

.rp-production-btn,
.rp-production-btn:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: transform 0.08s ease, box-shadow 0.08s ease, opacity 0.08s ease;
}

.rp-production-btn:active {
	transform: scale(0.985);
}

.rp-production-btn--primary {
	min-height: 46px;
	padding: 0 16px;
	border-radius: 14px;
	background: linear-gradient(180deg, var(--rp-orange) 0%, var(--rp-orange-2) 100%);
	color: #111111;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	box-shadow: var(--rp-shadow-md);
}

.rp-production-btn--secondary {
	min-height: 46px;
	padding: 0 16px;
	border-radius: 14px;
	background: linear-gradient(180deg, #1b1f27 0%, #151922 100%);
	color: #ffffff;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: var(--rp-shadow-md);
}

.rp-production-btn.is-loading,
.rp-production-btn[disabled] {
	opacity: 0.65;
	pointer-events: none;
}

/* =========================================================
   STATUS / RESULT BOXES
   ========================================================= */

.rp-production-form-result {
	display: none;
	padding: 12px 13px;
	border-radius: 14px;
	font-size: 13px;
	line-height: 1.4;
	font-weight: 800;
}

.rp-production-form-result.is-visible {
	display: block;
}

.rp-production-form-result--success {
	background: rgba(34, 197, 94, 0.14);
	border: 1px solid rgba(34, 197, 94, 0.2);
	color: #b6f4cb;
}

.rp-production-form-result--error {
	background: rgba(239, 68, 68, 0.14);
	border: 1px solid rgba(239, 68, 68, 0.2);
	color: #ffc2c2;
}

.rp-production-form-result--info {
	background: rgba(79, 140, 255, 0.14);
	border: 1px solid rgba(79, 140, 255, 0.2);
	color: #c8dcff;
}

/* =========================================================
   SMALL QUICK STATS / SHORT ACTIONS
   ========================================================= */

.rp-production-quick-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.rp-production-quick-card {
	padding: 12px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.05);
}

.rp-production-quick-label {
	margin-bottom: 8px;
	font-size: 11px;
	line-height: 1.1;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rp-text-dim);
}

.rp-production-quick-value {
	font-size: 22px;
	line-height: 1;
	font-weight: 1000;
	letter-spacing: -0.05em;
	color: #ffffff;
}

.rp-production-quick-sub {
	margin-top: 5px;
	font-size: 12px;
	line-height: 1.35;
	font-weight: 700;
	color: var(--rp-text-soft);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
	.rp-production-actions-panel {
		padding: 14px;
		border-radius: 18px;
	}

	.rp-production-form-grid {
		grid-template-columns: 1fr;
	}

	.rp-production-quick-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 640px) {
	.rp-production-actions-panel {
		padding: 13px;
		border-radius: 16px;
	}

	.rp-production-actions-title {
		font-size: 16px;
	}

	.rp-production-actions-sub,
	.rp-production-form-help,
	.rp-production-inline-note {
		font-size: 12px;
	}

	.rp-production-input,
	.rp-production-select {
		min-height: 44px;
		font-size: 14px;
	}

	.rp-production-textarea {
		min-height: 96px;
		font-size: 13px;
	}

	.rp-production-form-actions {
		flex-direction: column;
	}

	.rp-production-btn--primary,
	.rp-production-btn--secondary {
		width: 100%;
		min-height: 44px;
	}

	.rp-production-quick-grid {
		grid-template-columns: 1fr;
	}
}




/* =========================================================
   PRODUCTION HEADER SEMAFOR PILLS
   - kompaktna desktop vrstica
   - zelena = ok / zaključeno
   - oranžna = aktivno / v teku
   - rdeča = problem / zamuda
   - nevtralna = info
   ========================================================= */

.rp-production-wall-meta {
	display: grid;
	grid-template-columns: repeat(7, minmax(110px, 1fr));
	gap: 8px;
	flex: 1 1 auto;
	align-items: stretch;
}

.rp-production-wall-meta-pill {
	position: relative;
	overflow: hidden;
	min-width: 0;
	min-height: 72px;
	padding: 10px 12px 10px 14px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.06);
	box-shadow: var(--rp-shadow-md);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.rp-production-wall-meta-pill::before {
	content: "";
	position: absolute;
	left: 10px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-radius: 999px;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.24);
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.04);
}

.rp-production-wall-meta-pill span {
	display: block;
	padding-left: 14px;
	font-size: 10px;
	line-height: 1.05;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rp-text-dim);
	margin-bottom: 5px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rp-production-wall-meta-pill strong {
	display: block;
	padding-left: 14px;
	font-size: 16px;
	line-height: 1.05;
	font-weight: 1000;
	letter-spacing: -0.04em;
	color: #ffffff;
	word-break: keep-all;
	overflow-wrap: normal;
}

.rp-production-wall-meta-pill--neutral::before {
	background: #94a3b8;
	box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.14);
}

.rp-production-wall-meta-pill--active::before {
	background: var(--rp-orange);
	box-shadow: 0 0 0 4px rgba(255, 154, 0, 0.16);
}

.rp-production-wall-meta-pill--done::before {
	background: var(--rp-green);
	box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16);
}

.rp-production-wall-meta-pill--danger::before {
	background: var(--rp-red);
	box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.16);
}

@media (max-width: 1380px) {
	.rp-production-wall-meta {
		grid-template-columns: repeat(4, minmax(120px, 1fr));
	}
}

@media (max-width: 900px) {
	.rp-production-wall-meta {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.rp-production-wall-meta {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.rp-production-wall-meta-pill {
		min-height: 68px;
		padding: 10px 12px 10px 14px;
		border-radius: 13px;
	}

	.rp-production-wall-meta-pill span {
		font-size: 10px;
	}

	.rp-production-wall-meta-pill strong {
		font-size: 15px;
	}
}




/* =========================================================
   RUNNER DASHBOARD
   TURNO + REPORT POLISH
   ========================================================= */

.rp-shift-bar {
	padding: 18px;
	border-radius: 24px;
	background: linear-gradient(180deg, rgba(20, 27, 40, 0.96) 0%, rgba(24, 33, 48, 0.92) 100%);
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.rp-shift-bar-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.rp-shift-title-wrap {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.rp-shift-title {
	font-size: 12px;
	line-height: 1;
	font-weight: 900;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rp-orange);
}

.rp-shift-status {
	font-size: 18px;
	line-height: 1.1;
	font-weight: 900;
	color: #fff;
}

.rp-shift-project {
	font-size: 14px;
	line-height: 1.3;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.78);
	word-break: break-word;
}

.rp-shift-km {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
	text-align: right;
	flex: 0 0 auto;
}

.rp-shift-km-item {
	font-size: 13px;
	line-height: 1.25;
	color: rgba(255, 255, 255, 0.86);
}

.rp-shift-km-item strong {
	font-weight: 800;
	color: rgba(255, 255, 255, 0.92);
}

.rp-shift-meta-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.rp-shift-meta-card {
	padding: 12px 14px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.06);
	min-width: 0;
}

.rp-shift-meta-label {
	font-size: 11px;
	line-height: 1.1;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rp-text-dim);
	margin-bottom: 6px;
}

.rp-shift-meta-value {
	font-size: 16px;
	line-height: 1.2;
	font-weight: 800;
	color: #fff;
	word-break: break-word;
}

.rp-shift-photo-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.rp-shift-photo-card {
	display: block;
	padding: 10px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid rgba(255, 255, 255, 0.06);
	text-decoration: none;
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.rp-shift-photo-card:hover {
	transform: translateY(-1px);
	border-color: rgba(255, 154, 0, 0.26);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.rp-shift-photo-card-label {
	font-size: 11px;
	line-height: 1.1;
	font-weight: 900;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: var(--rp-text-dim);
	margin-bottom: 8px;
}

.rp-shift-photo-thumb {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.05);
}

.rp-shift-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.rp-shift-actions .rp-btn {
	flex: 1 1 0;
	min-width: 0;
}

.rp-shift-archive-card {
	padding-top: 16px;
	padding-bottom: 16px;
}

.rp-shift-archive-card .rp-empty-state-text {
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
	line-height: 1.45;
}

.rp-report-mini-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 14px;
}

.rp-report-mini-card {
	padding: 14px 14px 13px;
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(26, 36, 53, 0.94) 0%, rgba(31, 43, 62, 0.9) 100%);
	border: 1px solid rgba(255, 255, 255, 0.07);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.rp-report-mini-label {
	font-size: 11px;
	line-height: 1.1;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rp-text-dim);
	margin-bottom: 7px;
}

.rp-report-mini-value {
	font-size: 18px;
	line-height: 1.1;
	font-weight: 900;
	color: #fff;
}

.rp-report-mini-value--small {
	font-size: 15px;
}

.rp-compact-rows {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.rp-profile-row--compact {
	padding: 11px 12px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid rgba(255, 255, 255, 0.055);
}

.rp-profile-row--compact .rp-profile-row-label {
	font-size: 11px;
	line-height: 1.1;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rp-orange);
}

.rp-profile-row--compact .rp-profile-row-value {
	font-size: 15px;
	line-height: 1.3;
	font-weight: 700;
	color: #fff;
	text-align: right;
	word-break: break-word;
}

.rp-shift-photo-preview {
	margin-top: 10px;
}

.rp-shift-photo-preview img {
	display: block;
	width: 100%;
	max-width: 220px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 640px) {
	.rp-shift-bar {
		padding: 16px;
		border-radius: 20px;
		gap: 14px;
	}

	.rp-shift-bar-top {
		flex-direction: column;
		align-items: stretch;
	}

	.rp-shift-km {
		align-items: flex-start;
		text-align: left;
	}

	.rp-shift-meta-grid,
	.rp-shift-photo-row,
	.rp-report-mini-grid {
		grid-template-columns: 1fr;
	}

	.rp-shift-actions {
		flex-direction: column;
	}

	.rp-shift-actions .rp-btn {
		width: 100%;
	}

	.rp-report-mini-value {
		font-size: 17px;
	}

	.rp-profile-row--compact .rp-profile-row-value {
		font-size: 14px;
	}
}


/* =========================================================
   HEADER / PROJECT LOGO FIX
   - logo ostane velik
   - nič več cropanja
   - pokaže cel logo
   ========================================================= */

.rp-app-header-top {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 14px;
}

.rp-app-brand-wrap {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-width: 0;
}

.rp-app-brandline {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.rp-app-brand-mark {
	position: relative;
	width: 108px;
	height: 108px;
	min-width: 108px;
	flex: 0 0 108px;
	border-radius: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 10px;
	background:
		linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 100%),
		radial-gradient(circle at 30% 30%, rgba(255,168,0,0.16), rgba(255,168,0,0.03) 70%),
		#07090d;
	border: 1px solid rgba(255,255,255,0.10);
	box-shadow:
		0 10px 28px rgba(0,0,0,0.34),
		0 0 0 1px rgba(255,170,0,0.08) inset;
}

.rp-app-project-logo-img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center center;
	border-radius: 14px;
	background: transparent;
}

.rp-app-brand-mark-dot,
.rp-app-brand-mark-route {
	display: block;
}

.rp-app-brand-mark-dot {
	width: 18px;
	height: 18px;
	border-radius: 999px;
	background: linear-gradient(180deg, #ffbf47 0%, #ff9a00 100%);
	box-shadow: 0 0 0 6px rgba(255,154,0,0.12);
}

.rp-app-brand-mark-route {
	position: absolute;
	right: 18px;
	bottom: 18px;
	width: 28px;
	height: 28px;
	border-right: 3px solid #ff9a00;
	border-bottom: 3px solid #ff9a00;
	border-bottom-right-radius: 14px;
	opacity: 0.9;
}

.rp-app-header-center {
	min-width: 0;
}

.rp-app-production-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 54px;
	padding: 0 24px;
	border-radius: 999px;
	background: linear-gradient(180deg, #ffb11a 0%, #ff9f00 100%);
	color: #111;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: 0 10px 30px rgba(255,153,0,0.24);
}

.rp-app-header-right {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.rp-profile-trigger {
	width: 54px;
	height: 54px;
	border-radius: 999px;
	border: 1px solid rgba(255,255,255,0.16);
	background: rgba(255,255,255,0.06);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	cursor: pointer;
	overflow: hidden;
}

.rp-profile-avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rp-profile-avatar-fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-weight: 800;
	color: #fff;
}

@media (max-width: 640px) {
	.rp-app-header-top {
		grid-template-columns: 92px 1fr 46px;
		gap: 10px;
	}

	.rp-app-brand-mark {
		width: 92px;
		height: 92px;
		min-width: 92px;
		flex-basis: 92px;
		padding: 8px;
		border-radius: 20px;
	}

	.rp-app-production-btn {
		min-height: 48px;
		padding: 0 16px;
		font-size: 13px;
		letter-spacing: 0.12em;
	}

	.rp-profile-trigger {
		width: 46px;
		height: 46px;
	}
}