/* Inicio ? tareas y recordatorios del usuario */
.logistica-user-panel {
	--panel-brand: #0f766e;
	--panel-brand-light: #ecfdf5;
	--panel-border: #e2e8f0;
	--panel-text: #0f172a;
	--panel-muted: #64748b;
	box-sizing: border-box;
	margin-top: 0;
	max-width: none;
	position: relative;
	width: 100%;
}

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

.logistica-user-panel__loading {
	align-items: center;
	background: rgba(248, 255, 254, 0.92);
	display: flex;
	inset: 0;
	justify-content: center;
	pointer-events: none;
	position: absolute;
	z-index: 40;
}

.logistica-user-panel__loading:not([hidden]) {
	position: fixed;
	z-index: 100040;
}

.logistica-user-panel__loading[hidden] {
	display: none !important;
}

.logistica-user-panel__loading-inner {
	align-items: center;
	background: #fff;
	border: 1px solid var(--panel-border);
	border-radius: 14px;
	box-shadow: 0 12px 32px rgba(15, 118, 110, 0.14);
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 300px;
	pointer-events: auto;
	padding: 24px 28px;
	text-align: center;
}

.logistica-user-panel__loading-inner p {
	color: var(--panel-text);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	margin: 0;
}

.logistica-user-panel__loading-spinner,
.logistica-user-panel__save-spinner {
	animation: logistica-panel-spin 0.85s linear infinite;
	border: 3px solid #ccfbf1;
	border-radius: 50%;
	border-top-color: var(--panel-brand);
	flex-shrink: 0;
	height: 32px;
	width: 32px;
}

.logistica-user-panel.is-panel-loading .logistica-user-panel__layout,
.logistica-user-panel.is-tab-loading .logistica-user-panel__layout {
	opacity: 0.58;
	pointer-events: none;
	user-select: none;
}

.logistica-user-panel__toolbar {
	align-items: center;
	display: flex;
	justify-content: flex-end;
	min-height: 24px;
}

.logistica-user-panel__save-status {
	align-items: center;
	color: var(--panel-muted);
	display: inline-flex;
	font-size: 12px;
	gap: 8px;
	min-height: 24px;
}

.logistica-user-panel__save-status-inner {
	align-items: center;
	display: inline-flex;
	gap: 8px;
}

.logistica-user-panel__save-status.is-saving {
	background: #eff6ff;
	border-radius: 999px;
	color: #1d4ed8;
	padding: 4px 12px 4px 10px;
}

.logistica-user-panel__save-status.is-saving .logistica-user-panel__save-spinner {
	border-color: #bfdbfe;
	border-top-color: #2563eb;
	height: 14px;
	width: 14px;
}

.logistica-user-panel__save-status.is-saved {
	background: var(--panel-brand-light);
	border-radius: 999px;
	color: var(--panel-brand);
	padding: 4px 12px;
}

.logistica-user-panel__save-status.is-error {
	background: #fef2f2;
	border-radius: 999px;
	color: #dc2626;
	padding: 4px 12px;
}

.logistica-user-panel__layout {
	box-sizing: border-box;
	display: grid;
	gap: 18px;
	grid-template-columns: 260px minmax(0, 1fr);
	max-width: none;
	width: 100%;
}

.logistica-user-panel__main[data-user-panel-tabs] {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}

.logistica-user-panel__tabs {
	align-items: stretch;
	background: #eef2f6;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	padding: 4px;
}

