.wp-site-blocks:has(.str-app) > header,
.wp-site-blocks:has(.str-app) > footer,
body:has(.str-app) .wp-site-blocks > header,
body:has(.str-app) .wp-site-blocks > footer,
body:has(.str-app) .wp-block-post-title {
	display: none !important;
}

body:has(.str-app) .wp-site-blocks,
body:has(.str-app) main,
body:has(.str-app) .entry-content,
body:has(.str-app) .wp-block-group {
	margin: 0 !important;
	max-width: none !important;
	padding: 0 !important;
	width: 100% !important;
}

.str-app {
	background: #f3f5f6;
	color: #18242b;
	font-family: Arial, sans-serif;
	line-height: 1.45;
	margin: 0;
	min-height: 100vh;
	padding: 0;
}

.str-topbar {
	align-items: center;
	background: #102d34;
	color: #fff;
	display: flex !important;
	gap: 16px;
	justify-content: space-between;
	padding: 16px 24px;
}

.str-topbar span {
	display: block;
	font-size: 14px;
	margin-top: 2px;
}

.str-topbar nav {
	display: flex !important;
	flex-wrap: wrap;
	gap: 8px;
}

.str-topbar a {
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #fff;
	padding: 8px 10px;
	text-decoration: none !important;
}

.str-topbar .str-primary-link {
	background: #f6c85f;
	color: #12343b;
}

.str-topbar a:focus,
.str-topbar a:hover {
	background: #245963;
	outline: 2px solid #f6c85f;
}

.str-band,
.str-brand-switcher,
.str-footer {
	margin-left: auto;
	margin-right: auto;
	max-width: 1220px;
}

.str-band {
	background: #fff;
	border: 1px solid #d7dee2;
	margin-top: 16px;
	padding: 16px;
}

.str-brand-switcher {
	align-items: center;
	display: grid !important;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	padding: 18px 16px 0;
}

.str-brand-logo {
	background: #fff;
	border: 1px solid #d7dee2;
	color: #18242b;
	display: grid !important;
	gap: 3px;
	min-height: 78px;
	padding: 14px;
	text-decoration: none !important;
}

.str-brand-logo span {
	font-size: 18px;
	font-weight: 800;
}

.str-brand-logo small {
	color: #52636d;
}

.str-brand-logo.is-brazilian {
	border-top: 5px solid #149954;
}

.str-brand-logo.is-roku {
	border-top: 5px solid #c4342d;
}

.str-brand-logo.is-crepes {
	border-top: 5px solid #d9a441;
}

.str-brand-logo.is-active,
.str-brand-logo:focus,
.str-brand-logo:hover {
	background: #102d34;
	border-color: #102d34;
	color: #fff;
}

.str-brand-logo.is-active small,
.str-brand-logo:focus small,
.str-brand-logo:hover small {
	color: #dbe5e8;
}

.str-current-context {
	align-items: baseline;
	background: #fff;
	border: 1px solid #d7dee2;
	display: flex;
	gap: 8px;
	margin: 12px auto 0;
	max-width: 1220px;
	padding: 10px 16px;
}

.str-current-context span,
.str-current-context small {
	color: #52636d;
}

.str-current-context strong {
	font-size: 18px;
}

.str-actions-grid {
	display: grid !important;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	margin-bottom: 16px;
}

.str-page-heading {
	align-items: start;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-bottom: 14px;
}

.str-page-heading h2 {
	margin-bottom: 4px;
}

.str-page-heading p {
	color: #52636d;
	margin: 0;
}

.str-month-select label {
	display: grid;
	font-weight: 700;
	gap: 6px;
	min-width: 220px;
}

.str-company-summary,
.str-report-strip {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	margin-bottom: 14px;
}

.str-company-summary-card,
.str-report-strip div {
	background: #f4f7f8;
	border: 1px solid #d7dee2;
	color: #18242b;
	display: grid;
	gap: 4px;
	padding: 12px;
	text-decoration: none;
}

.str-company-summary-card.is-active,
.str-company-summary-card:focus,
.str-company-summary-card:hover {
	background: #102d34;
	color: #fff;
}

.str-report-strip span,
.str-company-summary-card span {
	color: #52636d;
	font-size: 13px;
}

.str-company-summary-card.is-active span,
.str-company-summary-card:focus span,
.str-company-summary-card:hover span {
	color: #dbe5e8;
}

.str-action-card {
	background: #f4f7f8;
	border: 1px solid #d7dee2;
	color: #1d252c;
	display: grid !important;
	gap: 5px;
	padding: 14px;
	text-decoration: none !important;
}

