/* Simple Simon Werkbonnen – sluit aan op de standaard WordPress-beheerstijl. */

.ssw-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin: 16px 0 12px;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid #c3c4c7;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.ssw-filters label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
}

.ssw-filters label input,
.ssw-filters label select {
	font-weight: 400;
}

.ssw-weeknav {
	display: inline-flex;
	gap: 4px;
	margin-left: 8px;
}

.ssw-filters .ssw-refresh {
	margin-left: auto;
}

.ssw-summary {
	margin: 12px 0 8px;
	font-size: 14px;
}

.ssw-muted {
	color: #646970;
}

.ssw-table td,
.ssw-table th {
	vertical-align: top;
}

/* Alleen enkele kolommen krijgen een vaste breedte; de rest verdeelt de ruimte. */
.ssw-table .ssw-col-0 { width: 7%; }
.ssw-table .ssw-col-1 { width: 12%; }
.ssw-table .ssw-col-4 { width: 7%; }
.ssw-table .ssw-col-5 { width: 12%; }
.ssw-table .ssw-col-8 { width: 11%; }
.ssw-table .ssw-col-9 { width: 9%; }

.ssw-nr {
	font-variant-numeric: tabular-nums;
}

.ssw-badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 10px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.6;
	white-space: nowrap;
}

.ssw-badge--open {
	background: #fcf0e3;
	color: #8a4b08;
}

.ssw-badge--ready {
	background: #e6f4ea;
	color: #1a6630;
}

.ssw-badge--unknown {
	background: #f0f0f1;
	color: #50575e;
}

.ssw-diag {
	margin-top: 16px;
	padding: 4px 16px 16px;
	background: #fff;
	border: 1px solid #c3c4c7;
	max-width: 900px;
}

.ssw-steps {
	margin-left: 0;
	list-style: none;
}

.ssw-steps li {
	margin: 10px 0;
}

.ssw-steps .ssw-ok .dashicons {
	color: #1a6630;
}

.ssw-steps .ssw-fail .dashicons {
	color: #b32d2e;
}

.ssw-fields {
	max-width: 860px;
}

.ssw-fields td:first-child {
	width: 40%;
}

@media screen and (max-width: 782px) {
	.ssw-table {
		display: block;
		overflow-x: auto;
	}
}

.ssw-break {
	overflow-wrap: anywhere;
}

.ssw-state {
	font-size: 14px;
}

.ssw-state--ok .dashicons {
	color: #1a6630;
}

.ssw-inline-form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 8px 0;
}

.ssw-inline-form label {
	font-weight: 600;
}

.ssw-pincode {
	max-width: 12em;
	letter-spacing: 0.15em;
}

.ssw-details {
	margin: 8px 0 16px;
}

.ssw-details summary {
	cursor: pointer;
	color: #2271b1;
}

/* Herplannen */
.ssw-herplan {
	margin: 12px 0;
	padding: 10px 14px;
	background: #fff;
	border: 1px solid #c3c4c7;
}

.ssw-herplan summary {
	cursor: pointer;
	font-weight: 600;
}

.ssw-herplan-mode {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 40px;
	margin: 8px 0;
}

.ssw-herplan-days {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
}

.ssw-herplan-days legend {
	margin-bottom: 4px;
	font-weight: 600;
}

.ssw-herplan-times {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
}

.ssw-applybar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 12px 0 16px;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid #c3c4c7;
	border-left: 4px solid #2271b1;
}

.ssw-progress {
	margin-left: 8px;
	font-weight: 600;
}

.ssw-progress--error {
	color: #b32d2e;
}

.ssw-hidden {
	display: none !important;
}

.ssw-plan {
	margin-bottom: 20px;
}

.ssw-plan th:first-child,
.ssw-plan td:first-child {
	width: 4em;
}

.ssw-plan .ssw-same td {
	color: #646970;
}

.ssw-plan .ssw-result {
	width: 22%;
}

.ssw-excluded {
	margin: 16px 0;
}

.ssw-excluded summary {
	cursor: pointer;
	font-weight: 600;
	margin-bottom: 8px;
}

.ssw-lastrun details {
	margin: 0 0 8px;
}

.ssw-issues {
	margin: 6px 0 0 18px;
	list-style: disc;
}

.ssw-plan .ssw-dayrow th {
	padding: 6px 10px;
	background: #f0f6fc;
	font-weight: 600;
}

.ssw-plan .ssw-gaprow td {
	padding: 3px 10px;
	background: repeating-linear-gradient(135deg, #fff, #fff 6px, #f6f7f7 6px, #f6f7f7 12px);
	color: #646970;
	font-size: 12px;
	font-style: italic;
}

/* Asana */
.ssw-projects {
	display: flex;
	flex-direction: column;
	gap: 4px;
	max-height: 260px;
	max-width: 520px;
	overflow-y: auto;
	padding: 8px 10px;
	background: #fff;
	border: 1px solid #c3c4c7;
}

.ssw-projects strong {
	margin-top: 4px;
}

.ssw-asana-table {
	margin-top: 12px;
}

.ssw-asana-table td {
	vertical-align: top;
}

.ssw-choose-form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.ssw-choose-form select {
	max-width: 320px;
}

.ssw-choose-form .ssw-number {
	width: 130px;
}

.ssw-task-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	margin-top: 6px;
}

.ssw-task-form {
	display: inline;
	margin: 0;
}

.ssw-asana-table th:nth-child(1) { width: 9%; }
.ssw-asana-table th:nth-child(2) { width: 24%; }
.ssw-asana-table th:nth-child(3) { width: 27%; }
.ssw-asana-table th:nth-child(5) { width: 13%; }

.ssw-herplan-order {
	margin: 8px 0;
}

.ssw-herplan-order label {
	display: block;
	margin: 2px 0;
}