.logistica-user-panel__tab {
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 10px;
	color: #475569;
	cursor: pointer;
	flex: 1 1 auto;
	font-family: inherit;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.25;
	min-height: 42px;
	padding: 0.55rem 0.9rem;
	text-align: center;
	transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.logistica-user-panel__tab:hover {
	background: rgba(255, 255, 255, 0.7);
	color: #0f172a;
}

.logistica-user-panel__tab.is-active,
.logistica-user-panel__tab[aria-selected="true"] {
	background: #fff;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
	color: #0f766e;
}

.logistica-user-panel__tab:focus-visible {
	outline: 2px solid #0f766e;
	outline-offset: 2px;
}

.logistica-user-panel__tab-panels {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.logistica-user-panel__tab-panel {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.logistica-user-panel__tab-panel[hidden] {
	display: none !important;
}

.logistica-user-panel [id^="user-panel-"] {
	scroll-margin-top: 1.5rem;
}

@media (max-width: 1100px) {
	.logistica-user-panel__layout {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 719px) {
	.logistica-user-panel__tabs {
		gap: 3px;
		padding: 3px;
	}

	.logistica-user-panel__tab {
		flex: 1 1 calc(50% - 3px);
		font-size: 0.82rem;
		min-height: 40px;
		padding: 0.5rem 0.55rem;
	}
}

.logistica-user-panel__sidebar {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.logistica-user-panel__user-card {
	align-items: center;
	background: linear-gradient(180deg, #11968d 0%, var(--panel-brand) 100%);
	border-radius: 12px;
	color: #fff;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px 16px;
	text-align: center;
}

.logistica-user-panel__avatar img {
	border: 3px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	display: block;
	height: 72px;
	object-fit: cover;
	width: 72px;
}

.logistica-user-panel__user-meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.logistica-user-panel__user-meta strong {
	font-size: 18px;
}

.logistica-user-panel__user-meta span {
	font-size: 12px;
	opacity: 0.92;
}

.logistica-user-panel__role {
	background: rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	display: inline-block;
	font-size: 11px !important;
	font-weight: 600;
	margin-top: 4px;
	padding: 3px 10px;
}

.logistica-user-panel__logout {
	align-items: center;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	gap: 0.35rem;
	justify-content: center;
	line-height: 1.2;
	margin-top: 2px;
	padding: 6px 14px;
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease;
	width: auto;
}

.logistica-user-panel__logout .dashicons {
	font-size: 14px;
	height: 14px;
	width: 14px;
}

.logistica-user-panel__logout:hover,
.logistica-user-panel__logout:focus-visible {
	background: rgba(255, 255, 255, 0.22);
	border-color: rgba(255, 255, 255, 0.65);
	color: #fff;
	outline: none;
}

.logistica-user-panel__clock {
	border-top: 1px solid rgba(255, 255, 255, 0.22);
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: 8px;
	padding-top: 10px;
	width: 100%;
}

.logistica-user-panel__clock strong {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.1;
}

.logistica-user-panel__clock span {
	font-size: 12px;
	line-height: 1.35;
	opacity: 0.95;
}

.logistica-user-panel__clock em {
	font-size: 10px;
	font-style: normal;
	font-weight: 600;
	opacity: 0.8;
	text-transform: uppercase;
}

.logistica-user-panel__panel-title,
.logistica-user-panel__section-header h2 {
	font-family: inherit !important;
	font-size: 26px !important;
	font-weight: 700 !important;
	letter-spacing: normal !important;
	line-height: 1.3 !important;
	margin: 0 !important;
}

.logistica-user-panel__sidebar-title {
	align-items: center;
	color: #475569 !important;
	display: flex;
	flex: 1 1 auto;
	font-family: inherit !important;
	font-size: 0.82rem !important;
	font-weight: 700 !important;
	gap: 6px;
	letter-spacing: 0.03em !important;
	line-height: 1.25 !important;
	margin: 0 !important;
	min-width: 0;
	text-transform: uppercase;
}

.logistica-user-panel__sidebar-title .dashicons {
	color: #0f766e;
	flex-shrink: 0;
	font-size: 16px;
	height: 16px;
	width: 16px;
}

.logistica-user-panel__sidebar-title span:last-child {
	min-width: 0;
	overflow-wrap: anywhere;
}

.logistica-user-panel__quick-links-head {
	align-items: center;
	display: flex;
	gap: 8px;
	justify-content: space-between;
	margin-bottom: 2px;
}

.logistica-user-panel__quick-links-edit {
	align-items: center;
	background: #fff;
	border: 1px solid var(--panel-border);
	border-radius: 999px;
	color: var(--panel-muted);
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 11px;
	font-weight: 600;
	gap: 4px;
	line-height: 1.2;
	padding: 5px 10px;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.logistica-user-panel__quick-links-edit .dashicons {
	font-size: 14px;
	height: 14px;
	width: 14px;
}

.logistica-user-panel__quick-links-edit:hover,
.logistica-user-panel__quick-links-edit:focus-visible,
.logistica-user-panel__quick-links-edit.is-active {
	background: var(--panel-brand-light);
	border-color: #99f6e4;
	color: var(--panel-brand);
	outline: none;
}

.logistica-user-panel__quick-links-hint {
	margin-top: 6px;
}

.logistica-user-panel__stat--link {
	align-items: center;
	appearance: none;
	cursor: pointer;
	font-family: inherit;
	text-align: left;
	width: 100%;
}

.logistica-user-panel__stat--link .logistica-user-panel__stat-arrow {
	color: var(--panel-brand);
	font-size: 16px;
	height: 16px;
	width: 16px;
}

.logistica-user-panel__quick-links-editor {
	background: #f8fafc;
	border: 1px solid var(--panel-border);
	border-radius: 12px;
	gap: 10px;
	margin-top: 10px;
	padding: 12px;
}

.logistica-user-panel__quick-links-editor[hidden] {
	display: none !important;
}

.logistica-user-panel__quick-links-editor:not([hidden]) {
	display: grid;
}

.logistica-user-panel__quick-links-editor-title {
	color: #475569;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	margin: 0;
}

.logistica-user-panel__quick-links-options {
	background: #fff;
	border: 1px solid var(--panel-border);
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	gap: 0;
	max-height: 280px;
	overflow: auto;
}

.logistica-user-panel__quick-links-option {
	align-items: center;
	appearance: none;
	background: #fff;
	border: 0;
	border-bottom: 1px solid #f1f5f9;
	border-radius: 0;
	color: #334155;
	cursor: pointer;
	display: flex;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	gap: 10px;
	line-height: 1.3;
	padding: 10px 12px;
	text-align: left;
	transition: background 0.15s ease, color 0.15s ease;
	width: 100%;
}

.logistica-user-panel__quick-links-option:last-child {
	border-bottom: 0;
}

.logistica-user-panel__quick-links-check {
	align-items: center;
	background: #fff;
	border: 1.5px solid #cbd5e1;
	border-radius: 6px;
	color: #fff;
	display: inline-flex;
	flex-shrink: 0;
	height: 20px;
	justify-content: center;
	width: 20px;
}

.logistica-user-panel__quick-links-check .dashicons {
	font-size: 14px;
	height: 14px;
	line-height: 14px;
	width: 14px;
}

.logistica-user-panel__quick-links-option-label {
	flex: 1 1 auto;
	min-width: 0;
}

.logistica-user-panel__quick-links-option:hover,
.logistica-user-panel__quick-links-option:focus-visible {
	background: #f8fafc;
	color: #0f172a;
	outline: none;
}

.logistica-user-panel__quick-links-option.is-active {
	background: #f0fdfa;
	color: #0f766e;
	font-weight: 600;
}

.logistica-user-panel__quick-links-option.is-active .logistica-user-panel__quick-links-check {
	background: #0f766e;
	border-color: #0f766e;
	color: #fff;
}

.logistica-user-panel__quick-links-editor-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.logistica-user-panel__quick-links-editor-actions[hidden] {
	display: none !important;
}

.logistica-user-panel__sidebar-section {
	background: #fff;
	border: 1px solid var(--panel-border);
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
	padding: 12px 14px;
}

.logistica-user-panel__quick-links.logistica-user-panel__sidebar-section {
	gap: 10px;
}

.logistica-user-panel__hint--sidebar {
	font-size: 11px;
	line-height: 1.4;
	margin: 0;
}

.logistica-user-panel__list--resume {
	gap: 6px;
}

.logistica-user-panel__resume-carousel {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.logistica-user-panel__resume-card {
	align-items: center;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-left: 3px solid #0f766e;
	border-radius: 10px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	display: grid;
	gap: 8px 12px;
	grid-template-columns: 1fr auto;
	padding: 9px 10px 9px 11px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.logistica-user-panel__resume-card:hover {
	border-color: #cbd5e1;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.logistica-user-panel__resume-card-body {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.logistica-user-panel__resume-card--linked {
	cursor: pointer;
}

.logistica-user-panel__resume-card--linked:focus-visible {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0f766e;
	outline: none;
}

.logistica-user-panel__resume-card--linked .logistica-user-panel__resume-card-body {
	pointer-events: none;
}

.logistica-user-panel__resume-card--linked .logistica-user-panel__resume-actions {
	pointer-events: auto;
}

.logistica-user-panel__resume-nav {
	align-items: center;
	display: flex;
	gap: 8px;
	justify-content: space-between;
}

.logistica-user-panel__resume-nav-btn {
	background: #fff;
	border: 1px solid var(--panel-border);
	border-radius: 8px;
	color: var(--panel-text);
	cursor: pointer;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	min-width: 32px;
	padding: 6px 10px;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.logistica-user-panel__resume-nav-btn:hover:not(:disabled) {
	border-color: var(--panel-brand);
	color: var(--panel-brand);
}

.logistica-user-panel__resume-nav-btn:disabled {
	cursor: not-allowed;
	opacity: 0.4;
}

.logistica-user-panel__resume-nav-indicator {
	color: var(--panel-muted);
	flex: 1;
	font-size: 11px;
	font-weight: 600;
	text-align: center;
}

.logistica-user-panel__sidebar-section .logistica-user-panel__resume-card {
	grid-template-columns: 1fr;
	padding: 8px 9px 8px 10px;
}

.logistica-user-panel__sidebar-section .logistica-user-panel__resume-title {
	font-size: 12px;
	line-height: 1.25;
}

.logistica-user-panel__sidebar-section .logistica-user-panel__resume-context {
	font-size: 11px;
	line-height: 1.35;
	margin: 0;
}

.logistica-user-panel__sidebar-section .logistica-user-panel__resume-meta {
	font-size: 10px;
}

.logistica-user-panel__stats {
	display: grid;
	gap: 8px;
}

.logistica-user-panel__stat {
	background: #fff;
	border: 1px solid var(--panel-border);
	border-radius: 10px;
	color: inherit;
	display: flex;
	justify-content: space-between;
	padding: 10px 12px;
	text-decoration: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.logistica-user-panel__stat:hover {
	border-color: var(--panel-brand);
	box-shadow: 0 2px 8px rgba(15, 118, 110, 0.12);
}

.logistica-user-panel__stat span {
	color: var(--panel-muted);
	font-size: 12px;
}

.logistica-user-panel__stat strong {
	color: var(--panel-brand);
	font-size: 16px;
}

.logistica-user-panel__main {
	box-sizing: border-box;
	display: grid;
	gap: 16px;
	grid-template-columns: minmax(0, 1fr);
	max-width: none;
	width: 100%;
}

.logistica-user-panel__section {
	background: #fff;
	border: 1px solid var(--panel-border);
	border-radius: 12px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 100%;
	min-width: 0;
	padding: 14px 16px;
}

.logistica-user-panel__section--wide {
	grid-column: 1 / -1;
}

.logistica-user-panel__section-header {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: space-between;
}

.logistica-user-panel__section-header--stack {
	align-items: flex-start;
	flex-wrap: wrap;
}

.logistica-user-panel__section-heading {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.logistica-user-panel__section-tools {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

.logistica-user-panel__section-tools--excel {
	margin-top: 8px;
}

.logistica-user-panel .logistica-excel-btn,
.logistica-user-panel .logistica-excel-btn.button,
.logistica-user-panel a.logistica-excel-btn.button,
.logistica-user-panel button.logistica-excel-btn.button {
	align-items: center;
	appearance: none;
	background: #0f766e;
	border: 1px solid #0b5e58;
	border-radius: 10px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
	color: #ffffff;
	cursor: pointer;
	display: inline-flex;
	font-size: 13px;
	font-weight: 700;
	gap: 6px;
	justify-content: center;
	line-height: 1.3;
	min-height: 38px;
	min-width: 0;
	padding: 8px 14px;
	text-decoration: none;
}

.logistica-user-panel .logistica-excel-btn:hover,
.logistica-user-panel .logistica-excel-btn:focus {
	background: #0b5e58;
	border-color: #084843;
	color: #ffffff;
	outline: none;
}

.logistica-user-panel .logistica-excel-btn .dashicons {
	font-size: 16px;
	height: 16px;
	line-height: 16px;
	width: 16px;
}

.logistica-user-panel__hint {
	color: var(--panel-muted);
	font-size: 18px;
	line-height: 1.4;
	margin: 0;
}

.logistica-user-panel__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.logistica-user-panel__section--wide .logistica-user-panel__list {
	gap: 6px;
}

.logistica-user-panel__row {
	align-items: center;
	background: #fff;
	border: 1px solid var(--panel-border);
	border-radius: 10px;
	display: grid;
	gap: 12px 16px;
	grid-template-columns: minmax(0, 1fr) auto;
	padding: 10px 14px;
}

/* Tarjeta unificada (Agenda / Chequeo / Compras) ? mismo lenguaje visual que Avisos */
.logistica-user-panel__row--card {
	align-items: start;
	border-left: 4px solid #94a3b8;
	border-radius: 16px;
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
	gap: 12px;
	grid-template-columns: auto minmax(0, 1fr);
	overflow: visible;
	padding: 14px;
	position: relative;
	transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

/* Acento ya va en border-left; se oculta el pseudo-elemento absoluto */
.logistica-user-panel__row--card .logistica-user-panel__row-accent {
	display: none;
}

.logistica-user-panel__row--card .logistica-user-panel__row-icon {
	align-items: center;
	align-self: start;
	background: transparent;
	border-radius: 12px;
	color: #0f766e;
	display: flex;
	flex-shrink: 0;
	height: 42px;
	justify-content: center;
	justify-self: start;
	margin-left: 0;
	width: 42px;
}

.logistica-user-panel__row--card .logistica-user-panel__row-icon--view {
	height: auto;
	width: auto;
}

.logistica-user-panel__row--card .logistica-user-panel__row-icon--view .logistica-user-panel__btn--icon-only {
	background: #fff;
	border: 1.5px solid #0f766e;
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
	color: #0f766e;
	height: 42px;
	min-height: 42px;
	min-width: 42px;
	width: 42px;
}

.logistica-user-panel__row--card .logistica-user-panel__row-icon--view .logistica-user-panel__btn--icon-only:hover,
.logistica-user-panel__row--card .logistica-user-panel__row-icon--view .logistica-user-panel__btn--icon-only:focus-visible {
	background: #f0fdfa;
	border-color: #0d9488;
	color: #0d9488;
	outline: none;
}

.logistica-user-panel__row--card .logistica-user-panel__row-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	grid-column: 2;
	min-width: 0;
}

.logistica-user-panel__row--card .logistica-user-panel__row-title {
	color: var(--panel-text);
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
}

.logistica-user-panel__row-desc {
	color: #334155;
	font-size: 0.93rem;
	line-height: 1.45;
	margin: 0;
}

.logistica-user-panel__row-time {
	align-items: center;
	color: var(--panel-muted);
	display: inline-flex;
	font-size: 0.82rem;
	gap: 4px;
}

.logistica-user-panel__row-time .dashicons {
	font-size: 14px;
	height: 14px;
	width: 14px;
}

.logistica-user-panel__aviso-kind--soft {
	background: #f8fafc;
	color: #64748b;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
}

.logistica-user-panel__row--card .logistica-user-panel__row-icon,
.logistica-user-panel__row--card .logistica-user-panel__row-body,
.logistica-user-panel__row--card .logistica-user-panel__row-actions {
	position: relative;
	z-index: 1;
}

.logistica-user-panel__row--card .logistica-user-panel__row-actions {
	box-sizing: border-box;
	grid-column: 1 / -1;
	justify-content: flex-start;
	justify-self: start;
	max-width: 100%;
	min-width: 0;
	overflow: visible;
	width: auto;
}

.logistica-user-panel__row--card .logistica-user-panel__aviso-meta {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 0;
}

@media (max-width: 719px) {
	.logistica-user-panel__row--card:not(.is-editing) {
		align-items: start;
		gap: 12px;
		grid-template-columns: auto minmax(0, 1fr);
		padding: 14px;
	}

	.logistica-user-panel__row--card .logistica-user-panel__row-body {
		gap: 8px;
		grid-column: 2;
	}

	.logistica-user-panel__row--card .logistica-user-panel__row-title {
		font-size: 1rem;
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	.logistica-user-panel__row--card .logistica-user-panel__row-desc {
		font-size: 0.88rem;
		overflow-wrap: anywhere;
	}

	.logistica-user-panel__row--card .logistica-user-panel__row-actions,
	.logistica-user-panel__aviso-actions,
	.logistica-user-panel__row--proveedor .logistica-user-panel__row-actions {
		border-radius: 14px;
		display: inline-flex;
		flex-wrap: wrap;
		gap: 6px;
		justify-content: flex-start;
		justify-self: start;
		margin: 0;
		max-width: 100%;
		overflow: visible !important;
		overflow-x: visible !important;
		padding: 4px;
		scrollbar-width: none;
		width: auto;
	}

	.logistica-user-panel__row--card .logistica-user-panel__row-actions {
		grid-column: 1 / -1;
	}

	.logistica-user-panel__row--card .logistica-user-panel__row-actions::-webkit-scrollbar,
	.logistica-user-panel__aviso-actions::-webkit-scrollbar,
	.logistica-user-panel__row--proveedor .logistica-user-panel__row-actions::-webkit-scrollbar {
		display: none;
		height: 0;
	}

	.logistica-user-panel__row-actions .logistica-user-panel__btn--icon-only,
	.logistica-user-panel__aviso-actions .logistica-user-panel__btn--icon-only {
		flex: 0 0 40px;
		height: 40px;
		min-height: 40px;
		min-width: 40px;
		transform: none !important;
		width: 40px;
	}
}

@media (min-width: 720px) {
	.logistica-user-panel__row--card:not(.is-editing) {
		align-items: center;
		grid-template-columns: auto minmax(0, 1fr) auto;
		padding: 16px;
	}

	.logistica-user-panel__row--card:hover {
		box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
	}

	.logistica-user-panel__row--card:not(.is-editing) .logistica-user-panel__row-body {
		grid-column: auto;
	}

	.logistica-user-panel__row--card:not(.is-editing) .logistica-user-panel__row-actions {
		display: inline-flex;
		flex-wrap: nowrap;
		grid-column: auto;
		justify-content: flex-end;
		justify-self: end;
		max-width: none;
		width: auto;
	}
}

.logistica-user-panel__row.is-editing {
	align-items: start;
	background: var(--panel-brand-light);
	border-color: #99f6e4;
	grid-template-columns: 1fr;
	overflow: visible;
	z-index: 2;
}

.logistica-user-panel__row.is-pending,
.logistica-user-panel__row.is-complete {
	background: #fff;
	border-color: #e2e8f0;
}

.logistica-user-panel__row--card.is-pending,
.logistica-user-panel__row--card.is-urgent {
	background: #fff;
	border-color: #f6c790;
	border-left-color: #ea580c;
	box-shadow: 0 8px 22px rgba(180, 83, 9, 0.08);
}

.logistica-user-panel__row--card.is-complete {
	background: #fff;
	border-color: #bbf7d0;
	border-left-color: #059669;
}

.logistica-user-panel__row-body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.logistica-user-panel__row-main {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
}

.logistica-user-panel__row-head {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.logistica-user-panel__row-title-wrap {
	align-items: center;
	display: flex;
	gap: 4px;
	min-width: 0;
}

.logistica-user-panel__row-title-wrap .logistica-user-panel__row-title,
.logistica-user-panel__row-title-wrap .logistica-user-panel__proveedor-name {
	flex: 1 1 auto;
	min-width: 0;
}

.logistica-user-panel__row-view-btn {
	background: #fff !important;
	border: 1.5px solid #0f766e !important;
	border-radius: 10px !important;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
	color: #0f766e !important;
	flex-shrink: 0;
	height: 36px !important;
	margin-right: 6px;
	min-height: 36px !important;
	min-width: 36px !important;
	padding: 0;
	width: 36px !important;
}

.logistica-user-panel__row-view-btn .dashicons {
	color: #0f766e;
	font-size: 18px;
	height: 18px;
	line-height: 18px;
	width: 18px;
}

.logistica-user-panel__row-view-btn:hover,
.logistica-user-panel__row-view-btn:focus-visible {
	background: #f0fdfa !important;
	border-color: #0d9488 !important;
	box-shadow: 0 4px 12px rgba(15, 118, 110, 0.16);
	color: #0d9488 !important;
	outline: none;
}

.logistica-user-panel__btn--view {
	background: #fff;
	border: 1.5px solid #0f766e;
	color: #0f766e;
}

.logistica-user-panel__btn--view:hover,
.logistica-user-panel__btn--view:focus-visible {
	background: #f0fdfa;
	border-color: #0d9488;
	color: #0d9488;
}

.logistica-user-panel__row-badges {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 8px;
}

.logistica-user-panel__row-title {
	font-size: 14px;
	line-height: 1.35;
	min-width: 0;
}

.logistica-user-panel__row-when,
.logistica-user-panel__row-meta {
	color: var(--panel-muted);
	font-size: 12px;
	font-weight: 600;
}

.logistica-user-panel__row-badges .logistica-user-panel__row-when {
	line-height: 1.2;
	white-space: nowrap;
}

.logistica-user-panel__row-body p {
	margin: 0;
}

.logistica-user-panel__row-notes {
	color: #475569;
	font-size: 12px;
	line-height: 1.4;
	margin: 2px 0 0;
	white-space: pre-wrap;
}

.logistica-user-panel__row-actions.is-edit {
	grid-column: 1 / -1;
	justify-content: flex-start;
}

.logistica-user-panel__row-edit {
	display: flex;
	flex-direction: column;
	gap: 8px;
	grid-column: 1 / -1;
	min-width: 0;
}

.logistica-user-panel__row-edit-grid {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.logistica-user-panel__row-edit-grid--pendientes {
	grid-template-columns: minmax(0, 2fr) minmax(140px, 1fr);
}

.logistica-user-panel__row-edit-grid--agenda {
	grid-template-columns: minmax(0, 2fr) minmax(120px, 1fr) minmax(140px, 1fr) minmax(120px, 1fr);
}

.logistica-user-panel__row-edit-grid--compras {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.logistica-user-panel__field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.logistica-user-panel__field--wide {
	grid-column: 1 / -1;
}

.logistica-user-panel__field-head {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.logistica-user-panel__field-label {
	color: #475569;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.2;
}

.logistica-user-panel__tip-trigger {
	align-items: center;
	background: transparent;
	border: none;
	border-radius: 999px;
	color: #64748b;
	cursor: help;
	display: inline-flex;
	flex-shrink: 0;
	height: 20px;
	justify-content: center;
	padding: 0;
	position: relative;
	width: 20px;
}

.logistica-user-panel__tip-trigger .dashicons {
	font-size: 16px;
	height: 16px;
	line-height: 16px;
	width: 16px;
}

.logistica-user-panel__tip-trigger:hover,
.logistica-user-panel__tip-trigger:focus-visible {
	color: var(--panel-brand);
	outline: none;
}

.logistica-user-panel__tip-bubble {
	background: #0f172a;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.28);
	color: #f8fafc;
	display: none;
	font-size: 12px;
	font-weight: 400;
	left: 50%;
	line-height: 1.45;
	max-width: 240px;
	padding: 8px 10px;
	pointer-events: none;
	position: absolute;
	text-align: left;
	top: calc(100% + 8px);
	transform: translateX(-50%);
	white-space: normal;
	width: max-content;
	z-index: 30;
}

.logistica-user-panel__tip-bubble::before {
	border: 6px solid transparent;
	border-bottom-color: #0f172a;
	bottom: 100%;
	content: '';
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
}

.logistica-user-panel__tip-trigger:hover .logistica-user-panel__tip-bubble,
.logistica-user-panel__tip-trigger:focus-visible .logistica-user-panel__tip-bubble,
.logistica-user-panel__btn--icon-only:hover .logistica-user-panel__tip-bubble,
.logistica-user-panel__btn--icon-only:focus-visible .logistica-user-panel__tip-bubble {
	display: block;
}

.logistica-user-panel__tip-bubble--action {
	bottom: calc(100% + 8px);
	top: auto;
}

.logistica-user-panel__tip-bubble--action::before {
	border-bottom-color: transparent;
	border-top-color: #0f172a;
	bottom: auto;
	top: 100%;
}

.logistica-user-panel__btn--icon-only {
	position: relative;
}

.logistica-user-panel__btn--icon-only .logistica-user-panel__tip-bubble {
	display: none !important;
}

.logistica-user-panel__edit-action {
	align-items: center;
	display: inline-flex;
	gap: 4px;
}

.logistica-user-panel__row-actions.is-edit {
	align-items: center;
}

.logistica-user-panel__row-edit-grid--proveedores {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.logistica-user-panel__row--proveedor {
	align-items: start;
	background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%);
	border-color: #99f6e4;
	box-shadow: 0 1px 2px rgba(15, 118, 110, 0.06);
}

.logistica-user-panel__row--proveedor:not(.is-editing) {
	grid-template-columns: minmax(0, 1fr) auto;
	padding: 10px 14px;
}

.logistica-user-panel__proveedor-card {
	min-width: 0;
}

.logistica-user-panel__proveedor-head {
	align-items: center;
	display: flex;
	gap: 12px;
}

.logistica-user-panel__proveedor-head-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.logistica-user-panel__proveedor-name {
	color: #0f172a;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
}

.logistica-user-panel__proveedor-updated {
	color: #64748b;
	font-size: 11px;
	line-height: 1.3;
}

.logistica-user-panel__proveedor-contacts {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.logistica-user-panel__proveedor-contact {
	align-items: flex-start;
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid #ccfbf1;
	border-radius: 10px;
	display: flex;
	gap: 8px;
	min-width: 0;
	padding: 8px 10px;
}

.logistica-user-panel__proveedor-contact-icon {
	color: #0f766e;
	flex-shrink: 0;
	font-size: 16px;
	height: 16px;
	line-height: 16px;
	margin-top: 1px;
	width: 16px;
}

.logistica-user-panel__proveedor-contact-body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.logistica-user-panel__proveedor-contact-label {
	color: #64748b;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.logistica-user-panel__proveedor-contact-body span,
.logistica-user-panel__proveedor-contact-link {
	color: #0f172a;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.logistica-user-panel__proveedor-contact-link {
	text-decoration: none;
}

.logistica-user-panel__proveedor-contact-link:hover,
.logistica-user-panel__proveedor-contact-link:focus {
	color: #0f766e;
	text-decoration: underline;
}

.logistica-user-panel__proveedor-desc {
	background: #fff;
	border-left: 3px solid #14b8a6;
	border-radius: 0 8px 8px 0;
	padding: 8px 12px;
}

.logistica-user-panel__proveedor-desc-label {
	color: #0f766e;
	display: block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.05em;
	margin-bottom: 4px;
	text-transform: uppercase;
}

.logistica-user-panel__proveedor-desc p {
	color: #334155;
	font-size: 12px;
	line-height: 1.45;
	margin: 0;
	white-space: pre-wrap;
}

.logistica-user-panel__proveedor-history {
	border-top: 1px solid #e2e8f0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 16px;
	padding-top: 16px;
}

.logistica-user-panel__proveedor-history-title {
	color: #0f766e;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin: 0;
	text-transform: uppercase;
}

.logistica-user-panel__proveedor-history-meta {
	color: #64748b;
	font-size: 12px;
	margin: 0;
}

.logistica-user-panel__proveedor-history-scroll {
	max-height: 240px;
	overflow: auto;
}

.logistica-user-panel__proveedor-history-table {
	border-collapse: collapse;
	font-size: 12px;
	width: 100%;
}

.logistica-user-panel__proveedor-history-table th,
.logistica-user-panel__proveedor-history-table td {
	border-bottom: 1px solid #e2e8f0;
	padding: 8px 10px;
	text-align: left;
	vertical-align: top;
}

.logistica-user-panel__proveedor-history-table th {
	background: #f0fdfa;
	color: #0f766e;
	font-size: 11px;
	font-weight: 700;
	position: sticky;
	text-transform: uppercase;
	top: 0;
	z-index: 1;
}

.logistica-user-panel__proveedor-history-table td.is-numeric {
	text-align: right;
	white-space: nowrap;
}

.logistica-user-panel__proveedor-history-table td.is-date {
	white-space: nowrap;
}

.logistica-user-panel__proveedores-board,
.logistica-user-panel__paged-board {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 100%;
	min-width: 0;
}

.logistica-user-panel__proveedores-toolbar {
	align-items: center;
	background: #f8fafc;
	border: 1px solid var(--panel-border);
	border-radius: 12px;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	justify-content: space-between;
	max-width: 100%;
	min-width: 0;
	padding: 12px 14px;
	width: 100%;
}

.logistica-user-panel__list-filters {
	align-items: flex-end;
	background: #f8fafc;
	border: 1px solid var(--panel-border);
	border-radius: 12px;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 16px;
	justify-content: space-between;
	max-width: 100%;
	min-width: 0;
	overflow: visible;
	padding: 12px 14px;
	width: 100%;
}

.logistica-user-panel__list-filters-fields {
	align-items: flex-end;
	display: flex;
	flex: 1 1 420px;
	flex-wrap: wrap;
	gap: 10px 14px;
}

.logistica-user-panel__list-filter {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 140px;
}

.logistica-user-panel__list-filter--multiselect {
	min-width: 180px;
	position: relative;
	z-index: 3;
}

.logistica-user-panel__filter-multiselect {
	position: relative;
	width: 100%;
}

.logistica-user-panel__filter-multiselect-trigger {
	appearance: none;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2364748b' d='M4 6l4 4 4-4'/%3E%3C/svg%3E") right 10px center / 12px no-repeat;
	border: 1px solid var(--panel-border);
	border-radius: 8px;
	box-sizing: border-box;
	color: #0f172a;
	cursor: pointer;
	font-family: inherit;
	font-size: 13px;
	min-height: 36px;
	padding: 6px 32px 6px 10px;
	text-align: left;
	width: 100%;
}

.logistica-user-panel__filter-multiselect.is-open .logistica-user-panel__filter-multiselect-trigger,
.logistica-user-panel__filter-multiselect-trigger:focus {
	border-color: #2563eb;
	outline: none;
}

.logistica-user-panel__filter-multiselect-panel {
	background: #fff;
	border: 1px solid var(--panel-border);
	border-radius: 10px;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
	left: 0;
	margin-top: 6px;
	max-height: 240px;
	overflow: auto;
	position: absolute;
	right: 0;
	top: 100%;
	z-index: 20;
}

.logistica-user-panel__filter-multiselect-options {
	display: grid;
	gap: 2px;
	padding: 8px;
}

.logistica-user-panel__filter-multiselect-option {
	align-items: center;
	border-radius: 8px;
	cursor: pointer;
	display: flex;
	font-size: 13px;
	font-weight: 600;
	gap: 8px;
	padding: 8px 10px;
}

.logistica-user-panel__filter-multiselect-option:hover {
	background: #eff6ff;
}

.logistica-user-panel__filter-multiselect-option input {
	accent-color: #2563eb;
	flex: 0 0 auto;
	margin: 0;
}

.logistica-user-panel__list-filter span {
	color: var(--panel-muted);
	font-size: 11px;
	font-weight: 600;
}

.logistica-user-panel__list-filter select,
.logistica-user-panel__list-filter input[type="date"] {
	background: #fff;
	border: 1px solid var(--panel-border);
	border-radius: 8px;
	box-sizing: border-box;
	font-family: inherit;
	font-size: 13px;
	min-height: 36px;
	padding: 6px 10px;
	width: 100%;
}

.logistica-user-panel__list-filters-actions {
	align-items: center;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 12px;
	max-width: 100%;
	min-width: 0;
	width: 100%;
}

.logistica-user-panel__list-filters-count {
	color: var(--panel-muted);
	display: block;
	flex: 1 1 auto;
	font-size: 12px;
	max-width: 100%;
	min-width: 0;
	overflow-wrap: anywhere;
}

.logistica-user-panel__filter-clear {
	background: #fff;
	border: 1px solid var(--panel-border);
	border-radius: 8px;
	color: inherit;
	cursor: pointer;
	font-family: inherit;
	font-size: 12px;
	padding: 6px 12px;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.logistica-user-panel__filter-clear:hover {
	background: #f1f5f9;
	border-color: #94a3b8;
}

.logistica-user-panel__proveedores-search {
	align-items: center;
	background: #fff;
	border: 1px solid var(--panel-border);
	border-radius: 8px;
	box-sizing: border-box;
	display: flex;
	flex: 1 1 auto;
	gap: 8px;
	max-width: 520px;
	min-height: 40px;
	min-width: 0;
	padding: 0 12px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	width: 100%;
}

.logistica-user-panel__proveedores-search:focus-within {
	border-color: #14b8a6;
	box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.15);
}

.logistica-user-panel__proveedores-search .dashicons {
	color: #64748b;
	flex: 0 0 auto;
	font-size: 18px;
	height: 18px;
	width: 18px;
}

.logistica-user-panel__proveedores-search input {
	background: transparent;
	border: 0;
	box-shadow: none;
	flex: 1 1 auto;
	font-size: 14px;
	line-height: 1.4;
	min-width: 0;
	outline: none;
	padding: 10px 0;
}

.logistica-user-panel__proveedores-search input::-webkit-search-cancel-button {
	cursor: pointer;
}

.logistica-user-panel__proveedores-count {
	color: var(--panel-muted);
	display: block;
	font-size: 12px;
	font-weight: 600;
	max-width: 100%;
	min-width: 0;
	overflow-wrap: anywhere;
	white-space: normal;
	width: 100%;
}

.logistica-user-panel__proveedores-pagination,
.logistica-user-panel__paged-pagination {
	border-radius: 10px;
	margin-top: 0;
}

.logistica-user-panel .logistica-table-pagination {
	background: #f0fdfa;
	border: 1px solid #99f6e4;
	border-radius: 10px;
	margin-top: 0;
}

.logistica-user-panel .logistica-table-pagination__info,
.logistica-user-panel .logistica-table-pagination__label {
	color: #0f766e;
}

.logistica-user-panel .logistica-table-pagination__size {
	color: #334155;
}

.logistica-user-panel .logistica-table-pagination__size select {
	appearance: none;
	background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 20 20'%3E%3Cpath fill='%230f766e' d='M5 7l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 8px center;
	border: 1px solid #99f6e4;
	border-radius: 8px;
	color: #0f766e;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	min-height: 34px;
	padding: 6px 28px 6px 10px;
}

.logistica-user-panel .logistica-table-pagination__size select:hover,
.logistica-user-panel .logistica-table-pagination__size select:focus {
	border-color: #0f766e;
	outline: none;
}

.logistica-user-panel__page-btn {
	align-items: center;
	appearance: none;
	background: #ffffff;
	border: 1px solid #99f6e4;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(15, 118, 110, 0.08);
	color: #0f766e;
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	gap: 4px;
	line-height: 1.2;
	min-height: 34px;
	padding: 6px 12px;
	transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.logistica-user-panel__page-btn .dashicons {
	font-size: 16px;
	height: 16px;
	line-height: 16px;
	width: 16px;
}

.logistica-user-panel__page-btn:hover:not(:disabled),
.logistica-user-panel__page-btn:focus-visible:not(:disabled) {
	background: #0f766e;
	border-color: #0b5e58;
	box-shadow: 0 2px 6px rgba(15, 118, 110, 0.22);
	color: #ffffff;
	outline: none;
}

.logistica-user-panel__page-btn:disabled {
	background: #f1f5f9;
	border-color: #cbd5e1;
	box-shadow: none;
	color: #94a3b8;
	cursor: not-allowed;
	opacity: 1;
}

.logistica-user-panel__row--proveedor .logistica-user-panel__row-actions {
	align-self: center;
}

@media (max-width: 900px) {
	.logistica-user-panel__proveedor-contacts {
		grid-template-columns: 1fr;
	}

	.logistica-user-panel__row--proveedor:not(.is-editing) {
		grid-template-columns: 1fr;
	}

	.logistica-user-panel__row--proveedor .logistica-user-panel__row-actions {
		align-self: stretch;
		justify-content: flex-start;
		margin-top: 4px;
		max-width: 100%;
		overflow: visible;
		width: 100%;
	}

	.logistica-user-panel__row--proveedor:not(.is-editing) {
		overflow: visible;
		padding: 12px 12px 14px;
	}
}

.logistica-user-panel__input--wide {
	grid-column: 1 / -1;
}

.logistica-user-panel__row-edit-grid--checklist {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.logistica-user-panel__list.logistica-user-panel__day-items {
	gap: 6px;
}

.logistica-user-panel__badge--recurrence {
	background: #e0e7ff;
	color: #4338ca;
}

.logistica-user-panel__badge--linked {
	background: #fef3c7;
	color: #b45309;
}

@media (max-width: 900px) {
	/* Excluir tarjetas estilo aviso: el 1fr + grid-column:2 del body
	   generaba una columna fantasma (ojo centrado / contenido empujado). */
	.logistica-user-panel__row:not(.logistica-user-panel__row--card) {
		grid-template-columns: 1fr;
	}

	.logistica-user-panel__row-actions {
		justify-content: flex-start;
	}

	.logistica-user-panel__row-edit-grid,
	.logistica-user-panel__row-edit-grid--pendientes,
	.logistica-user-panel__row-edit-grid--agenda,
	.logistica-user-panel__row-edit-grid--compras,
	.logistica-user-panel__row-edit-grid--proveedores {
		grid-template-columns: 1fr;
	}

	.logistica-user-panel__row-edit-grid--checklist {
		grid-template-columns: 1fr;
	}
}

.logistica-user-panel__item {
	background: var(--panel-brand-light);
	border: 1px solid #99f6e4;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 10px 12px;
}

.logistica-user-panel__item-head,
.logistica-user-panel__item-row {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.logistica-user-panel__input,
.logistica-user-panel__select,
.logistica-user-panel__textarea {
	background: #fff;
	border: 1px solid var(--panel-border);
	border-radius: 8px;
	box-sizing: border-box;
	color: var(--panel-text);
	font-family: inherit;
	font-size: 13px;
	padding: 7px 10px;
	width: 100%;
}

.logistica-user-panel__input--narrow {
	max-width: 88px;
}

.logistica-user-panel__input[readonly] {
	background: #f8fafc;
	color: #0f172a;
	cursor: default;
	font-weight: 700;
}

.logistica-user-panel__input:focus,
.logistica-user-panel__select:focus,
.logistica-user-panel__textarea:focus {
	border-color: var(--panel-brand);
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.18);
	outline: none;
}

.logistica-user-panel__time-input {
	min-height: 36px;
}

.logistica-user-panel__btn {
	background: linear-gradient(180deg, #11968d 0%, var(--panel-brand) 100%);
	border: 1px solid #0b5e58;
	border-radius: 8px;
	color: #fff;
	cursor: pointer;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	padding: 8px 14px;
}

.logistica-user-panel__btn--sm {
	font-size: 12px;
	padding: 6px 10px;
}

.logistica-user-panel__btn--add {
	align-items: center;
	border: none;
	border-radius: 999px;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.12);
	display: inline-flex;
	font-size: 13px;
	font-weight: 700;
	gap: 8px;
	letter-spacing: 0.01em;
	line-height: 1;
	min-height: 40px;
	padding: 8px 18px 8px 8px;
	transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.logistica-user-panel__btn--add:hover,
.logistica-user-panel__btn--add:focus-visible {
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.16);
	filter: brightness(1.03);
	outline: none;
	transform: translateY(-1px);
}

.logistica-user-panel__btn--add:active {
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
	transform: translateY(0);
}

.logistica-user-panel__btn-add-icon {
	align-items: center;
	background: rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	display: inline-flex;
	flex-shrink: 0;
	height: 28px;
	justify-content: center;
	width: 28px;
}

.logistica-user-panel__btn-add-icon .dashicons {
	font-size: 16px;
	height: 16px;
	line-height: 16px;
	width: 16px;
}

.logistica-user-panel__btn-add-text {
	white-space: nowrap;
}

@media (max-width: 960px) {
	.logistica-panel-page .logistica-admin :is(.logistica-close-toolbar, .logistica-page-toolbar__intro) h2,
	.logistica-admin.logistica-frontend :is(.logistica-close-toolbar, .logistica-page-toolbar__intro) h2,
	.logistica-admin.logistica-frontend .logistica-help__hero h2,
	.logistica-admin.logistica-frontend .logistica-panel > h2,
	.logistica-admin.logistica-frontend .logistica-conversion-board .logistica-sheet > h2,
	.logistica-admin.logistica-frontend .logistica-pedidos-sheet > h2,
	.logistica-user-panel__panel-title,
	.logistica-user-panel__section-header h2 {
		font-family: inherit !important;
		font-size: clamp(1.6rem, 3vw, 2rem) !important;
		font-weight: 700 !important;
		letter-spacing: -0.01em !important;
		line-height: 1.3 !important;
		margin: 0 0 0.35rem !important;
	}

	.logistica-user-panel__sidebar-title {
		font-size: 0.78rem !important;
		letter-spacing: 0.03em !important;
		line-height: 1.25 !important;
		margin: 0 !important;
		text-transform: uppercase;
	}
}

@media (max-width: 640px) {
	.logistica-user-panel__panel-title,
	.logistica-user-panel__section-header h2 {
		flex: 1 1 auto;
		min-width: 0;
	}

	.logistica-user-panel__section-header .logistica-user-panel__btn--add {
		flex-shrink: 0;
	}

	.logistica-user-panel__hint {
		font-size: 11px;
	}

	.logistica-user-panel__section-tools--excel {
		margin-top: 6px;
		width: 100%;
	}

	.logistica-user-panel__btn--add {
		gap: 0;
		justify-content: center;
		min-width: 40px;
		padding: 6px;
	}

	.logistica-user-panel__btn-add-text {
		border: 0;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		height: 1px;
		margin: -1px;
		overflow: hidden;
		padding: 0;
		position: absolute;
		white-space: nowrap;
		width: 1px;
	}

	.logistica-user-panel__section-tools {
		flex-wrap: wrap;
		gap: 6px;
		justify-content: flex-end;
		width: 100%;
	}

	.logistica-user-panel__list-filters {
		align-items: stretch;
		flex-direction: column;
		overflow: visible;
	}

	.logistica-user-panel__list-filters-fields {
		flex: 1 1 100%;
		flex-direction: column;
		width: 100%;
	}

	.logistica-user-panel__list-filter {
		min-width: 0;
		width: 100%;
	}

	.logistica-user-panel__list-filters-actions {
		align-items: stretch;
		flex-direction: column;
		gap: 8px;
	}

	.logistica-user-panel__list-filters-count {
		flex: none;
		width: 100%;
	}

	.logistica-user-panel__filter-clear {
		align-self: flex-start;
	}

	.logistica-user-panel__proveedores-toolbar {
		align-items: stretch;
		flex-direction: column;
		gap: 8px;
		overflow: hidden;
	}

	.logistica-user-panel__proveedores-search {
		flex: 0 0 auto;
		max-width: none;
		width: 100%;
	}

	.logistica-user-panel__proveedores-count {
		text-align: left;
		width: 100%;
	}

	.logistica-user-panel__day-detail-head {
		align-items: stretch;
		flex-direction: column;
	}

	.logistica-user-panel__check-field,
	.logistica-user-panel__check-field--day-type {
		min-width: 0;
		width: 100%;
	}

	.logistica-user-panel__check-field .logistica-user-panel__select,
	.logistica-user-panel__check-field select {
		width: 100%;
	}

	.logistica-user-panel .logistica-table-pagination__size {
		flex: 1 1 100%;
		width: 100%;
	}

	.logistica-user-panel .logistica-table-pagination__size select {
		width: 100%;
	}

	.logistica-user-panel__input--narrow {
		max-width: none;
	}

	.logistica-user-panel__checklist-week-nav {
		background: #f8fafc;
		border: 1px solid var(--panel-border);
		border-radius: 12px;
		display: grid;
		gap: 8px;
		grid-template-areas:
			"meta meta"
			"prev next";
		grid-template-columns: 1fr 1fr;
		padding: 10px 12px;
	}

	.logistica-user-panel__checklist-week-meta {
		grid-area: meta;
		min-width: 0;
		text-align: center;
		width: 100%;
	}

	.logistica-user-panel__checklist-week-meta strong {
		display: block;
		font-size: 13px;
		line-height: 1.3;
	}

	.logistica-user-panel__checklist-week-meta span {
		display: block;
		font-size: 11px;
		line-height: 1.35;
	}

	.logistica-user-panel__checklist-week-nav .logistica-user-panel__page-btn--week-prev {
		grid-area: prev;
	}

	.logistica-user-panel__checklist-week-nav .logistica-user-panel__page-btn--week-next {
		grid-area: next;
	}

	.logistica-user-panel__checklist-week-nav .logistica-user-panel__page-btn {
		box-sizing: border-box;
		justify-content: center;
		min-width: 0;
		padding: 8px 10px;
		width: 100%;
	}

	.logistica-user-panel__checklist-week-nav .logistica-user-panel__page-btn-label {
		font-size: 11px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
}

.logistica-user-panel__btn--add-agenda {
	background: linear-gradient(135deg, #14b8a6 0%, #0f766e 100%);
	color: #fff;
}

.logistica-user-panel__btn--add-checklist {
	background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
	color: #fff;
}

.logistica-user-panel__btn--add-proveedor {
	background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
	color: #fff;
}

.logistica-user-panel__btn--add-compra {
	background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
	color: #fff;
}

.logistica-user-panel__section-tools .logistica-user-panel__btn--add {
	flex-shrink: 0;
}

.logistica-user-panel__btn--icon-only {
	align-items: center;
	display: inline-flex;
	height: 34px;
	justify-content: center;
	min-width: 34px;
	padding: 0;
	width: 34px;
}

.logistica-user-panel__btn--icon-only .dashicons {
	font-size: 18px;
	height: 18px;
	line-height: 18px;
	width: 18px;
}

/* Dock de acciones: avisos + tarjetas */
.logistica-user-panel__row-actions,
.logistica-user-panel__aviso-actions {
	align-items: center;
	background: #eef2f6;
	border-radius: 999px;
	box-sizing: border-box;
	display: inline-flex;
	flex-shrink: 0;
	flex-wrap: wrap;
	gap: 4px;
	justify-content: flex-end;
	max-width: 100%;
	overflow: visible;
	overflow-x: visible;
	padding: 4px;
	position: relative;
	z-index: 2;
}

.logistica-user-panel__row-actions.is-edit {
	background: transparent;
	border-radius: 0;
	grid-column: 1 / -1;
	justify-content: flex-start;
	padding: 0;
}

.logistica-user-panel__row-actions .logistica-user-panel__btn--icon-only,
.logistica-user-panel__aviso-actions .logistica-user-panel__btn--icon-only {
	background: #fff;
	border: 1px solid transparent;
	border-radius: 999px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
	color: #334155;
	height: 38px;
	min-height: 38px;
	min-width: 38px;
	transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
	width: 38px;
}

.logistica-user-panel__row-actions .logistica-user-panel__btn--icon-only:hover,
.logistica-user-panel__row-actions .logistica-user-panel__btn--icon-only:focus-visible,
.logistica-user-panel__aviso-actions .logistica-user-panel__btn--icon-only:hover,
.logistica-user-panel__aviso-actions .logistica-user-panel__btn--icon-only:focus-visible {
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
	outline: none;
	transform: translateY(-1px);
}

.logistica-user-panel__row-actions .logistica-user-panel__btn--icon-only:active,
.logistica-user-panel__aviso-actions .logistica-user-panel__btn--icon-only:active {
	box-shadow: none;
	transform: translateY(0);
}

.logistica-user-panel__btn--action-view {
	background: #fff !important;
	border-color: #0f766e !important;
	color: #0f766e !important;
}

.logistica-user-panel__btn--action-view:hover,
.logistica-user-panel__btn--action-view:focus-visible {
	background: #f0fdfa !important;
	border-color: #0d9488 !important;
	color: #0d9488 !important;
}

.logistica-user-panel__btn--action-edit {
	background: #fff !important;
	color: #475569 !important;
}

.logistica-user-panel__btn--action-edit:hover,
.logistica-user-panel__btn--action-edit:focus-visible {
	background: #f1f5f9 !important;
	color: #0f172a !important;
}

.logistica-user-panel__btn--action-done {
	background: #dcfce7 !important;
	color: #15803d !important;
}

.logistica-user-panel__btn--action-done:hover,
.logistica-user-panel__btn--action-done:focus-visible {
	background: #bbf7d0 !important;
	color: #166534 !important;
}

.logistica-user-panel__btn--action-resolve {
	background: #dbeafe !important;
	color: #1d4ed8 !important;
}

.logistica-user-panel__btn--action-resolve:hover,
.logistica-user-panel__btn--action-resolve:focus-visible {
	background: #bfdbfe !important;
	color: #1e40af !important;
}

.logistica-user-panel__btn--action-delete {
	background: #fff !important;
	border-color: transparent !important;
	color: #dc2626 !important;
}

.logistica-user-panel__btn--action-delete:hover,
.logistica-user-panel__btn--action-delete:focus-visible {
	background: #fee2e2 !important;
	color: #b91c1c !important;
}

.logistica-user-panel__btn--icon-only.logistica-user-panel__btn--ghost {
	background: #fff;
	border: 1px solid #fecaca;
	color: #b91c1c;
	padding: 0;
}

.logistica-user-panel__btn--icon-only.logistica-user-panel__btn--ghost:hover {
	background: #fef2f2;
	border-color: #fca5a5;
	color: #991b1b;
}

.logistica-user-panel__row-actions .logistica-user-panel__btn--icon-only.logistica-user-panel__btn--ghost {
	align-self: center;
	padding: 0;
}

.logistica-user-panel__btn--outline {
	background: #fff;
	border-color: var(--panel-border);
	color: var(--panel-text);
}

.logistica-user-panel__btn--outline:hover {
	border-color: var(--panel-brand);
	color: var(--panel-brand);
}

.logistica-user-panel__btn--complete {
	background: #15803d;
	border-color: #166534;
}

.logistica-user-panel__btn--complete:hover {
	background: #166534;
}

.logistica-user-panel__btn--ghost {
	align-self: flex-start;
	background: transparent;
	border-color: transparent;
	color: #b91c1c;
	padding-left: 0;
}

.logistica-user-panel__row-actions .logistica-user-panel__btn--ghost:not(.logistica-user-panel__btn--icon-only) {
	align-self: center;
	padding: 6px 10px;
}

.logistica-user-panel__badge--alta { background: #fee2e2; color: #b91c1c; }
.logistica-user-panel__badge--media { background: #fef3c7; color: #b45309; }
.logistica-user-panel__badge--baja { background: #e2e8f0; color: #475569; }
.logistica-user-panel__badge--pendiente { background: #dbeafe; color: #1d4ed8; }
.logistica-user-panel__badge--pedido { background: #fef3c7; color: #b45309; }
.logistica-user-panel__badge--recibido { background: #dcfce7; color: #15803d; }
.logistica-user-panel__badge--revision_cartera { background: #ede9fe; color: #6d28d9; }
.logistica-user-panel__badge--pago_anticipado { background: #dbeafe; color: #1d4ed8; }
.logistica-user-panel__badge--credito_vencido { background: #fee2e2; color: #b91c1c; }
.logistica-user-panel__badge--esperando_aprobacion { background: #fef3c7; color: #b45309; }
.logistica-user-panel__badge--esperando_cotizacion { background: #e0f2fe; color: #0369a1; }

.logistica-user-panel__btn--icon {
	background: transparent;
	border: none;
	color: #64748b;
	font-size: 18px;
	line-height: 1;
	min-width: 28px;
	padding: 0;
}

.logistica-user-panel__badge {
	border-radius: 999px;
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 8px;
	width: fit-content;
}

.logistica-user-panel__badge--en_proceso { background: #dbeafe; color: #1d4ed8; }
.logistica-user-panel__badge--terminado { background: #dcfce7; color: #15803d; }
.logistica-user-panel__badge--otro_cambio { background: #fef3c7; color: #b45309; }
.logistica-user-panel__badge--anotacion { background: #f3e8ff; color: #7e22ce; }

.logistica-user-panel__updated {
	color: var(--panel-muted);
	display: block;
	font-size: 11px;
	margin-top: 4px;
}

.logistica-user-panel__empty {
	color: var(--panel-muted);
	font-size: 13px;
	margin: 0;
}

.logistica-user-panel__empty--compact {
	font-size: 12px;
}

.logistica-user-panel__checklist {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.logistica-user-panel__checklist-week-nav {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 12px;
	justify-content: space-between;
}

.logistica-user-panel__checklist-week-meta {
	display: flex;
	flex: 1 1 220px;
	flex-direction: column;
	gap: 4px;
	min-width: 180px;
	text-align: center;
}

.logistica-user-panel__checklist-week-meta strong {
	font-size: 14px;
}

.logistica-user-panel__checklist-week-meta span {
	color: var(--panel-muted);
	font-size: 12px;
}

.logistica-user-panel__compliance {
	color: var(--panel-brand);
	font-style: normal;
	font-weight: 700;
}

.logistica-user-panel__checklist-history-banner {
	background: #eff6ff;
	border: 1px solid #93c5fd;
	border-radius: 10px;
	color: #1e3a8a;
	padding: 10px 14px;
}

.logistica-user-panel__checklist-history-banner strong {
	display: block;
	font-size: 13px;
	margin-bottom: 2px;
}

.logistica-user-panel__checklist-history-banner p {
	font-size: 12px;
	line-height: 1.45;
	margin: 0;
}

.logistica-user-panel__checklist-preview-banner {
	background: #ecfdf5;
	border-color: #6ee7b7;
	color: #065f46;
}

.logistica-user-panel__check-readonly {
	background: #fff;
	border: 1px solid var(--panel-border);
	border-radius: 8px;
	font-size: 13px;
	padding: 8px 10px;
}

.logistica-user-panel__day-summary-compliance {
	color: inherit;
	font-weight: 600;
}

.logistica-user-panel__day-tabs {
	background: #eef2f6;
	border-radius: 14px;
	box-sizing: border-box;
	display: grid;
	gap: 4px;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	padding: 4px;
	width: 100%;
}

.logistica-user-panel__day-tab {
	align-items: center;
	background: transparent;
	border: none;
	border-radius: 10px;
	box-shadow: none;
	color: inherit;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	font-family: inherit;
	gap: 2px;
	justify-content: center;
	min-height: 58px;
	min-width: 0;
	padding: 8px 4px;
	position: relative;
	text-align: center;
	transition: background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.logistica-user-panel__day-tab-label {
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.logistica-user-panel__day-tab-initial {
	display: none;
}

.logistica-user-panel__day-tab-date,
.logistica-user-panel__day-tab-hoy {
	color: var(--panel-muted);
	font-size: 10px;
	font-weight: 600;
	line-height: 1.2;
}

.logistica-user-panel__day-tab-hoy {
	display: none;
}

.logistica-user-panel__day-tab.is-today-tab:not(.is-active) .logistica-user-panel__day-tab-date::after {
	background: var(--panel-brand);
	border-radius: 999px;
	content: '';
	display: block;
	height: 4px;
	margin: 3px auto 0;
	width: 4px;
}

.logistica-user-panel__day-tab-badge {
	align-items: center;
	background: #f59e0b;
	border: 1px solid #fff;
	border-radius: 999px;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
	color: #fff;
	display: inline-flex;
	font-size: 9px;
	font-style: normal;
	font-weight: 800;
	height: 16px;
	justify-content: center;
	line-height: 1;
	margin: 0;
	min-width: 16px;
	padding: 0 4px;
	position: absolute;
	right: 4px;
	top: 4px;
}

.logistica-user-panel__day-tab:hover:not(.is-active) {
	background: rgba(255, 255, 255, 0.65);
}

.logistica-user-panel__day-tab.is-active {
	background: linear-gradient(180deg, #14b8a6 0%, var(--panel-brand) 100%);
	box-shadow: 0 2px 8px rgba(15, 118, 110, 0.28);
	color: #fff;
}

.logistica-user-panel__day-tab.is-active .logistica-user-panel__day-tab-label,
.logistica-user-panel__day-tab.is-active .logistica-user-panel__day-tab-date {
	color: #fff;
}

.logistica-user-panel__day-tab.is-active .logistica-user-panel__day-tab-date::after {
	display: none;
}

.logistica-user-panel__day-tab.is-active .logistica-user-panel__day-tab-badge {
	background: rgba(255, 255, 255, 0.24);
	border-color: rgba(255, 255, 255, 0.35);
	box-shadow: none;
	color: #fff;
}

@media (max-width: 640px) {
	.logistica-user-panel__day-tabs {
		gap: 3px;
		padding: 4px;
	}

	.logistica-user-panel__day-tab {
		min-height: 0;
		padding: 7px 2px 6px;
	}

	.logistica-user-panel__day-tab-label {
		border: 0;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		height: 1px;
		margin: -1px;
		overflow: hidden;
		padding: 0;
		position: absolute;
		white-space: nowrap;
		width: 1px;
	}

	.logistica-user-panel__day-tab-initial {
		color: #334155;
		display: block;
		font-size: 13px;
		font-weight: 700;
		line-height: 1;
	}

	.logistica-user-panel__day-tab-date {
		font-size: 9px;
		margin-top: 3px;
	}

	.logistica-user-panel__day-tab.is-active .logistica-user-panel__day-tab-initial,
	.logistica-user-panel__day-tab.is-active .logistica-user-panel__day-tab-date {
		color: #fff;
	}

	.logistica-user-panel__day-tab-badge {
		font-size: 8px;
		height: 14px;
		min-width: 14px;
		padding: 0 3px;
		right: 2px;
		top: 2px;
	}
}

.logistica-user-panel__checklist-reminder {
	background: #fff7ed;
	border: 1px solid #fdba74;
	border-radius: 10px;
	color: #9a3412;
	padding: 12px 14px;
}

.logistica-user-panel__checklist-reminder strong {
	display: block;
	font-size: 13px;
	margin-bottom: 4px;
}

.logistica-user-panel__checklist-reminder p {
	font-size: 12px;
	line-height: 1.45;
	margin: 0;
}

.logistica-user-panel__day-detail {
	border: 1px solid transparent;
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 2px;
}

.logistica-user-panel__day-detail.is-day-off {
	gap: 12px;
	padding: 14px 16px;
}

.logistica-user-panel__day-detail.is-festivo {
	background: #fef2f2;
	border-color: #fca5a5;
}

.logistica-user-panel__day-detail.is-libre {
	background: #eff6ff;
	border-color: #93c5fd;
}

.logistica-user-panel__day-detail.is-vacaciones {
	background: #ecfdf5;
	border-color: #6ee7b7;
}

.logistica-user-panel__day-detail.is-permisos {
	background: #fff7ed;
	border-color: #fdba74;
}

.logistica-user-panel__day-items--off {
	gap: 0;
}

.logistica-user-panel__day-off {
	align-items: flex-start;
	border-radius: 10px;
	display: flex;
	gap: 14px;
	padding: 16px 18px;
}

.logistica-user-panel__day-off-icon {
	align-items: center;
	border-radius: 12px;
	display: flex;
	flex-shrink: 0;
	height: 44px;
	justify-content: center;
	width: 44px;
}

.logistica-user-panel__day-off-icon .dashicons {
	font-size: 22px;
	height: 22px;
	width: 22px;
}

.logistica-user-panel__day-off-body strong {
	display: block;
	font-size: 15px;
	line-height: 1.3;
	margin-bottom: 4px;
}

.logistica-user-panel__day-off-body p {
	font-size: 13px;
	line-height: 1.45;
	margin: 0;
}

.logistica-user-panel__day-off--festivo {
	background: rgba(255, 255, 255, 0.72);
	color: #991b1b;
}

.logistica-user-panel__day-off--festivo .logistica-user-panel__day-off-icon {
	background: #fee2e2;
	color: #dc2626;
}

.logistica-user-panel__day-off--libre {
	background: rgba(255, 255, 255, 0.72);
	color: #1e3a8a;
}

.logistica-user-panel__day-off--libre .logistica-user-panel__day-off-icon {
	background: #dbeafe;
	color: #2563eb;
}

.logistica-user-panel__day-off--vacaciones {
	background: rgba(255, 255, 255, 0.72);
	color: #065f46;
}

.logistica-user-panel__day-off--vacaciones .logistica-user-panel__day-off-icon {
	background: #d1fae5;
	color: #059669;
}

.logistica-user-panel__day-off--permisos {
	background: rgba(255, 255, 255, 0.72);
	color: #9a3412;
}

.logistica-user-panel__day-off--permisos .logistica-user-panel__day-off-icon {
	background: #ffedd5;
	color: #ea580c;
}

.logistica-user-panel__check-readonly--off,
.logistica-user-panel__select--day-off {
	font-weight: 600;
}

.logistica-user-panel__check-readonly--festivo,
.logistica-user-panel__select--festivo {
	background: #fee2e2;
	border-color: #fca5a5;
	color: #991b1b;
}

.logistica-user-panel__check-readonly--libre,
.logistica-user-panel__select--libre {
	background: #dbeafe;
	border-color: #93c5fd;
	color: #1e3a8a;
}

.logistica-user-panel__check-readonly--vacaciones,
.logistica-user-panel__select--vacaciones {
	background: #d1fae5;
	border-color: #6ee7b7;
	color: #065f46;
}

.logistica-user-panel__check-readonly--permisos,
.logistica-user-panel__select--permisos {
	background: #ffedd5;
	border-color: #fdba74;
	color: #9a3412;
}

.logistica-user-panel__day-tab.is-day-off:not(.is-active) {
	opacity: 0.92;
}

.logistica-user-panel__day-tab.is-day-off.is-festivo:not(.is-active) {
	background: #fee2e2;
	color: #991b1b;
}

.logistica-user-panel__day-tab.is-day-off.is-libre:not(.is-active) {
	background: #dbeafe;
	color: #1e3a8a;
}

.logistica-user-panel__day-tab.is-day-off.is-vacaciones:not(.is-active) {
	background: #d1fae5;
	color: #065f46;
}

.logistica-user-panel__day-tab.is-day-off.is-permisos:not(.is-active) {
	background: #ffedd5;
	color: #9a3412;
}

.logistica-user-panel__day-detail-head {
	align-items: stretch;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.logistica-user-panel__check-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.logistica-user-panel__check-field span {
	color: var(--panel-muted);
	font-size: 11px;
	font-weight: 600;
}

.logistica-user-panel__check-field--day-type {
	min-width: 180px;
}

.logistica-user-panel__check-field--title {
	flex: 1 1 100%;
}

.logistica-user-panel__day-summary {
	color: var(--panel-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 12px;
	gap: 10px 16px;
}

.logistica-user-panel__day-items {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.logistica-user-panel__check-item {
	background: #fff;
	border: 1px solid var(--panel-border);
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 14px 16px;
}

.logistica-user-panel__check-item.is-done {
	background: #f0fdf4;
	border-color: #86efac;
}

.logistica-user-panel__check-item-main {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.logistica-user-panel__check-item-meta {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(4, minmax(120px, 1fr));
}

@media (max-width: 760px) {
	.logistica-user-panel__check-item-meta {
		grid-template-columns: 1fr;
	}
}

.logistica-user-panel__btn--remove-check {
	align-self: flex-start;
}

.logistica-user-panel__carried {
	color: #b45309;
	font-size: 12px;
	font-weight: 600;
	margin: 0;
}


.logistica-user-panel__resume-head {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: space-between;
}

.logistica-user-panel__resume-title {
	color: #0f172a;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.25;
}

.logistica-user-panel__resume-auto {
	background: #f0f9ff;
	border: 1px solid #bae6fd;
	border-radius: 999px;
	color: #0369a1;
	flex-shrink: 0;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.2;
	padding: 2px 6px;
	text-transform: uppercase;
}

.logistica-user-panel__resume-context {
	color: #64748b;
	font-size: 12px;
	line-height: 1.35;
	margin: 0;
	white-space: pre-wrap;
}

.logistica-user-panel__resume-meta {
	align-items: center;
	color: #94a3b8;
	display: flex;
	flex-wrap: wrap;
	font-size: 11px;
	gap: 4px;
	line-height: 1.3;
}

.logistica-user-panel__resume-meta .logistica-user-panel__resume-section {
	color: #64748b;
	font-size: inherit;
	font-weight: 600;
}

.logistica-user-panel__resume-dot {
	color: #cbd5e1;
	font-weight: 700;
}

.logistica-user-panel__resume-meta .logistica-user-panel__updated {
	color: inherit;
	font-size: inherit;
	font-style: normal;
}

.logistica-user-panel__resume-actions {
	align-items: center;
	display: flex;
	flex-shrink: 0;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: flex-end;
}

@media (max-width: 520px) {
	.logistica-user-panel__resume-card {
		grid-template-columns: 1fr;
	}

	.logistica-user-panel__resume-actions {
		justify-content: flex-start;
	}
}

.logistica-user-panel__resume-link {
	align-items: center;
	background: #ecfdf5;
	border: 1px solid #99f6e4;
	border-radius: 999px;
	color: #0f766e;
	display: inline-flex;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	padding: 5px 12px;
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.logistica-user-panel__resume-link:hover,
.logistica-user-panel__resume-link:focus-visible {
	background: #d1fae5;
	border-color: #0f766e;
	color: #0d6b63;
	text-decoration: none;
}

.logistica-user-panel__resume-dismiss {
	align-items: center;
	appearance: none;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	color: #64748b;
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
	margin: 0;
	padding: 5px 12px;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.logistica-user-panel__resume-dismiss:hover,
.logistica-user-panel__resume-dismiss:focus-visible {
	background: #fef2f2;
	border-color: #fecaca;
	color: #b42318;
}

body.logistica-user-panel-modal-open {
	overflow: hidden;
}

.logistica-user-panel__modal {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 20px;
	position: fixed;
	z-index: 100000;
}

.logistica-user-panel__modal[hidden] {
	display: none !important;
}

.logistica-user-panel__modal-backdrop {
	background: rgba(15, 23, 42, 0.52);
	inset: 0;
	position: absolute;
}

.logistica-user-panel__modal-dialog {
	background: #fff;
	border: 1px solid var(--panel-border);
	border-radius: 16px;
	box-shadow: 0 24px 48px rgba(15, 23, 42, 0.22);
	display: flex;
	flex-direction: column;
	max-height: min(90vh, 820px);
	max-width: min(720px, 100%);
	overflow: hidden;
	position: relative;
	width: 100%;
	z-index: 1;
}

.logistica-user-panel__modal-dialog--wide {
	max-width: min(920px, 100%);
}

.logistica-user-panel__modal-header {
	align-items: center;
	background: linear-gradient(135deg, #f0fdfa 0%, #fff 100%);
	border-bottom: 1px solid #ccfbf1;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	padding: 16px 20px;
}

.logistica-user-panel__modal-title {
	color: var(--panel-text);
	font-size: 18px;
	font-weight: 700;
	margin: 0;
}

.logistica-user-panel__modal-close {
	align-items: center;
	background: transparent;
	border: none;
	border-radius: 8px;
	color: #64748b;
	cursor: pointer;
	display: inline-flex;
	height: 32px;
	justify-content: center;
	width: 32px;
}

.logistica-user-panel__modal-close:hover,
.logistica-user-panel__modal-close:focus-visible {
	background: #f1f5f9;
	color: #0f172a;
	outline: none;
}

.logistica-user-panel__modal-body {
	background: #f8fffe;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 18px 20px;
}

.logistica-user-panel__view-details {
	display: grid;
	gap: 10px 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
}

.logistica-user-panel__view-detail {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	min-width: 0;
	padding: 10px 12px;
}

.logistica-user-panel__view-detail-label {
	color: #64748b;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.2;
	margin: 0;
	text-transform: uppercase;
}

.logistica-user-panel__view-detail-value {
	color: #0f172a;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	margin: 0;
	white-space: pre-wrap;
	word-break: break-word;
}

.logistica-user-panel__modal-dialog--wide .logistica-user-panel__view-details {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 640px) {
	.logistica-user-panel__modal-body {
		padding: 14px;
	}

	.logistica-user-panel__view-details,
	.logistica-user-panel__modal-dialog--wide .logistica-user-panel__view-details {
		grid-template-columns: 1fr;
	}

	.logistica-user-panel__view-detail-value {
		overflow-wrap: anywhere;
	}
}

.logistica-user-panel__modal .logistica-user-panel__tip-trigger .logistica-user-panel__tip-bubble {
	display: none !important;
}

.logistica-user-panel__tip-float {
	background: #0f172a;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.28);
	color: #f8fafc;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.45;
	max-width: min(320px, calc(100vw - 24px));
	padding: 8px 10px;
	pointer-events: none;
	position: fixed;
	text-align: left;
	white-space: normal;
	z-index: 100001;
}

.logistica-user-panel__tip-float[hidden] {
	display: none !important;
}

.logistica-user-panel__tip-float::before {
	border: 6px solid transparent;
	border-top-color: #0f172a;
	bottom: -12px;
	content: '';
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
}

.logistica-user-panel__tip-float.is-below::before {
	border-bottom-color: #0f172a;
	border-top-color: transparent;
	bottom: auto;
	top: -12px;
}

.logistica-user-panel__modal-form .logistica-user-panel__row-edit {
	background: transparent;
	padding: 0;
}

.logistica-user-panel__modal-footer {
	background: #fff;
	border-top: 1px solid var(--panel-border);
	display: flex;
	gap: 8px;
	justify-content: flex-start;
	padding: 14px 20px;
}

/* Acceso embebido al panel p?blico */
.logistica-panel-auth {
	align-items: center;
	display: flex;
	justify-content: center;
	min-height: min(72vh, 640px);
	padding: 24px 16px 40px;
}

.logistica-panel-auth__card {
	background: #fff;
	border: 1px solid var(--panel-border, #e2e8f0);
	border-radius: 16px;
	box-shadow: 0 18px 40px rgba(15, 118, 110, 0.08);
	max-width: 420px;
	padding: 28px 24px 24px;
	width: 100%;
}

.logistica-panel-auth__brand {
	color: var(--panel-brand, #0f766e);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.logistica-panel-auth__title {
	color: var(--panel-text, #0f172a);
	font-size: 28px;
	line-height: 1.15;
	margin: 0 0 8px;
}

.logistica-panel-auth__intro {
	color: var(--panel-muted, #64748b);
	font-size: 14px;
	line-height: 1.5;
	margin: 0 0 20px;
}

.logistica-panel-auth__notice {
	background: #ecfdf5;
	border: 1px solid #99f6e4;
	border-radius: 10px;
	color: #0f766e;
	font-size: 13px;
	line-height: 1.45;
	margin-bottom: 16px;
	padding: 10px 12px;
}

.logistica-panel-auth__notice--error {
	background: #fef2f2;
	border-color: #fecaca;
	color: #b91c1c;
}

.logistica-panel-auth__form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.logistica-panel-auth__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.logistica-panel-auth__label {
	color: var(--panel-text, #0f172a);
	font-size: 13px;
	font-weight: 600;
}

.logistica-panel-auth__input {
	background: #fff;
	border: 1px solid var(--panel-border, #e2e8f0);
	border-radius: 10px;
	box-sizing: border-box;
	color: var(--panel-text, #0f172a);
	font: inherit;
	min-height: 44px;
	padding: 10px 12px;
	width: 100%;
}

.logistica-panel-auth__input:focus {
	border-color: var(--panel-brand, #0f766e);
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
	outline: none;
}

.logistica-panel-auth__remember {
	align-items: center;
	color: var(--panel-muted, #64748b);
	display: inline-flex;
	font-size: 13px;
	gap: 8px;
}

.logistica-panel-auth__row {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	justify-content: space-between;
	margin-top: 2px;
}

.logistica-panel-auth__forgot {
	background: none;
	border: 0;
	color: var(--panel-accent, #0f766e);
	cursor: pointer;
	font-size: 0.88rem;
	padding: 0;
	text-decoration: underline;
}

.logistica-panel-auth__forgot:hover,
.logistica-panel-auth__forgot:focus-visible {
	color: var(--panel-accent-dark, #0d5c56);
}

.logistica-panel-auth__success {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	border-radius: 10px;
	color: #065f46;
	font-size: 0.92rem;
	line-height: 1.45;
	margin-bottom: 12px;
	padding: 12px 14px;
}

.logistica-panel-auth__success a {
	color: #0f766e;
	font-weight: 600;
}

.logistica-panel-auth__submit--link {
	display: inline-flex;
	justify-content: center;
	margin-top: 8px;
	text-decoration: none;
}

.logistica-panel-auth__submit {
	background: linear-gradient(180deg, #11968d 0%, var(--panel-brand, #0f766e) 100%);
	border: 0;
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	min-height: 44px;
	padding: 0 18px;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	width: 100%;
}

.logistica-panel-auth__submit:hover,
.logistica-panel-auth__submit:focus-visible {
	box-shadow: 0 10px 24px rgba(15, 118, 110, 0.22);
	outline: none;
	transform: translateY(-1px);
}

.logistica-panel-auth__submit:disabled {
	cursor: wait;
	opacity: 0.72;
	transform: none;
}

.logistica-panel-auth__submit--ghost {
	background: #fff;
	border: 1px solid var(--panel-border, #e2e8f0);
	color: var(--panel-text, #0f172a);
}

.logistica-panel-auth__submit--ghost:hover,
.logistica-panel-auth__submit--ghost:focus-visible {
	background: #f8fafc;
	box-shadow: none;
	transform: none;
}

.logistica-user-panel__input.logistica-field-uppercase,
.logistica-user-panel__textarea.logistica-field-uppercase {
	text-transform: uppercase;
}

.logistica-user-panel__input.logistica-field-uppercase::placeholder {
	text-transform: none;
}

.logistica-user-panel__section-header-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

/* ??? Avisos: dise?o moderno y m?vil ??? */
@keyframes logistica-aviso-in {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.logistica-user-panel__section--avisos {
	background:
		radial-gradient(120% 80% at 0% 0%, rgba(15, 118, 110, 0.08), transparent 55%),
		radial-gradient(90% 70% at 100% 0%, rgba(14, 165, 233, 0.06), transparent 50%),
		linear-gradient(180deg, #f8fffd 0%, #ffffff 48%);
	border: 1px solid #d9eee9;
	border-radius: 18px;
	padding: 16px;
}

.logistica-user-panel__avisos-head {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 16px;
}

.logistica-user-panel__avisos-title-row {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.logistica-user-panel__avisos-icon {
	align-items: center;
	background: linear-gradient(145deg, #0f766e, #0d9488);
	border-radius: 12px;
	box-shadow: 0 8px 18px rgba(15, 118, 110, 0.22);
	color: #fff;
	display: inline-flex;
	height: 40px;
	justify-content: center;
	width: 40px;
}

.logistica-user-panel__avisos-icon .dashicons {
	font-size: 20px;
	height: 20px;
	line-height: 1;
	width: 20px;
}

.logistica-user-panel__section--avisos .logistica-user-panel__panel-title {
	margin: 0;
}

.logistica-user-panel__avisos-count {
	align-items: center;
	animation: logistica-aviso-in 0.35s ease both;
	background: #b45309;
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-size: 0.78rem;
	font-weight: 700;
	justify-content: center;
	letter-spacing: 0.02em;
	min-width: 1.6rem;
	padding: 0.18rem 0.5rem;
}

.logistica-user-panel__avisos-lead {
	color: var(--panel-muted);
	font-size: 0.92rem;
	line-height: 1.45;
	margin: 8px 0 0;
	max-width: 40rem;
}

.logistica-user-panel__avisos-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	width: 100%;
}

.logistica-user-panel__aviso-tool {
	align-items: center;
	background: #fff;
	border: 1px solid #cfe7e2;
	border-radius: 999px;
	color: #0f766e;
	cursor: pointer;
	display: inline-flex;
	flex: 1 1 auto;
	font-size: 0.88rem;
	font-weight: 600;
	gap: 6px;
	justify-content: center;
	min-height: 42px;
	padding: 0.55rem 0.95rem;
	transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.logistica-user-panel__aviso-tool .dashicons {
	font-size: 16px;
	height: 16px;
	width: 16px;
}

.logistica-user-panel__aviso-tool:hover,
.logistica-user-panel__aviso-tool:focus-visible {
	background: #ecfdf5;
	border-color: #99d5cb;
	outline: none;
}

.logistica-user-panel__aviso-tool--primary {
	background: #0f766e;
	border-color: #0f766e;
	color: #fff;
}

.logistica-user-panel__aviso-tool--primary:hover,
.logistica-user-panel__aviso-tool--primary:focus-visible {
	background: #0d9488;
	border-color: #0d9488;
	color: #fff;
}

.logistica-user-panel__aviso-tool[data-user-panel-avisos-delete-read] {
	color: #b91c1c;
	border-color: #fecaca;
}

.logistica-user-panel__aviso-tool[data-user-panel-avisos-delete-read]:hover,
.logistica-user-panel__aviso-tool[data-user-panel-avisos-delete-read]:focus-visible {
	background: #fef2f2;
	border-color: #f87171;
	color: #991b1b;
}

.logistica-user-panel__avisos {
	display: block;
}

.logistica-user-panel__avisos-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.logistica-user-panel__aviso {
	animation: logistica-aviso-in 0.4s ease both;
	animation-delay: var(--aviso-delay, 0ms);
	background: #fff;
	border: 1px solid #e2e8f0;
	border-left: 4px solid #94a3b8;
	border-radius: 16px;
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
	display: grid;
	gap: 12px;
	grid-template-columns: auto minmax(0, 1fr);
	overflow: visible;
	padding: 14px;
	position: relative;
	transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.logistica-user-panel__aviso-accent {
	display: none;
}

.logistica-user-panel__aviso.is-unread {
	border-color: #f6c790;
	border-left-color: #ea580c;
	box-shadow: 0 8px 22px rgba(180, 83, 9, 0.08);
}

.logistica-user-panel__aviso-icon--view {
	background: transparent !important;
	height: auto;
	width: auto;
}

.logistica-user-panel__aviso-icon--view .logistica-user-panel__btn--icon-only {
	background: #fff;
	border: 1.5px solid #0f766e;
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
	color: #0f766e;
	height: 42px;
	min-height: 42px;
	min-width: 42px;
	width: 42px;
}

.logistica-user-panel__aviso-icon--view .logistica-user-panel__btn--icon-only:hover,
.logistica-user-panel__aviso-icon--view .logistica-user-panel__btn--icon-only:focus-visible {
	background: #f0fdfa;
	border-color: #0d9488;
	color: #0d9488;
	outline: none;
}

.logistica-user-panel__aviso.is-general .logistica-user-panel__aviso-icon:not(.logistica-user-panel__aviso-icon--view) {
	background: #f8fafc;
	color: #475569;
}

.logistica-user-panel__aviso.is-read {
	opacity: 0.88;
}

.logistica-user-panel__aviso-icon {
	align-items: center;
	border-radius: 12px;
	display: flex;
	flex-shrink: 0;
	height: 42px;
	justify-content: center;
	margin-left: 0;
	width: 42px;
}

.logistica-user-panel__aviso-icon .dashicons {
	font-size: 20px;
	height: 20px;
	width: 20px;
}

.logistica-user-panel__aviso-body {
	grid-column: 2;
	min-width: 0;
}

.logistica-user-panel__aviso-meta {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 6px;
}

.logistica-user-panel__aviso-kind,
.logistica-user-panel__aviso-state {
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	padding: 0.18rem 0.55rem;
	text-transform: uppercase;
}

.logistica-user-panel__aviso-kind {
	background: #f1f5f9;
	color: #334155;
}

.logistica-user-panel__aviso-state {
	background: #e2e8f0;
	color: #475569;
}

.logistica-user-panel__aviso-state.is-live {
	background: #ffedd5;
	color: #9a3412;
}

.logistica-user-panel__aviso-body h3 {
	color: var(--panel-text);
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 6px;
}

.logistica-user-panel__aviso-body p {
	color: #334155;
	font-size: 0.93rem;
	line-height: 1.45;
	margin: 0 0 8px;
	white-space: pre-wrap;
}

.logistica-user-panel__aviso-body time {
	align-items: center;
	color: var(--panel-muted);
	display: inline-flex;
	font-size: 0.82rem;
	gap: 4px;
}

.logistica-user-panel__aviso-body time .dashicons {
	font-size: 14px;
	height: 14px;
	width: 14px;
}

.logistica-user-panel__aviso-icon,
.logistica-user-panel__aviso-body,
.logistica-user-panel__aviso-actions {
	position: relative;
	z-index: 1;
}

.logistica-user-panel__aviso-actions {
	grid-column: 1 / -1;
	justify-content: flex-start;
	justify-self: start;
	max-width: 100%;
	min-width: 0;
	overflow: visible;
}

.logistica-user-panel__avisos-empty {
	align-items: center;
	background: rgba(255, 255, 255, 0.8);
	border: 1px dashed #b7d9d2;
	border-radius: 16px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 28px 18px;
	text-align: center;
}

.logistica-user-panel__avisos-empty-icon {
	align-items: center;
	background: #ecfdf5;
	border-radius: 50%;
	color: #0f766e;
	display: inline-flex;
	height: 52px;
	justify-content: center;
	margin-bottom: 4px;
	width: 52px;
}

.logistica-user-panel__avisos-empty-icon .dashicons {
	font-size: 26px;
	height: 26px;
	width: 26px;
}

.logistica-user-panel__avisos-empty-title {
	color: var(--panel-text);
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0;
}

.logistica-user-panel__avisos-empty-text {
	color: var(--panel-muted);
	font-size: 0.9rem;
	line-height: 1.45;
	margin: 0;
	max-width: 26rem;
}

@media (min-width: 720px) {
	.logistica-user-panel__section--avisos {
		padding: 20px 22px;
	}

	.logistica-user-panel__avisos-head {
		align-items: flex-end;
		flex-direction: row;
		justify-content: space-between;
	}

	.logistica-user-panel__avisos-toolbar {
		justify-content: flex-end;
		width: auto;
	}

	.logistica-user-panel__aviso-tool {
		flex: 0 0 auto;
	}

	.logistica-user-panel__aviso {
		align-items: center;
		grid-template-columns: auto minmax(0, 1fr) auto;
		padding: 16px;
	}

	.logistica-user-panel__aviso:hover {
		box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
	}

	.logistica-user-panel__aviso-body {
		grid-column: auto;
	}

	.logistica-user-panel__aviso-actions {
		display: flex;
		flex-wrap: nowrap;
		grid-column: auto;
		justify-content: flex-end;
		max-width: none;
	}
}

.logistica-user-panel__aviso-resolve {
	display: grid;
	gap: 14px;
}

.logistica-user-panel__aviso-resolve-summary {
	background: #f8fafc;
	border: 1px solid var(--panel-border, #e2e8f0);
	border-radius: 12px;
	padding: 12px 14px;
}

.logistica-user-panel__aviso-resolve-title {
	margin: 0 0 6px;
}

.logistica-user-panel__aviso-resolve-body,
.logistica-user-panel__aviso-resolve-link {
	color: #475569;
	font-size: 0.92rem;
	margin: 0;
}

.logistica-user-panel__aviso-resolve-link {
	margin-top: 8px;
}

.logistica-user-panel__aviso-resolve-check {
	align-items: flex-start;
	display: flex;
	font-weight: 600;
	gap: 8px;
	line-height: 1.35;
}

.logistica-user-panel__aviso-resolve-check input {
	margin-top: 3px;
}

.logistica-user-panel__aviso-resolve-novedad {
	display: grid;
	gap: 8px;
}

.logistica-user-panel__aviso-resolve .logistica-user-panel__field-hint {
	color: #64748b;
	font-size: 0.88rem;
	line-height: 1.4;
	margin: 0;
}

.logistica-user-panel__aviso-resolve-warn {
	background: #fff7ed;
	border: 1px solid #fdba74;
	border-radius: 10px;
	display: grid;
	gap: 10px;
	padding: 12px 14px;
}

.logistica-user-panel__aviso-resolve-warn-text {
	color: #9a3412;
	font-size: 0.9rem;
	line-height: 1.4;
	margin: 0;
}

.logistica-user-panel__gestion-summary,
.logistica-user-panel__novedades {
	background: #f8fafc;
	border: 1px solid var(--panel-border, #e2e8f0);
	border-radius: 12px;
	margin-top: 14px;
	padding: 12px 14px;
}

.logistica-user-panel__gestion-title,
.logistica-user-panel__novedades-title {
	font-size: 0.98rem;
	margin: 0 0 8px;
}

.logistica-user-panel__gestion-total {
	margin: 0 0 8px;
}

.logistica-user-panel__gestion-status-list {
	margin: 0;
	padding-left: 1.1rem;
}

.logistica-user-panel__novedad-form {
	display: grid;
	gap: 10px;
	margin-bottom: 12px;
}

.logistica-user-panel__novedad-notify {
	align-items: center;
	display: flex;
	gap: 8px;
	font-size: 0.9rem;
}

.logistica-user-panel__novedades-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.logistica-user-panel__novedad-item {
	background: #fff;
	border: 1px solid var(--panel-border, #e2e8f0);
	border-radius: 10px;
	padding: 10px 12px;
}

.logistica-user-panel__novedad-item p {
	margin: 6px 0;
	white-space: pre-wrap;
}

.logistica-user-panel__novedad-meta {
	align-items: center;
	color: #64748b;
	display: flex;
	flex-wrap: wrap;
	font-size: 0.85rem;
	gap: 8px;
}

.logistica-user-panel__novedad-status {
	background: #e2e8f0;
	border-radius: 999px;
	padding: 2px 8px;
}

.logistica-user-panel__informe-note {
	background: #ecfeff;
	border: 1px solid #a5f3fc;
	border-radius: 10px;
	color: #0e7490;
	font-size: 0.88rem;
	line-height: 1.45;
	margin: 0 0 12px;
	padding: 10px 12px;
}

.logistica-user-panel__informe-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.logistica-user-panel__informe-block {
	background: #f8fafc;
	border: 1px solid var(--panel-border, #e2e8f0);
	border-radius: 12px;
	padding: 12px 14px;
}

.logistica-user-panel__informe-block--wide {
	grid-column: 1 / -1;
}

.logistica-user-panel__informe-block h3 {
	font-size: 0.98rem;
	margin: 0 0 10px;
}

.logistica-user-panel__informe-scroll {
	max-height: 280px;
	overflow: auto;
}

.logistica-user-panel__informe-table {
	border-collapse: collapse;
	width: 100%;
}

.logistica-user-panel__informe-table th,
.logistica-user-panel__informe-table td {
	border-bottom: 1px solid #e2e8f0;
	padding: 8px 10px;
	text-align: left;
	vertical-align: top;
}

.logistica-user-panel__informe-table th {
	background: #fff;
	font-size: 0.82rem;
	position: sticky;
	top: 0;
}

.logistica-user-panel__informe-table td.is-numeric {
	text-align: right;
	white-space: nowrap;
}

@media (max-width: 900px) {
	.logistica-user-panel__informe-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.logistica-user-panel__informe-block {
		padding: 12px;
	}

	.logistica-user-panel__informe-scroll {
		max-height: none;
		overflow: visible;
	}

	.logistica-user-panel__informe-table,
	.logistica-user-panel__informe-table tbody,
	.logistica-user-panel__informe-table tr,
	.logistica-user-panel__informe-table td {
		display: block;
		width: 100%;
	}

	.logistica-user-panel__informe-table thead {
		display: none;
	}

	.logistica-user-panel__informe-table tr {
		background: #fff;
		border: 1px solid #e2e8f0;
		border-radius: 12px;
		margin-bottom: 10px;
		padding: 10px 12px;
	}

	.logistica-user-panel__informe-table td {
		align-items: baseline;
		border-bottom: 1px solid #f1f5f9;
		display: flex;
		gap: 10px;
		justify-content: space-between;
		padding: 8px 0;
		text-align: left;
		white-space: normal;
	}

	.logistica-user-panel__informe-table td:last-child {
		border-bottom: 0;
	}

	.logistica-user-panel__informe-table td::before {
		color: #64748b;
		content: attr(data-label);
		flex: 0 0 42%;
		font-size: 0.78rem;
		font-weight: 700;
		letter-spacing: 0.02em;
		text-transform: uppercase;
	}

	.logistica-user-panel__informe-table td.is-numeric {
		text-align: left;
	}

	.logistica-user-panel__row--proveedor:not(.is-editing) {
		gap: 12px;
		padding: 12px;
	}

	.logistica-user-panel__proveedor-name {
		font-size: 15px;
		overflow-wrap: anywhere;
	}

	.logistica-user-panel__row--proveedor .logistica-user-panel__row-actions {
		max-width: 100%;
		overflow: visible;
	}
}


/* Pagina Mi perfil */
.logistica-perfil {
	display: flex;
	flex-direction: column;
	gap: 18px;
	max-width: 920px;
}

.logistica-perfil__hero {
	align-items: center;
	background: linear-gradient(135deg, #0f766e 0%, #0d9488 55%, #14b8a6 100%);
	border-radius: 18px;
	color: #fff;
	display: flex;
	gap: 16px;
	padding: 22px 20px;
}

.logistica-perfil__avatar {
	align-items: center;
	background: rgba(255, 255, 255, 0.16);
	border: 3px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	display: flex;
	flex-shrink: 0;
	height: 96px;
	justify-content: center;
	overflow: hidden;
	width: 96px;
}

.logistica-perfil__avatar img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.logistica-perfil__avatar .dashicons {
	font-size: 42px;
	height: 42px;
	width: 42px;
}

.logistica-perfil__eyebrow {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	margin: 0 0 4px;
	opacity: 0.9;
	text-transform: uppercase;
}

.logistica-perfil__title {
	font-size: 1.55rem;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 8px;
}

.logistica-perfil__role {
	background: rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 600;
	padding: 4px 12px;
}

.logistica-perfil__grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.logistica-perfil__card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 16px 18px;
}

.logistica-perfil__card h3 {
	color: #0f172a;
	font-size: 1rem;
	margin: 0 0 12px;
}

.logistica-perfil__details {
	display: grid;
	gap: 12px;
	margin: 0;
}

.logistica-perfil__details div {
	border-bottom: 1px solid #f1f5f9;
	padding-bottom: 10px;
}

.logistica-perfil__details div:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.logistica-perfil__details dt {
	color: #64748b;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin: 0 0 4px;
	text-transform: uppercase;
}

.logistica-perfil__details dd {
	color: #0f172a;
	font-size: 0.98rem;
	font-weight: 600;
	margin: 0;
	overflow-wrap: anywhere;
}

.logistica-perfil__help {
	color: #64748b;
	font-size: 0.9rem;
	line-height: 1.45;
	margin: 0 0 14px;
}

.logistica-perfil__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.logistica-perfil__btn {
	align-items: center;
	border: 1px solid transparent;
	border-radius: 999px;
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 0.92rem;
	font-weight: 600;
	gap: 8px;
	justify-content: center;
	line-height: 1.2;
	padding: 11px 16px;
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.logistica-perfil__btn .dashicons {
	font-size: 18px;
	height: 18px;
	width: 18px;
}

.logistica-perfil__btn--primary {
	background: #0f766e;
	border-color: #0f766e;
	color: #fff;
}

.logistica-perfil__btn--primary:hover,
.logistica-perfil__btn--primary:focus-visible {
	background: #0d9488;
	border-color: #0d9488;
	color: #fff;
	outline: none;
}

.logistica-perfil__btn--danger {
	background: #fff;
	border-color: #fecaca;
	color: #b91c1c;
}

.logistica-perfil__btn--danger:hover,
.logistica-perfil__btn--danger:focus-visible {
	background: #fef2f2;
	border-color: #f87171;
	color: #991b1b;
	outline: none;
}

@media (max-width: 720px) {
	.logistica-perfil__hero {
		align-items: flex-start;
		flex-direction: column;
	}

	.logistica-perfil__grid {
		grid-template-columns: 1fr;
	}
}

.logistica-user-panel__compras-proyeccion {
	margin-top: 8px;
}

.logistica-user-panel__proyeccion-toolbar {
	align-items: flex-end;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 18px;
	margin: 0 0 12px;
}

.logistica-user-panel__proyeccion-meta {
	color: #475569;
	font-size: 0.88rem;
	margin: 0;
}

.logistica-user-panel__proyeccion-stats {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0 0 12px;
}

.logistica-user-panel__proyeccion-stat {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 12px 14px;
}

.logistica-user-panel__proyeccion-stat[data-user-panel-compras-proyeccion-horizon-btn] {
	cursor: pointer;
}

.logistica-user-panel__proyeccion-stat.is-active {
	background: #ecfdf5;
	border-color: #99f6e4;
}

.logistica-user-panel__proyeccion-stat span {
	color: #475569;
	display: block;
	font-size: 0.78rem;
	margin-bottom: 4px;
}

.logistica-user-panel__proyeccion-stat strong {
	color: #0f766e;
	font-size: 1.05rem;
}

.logistica-user-panel__proyeccion-note {
	color: #475569;
	font-size: 0.86rem;
	line-height: 1.45;
	margin: 0 0 12px;
}

.logistica-user-panel__proyeccion-scroll {
	max-height: 360px;
}

.logistica-user-panel__proyeccion-table tr.is-soon td {
	background: #fff7ed;
}

.logistica-user-panel__proyeccion-table tr.is-overdue td {
	background: #fef2f2;
}

@media (max-width: 1100px) {
	.logistica-user-panel__proyeccion-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.logistica-user-panel__proyeccion-stats {
		grid-template-columns: 1fr;
	}
}
