.wx5lgn-weekly-net-app {
	--wx5lgn-surface: #eef2f4;
	--wx5lgn-surface-strong: #f6f8f9;
	--wx5lgn-line: rgba(20, 26, 32, 0.18);
	--wx5lgn-text: #25313b;
	--wx5lgn-muted: rgba(37, 49, 59, 0.86);
	--wx5lgn-accent: var(--wp--preset--color--primary, #2f6971);
	--wx5lgn-accent-deep: #25535a;
	--wx5lgn-accent-soft: rgba(47, 105, 113, 0.1);
	--wx5lgn-button-bg: #df4f4f;
	--wx5lgn-button-bg-hover: #c94444;
	--wx5lgn-button-text: #ffffff;
	--wx5lgn-shadow: none;
	color: var(--wx5lgn-text);
	font: inherit;
	width: 100%;
	max-width: none;
	margin: 0;
}

.wx5lgn-weekly-shell {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	width: 100%;
	min-width: 0;
}

.wx5lgn-weekly-main {
	min-width: 0;
	flex: 1 1 auto;
	display: grid;
	gap: 16px;
	width: 100%;
	max-width: 100%;
}

.wx5lgn-weekly-sidebar {
	position: sticky;
	top: 24px;
	flex: 0 0 min(32%, 380px);
	min-width: 300px;
	max-width: 100%;
	display: grid;
	gap: 16px;
}

.wx5lgn-weekly-sidebar .wx5lgn-weekly-list {
	grid-template-columns: 1fr;
}

.wx5lgn-weekly-panel {
	background: var(--wx5lgn-surface) !important;
	border: 1px solid var(--wx5lgn-line) !important;
	border-radius: 8px !important;
	box-shadow: var(--wx5lgn-shadow) !important;
	padding: 18px !important;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
}

.wx5lgn-weekly-panel > * + * {
	margin-top: 14px;
}

.wx5lgn-weekly-panel h1,
.wx5lgn-weekly-panel h2,
.wx5lgn-weekly-panel p {
	margin-top: 0;
	margin-bottom: 0;
}

.wx5lgn-weekly-panel h1,
.wx5lgn-weekly-panel h2 {
	font: inherit;
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--wx5lgn-text);
}

.wx5lgn-weekly-panel-head {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: start;
}

.wx5lgn-weekly-muted {
	color: var(--wx5lgn-muted);
	font-size: 1rem;
}

.wx5lgn-weekly-status {
	padding: 12px 14px !important;
	border-radius: 6px !important;
	background: #e6ecef !important;
	color: var(--wx5lgn-text) !important;
}

.wx5lgn-weekly-stack,
.wx5lgn-weekly-list {
	display: grid;
	gap: 10px;
}

.wx5lgn-weekly-session-item,
.wx5lgn-weekly-net-app button,
.wx5lgn-weekly-net-app select,
.wx5lgn-weekly-net-app input,
.wx5lgn-weekly-net-app textarea {
	font: inherit;
}

.wx5lgn-weekly-session-item {
	border: 1px solid var(--wx5lgn-line) !important;
	border-radius: 6px !important;
	padding: 14px !important;
	background: var(--wx5lgn-surface-strong) !important;
	color: var(--wx5lgn-text) !important;
	text-align: left;
	display: grid;
	gap: 4px;
}

.wx5lgn-weekly-session-item.is-active {
	border-color: color-mix(in srgb, var(--wx5lgn-accent) 35%, white) !important;
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wx5lgn-accent) 25%, transparent) !important;
}

.wx5lgn-weekly-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.wx5lgn-weekly-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.wx5lgn-weekly-field-wide {
	grid-column: 1 / -1;
}

.wx5lgn-weekly-callsign-field {
	position: relative;
}

.wx5lgn-weekly-lookup-status {
	position: relative;
	display: block;
	height: 1.2rem;
	margin-top: 0.35rem;
	line-height: 1.2rem;
	overflow: hidden;
	font-size: 0.9rem;
	color: var(--wx5lgn-muted);
}

.wx5lgn-weekly-lookup-status.is-placeholder {
	visibility: hidden;
}

.wx5lgn-weekly-field label,
.wx5lgn-weekly-field span {
	font-size: 0.9rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--wx5lgn-text);
}

.wx5lgn-weekly-field input,
.wx5lgn-weekly-field select,
.wx5lgn-weekly-field textarea,
.wx5lgn-weekly-net-app select {
	width: 100%;
	max-width: 100%;
	background-color: #f9fbfb !important;
	color: var(--wx5lgn-text) !important;
	border: 1px solid rgba(20, 26, 32, 0.16) !important;
	border-radius: 2px !important;
	padding: 10px 12px !important;
	box-shadow: none !important;
	box-sizing: border-box;
}