/* Artikelen in Asana-taken */
.ssw-error-text { color: #b32d2e; }
.ssw-items { display: inline-block; margin-top: 2px; }
.ssw-articles-table td { vertical-align: top; }
.ssw-articles-table .ssw-col-codes { width: 26%; }
.ssw-articles-table .ssw-col-delete { width: 9em; }
.ssw-articles-table .ssw-codes { width: 100%; max-width: 22em; }
.ssw-item-label { font-weight: 600; margin: 4px 0 6px; }
.ssw-item-label.ssw-muted { font-weight: 400; }
.ssw-item-search { display: flex; gap: 6px; flex-wrap: wrap; }
.ssw-item-search .ssw-item-q { flex: 1 1 16em; max-width: 28em; }
.ssw-item-results { margin: 6px 0 0; padding: 4px 0; max-height: 16em; overflow-y: auto; border-top: 1px solid #dcdcde; }
.ssw-item-results li { margin: 0; padding: 3px 0; }
.ssw-item-results .button-link { text-align: left; }
.ssw-proef-result { max-width: 46em; margin-top: 12px; }
.ssw-proef-result .ssw-number { width: 5em; text-align: right; white-space: nowrap; }
@media (max-width: 782px) {
	.ssw-articles-table thead { display: none; }
	.ssw-articles-table tr, .ssw-articles-table td { display: block; width: auto !important; box-sizing: border-box; }
	.ssw-articles-table .ssw-codes, .ssw-item-search .ssw-item-q { max-width: none; width: 100%; flex-basis: 100%; }
}
.ssw-scan-table td { vertical-align: top; }
.ssw-scan-table .ssw-col-take { width: 6em; text-align: center; }
.ssw-scan-table .ssw-col-code { width: 9em; }
.ssw-scan-table .ssw-col-proposal { width: 40%; }
.ssw-scan-table .ssw-code { font-size: 15px; font-family: Consolas, Monaco, monospace; }
.ssw-scan-table .ssw-suggest { width: 100%; max-width: 100%; }
.ssw-scan-table .ssw-examples div { margin-bottom: 3px; overflow-wrap: anywhere; }
.ssw-scan-table .ssw-item-label { margin-top: 6px; }
@media (max-width: 782px) {
	.ssw-scan-table thead { display: none; }
	.ssw-scan-table tr, .ssw-scan-table td { display: block; width: auto !important; text-align: left !important; box-sizing: border-box; }
}
.ssw-scan-table .ssw-why { margin-top: 3px; font-size: 12px; }
.ssw-box-table { max-width: 60em; }
.ssw-box-table .ssw-col-pos { width: 6em; }
.ssw-box-table .ssw-col-per { width: 12em; }
.ssw-box-table .ssw-col-delete { width: 9em; }

/* =========================================================================
 * Huisstijl Fortune Coffee
 * Creme basislaag, zwevende vlakken met ronde hoeken (16 / 8 px), Rebond
 * Grotesque voor titels, Avenir voor tekst. Eén kleurgroep: groen. Oranje
 * alleen voor de hoofdknop (wat echt moet opvallen). Rood alleen in het logo.
 * ====================================================================== */

@font-face { font-family: "Rebond Grotesque"; src: url("brand/FC-ESRebondGrotesque-Medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Rebond Grotesque"; src: url("brand/FC-ESRebondGrotesque-Semibold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Avenir LT Std"; src: url("brand/AvenirLTStd-Book.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Avenir LT Std"; src: url("brand/AvenirLTStd-Black.woff") format("woff"); font-weight: 900; font-style: normal; font-display: swap; }

body.ssw-fortune {
	--fc-creme: #F7F5F2;
	--fc-lichtbruin: #EDD5BE;
	--fc-bruin: #E3BC9A;
	--fc-donkerbruin: #6B472B;
	--fc-oranje: #C84D0D;
	--fc-wit: #FFFFFF;
	--fc-zwart: #000000;
	--fc-donkergrijs: #313131;
	--fc-lichtgroen: #D8EBDC;
	--fc-groen: #B4D9BD;
	--fc-donkergroen: #2F5735;
	--fc-geel: #F6A54F;
	--fc-r1: 16px;
	--fc-r2: 8px;
	--fc-titel: "Rebond Grotesque", Arial, sans-serif;
	--fc-tekst: "Avenir LT Std", Arial, sans-serif;
	background: var(--fc-creme);
}
body.ssw-fortune #wpwrap,
body.ssw-fortune #wpcontent,
body.ssw-fortune #wpbody-content { background: var(--fc-creme); }

body.ssw-fortune .ssw-wrap {
	font-family: var(--fc-tekst);
	font-size: 15px;
	line-height: 1.5;
	color: var(--fc-zwart);
	max-width: 1400px;
	margin: 20px 24px 0 4px;
}
body.ssw-fortune .ssw-wrap p,
body.ssw-fortune .ssw-wrap li,
body.ssw-fortune .ssw-wrap td,
body.ssw-fortune .ssw-wrap th,
body.ssw-fortune .ssw-wrap label,
body.ssw-fortune .ssw-wrap summary,
body.ssw-fortune .ssw-wrap input,
body.ssw-fortune .ssw-wrap select,
body.ssw-fortune .ssw-wrap textarea,
body.ssw-fortune .ssw-wrap .button { font-family: var(--fc-tekst); }
body.ssw-fortune .ssw-wrap p,
body.ssw-fortune .ssw-wrap li { font-size: 15px; line-height: 1.5; }

/* ---------- Kop met logo's ---------- */
body.ssw-fortune .ssw-brand {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	padding: 18px 24px;
	margin: 0 0 24px;
	background: var(--fc-wit);
	border-radius: var(--fc-r1);
}
body.ssw-fortune .ssw-brand-logo { width: 160px; height: auto; display: block; }
body.ssw-fortune .ssw-brand-name {
	font-family: var(--fc-titel);
	font-weight: 600;
	font-size: 18px;
	line-height: 1.5;
	color: var(--fc-donkergroen);
	padding-left: 20px;
	border-left: 1px solid rgba(47, 87, 53, .25);
}
body.ssw-fortune .ssw-brand-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; }
body.ssw-fortune .ssw-brand-label { font-size: 13px; color: var(--fc-donkergrijs); margin-right: 4px; }
body.ssw-fortune .ssw-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 48px;
	padding: 0 14px;
	background: var(--fc-creme);
	border-radius: var(--fc-r2);
	font-family: var(--fc-tekst);
	font-weight: 900;
	font-size: 13px;
	color: var(--fc-donkergroen);
}
body.ssw-fortune .ssw-chip img { display: block; height: 34px; width: auto; }
body.ssw-fortune .ssw-chip img[alt="Asana"] { height: 36px; }
body.ssw-fortune .ssw-chip img[alt="Spoke"] { height: 24px; }
body.ssw-fortune .ssw-chip .dashicons { font-size: 18px; width: 18px; height: 18px; }

/* ---------- Titels ---------- */
body.ssw-fortune .ssw-wrap h1 {
	font-family: var(--fc-titel);
	font-weight: 500;
	font-size: 32px;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--fc-zwart);
	margin: 4px 0 12px;
	padding: 0;
}
body.ssw-fortune .ssw-wrap h2 {
	font-family: var(--fc-titel);
	font-weight: 600;
	font-size: 24px;
	line-height: 1.2;
	color: var(--fc-zwart);
	margin: 36px 0 12px;
}
body.ssw-fortune .ssw-wrap h3 {
	font-family: var(--fc-titel);
	font-weight: 600;
	font-size: 18px;
	line-height: 1.5;
	color: var(--fc-zwart);
	margin: 24px 0 8px;
}
body.ssw-fortune .ssw-wrap strong,
body.ssw-fortune .ssw-wrap b,
body.ssw-fortune .ssw-wrap .form-table th { font-family: var(--fc-tekst); font-weight: 900; }
body.ssw-fortune .ssw-wrap .ssw-muted,
body.ssw-fortune .ssw-wrap .description { color: var(--fc-donkergrijs); font-size: 14px; }
body.ssw-fortune .ssw-wrap code { background: var(--fc-lichtgroen); color: var(--fc-donkergroen); border-radius: 4px; padding: 1px 6px; }
body.ssw-fortune .ssw-wrap a { color: var(--fc-donkergroen); }
body.ssw-fortune .ssw-wrap a:hover,
body.ssw-fortune .ssw-wrap a:focus { color: var(--fc-oranje); }

/* ---------- Vlakken: formulieren, filters, uitklapblokken ---------- */
body.ssw-fortune .ssw-wrap .form-table {
	background: var(--fc-wit);
	border-radius: var(--fc-r1);
	border-collapse: separate;
	border-spacing: 0;
	margin: 8px 0 16px;
	overflow: hidden;
}
body.ssw-fortune .ssw-wrap .form-table th { padding: 18px 12px 18px 24px; color: var(--fc-zwart); font-size: 14px; }
body.ssw-fortune .ssw-wrap .form-table td { padding: 14px 24px 14px 12px; }
body.ssw-fortune .ssw-wrap .form-table tr + tr th,
body.ssw-fortune .ssw-wrap .form-table tr + tr td {
	/* Scheidingslijn van korte streepjes met ronde uiteinden, 50% tekstkleur. */
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='2'%3E%3Cline x1='1' y1='1' x2='4' y2='1' stroke='%23000' stroke-opacity='.25' stroke-width='1' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: repeat-x;
	background-position: top left;
}

body.ssw-fortune .ssw-filters,
body.ssw-fortune .ssw-diag,
body.ssw-fortune .ssw-details,
body.ssw-fortune .ssw-herplan,
body.ssw-fortune .ssw-excluded,
body.ssw-fortune .ssw-projects,
body.ssw-fortune .ssw-applybar {
	background: var(--fc-wit);
	border: 0;
	border-radius: var(--fc-r1);
	box-shadow: none;
}
body.ssw-fortune .ssw-filters { padding: 16px 20px; }
body.ssw-fortune .ssw-details { padding: 4px 20px; margin: 10px 0; }
body.ssw-fortune .ssw-details[open] { padding-bottom: 16px; }
body.ssw-fortune .ssw-wrap details > summary { padding: 12px 0; cursor: pointer; color: var(--fc-zwart); }
body.ssw-fortune .ssw-wrap details > summary::marker { color: var(--fc-donkergroen); }

/* De samenvatting bovenaan als lichtgroen vlak. */
body.ssw-fortune .ssw-summary {
	background: var(--fc-lichtgroen);
	color: var(--fc-donkergroen);
	border-radius: var(--fc-r1);
	padding: 14px 20px;
	font-size: 15px;
}
body.ssw-fortune .ssw-summary .ssw-muted { color: var(--fc-donkergroen); opacity: .85; }

/* ---------- Tabellen ---------- */
body.ssw-fortune .ssw-wrap table.widefat {
	background: var(--fc-wit);
	border: 0;
	border-radius: var(--fc-r1);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	box-shadow: none;
}
body.ssw-fortune .ssw-wrap table.widefat thead th,
body.ssw-fortune .ssw-wrap table.widefat thead td,
body.ssw-fortune .ssw-wrap table.widefat tfoot th {
	background: var(--fc-donkergroen);
	color: var(--fc-lichtgroen);
	font-family: var(--fc-tekst);
	font-weight: 900;
	font-size: 13px;
	border: 0;
	padding: 12px 10px;
}
body.ssw-fortune .ssw-wrap table.widefat thead th a { color: var(--fc-lichtgroen); }
body.ssw-fortune .ssw-wrap table.widefat td,
body.ssw-fortune .ssw-wrap table.widefat tbody th { padding: 11px 10px; font-size: 14px; border: 0; }
body.ssw-fortune .ssw-wrap table.widefat.striped > tbody > :nth-child(odd) { background: #FBFAF8; }
body.ssw-fortune .ssw-wrap table.widefat tbody tr:hover { background: var(--fc-lichtgroen); }
body.ssw-fortune .ssw-wrap table.widefat tbody tr + tr > * { border-top: 1px solid rgba(0, 0, 0, .06); }

/* ---------- Knoppen ---------- */
body.ssw-fortune .ssw-wrap .button {
	border-radius: var(--fc-r2);
	border: 1px solid var(--fc-zwart);
	background: transparent;
	color: var(--fc-zwart);
	font-size: 14px;
	min-height: 36px;
	line-height: 2.3;
	padding: 0 16px;
	box-shadow: none;
}
body.ssw-fortune .ssw-wrap .button:hover,
body.ssw-fortune .ssw-wrap .button:focus { background: var(--fc-wit); border-color: var(--fc-zwart); color: var(--fc-zwart); box-shadow: 0 0 0 2px var(--fc-groen); }
body.ssw-fortune .ssw-wrap .button-primary,
body.ssw-fortune .ssw-wrap input[type="submit"].button-primary {
	background: var(--fc-oranje);
	border-color: var(--fc-oranje);
	color: var(--fc-wit);
	font-weight: 900;
}
body.ssw-fortune .ssw-wrap .button-primary:hover,
body.ssw-fortune .ssw-wrap .button-primary:focus { background: #A93F0A; border-color: #A93F0A; color: var(--fc-wit); box-shadow: 0 0 0 2px var(--fc-bruin); }
body.ssw-fortune .ssw-wrap .button:disabled,
body.ssw-fortune .ssw-wrap .button[disabled] { opacity: .45; }
body.ssw-fortune .ssw-wrap .button-link { color: var(--fc-donkergroen); }
/* Knoppen in een lichtgroen vlak: donkergroen. */
body.ssw-fortune .ssw-summary .button { border-color: var(--fc-donkergroen); color: var(--fc-donkergroen); }

/* ---------- Invoervelden ---------- */
body.ssw-fortune .ssw-wrap input[type="text"],
body.ssw-fortune .ssw-wrap input[type="email"],
body.ssw-fortune .ssw-wrap input[type="password"],
body.ssw-fortune .ssw-wrap input[type="number"],
body.ssw-fortune .ssw-wrap input[type="time"],
body.ssw-fortune .ssw-wrap input[type="date"],
body.ssw-fortune .ssw-wrap input[type="week"],
body.ssw-fortune .ssw-wrap input[type="search"],
body.ssw-fortune .ssw-wrap input[type="url"],
body.ssw-fortune .ssw-wrap select,
body.ssw-fortune .ssw-wrap textarea {
	border: 1px solid rgba(0, 0, 0, .25);
	border-radius: var(--fc-r2);
	background-color: var(--fc-wit);
	font-size: 14px;
	min-height: 36px;
}
body.ssw-fortune .ssw-wrap input:focus,
body.ssw-fortune .ssw-wrap select:focus,
body.ssw-fortune .ssw-wrap textarea:focus { border-color: var(--fc-donkergroen); box-shadow: 0 0 0 2px var(--fc-groen); outline: 0; }
body.ssw-fortune .ssw-wrap input[type="checkbox"],
body.ssw-fortune .ssw-wrap input[type="radio"] { border-color: var(--fc-donkergroen); }
body.ssw-fortune .ssw-wrap input[type="checkbox"]:checked::before { content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%232F5735%27%2F%3E%3C%2Fsvg%3E"); }
body.ssw-fortune .ssw-wrap input[type="radio"]:checked::before { background-color: var(--fc-donkergroen); }

/* ---------- Meldingen ---------- */
body.ssw-fortune .ssw-wrap .notice {
	border: 0;
	border-left: 0;
	border-radius: var(--fc-r1);
	box-shadow: none;
	padding: 10px 20px;
	margin: 12px 0;
	background: var(--fc-wit);
}
body.ssw-fortune .ssw-wrap .notice-success { background: var(--fc-lichtgroen); color: var(--fc-donkergroen); }
body.ssw-fortune .ssw-wrap .notice-info { background: var(--fc-wit); }
body.ssw-fortune .ssw-wrap .notice-warning { background: var(--fc-geel); color: var(--fc-donkergrijs); }
body.ssw-fortune .ssw-wrap .notice-error { background: var(--fc-oranje); color: var(--fc-wit); }
body.ssw-fortune .ssw-wrap .notice-error a,
body.ssw-fortune .ssw-wrap .notice-error .ssw-muted { color: var(--fc-wit); }
body.ssw-fortune .ssw-wrap .notice-warning .ssw-muted { color: var(--fc-donkergrijs); }
body.ssw-fortune .ssw-wrap .notice p { margin: .5em 0; }
body.ssw-fortune .ssw-wrap .notice-dismiss::before { color: currentColor; }
body.ssw-fortune .ssw-wrap .ssw-error-text { color: var(--fc-oranje); font-weight: 900; }

/* ---------- Labels (status) ---------- */
body.ssw-fortune .ssw-badge {
	border-radius: var(--fc-r2);
	font-family: var(--fc-tekst);
	font-weight: 900;
	font-size: 12px;
	padding: 3px 10px;
}
body.ssw-fortune .ssw-badge--ready { background: var(--fc-lichtgroen); color: var(--fc-donkergroen); }
body.ssw-fortune .ssw-badge--open { background: var(--fc-geel); color: var(--fc-donkergrijs); }
body.ssw-fortune .ssw-badge--unknown { background: var(--fc-creme); color: var(--fc-donkergrijs); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
body.ssw-fortune .ssw-steps .ssw-ok .dashicons,
body.ssw-fortune .ssw-state--ok .dashicons { color: var(--fc-donkergroen); }
body.ssw-fortune .ssw-steps .ssw-fail .dashicons { color: var(--fc-oranje); }

/* Opsommingen in vierkantjes met afgeronde hoeken (huisstijl). */
body.ssw-fortune .ssw-wrap ol:not([class]) { list-style: none; counter-reset: fc; margin-left: 0; }
body.ssw-fortune .ssw-wrap ol:not([class]) > li { counter-increment: fc; position: relative; padding-left: 44px; min-height: 30px; margin: 10px 0; }
body.ssw-fortune .ssw-wrap ol:not([class]) > li::before {
	content: counter(fc);
	position: absolute;
	left: 0;
	top: -3px;
	width: 30px;
	height: 30px;
	border-radius: var(--fc-r2);
	background: var(--fc-donkergroen);
	color: var(--fc-wit);
	font-weight: 900;
	font-size: 14px;
	line-height: 30px;
	text-align: center;
}

/* Voettekst. */
body.ssw-fortune #wpfooter { background: transparent; }
body.ssw-fortune .ssw-footer { font-family: var(--fc-titel); font-weight: 600; font-size: 15px; color: var(--fc-donkergroen); font-style: normal; }
body.ssw-fortune .ssw-footer .ssw-muted { font-family: var(--fc-tekst); font-weight: 400; font-size: 13px; margin-left: 8px; }

@media (max-width: 782px) {
	body.ssw-fortune .ssw-wrap { margin-right: 12px; }
	body.ssw-fortune .ssw-brand { padding: 14px 16px; }
	body.ssw-fortune .ssw-brand-links { margin-left: 0; }
	body.ssw-fortune .ssw-brand-name { border-left: 0; padding-left: 0; }
}

/* Herplannen per medewerker, dag en werkbon. */
.ssw-table .ssw-col-pick { width: 34px; text-align: center; }
.ssw-csum { display: none; }
.ssw-table .ssw-col-pick input { margin: 0; }
.ssw-filters--pick { margin-top: 8px; }
.ssw-filters--pick select { min-width: 12em; }
.ssw-herplan-pick .ssw-herplan-row { margin: 6px 0; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
.ssw-herplan-pick .ssw-herplan-row label { white-space: nowrap; }
.ssw-pick-bar { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: 12px 0; }

/* Herplannen: werkbonnen naar een andere dag slepen */
.ssw-pin-help { margin-top: 12px; }
.ssw-dropdays { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 6px 0 8px; }
.ssw-dropday { display: inline-block; padding: 6px 12px; border: 1px dashed #b8a58a; border-radius: 4px; background: #fffdf8; font-size: 13px; }
.ssw-dropday.ssw-drop-over, .ssw-plan .ssw-dayrow.ssw-drop-over th { background: #f3e2c4; border-color: #8a5a2b; outline: 2px solid #8a5a2b; }
.ssw-plan tr[draggable="true"] { cursor: grab; }
.ssw-plan tr.ssw-dragging { opacity: .45; }
.ssw-grip { color: #a7a7a7; font-size: 14px; }
.ssw-pin-pick { display: inline-block; margin-top: 4px; font-size: 12px; color: #646970; }
.ssw-pin-pick select { font-size: 12px; min-height: 26px; padding: 0 22px 0 6px; }
body.ssw-busy { cursor: progress; }
body.ssw-busy .ssw-plan { opacity: .6; }

/* Routes op de kaart (route-map.js) */
.ssw-rmap-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; margin: 8px 0 16px; }
.ssw-rmap { position: relative; height: min(72vh, 720px); min-height: 380px; overflow: hidden; border: 1px solid #dcdcde; border-radius: 8px; background: #e8ece8; touch-action: none; cursor: grab; outline: none; user-select: none; }
.ssw-rmap:active { cursor: grabbing; }
.ssw-rmap-tiles, .ssw-rmap-dots { position: absolute; inset: 0; }
.ssw-rmap-tiles img { position: absolute; left: 0; top: 0; width: 256px; height: 256px; max-width: none; filter: grayscale(.6) brightness(1.04); }
.ssw-rdot { position: absolute; transform: translate(-50%, -50%); border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.4); color: #fff; font: 700 11px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; }
.ssw-rdot.is-free { color: #1d2327; border-color: #50575e; border-style: dashed; }
.ssw-rdot.is-active { box-shadow: 0 0 0 3px rgba(196,81,28,.45), 0 1px 4px rgba(0,0,0,.4); }
.ssw-rdot span { position: absolute; left: calc(100% + 4px); top: 50%; transform: translateY(-50%); white-space: nowrap; background: rgba(255,255,255,.9); color: #1d2327; font-weight: 600; font-size: 11px; padding: 1px 4px; border-radius: 3px; pointer-events: none; }
.ssw-rmap-zoom { position: absolute; right: 8px; top: 8px; display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.ssw-rmap-zoom .button { min-width: 36px; min-height: 32px; font-size: 16px; line-height: 1; }
.ssw-rmap-attr { position: absolute; right: 6px; bottom: 4px; font-size: 10px; background: rgba(255,255,255,.85); padding: 0 4px; border-radius: 3px; z-index: 2; }
.ssw-rmap-status { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 140px); background: #1d2327; color: #fff; font-size: 12px; padding: 5px 9px; border-radius: 5px; z-index: 2; }
.ssw-rmap-status[hidden], .ssw-rmap-status:empty { display: none; }
.ssw-rmap-side { background: #fff; border: 1px solid #dcdcde; border-radius: 8px; padding: 12px; max-height: min(72vh, 720px); overflow: auto; }
.ssw-rroute { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "pick name del" "pick n del"; gap: 0 8px; align-items: center; padding: 6px; border-radius: 6px; margin-bottom: 4px; border: 1px solid transparent; }
.ssw-rroute.is-active { background: #fff4e5; border-color: #f0c8a8; }
.ssw-rroute-pick { grid-area: pick; display: flex; align-items: center; gap: 4px; cursor: pointer; }
.ssw-rroute-pick i { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #8c8f94; }
.ssw-rroute-name { grid-area: name; width: 100%; min-width: 0; font-weight: 600; }
.ssw-rroute-n { grid-area: n; font-size: 11px; color: #646970; }
.ssw-rroute-del { grid-area: del; font-size: 20px; color: #b32d2e; text-decoration: none; padding: 0 4px; }
@media (max-width: 960px) {
	.ssw-rmap-wrap { grid-template-columns: minmax(0, 1fr); }
	.ssw-rmap { height: 62vh; }
	.ssw-rmap-side { max-height: none; }
}

/* Planbord: slepen (board.js) */
.ssw-bcard.is-movable { cursor: grab; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.ssw-bcard.is-pressed { box-shadow: 0 0 0 2px #c4511c; }
.ssw-bcard.is-dragging { opacity: .35; }
.ssw-bcard-ghost { position: fixed; left: 0; top: 0; z-index: 100001; pointer-events: none; box-shadow: 0 8px 24px rgba(0,0,0,.25); background: #fff; opacity: .95; }
body.ssw-board-dragging, body.ssw-board-dragging * { cursor: grabbing !important; }
.ssw-board-cell.is-drop { background: #e6f2e2; box-shadow: inset 0 0 0 2px #2d4a2b; }
.ssw-board-cell.is-nodrop { background: #fcf0f1; box-shadow: inset 0 0 0 2px #b32d2e; }
.ssw-drop-line { height: 4px; border-radius: 2px; background: #c4511c; margin: -1px 0; }
.ssw-move-back { position: fixed; inset: 0; z-index: 100002; background: rgba(0,0,0,.35); display: flex; align-items: center; justify-content: center; padding: 16px; }
.ssw-move { background: #fff; border-radius: 10px; padding: 18px 20px; width: 100%; max-width: 420px; box-shadow: 0 12px 40px rgba(0,0,0,.3); display: flex; flex-direction: column; gap: 10px; }
.ssw-move h2 { margin: 0; font-size: 18px; }
.ssw-move-who { margin: 0; font-weight: 600; }
.ssw-move-who span { font-weight: 400; color: #646970; font-size: 12px; }
.ssw-move label { display: flex; flex-direction: column; gap: 3px; font-size: 12px; font-weight: 600; color: #3c434a; }
.ssw-move input, .ssw-move select { width: 100%; max-width: none; min-height: 36px; font-size: 15px; }
.ssw-move-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ssw-move-warn { margin: 0; padding: 6px 8px; border-radius: 4px; background: #fcf9e8; border-left: 3px solid #dba617; font-size: 13px; }
.ssw-move-msg { margin: 0; min-height: 1.2em; font-size: 13px; }
.ssw-move-msg.is-ok { color: #2d4a2b; font-weight: 600; }
.ssw-move-msg.is-error { color: #b32d2e; font-weight: 600; }
.ssw-move-buttons { display: flex; justify-content: flex-end; gap: 8px; }
@media (max-width: 782px) {
	.ssw-move-back { align-items: flex-end; padding: 0; }
	.ssw-move { max-width: none; border-radius: 14px 14px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); }
	.ssw-move-buttons .button { flex: 1; min-height: 44px; font-size: 15px; }
}

/* Planbord (alleen op de computer) */
.ssw-board-swipe { display: none; margin: 0 0 6px; }
.ssw-board-tools input[type="date"] { vertical-align: middle; }
.ssw-board-legend { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12px; color: #50575e; }
.ssw-board-legend .ssw-bcard { display: inline-block; padding: 2px 8px; margin: 0; }
.ssw-board-scroll { overflow: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; border: 1px solid #dcdcde; border-radius: 6px; background: #fff; max-height: calc(100vh - 220px); }
.ssw-board { display: grid; grid-template-columns: 170px repeat(var(--ssw-days), minmax(150px, 1fr)); min-width: calc(170px + var(--ssw-days) * 150px); width: 100%; }
.ssw-board-corner, .ssw-board-head { position: sticky; top: 0; z-index: 2; background: #2d4a2b; color: #fff; padding: 8px 10px; border-right: 1px solid rgba(255,255,255,.15); }
.ssw-board-corner { left: 0; z-index: 3; font-weight: 600; }
.ssw-board-head strong { display: block; font-size: 13px; }
.ssw-board-head span { font-size: 11px; opacity: .8; }
.ssw-board-head.is-today { background: #c4511c; }
.ssw-board-head.is-weekend { background: #5c6b5a; }
.ssw-board-name { position: sticky; left: 0; z-index: 1; background: #f6f3ee; padding: 8px 10px; border-top: 1px solid #e2ddd3; border-right: 1px solid #e2ddd3; overflow-wrap: anywhere; }
.ssw-board-name strong { display: block; font-size: 13px; }
.ssw-board-name span { font-size: 11px; color: #646970; }
.ssw-board-cell { padding: 6px; border-top: 1px solid #ececec; border-right: 1px solid #ececec; min-height: 60px; display: flex; flex-direction: column; gap: 4px; }
.ssw-board-cell.is-today { background: #fff7f1; }
.ssw-board-cell.is-weekend { background: #fafafa; }
.ssw-board-cell.is-week, .ssw-board-head.is-week { border-left: 3px solid #b8a58a; }
.ssw-board-load { font-size: 11px; color: #646970; }
.ssw-bcard { display: block; padding: 4px 6px; border-radius: 4px; border-left: 4px solid #2d4a2b; background: #eef3ec; color: #1d2327; text-decoration: none; font-size: 12px; line-height: 1.3; }
.ssw-bcard:hover, .ssw-bcard:focus { background: #dfe9db; color: #1d2327; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.ssw-bcard-time { display: block; font-weight: 600; }
.ssw-bcard-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ssw-bcard-meta { display: block; color: #646970; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ssw-bcard--gereed { border-left-color: #a7aaad; background: #f3f3f3; color: #50575e; }
.ssw-bcard--geannuleerd { border-left-color: #b32d2e; background: #fcf0f1; color: #8a2424; text-decoration: line-through; }
.ssw-bcard--clash { outline: 2px solid #d63638; outline-offset: -1px; }
.ssw-tag { display: inline-block; padding: 0 4px; border-radius: 3px; background: #c4511c; color: #fff; font-size: 10px; font-weight: 700; text-decoration: none; vertical-align: 1px; }
@media (max-width: 782px) {
	.ssw-board-swipe { display: block; }
	.ssw-board-tools { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
	.ssw-board-tools label { display: flex; flex-direction: column; font-size: 12px; flex: 1 1 140px; }
	.ssw-board-tools select, .ssw-board-tools input[type="date"] { width: 100%; max-width: none; }
	.ssw-board-scroll { max-height: calc(100vh - 140px); scroll-snap-type: x proximity; scroll-padding-left: 96px; }
	.ssw-board { grid-template-columns: 96px repeat(var(--ssw-days), 72vw); width: max-content; min-width: 0; }
	.ssw-board-head, .ssw-board-cell { scroll-snap-align: start; }
	.ssw-board-corner, .ssw-board-name { padding: 6px; font-size: 11px; }
	.ssw-board-name strong { font-size: 11px; }
	.ssw-board-legend { font-size: 11px; }
	.ssw-bcard { padding: 6px 8px; font-size: 13px; }
}

/* Planbord op de telefoon: filters inklappen, rechtop één dag, liggend drie dagen */
.ssw-board-days { display: none; }
body .ssw-wrap .ssw-board-tools .ssw-board-filterbtn { display: none; }
body .ssw-wrap .ssw-board-tools .ssw-board-more { display: contents; }
.ssw-board-filtern { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 4px; border-radius: 9px; background: #c4511c; color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
@media (max-width: 782px), (orientation: landscape) and (max-height: 500px) {
	body .ssw-wrap .ssw-board-tools.has-toggle > .ssw-board-filterbtn { display: inline-flex; }
	.ssw-board-page > h1 { display: none; }
	.ssw-board-page .ssw-board-tools.has-toggle { display: grid; grid-template-columns: 44px 1fr 1fr 44px; gap: 6px; align-items: center; margin: 0 0 6px; padding: 8px; }
	.ssw-board-page .ssw-board-tools.has-toggle input[type="date"] { grid-column: span 2; width: 100%; max-width: none; min-width: 0; }
	.ssw-board-page .ssw-board-tools.has-toggle > a.button:nth-of-type(3), .ssw-board-page .ssw-board-tools.has-toggle > .ssw-board-filterbtn { grid-column: span 2; }
	.ssw-board-page .ssw-board-tools.has-toggle > .button, .ssw-board-tools.has-toggle input[type="date"] { min-height: 40px; margin: 0; }
	.ssw-board-page .ssw-board-tools.has-toggle > a.button, .ssw-board-page .ssw-board-tools.has-toggle > .ssw-board-filterbtn { display: inline-flex; align-items: center; justify-content: center; padding: 0 8px; min-width: 0; }
	.ssw-board-page .ssw-board-tools.has-toggle .ssw-board-more { display: none; }
	.ssw-board-page .ssw-board-tools.has-toggle.is-open .ssw-board-more { display: grid; grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 6px 8px; padding: 8px; border-radius: 6px; background: #f6f3ee; }
	.ssw-board-page .ssw-board-tools.has-toggle .ssw-board-more label { display: flex; flex-direction: column; font-size: 12px; }
	.ssw-board-page .ssw-board-tools.has-toggle .ssw-board-more select { width: 100%; max-width: none; min-height: 40px; }
	.ssw-board-page .ssw-board-tools.has-toggle .ssw-board-more .button { grid-column: 1 / -1; min-height: 40px; }
	.ssw-board-filterbtn[aria-expanded="true"] { background: #2d4a2b !important; border-color: #2d4a2b !important; color: #fff !important; }
	body .ssw-board-page p.ssw-summary { margin: 0 0 6px; padding: 6px 12px; font-size: 12px; line-height: 1.4; }
	body .ssw-board-page p.ssw-summary strong { display: block; }
	.ssw-board-legend { display: none; margin: 0 0 6px; }
	.ssw-board-tools.is-open ~ .ssw-board-legend { display: flex; }
	body .ssw-wrap.ssw-board-page p.ssw-board-swipe { margin: 0 0 6px; font-size: 12px; }
}
@media (max-width: 782px) {
	/* Rechtop: één dag tegelijk. */
	.ssw-board-page.is-dayview .ssw-board-days { display: flex; gap: 4px; margin: 0 0 6px; overflow-x: auto; scrollbar-width: none; }
	.ssw-board-page.is-dayview .ssw-board-days::-webkit-scrollbar { display: none; }
	.ssw-board-day { flex: 1 0 52px; display: flex; flex-direction: column; align-items: center; gap: 0; padding: 4px 2px 5px; border: 1px solid #dcdcde; border-radius: 8px; background: #fff; color: #1d2327; font: inherit; line-height: 1.15; cursor: pointer; }
	.ssw-board-day.is-week { margin-left: 6px; }
	.ssw-board-day-d { font-size: 11px; text-transform: capitalize; color: #646970; }
	.ssw-board-day-n { font-size: 17px; font-weight: 700; }
	.ssw-board-day-c { min-width: 18px; margin-top: 2px; padding: 0 5px; border-radius: 9px; background: #eef3ec; color: #2d4a2b; font-size: 11px; font-weight: 600; }
	.ssw-board-day.is-empty .ssw-board-day-c { background: transparent; color: #a7aaad; }
	.ssw-board-day.is-today { border-color: #c4511c; }
	.ssw-board-day.is-today .ssw-board-day-d { color: #c4511c; font-weight: 600; }
	.ssw-board-day.is-cur { background: #2d4a2b; border-color: #2d4a2b; color: #fff; }
	.ssw-board-day.is-cur .ssw-board-day-d { color: rgba(255,255,255,.85); }
	.ssw-board-day.is-cur .ssw-board-day-c { background: rgba(255,255,255,.2); color: #fff; }
	.ssw-board-page.is-dayview .ssw-board-scroll { scroll-snap-type: none; overflow-x: hidden; max-height: none; touch-action: pan-y; }
	.ssw-board-page.is-dayview .ssw-board { grid-template-columns: 84px minmax(0, 1fr); width: 100%; }
	.ssw-board-page.is-dayview .ssw-board-head:not(.is-cur),
	.ssw-board-page.is-dayview .ssw-board-cell:not(.is-cur) { display: none; }
	.ssw-board-page.is-dayview .ssw-board-head.is-week, .ssw-board-page.is-dayview .ssw-board-cell.is-week { border-left: 0; }
	.ssw-board-page.is-dayview .ssw-board-corner, .ssw-board-page.is-dayview .ssw-board-head { position: static; }
	.ssw-board-page.is-dayview .ssw-board-head { display: flex; justify-content: space-between; align-items: baseline; }
	.ssw-board-page.is-dayview .ssw-board-head strong { font-size: 14px; }
	.ssw-board-page.is-dayview .ssw-board-name { position: static; }
	.ssw-board-page.is-dayview .ssw-board-cell { min-height: 52px; }
	.ssw-board-page.is-dayview .ssw-bcard-name, .ssw-board-page.is-dayview .ssw-bcard-meta { white-space: normal; }
	.ssw-board.is-slide-l .ssw-board-cell.is-cur { animation: ssw-slide-l .2s ease-out; }
	.ssw-board.is-slide-r .ssw-board-cell.is-cur { animation: ssw-slide-r .2s ease-out; }
}
@keyframes ssw-slide-l { from { transform: translateX(24px); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes ssw-slide-r { from { transform: translateX(-24px); opacity: .4; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ssw-board.is-slide-l .ssw-board-cell, .ssw-board.is-slide-r .ssw-board-cell { animation: none !important; } }
@media (orientation: landscape) and (max-height: 500px) {
	/* Liggend: drie dagen naast elkaar, het bord vult het scherm. */
	.ssw-board-swipe { display: block; }
	.ssw-board-page .ssw-board-tools.has-toggle { grid-template-columns: 44px 170px 44px auto auto 1fr; padding: 6px 8px; }
	.ssw-board-page .ssw-board-tools.has-toggle input[type="date"], .ssw-board-page .ssw-board-tools.has-toggle > a.button:nth-of-type(3), .ssw-board-page .ssw-board-tools.has-toggle > .ssw-board-filterbtn { grid-column: auto; }
	.ssw-board-page .ssw-board-tools.has-toggle > .ssw-board-filterbtn, .ssw-board-page .ssw-board-tools.has-toggle > a.button:nth-of-type(3) { padding: 0 14px; }
	.ssw-board-page .ssw-board-tools.has-toggle.is-open .ssw-board-more { grid-template-columns: repeat(3, 1fr) auto; align-items: end; }
	.ssw-board-page .ssw-board-tools.has-toggle.is-open .ssw-board-more .button { grid-column: auto; }
	body .ssw-board-page p.ssw-summary strong { display: inline; }
	.ssw-board-scroll { max-height: calc(100vh - 12px); max-height: calc(100dvh - 12px); scroll-snap-type: x proximity; scroll-padding-left: 110px; }
	.ssw-board { grid-template-columns: 110px repeat(var(--ssw-days), calc((100vw - 110px - 40px - env(safe-area-inset-left) - env(safe-area-inset-right)) / 3)); width: max-content; min-width: 0; }
	.ssw-board-head, .ssw-board-cell { scroll-snap-align: start; }
	.ssw-board-corner, .ssw-board-head { padding: 5px 8px; }
	.ssw-board-head strong { display: inline; margin-right: 6px; }
	.ssw-board-corner, .ssw-board-name { font-size: 11px; padding: 6px; }
	.ssw-board-name strong { font-size: 12px; }
	.ssw-bcard { padding: 5px 7px; font-size: 13px; }
}

/* Status van de koppelingen */
.ssw-status td { vertical-align: top; }
.ssw-st { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; white-space: nowrap; }
.ssw-st .dashicons { font-size: 18px; width: 18px; height: 18px; }
.ssw-st-ok { color: #2F5735; }
.ssw-st-fail { color: #C84D0D; }
.ssw-st-muted { color: #6b6b6b; font-weight: 400; }
.ssw-status details summary { cursor: pointer; color: #6b6b6b; margin-top: 4px; }

/* ---------- Compacter: tabbladen per onderdeel (admin-tabs.js) ---------- */
.ssw-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; border-bottom: 2px solid #D8EBDC; }
.ssw-tab { appearance: none; border: 0; background: transparent; color: #313131; font: inherit; font-weight: 600; font-size: 14px; padding: 9px 14px 8px; margin-bottom: -2px; border-radius: 8px 8px 0 0; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.ssw-tab:hover, .ssw-tab:focus-visible { background: #EEF6F0; color: #2F5735; outline: none; }
.ssw-tab.is-active { background: #D8EBDC; color: #2F5735; border-bottom-color: #2F5735; }
.ssw-tab.has-alert::after { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: #C84D0D; margin-left: 7px; vertical-align: 1px; }
.ssw-tabpanel { padding-top: 4px; }
.ssw-tabpanel[hidden] { display: none; }
body.ssw-fortune .ssw-wrap .ssw-tabpanel > h2:first-child { margin-top: 16px; font-size: 20px; }
/* Lange uitleg bovenaan: twee regels, met "Meer uitleg". */
.ssw-wrap p.ssw-clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 2px; }
.ssw-wrap p.ssw-clamp.is-open { display: block; }
.ssw-wrap .ssw-more { font-size: 13px; margin: 0 0 8px; color: #2F5735; text-decoration: underline; cursor: pointer; }
/* Formulieren minder hoog. */
body.ssw-fortune .ssw-wrap .form-table th { padding: 12px 10px 12px 20px; width: 190px; }
body.ssw-fortune .ssw-wrap .form-table td { padding: 9px 20px 9px 10px; }
body.ssw-fortune .ssw-wrap .form-table p.description, body.ssw-fortune .ssw-wrap .form-table .description { font-size: 13px; margin-top: 3px; line-height: 1.4; }
body.ssw-fortune .ssw-wrap h2 { margin-top: 28px; }
@media (max-width: 782px) { body.ssw-fortune .ssw-wrap .form-table th { width: auto; padding: 12px 16px 0; } }

/* Route-intervallen */
.ssw-ri-cards { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.ssw-ri-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 130px; padding: 10px 14px; border: 1px solid #dcdcde; border-left-width: 5px; border-radius: 8px; background: #fff; cursor: pointer; text-align: left; }
.ssw-ri-card strong { font-size: 24px; line-height: 1.1; }
.ssw-ri-card span { font-size: 12px; color: #50575e; }
.ssw-ri-card.is-on { box-shadow: 0 0 0 2px #2F5735; }
.ssw-ri-card.is-more, .ssw-ri-tag.is-more { border-left-color: #C84D0D; }
.ssw-ri-card.is-less, .ssw-ri-tag.is-less { border-left-color: #D4A017; }
.ssw-ri-card.is-new, .ssw-ri-tag.is-new { border-left-color: #1F6FB4; }
.ssw-ri-card.is-off, .ssw-ri-tag.is-off { border-left-color: #8E44AD; }
.ssw-ri-card.is-norev, .ssw-ri-tag.is-norev { border-left-color: #8c8f94; }
.ssw-ri-card.is-same, .ssw-ri-tag.is-same { border-left-color: #2F5735; }
.ssw-ri-tag { display: inline-block; border-left: 4px solid; padding: 1px 6px; background: #f6f7f7; border-radius: 3px; white-space: nowrap; }
.ssw-ri-table .num { text-align: right; white-space: nowrap; }
.ssw-ri-table tr[hidden] { display: none; }
.ssw-ri-app { display: grid; grid-template-columns: minmax(330px, 420px) minmax(0, 1fr); gap: 16px; align-items: start; margin-top: 12px; }
.ssw-ri-load { border-collapse: collapse; width: 100%; background: #fff; border: 1px solid #dcdcde; border-radius: 8px; overflow: hidden; }
.ssw-ri-load th, .ssw-ri-load td { padding: 4px 6px; text-align: center; border-bottom: 1px solid #f0f0f1; }
.ssw-ri-load tbody th { text-align: left; white-space: nowrap; font-weight: 600; }
.ssw-ri-load tbody th small { display: block; font-weight: 400; color: #646970; font-size: 11px; }
.ssw-ri-load tbody tr { cursor: pointer; }
.ssw-ri-load tr.is-sel th, .ssw-ri-load tr.is-sel .tot { background: #D8EBDC; }
.ssw-ri-load tr.is-now th::after { content: " ● nu"; color: #C84D0D; font-size: 11px; }
.ssw-ri-load td.is-day { outline: 3px solid #C84D0D; outline-offset: -3px; }
.ssw-ri-load .tot { font-weight: 600; }
.ssw-ri-map { height: 420px; min-height: 320px; }
.ssw-ri-dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.ssw-ri-list { margin-top: 10px; }
.ssw-ri-day { background: #fff; border: 1px solid #dcdcde; border-radius: 8px; padding: 8px 12px; margin-bottom: 10px; }
.ssw-ri-day h4 { margin: 4px 0 6px; display: flex; align-items: center; gap: 8px; }
.ssw-ri-day h4 i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.ssw-ri-day ol { margin: 0 0 0 1.6em; }
.ssw-ri-day li { padding: 3px 0; border-bottom: 1px solid #f0f0f1; }
.ssw-ri-iv { display: inline-block; min-width: 38px; font-size: 11px; background: #D8EBDC; border-radius: 3px; text-align: center; }
.ssw-ri-move { display: block; text-align: right; margin-top: 2px; }
.ssw-ri-move select { max-width: 210px; font-size: 12px; min-height: 26px; }
@media (max-width: 1100px) { .ssw-ri-app { grid-template-columns: minmax(0, 1fr); } .ssw-ri-move { float: none; display: block; } }
.ssw-ri-new { display: inline-block; font-size: 11px; background: #1F6FB4; color: #fff; border-radius: 3px; padding: 0 5px; }
.ssw-ri-was { display: inline-block; font-size: 11px; background: #F6E3C9; color: #7A5230; border-radius: 3px; padding: 0 5px; }
.ssw-ri-set { display: inline-block; font-size: 11px; background: #fff; border: 1px solid #1F6FB4; color: #1F6FB4; border-radius: 3px; padding: 0 5px; }
.ssw-ri-adv { font-size: 12px; min-height: 26px; max-width: 150px; }
.ssw-ri-adv.is-manual { border-color: #C84D0D; box-shadow: 0 0 0 1px #C84D0D; font-weight: 600; }
.ssw-ri-shift { background: #fff; border: 1px solid #dcdcde; border-radius: 8px; padding: 8px 12px; }

/* Route plannen in stappen */
.ssw-plan summary { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; list-style: none; }
.ssw-plan summary::-webkit-details-marker { display: none; }
.ssw-plan summary::before { content: "▸"; color: #2F5735; font-size: 18px; transition: transform .15s; }
.ssw-plan[open] summary::before { transform: rotate(90deg); }
.ssw-plan-title { font-size: 18px; font-weight: 700; color: #2F5735; }
.ssw-steps { list-style: none; margin: 14px 0 4px; padding: 0; counter-reset: none; }
.ssw-step { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px dashed #dcdcde; margin: 0; }
.ssw-step:first-child { border-top: 0; }
.ssw-step-n { width: 30px; height: 30px; border-radius: 50%; background: #2F5735; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.ssw-step-body h3 { margin: 4px 0 8px; font-size: 15px; }
.ssw-step-body h4 { margin: 0 0 6px; font-size: 13px; color: #2F5735; }
.ssw-step-body p { margin: 6px 0; }
.ssw-step-week { display: flex; align-items: center; gap: 8px; }
.ssw-pchips { display: flex; flex-wrap: wrap; gap: 6px; }
.ssw-pchip { position: relative; }
.ssw-pchip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ssw-pchip span { display: inline-block; padding: 5px 12px; border: 1px solid #c3c4c7; border-radius: 999px; background: #fff; cursor: pointer; user-select: none; white-space: nowrap; }
.ssw-pchip input:checked + span { background: #2F5735; border-color: #2F5735; color: #fff; }
.ssw-pchip input:focus-visible + span { outline: 2px solid #2271b1; outline-offset: 2px; }
.ssw-pchips--days .ssw-pchip span { min-width: 38px; text-align: center; padding: 5px 8px; }
.ssw-opt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.ssw-opt { background: #f6f7f7; border-radius: 8px; padding: 10px 12px; }
body.ssw-fortune .ssw-opt { background: var(--fc-creme, #F7F5F2); }
.ssw-times { display: flex; gap: 12px; flex-wrap: wrap; }
.ssw-num label { display: flex; align-items: center; gap: 6px; }
.ssw-num label span { flex: 1; }
.ssw-radio { display: flex; gap: 8px; align-items: flex-start; margin: 6px 0; cursor: pointer; }
.ssw-radio input { margin-top: 3px; }
.ssw-plan-sum { background: #D8EBDC; color: #1d2327; border-radius: 8px; padding: 10px 12px; font-size: 14px; line-height: 1.5; }
.ssw-plan-sum.is-warn { background: #fcf0e6; }
@media (max-width: 600px) { .ssw-step { grid-template-columns: 28px minmax(0, 1fr); gap: 8px; } .ssw-step-n { width: 26px; height: 26px; font-size: 13px; } }

/* Offertes */
.ssw-quote-tabs { margin-bottom: 16px; }
.ssw-quote-step { background: #fff; border-radius: 12px; padding: 16px 20px; margin: 0 0 14px; }
.ssw-quote-step h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 18px; }
.ssw-quote-step .ssw-step-n { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; background: #2f5735; color: #fff; font-size: 14px; font-weight: 700; }
.ssw-quote-machines { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.ssw-quote-machine { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 2px solid #e2ddd3; border-radius: 10px; cursor: pointer; background: #fff; }
.ssw-quote-machine.is-on { border-color: #2f5735; background: #f1f7f2; }
.ssw-quote-machine input[type="checkbox"] { flex: 0 0 auto; width: 22px; height: 22px; margin: 0; }
.ssw-quote-machine img { width: 52px; height: 52px; object-fit: contain; flex: 0 0 52px; }
.ssw-quote-noimg { width: 52px; height: 52px; font-size: 34px; color: #b8a58a; flex: 0 0 52px; display: flex; align-items: center; justify-content: center; }
.ssw-quote-mtext { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ssw-quote-mtext span { font-size: 12px; color: #50575e; }
.ssw-quote-extra { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding: 8px 12px; margin-top: -4px; border-radius: 8px; background: #f6f3ee; font-size: 13px; }
.ssw-quote-extra[hidden] { display: none; }
.ssw-quote-field { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 13px; }
.ssw-quote-field input { font-weight: 400; max-width: 100%; }
.ssw-quote-field--big input { font-size: 18px; padding: 6px 10px; width: 100%; max-width: 520px; }
.ssw-quote-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 16px; margin-top: 10px; }
.ssw-quote-more summary { cursor: pointer; font-weight: 600; }
.ssw-quote-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.ssw-quote-buttons .button .dashicons { vertical-align: middle; margin-top: -3px; }
.ssw-danger { color: #b32d2e !important; }
.ssw-quote-extra input.small-text { width: 7em; }
.ssw-quote-extras { margin-top: 18px; }
.ssw-quote-extras h3 { margin: 0 0 4px; }
.ssw-quote-xrow { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding: 10px 12px; margin: 8px 0; border-radius: 8px; background: #f6f3ee; font-size: 13px; }
.ssw-quote-xrow input.small-text { width: 7em; }
.ssw-quote-xrow .ssw-quote-xtext { flex: 1 1 100%; }
.ssw-quote-xdel { color: #b32d2e; }
.ssw-quote-ing { max-width: 820px; }
.ssw-quote-group { border-bottom: 1px dashed rgba(0,0,0,.15); }
.ssw-quote-group summary { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 6px 0; cursor: pointer; }
.ssw-quote-group summary .ssw-muted { font-size: 12px; }
.ssw-quote-pct { margin-left: auto; font-size: 13px; }
.ssw-quote-items { width: calc(100% - 24px); margin: 2px 0 10px 24px; border-collapse: collapse; }
.ssw-quote-items td { padding: 3px 6px; font-size: 13px; border-top: 1px solid rgba(0,0,0,.05); }
.ssw-quote-items td.num { text-align: right; white-space: nowrap; width: 1%; }
.ssw-quote-items input.small-text { width: 5em; }
.ssw-quote-logo { margin: 12px 0; display: flex; flex-direction: column; gap: 6px; }
.ssw-quote-texts { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; max-width: 760px; }
.ssw-quote-sections { display: flex; flex-direction: column; gap: 12px; max-width: 900px; }
.ssw-quote-sec { background: #fff; border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.ssw-quote-sec-head { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; }
.ssw-quote-sec-head input { width: 220px; }
.ssw-quote-parts { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px 16px; }
.ssw-quote-parts fieldset { border: 1px solid #e2ddd3; border-radius: 10px; padding: 8px 12px 10px; margin: 0; }
.ssw-quote-parts legend { font-weight: 700; padding: 0 4px; }
.ssw-quote-parts label { display: block; padding: 3px 0; font-size: 13px; }
.ssw-quote-covers { border: 1px solid #e2ddd3; border-radius: 10px; padding: 10px 14px; margin: 12px 0; }
.ssw-quote-covers legend { font-weight: 700; padding: 0 4px; }
.ssw-quote-cover-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.ssw-quote-cover { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; }
.ssw-quote-cover input { position: absolute; top: 6px; left: 6px; margin: 0; }
.ssw-quote-cover img, .ssw-quote-cover-empty { width: 140px; height: 96px; object-fit: cover; border-radius: 8px; border: 3px solid transparent; }
.ssw-quote-cover-empty { display: flex; align-items: center; justify-content: center; text-align: center; padding: 6px; box-sizing: border-box; background: #EDD5BE; color: #6B472B; font-size: 12px; }
.ssw-quote-cover input:checked ~ img, .ssw-quote-cover input:checked ~ .ssw-quote-cover-empty { border-color: #C84D0D; }
.ssw-quote-cover span:not(.ssw-quote-cover-empty) { font-size: 11px; color: #50575e; }
.ssw-quote-gallery { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.ssw-quote-gallery img { object-fit: cover; border-radius: 6px; }
.ssw-rent-table { margin: 0 0 12px; }
.ssw-rent-table tr.is-on td { background: #f6efe6; }
.ssw-rent-table td.is-tier { font-weight: 700; color: #6B472B; background: #EDD5BE !important; }
.ssw-rent-table .ssw-rent-qty { width: 64px; }
.ssw-rent-calc { font-weight: 600; color: #6B472B; min-height: 1.4em; margin: 10px 0; }
.ssw-rent-fs label { margin-right: 10px; }
.ssw-rent-admin input.regular-text { width: 100%; min-width: 180px; }
.ssw-rent-admin input.small-text { width: 72px; }
.ssw-quote-forget { color: #b32d2e; }
@media (max-width: 782px) {
	.ssw-rent-table, .ssw-rent-admin { display: block; overflow-x: auto; }
}
.ssw-drinks { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.ssw-drink { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px 4px 6px; border: 1px solid #dcd0c2; border-radius: 999px; background: #fff; cursor: pointer; font-size: 13px; }
.ssw-drink:has(input:checked) { background: #EDD5BE; border-color: #C84D0D; color: #6B472B; }
.ssw-drink input { margin: 0; }
/* Offertes: voorbeeld en statusoverzicht */
.ssw-quote-preview { border-left: 4px solid #C84D0D; }
.ssw-quote-frame { width: 100%; height: 80vh; min-height: 520px; border: 1px solid #dcd0c2; border-radius: 8px; background: #fff; }
@media (max-width: 782px) { .ssw-quote-frame { display: none; } }
.ssw-quote-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 12px 0 6px; }
.ssw-quote-stat { background: #fff; border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; border-top: 4px solid #EDD5BE; }
.ssw-quote-stat strong { font-size: 24px; line-height: 1.1; color: #6B472B; }
.ssw-quote-stat span { font-size: 12px; color: #50575e; }
.ssw-quote-stat--concept { border-top-color: #b5b5b5; }
.ssw-quote-stat--verstuurd { border-top-color: #E3BC9A; }
.ssw-quote-stat--gewonnen { border-top-color: #2f5735; }
.ssw-quote-stat--verloren { border-top-color: #C84D0D; }
.ssw-quote-filter a { display: inline-block; padding: 4px 10px; border-radius: 999px; text-decoration: none; background: #fff; border: 1px solid #dcd0c2; margin: 0 2px 4px 0; }
.ssw-quote-filter a.current { background: #6B472B; color: #fff; border-color: #6B472B; }
.ssw-quote-filter a span { opacity: .7; margin-left: 2px; }
.ssw-quote-status { font-weight: 600; border-radius: 999px !important; }
.ssw-quote-status--concept { background: #f0f0f1; }
.ssw-quote-status--verstuurd { background: #EDD5BE; color: #6B472B; }
.ssw-quote-status--gewonnen { background: #D8EBDC; color: #2F5735; }
.ssw-quote-status--verloren { background: #f7e1d4; color: #C84D0D; }
.ssw-quote-kind { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: #6B472B; }
.ssw-quote-actions { white-space: nowrap; }
.ssw-quote-actions .ssw-inline-form { display: inline; }
.ssw-quote-offery summary { cursor: pointer; font-size: 12px; margin-top: 4px; }
.ssw-quote-warn { color: #b32d2e; font-size: 12px; }
@media (max-width: 782px) {
	.ssw-quote-list thead { display: none; }
	.ssw-quote-list tr { display: block; padding: 8px 0; }
	.ssw-quote-list td { display: block; border: 0; padding: 3px 10px; }
	.ssw-quote-actions { white-space: normal; }
}
/* Huurovereenkomst */
.ssw-lease-results { display: flex; flex-direction: column; gap: 4px; margin: 6px 0 12px; max-width: 640px; }
.ssw-lease-hit { text-align: left; background: #fff; border: 1px solid #dcd0c2; border-radius: 8px; padding: 8px 12px; cursor: pointer; font-size: 13px; }
.ssw-lease-hit:hover, .ssw-lease-hit:focus { border-color: #C84D0D; background: #fbf5ef; }
.ssw-lease-hit span { display: block; color: #50575e; font-size: 12px; margin-top: 2px; }
.ssw-lease-machines { margin: 0 0 12px; }
.ssw-lease-machine { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; padding: 8px 10px; border: 1px solid #dcd0c2; border-radius: 8px; background: #fff; margin: 0 0 6px; cursor: pointer; }
.ssw-lease-machine:has(input:checked) { background: #EDD5BE; border-color: #C84D0D; }
.ssw-lease-machine span { color: #50575e; font-size: 12px; width: 100%; padding-left: 22px; }
.ssw-lease-quarter { font-weight: 700; color: #6B472B; align-self: end; margin: 0 0 6px; }
/* Offertes op mobiel: tabbladen als knoppen, brede tabellen horizontaal scrollen */
.ssw-quote-tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid #dcd0c2; padding-bottom: 8px; margin-bottom: 12px; }
.ssw-quote-tabs .nav-tab { float: none; margin: 0; border: 1px solid #dcd0c2; border-radius: 999px; background: #fff; padding: 5px 12px; font-size: 13px; line-height: 1.4; text-decoration: none; color: #6B472B; }
.ssw-quote-tabs .nav-tab-active, .ssw-quote-tabs .nav-tab-active:hover { background: #6B472B; border-color: #6B472B; color: #fff; }
@media (max-width: 782px) {
	.ssw-quote table.widefat:not(.ssw-quote-list),
	.ssw-quote .ssw-quote-items,
	.ssw-quote table.ssw-rent-table,
	.ssw-quote table.ssw-lease-lines { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.ssw-quote table.widefat:not(.ssw-quote-list) th,
	.ssw-quote table.widefat:not(.ssw-quote-list) td { white-space: nowrap; }
	.ssw-quote .ssw-lease-lines input.regular-text { min-width: 200px; }
	.ssw-quote .ssw-lease-lines input, .ssw-quote .ssw-lease-lines select { min-width: 110px; }
	.ssw-quote .ssw-quote-grid { grid-template-columns: 1fr; }
	.ssw-quote .ssw-quote-buttons .button-hero { width: 100%; margin: 0 0 6px; text-align: center; }
	.ssw-quote .form-table input.large-text, .ssw-quote .form-table textarea { width: 100%; }
}
.ssw-quote .ssw-quote-field input, .ssw-quote .ssw-quote-field select, .ssw-quote .ssw-quote-field textarea { box-sizing: border-box; max-width: 100%; }
.ssw-lease-st { display: inline-block; padding: 2px 8px; border-radius: 999px; background: #f0f0f1; font-size: 12px; font-weight: 600; }
.ssw-lease-st--10, .ssw-lease-st--20 { background: #EDD5BE; color: #6B472B; }
.ssw-lease-st--30 { background: #D8EBDC; color: #2F5735; }
.ssw-lease-st--40, .ssw-lease-st--50, .ssw-lease-st--60, .ssw-lease-st--70 { background: #f7e1d4; color: #C84D0D; }

/* Overeenkomsten: soort kiezen (huur, bruikleen, full service). */
#ssw-lease-form [hidden] { display: none !important; }
.ssw-lease-types { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.ssw-lease-type { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; background: #fff; border: 1px solid #E3BC9A; border-radius: 8px; cursor: pointer; }
.ssw-lease-type:has(input:checked) { background: #EDD5BE; border-color: #6B472B; color: #6B472B; }
.ssw-lease-kind { display: inline-block; padding: 1px 7px; border-radius: 6px; background: #EDD5BE; color: #6B472B; font-size: 11px; font-weight: 600; }