.str-action-card:focus,
.str-action-card:hover {
	border-color: #1f7a8c;
	outline: 2px solid #f6c85f;
}

.str-action-card strong {
	font-size: 18px;
}

.str-summary,
.str-grid,
.str-reconciliation,
.str-pdq-row {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.str-summary div,
.str-reconciliation div {
	background: #f4f7f8;
	border-left: 4px solid #1f7a8c;
	padding: 10px;
}

.str-summary span,
.str-reconciliation span {
	display: block;
	font-size: 13px;
}

.str-summary strong,
.str-reconciliation strong {
	display: block;
	font-size: 20px;
	margin-top: 4px;
}

.str-form {
	display: grid;
	gap: 14px;
}

.str-form fieldset {
	border: 1px solid #d7dee2;
	margin: 0;
	padding: 14px;
}

.str-form label {
	display: grid;
	font-weight: 700;
	gap: 6px;
}

.str-form input,
.str-form select,
.str-form textarea {
	border: 1px solid #aab6bd;
	font: inherit;
	min-height: 42px;
	padding: 8px;
}

.str-form textarea {
	min-height: 88px;
}

.str-check {
	align-items: center;
	display: flex !important;
	font-weight: 400 !important;
	gap: 8px;
}

.str-check input {
	min-height: auto;
}

.str-sticky-actions {
	background: #fff;
	border-top: 1px solid #d7dee2;
	bottom: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 12px 0;
	position: sticky;
}

button {
	background: #176b7a;
	border: 0;
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	padding: 10px 14px;
}

button:focus,
button:hover {
	background: #12343b;
	outline: 2px solid #f6c85f;
}

table {
	border-collapse: collapse;
	width: 100%;
}

th,
td {
	border-bottom: 1px solid #d7dee2;
	padding: 9px;
	text-align: left;
	vertical-align: top;
}

th {
	background: #eef3f4;
}

.str-badge,
.str-notice {
	background: #f6c85f;
	color: #1d252c;
	display: inline-block;
	font-weight: 700;
	padding: 4px 8px;
}

.str-notice {
	margin: 16px 0 0;
}

.str-login-screen,
.str-login-required {
	border: 1px solid #d7dee2;
	margin: 40px auto;
	max-width: 420px;
	padding: 24px;
}

.str-login-page {
	align-items: center;
	background: #102d34;
	color: #1d252c;
	display: flex;
	font-family: Arial, sans-serif;
	min-height: 100vh;
	padding: 24px;
}

.str-login-screen {
	background: #fff;
	border: 0;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
	display: grid;
	gap: 14px;
	margin: 0 auto;
}

.str-login-screen h1 {
	font-size: 30px;
	margin: 0 0 4px;
}

.str-login-screen label {
	display: grid;
	font-weight: 700;
	gap: 6px;
}

.str-login-screen input,
.str-login-screen select {
	border: 1px solid #aab6bd;
	font: inherit;
	min-height: 42px;
	padding: 8px;
}

.str-error {
	background: #f9e1df;
	border-left: 4px solid #b42318;
	padding: 8px;
}

.str-table-scroll {
	overflow-x: auto;
}

.str-period-filter {
	margin-bottom: 12px;
}

.str-period-create {
	background: #f4f7f8;
	border: 1px solid #d7dee2;
	margin-bottom: 14px;
	padding: 12px;
}

.str-period-create summary {
	cursor: pointer;
	font-weight: 800;
}

.str-period-create .str-form {
	margin-top: 12px;
}

.str-period-filter label {
	display: grid;
	font-weight: 700;
	gap: 6px;
	max-width: 420px;
}

.str-payroll-table {
	min-width: 1480px;
}

.str-payroll-table input,
.str-payroll-table select,
.str-payroll-table textarea {
	border: 1px solid #aab6bd;
	font: inherit;
	margin-bottom: 6px;
	min-height: 38px;
	padding: 6px;
	width: 100%;
}

.str-payroll-table textarea {
	min-height: 74px;
}

.str-payroll-table span {
	display: block;
	font-size: 13px;
}

.str-warning {
	background: #fff4cc;
	border-left: 3px solid #d99a00;
	margin-top: 6px;
	padding: 5px;
}

.str-footer {
	align-items: center;
	color: #52636d;
	display: flex;
	font-size: 13px;
	justify-content: space-between;
	padding: 18px 16px 26px;
}

@media (max-width: 720px) {
	.str-topbar {
		align-items: stretch;
		display: block;
	}

	.str-topbar nav {
		margin-top: 12px;
	}

	.str-footer {
		display: grid;
		gap: 6px;
	}

	th,
	td {
		font-size: 14px;
		padding: 7px;
	}
}