.wx5lgn-weekly-field input,
.wx5lgn-weekly-field select,
.wx5lgn-weekly-net-app select {
	min-height: 44px;
	line-height: 1.35 !important;
}

.wx5lgn-weekly-field select,
.wx5lgn-weekly-net-app select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding-right: 36px !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23506472' d='M1.41.59 6 5.17 10.59.59 12 2l-6 6-6-6z'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 12px center !important;
	background-size: 12px 8px !important;
}

#wx5lgn-callsign {
	text-transform: uppercase;
}

.wx5lgn-weekly-field textarea {
	min-height: 100px;
	resize: vertical;
}

.wx5lgn-weekly-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: end;
	margin-top: 12px;
	grid-column: 1 / -1;
}

.wx5lgn-weekly-button {
	display: inline-block !important;
	cursor: pointer !important;
	white-space: normal !important;
	font-weight: inherit !important;
	text-transform: none !important;
	font-size: inherit !important;
	line-height: inherit !important;
	border-radius: 2px !important;
	background: var(--wx5lgn-button-bg) !important;
	background-color: var(--wx5lgn-button-bg) !important;
	border: 1px solid var(--wx5lgn-button-bg) !important;
	color: var(--wx5lgn-button-text) !important;
	padding: 0.7rem 1.2rem !important;
	text-decoration: none !important;
	box-shadow: none !important;
	appearance: none !important;
}

.wx5lgn-weekly-button:hover {
	background: var(--wx5lgn-button-bg-hover) !important;
	background-color: var(--wx5lgn-button-bg-hover) !important;
	border-color: var(--wx5lgn-button-bg-hover) !important;
	color: var(--wx5lgn-button-text) !important;
}

.wx5lgn-weekly-button.is-secondary {
	background: var(--wx5lgn-button-bg) !important;
	background-color: var(--wx5lgn-button-bg) !important;
	border-color: var(--wx5lgn-button-bg) !important;
	color: var(--wx5lgn-button-text) !important;
}

.wx5lgn-weekly-button.is-secondary:hover {
	background: var(--wx5lgn-button-bg-hover) !important;
	background-color: var(--wx5lgn-button-bg-hover) !important;
	border-color: var(--wx5lgn-button-bg-hover) !important;
	color: var(--wx5lgn-button-text) !important;
}

.wx5lgn-weekly-metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.wx5lgn-weekly-metric {
	padding: 12px !important;
	border-radius: 6px !important;
	background: #e6ecef !important;
	border: 1px solid rgba(20, 26, 32, 0.14) !important;
	color: var(--wx5lgn-text) !important;
	min-width: 0;
}

.wx5lgn-weekly-metric-label {
	display: block;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(37, 49, 59, 0.82);
}

.wx5lgn-weekly-metric strong {
	display: block;
	margin-top: 5px;
	color: var(--wx5lgn-text);
	font-size: 1rem;
}

.wx5lgn-weekly-table-wrap {
	overflow: auto;
	border: 1px solid var(--wx5lgn-line) !important;
	border-radius: 6px !important;
	background: #f9fbfb !important;
	width: 100%;
	max-width: 100%;
}

.wx5lgn-weekly-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 860px;
}

.wx5lgn-weekly-table th,
.wx5lgn-weekly-table td {
	padding: 12px;
	text-align: left;
	border-top: 1px solid var(--wx5lgn-line);
	vertical-align: top;
	color: var(--wx5lgn-text);
}

.wx5lgn-weekly-table thead th {
	border-top: 0;
	font-size: 0.76rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--wx5lgn-text);
	background: #f4f7f8;
}

.wx5lgn-weekly-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	padding: 4px 9px !important;
	border-radius: 999px !important;
	background: rgba(13, 92, 99, 0.12) !important;
	color: var(--wx5lgn-accent) !important;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.wx5lgn-weekly-badge.is-pending {
	background: rgba(223, 79, 79, 0.14);
	color: #a33a3a;
}

.wx5lgn-weekly-badge.is-complete {
	background: rgba(47, 105, 113, 0.14);
	color: var(--wx5lgn-accent-deep);
}

.wx5lgn-weekly-time-cell {
	white-space: nowrap;
	min-width: 120px;
}

.wx5lgn-weekly-action-cell {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 110px;
}

.wx5lgn-weekly-action-cell .wx5lgn-weekly-button {
	width: 100%;
	text-align: center;
	padding: 0.55rem 0.9rem !important;
}

.wx5lgn-weekly-button.is-round-toggle.is-complete {
	background: var(--wx5lgn-accent) !important;
	background-color: var(--wx5lgn-accent) !important;
	border-color: var(--wx5lgn-accent) !important;
}

.wx5lgn-weekly-button.is-round-toggle.is-complete:hover {
	background: var(--wx5lgn-accent-deep) !important;
	background-color: var(--wx5lgn-accent-deep) !important;
	border-color: var(--wx5lgn-accent-deep) !important;
}

.wx5lgn-weekly-table tr.is-traffic-pending td {
	background: rgba(223, 79, 79, 0.05);
}

.wx5lgn-weekly-table tr.is-traffic-complete td {
	background: rgba(47, 105, 113, 0.06);
}

.wx5lgn-weekly-net-app button:focus-visible,
.wx5lgn-weekly-net-app input:focus-visible,
.wx5lgn-weekly-net-app select:focus-visible,
.wx5lgn-weekly-net-app textarea:focus-visible {
	outline: 2px solid color-mix(in srgb, var(--wx5lgn-accent) 35%, white);
	outline-offset: 2px;
}

.wx5lgn-weekly-loading,
.wx5lgn-weekly-net-locked {
	max-width: 460px;
	padding: 22px 24px !important;
	border: 1px solid #374151 !important;
	border-radius: 14px !important;
	background: #1f2933 !important;
	color: #e5e7eb !important;
}

.wx5lgn-weekly-net-locked h3 {
	margin: 0 0 12px;
	color: #f9fafb;
	font-size: 2rem;
	font-weight: 400;
}

.wx5lgn-weekly-net-locked p {
	margin: 0 0 16px;
	color: #d1d5db;
	line-height: 1.65;
}

.wx5lgn-weekly-net-locked form p {
	margin: 0 0 14px;
	max-width: none;
}

.wx5lgn-weekly-net-locked .wx5lgn-weekly-login-form {
	max-width: none;
	width: 100%;
}

.wx5lgn-weekly-net-locked form label {
	display: block;
	margin-bottom: 6px;
	color: #e5e7eb;
	font-weight: 600;
	letter-spacing: normal;
	text-transform: none;
	font-size: 1rem;
}

.wx5lgn-weekly-net-locked .wx5lgn-weekly-login-row,
.wx5lgn-weekly-net-locked .wx5lgn-weekly-login-remember,
.wx5lgn-weekly-net-locked .wx5lgn-weekly-login-submit {
	text-align: left;
	margin-left: 0;
	margin-right: 0;
	max-width: none;
}

.wx5lgn-weekly-net-locked #wx5lgn-weekly-user-login,
.wx5lgn-weekly-net-locked #wx5lgn-weekly-user-pass {
	display: block;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	float: none !important;
	background: #111827 !important;
	color: #e5e7eb !important;
	border: 1px solid #374151 !important;
	border-radius: 8px !important;
	padding: 10px 12px !important;
	font-size: 0.95rem !important;
	line-height: 1.4 !important;
	box-sizing: border-box;
}

.wx5lgn-weekly-net-locked #wx5lgn-weekly-user-login:focus,
.wx5lgn-weekly-net-locked #wx5lgn-weekly-user-pass:focus {
	outline: none;
	border-color: #3b82f6 !important;
	box-shadow: 0 0 0 1px #3b82f6 !important;
}

.wx5lgn-weekly-net-locked .wx5lgn-weekly-login-remember label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #e5e7eb;
	font-weight: 500;
	letter-spacing: normal;
	text-transform: none;
	font-size: 1rem;
}

.wx5lgn-weekly-net-locked #wx5lgn-weekly-wp-submit {
	display: inline-block !important;
	margin: 0 !important;
	background: var(--wx5lgn-button-bg-hover) !important;
	border: 1px solid var(--wx5lgn-button-bg-hover) !important;
	color: var(--wx5lgn-button-text) !important;
	border-radius: 999px !important;
	padding: 8px 16px !important;
	line-height: 1.25 !important;
	font-size: 0.92rem !important;
	font-weight: 600 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	box-shadow: none !important;
	text-decoration: none !important;
	width: auto !important;
}

.wx5lgn-weekly-net-locked .wx5lgn-weekly-login-submit #wx5lgn-weekly-wp-submit {
	margin-left: 0;
}

@media (max-width: 1500px) {
	.wx5lgn-weekly-shell {
		flex-direction: column;
	}

	.wx5lgn-weekly-sidebar {
		position: static;
		flex: 1 1 auto;
		min-width: 0;
		width: 100%;
	}
}

@media (max-width: 1100px) {
	.wx5lgn-weekly-form-grid {
		grid-template-columns: 1fr;
	}

	.wx5lgn-weekly-metrics {
		grid-template-columns: 1fr;
	}

	.wx5lgn-weekly-panel-head {
		flex-direction: column;
		align-items: stretch;
	}

	.wx5lgn-weekly-actions {
		align-items: stretch;
	}

	.wx5lgn-weekly-table {
		min-width: 760px;
	}
}

@media (max-width: 780px) {
	.wx5lgn-weekly-panel {
		padding: 16px;
		border-radius: 6px;
	}

	.wx5lgn-weekly-button {
		width: 100%;
		justify-content: center;
	}

	.wx5lgn-weekly-table {
		min-width: 680px;
	}
}
