html.wsb-remedy-scroll-enabled,
html.wsb-remedy-standalone-root {
	height: auto !important;
	max-height: none !important;
	min-height: 100% !important;
	overflow-x: hidden !important;
	overflow-y: auto !important;
	scrollbar-gutter: stable;
	scrollbar-width: auto !important;
}

html.wsb-remedy-scroll-enabled::-webkit-scrollbar {
	display: block !important;
	width: 12px !important;
}

html.wsb-remedy-scroll-enabled::-webkit-scrollbar-track {
	background: #eef3f0;
}

html.wsb-remedy-scroll-enabled::-webkit-scrollbar-thumb {
	border: 3px solid #eef3f0;
	border-radius: 999px;
	background: #758981;
}

html.wsb-remedy-scroll-enabled::-webkit-scrollbar-thumb:hover {
	background: #526961;
}

body.wsb-remedy-portal-page,
body.wsb-remedy-report-page,
body.wsb-remedy-scroll-page {
	position: static !important;
	height: auto !important;
	max-height: none !important;
	min-height: 100% !important;
	overflow-x: hidden !important;
	overflow-y: visible !important;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-y: auto;
}

body.wsb-remedy-scroll-page .wsb-remedy-scroll-host,
body.wsb-remedy-portal-page #page,
body.wsb-remedy-portal-page .site,
body.wsb-remedy-portal-page .wp-site-blocks,
body.wsb-remedy-portal-page .site-content,
body.wsb-remedy-portal-page .content-area,
body.wsb-remedy-portal-page #primary,
body.wsb-remedy-portal-page article,
body.wsb-remedy-portal-page .hentry,
body.wsb-remedy-portal-page .entry-content,
body.wsb-remedy-portal-page .wp-block-post-content,
body.wsb-remedy-portal-page main,
body.wsb-remedy-report-page #page,
body.wsb-remedy-report-page .site,
body.wsb-remedy-report-page .wp-site-blocks,
body.wsb-remedy-report-page .site-content,
body.wsb-remedy-report-page .content-area,
body.wsb-remedy-report-page #primary,
body.wsb-remedy-report-page article,
body.wsb-remedy-report-page .hentry,
body.wsb-remedy-report-page .entry-content,
body.wsb-remedy-report-page .wp-block-post-content,
body.wsb-remedy-report-page main {
	height: auto !important;
	max-height: none !important;
	overflow-y: visible !important;
	overscroll-behavior-y: auto !important;
}

body.wsb-remedy-scroll-page .wsb-remedy-fixed-scroll-host {
	position: relative !important;
	inset: auto !important;
}

@media (min-width: 783px) {
	html.wsb-remedy-scroll-enabled,
	html.wsb-remedy-standalone-root {
		overflow-y: scroll !important;
	}
}

html.wsb-remedy-standalone-root {
	margin-top: 0 !important;
}

body.wsb-remedy-standalone-shell {
	width: 100%;
	min-height: 100vh !important;
	min-height: 100dvh !important;
	margin: 0 !important;
	padding: 0 !important;
	background: #f5f8f6 !important;
}

.wsb-remedy-standalone-main {
	display: block;
	width: 100%;
	min-height: 100vh;
	min-height: 100dvh;
}

body.wsb-remedy-portal-page #wpadminbar,
body.wsb-remedy-portal-page .site-header:not(.wsb-portal-header),
body.wsb-remedy-portal-page .site-footer,
body.wsb-remedy-portal-page .entry-header,
body.wsb-remedy-portal-page .wp-site-blocks > header,
body.wsb-remedy-portal-page .wp-site-blocks > footer {
	display: none !important;
}

body.wsb-remedy-portal-page .entry-content,
body.wsb-remedy-portal-page .wp-site-blocks,
body.wsb-remedy-portal-page .site-main {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.wsb-remedy-portal-embedded-page .wsb-remedy-app.is-theme {
	min-height: 0;
}

.wsb-remedy-app {
	--wsb-ink: #17362d;
	--wsb-muted: #62736d;
	--wsb-green: #0f6b52;
	--wsb-green-dark: #0a513e;
	--wsb-green-soft: #e8f4ef;
	--wsb-border: #dce6e1;
	--wsb-bg: #f5f8f6;
	--wsb-white: #fff;
	--wsb-red: #cc3d3d;
	--wsb-red-soft: #fff0ef;
	--wsb-yellow: #d9a500;
	--wsb-yellow-soft: #fff8d9;
	--wsb-shadow: 0 16px 42px rgba(26, 63, 51, .09);
	box-sizing: border-box;
	max-width: 1220px;
	width: 100%;
	min-height: 100vh;
	min-height: 100dvh;
	margin: 0 auto;
	padding: 22px 22px max(32px, env(safe-area-inset-bottom));
	overflow: visible;
	color: var(--wsb-ink);
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.55;
}

.wsb-remedy-app [hidden] {
	display: none !important;
}

.wsb-remedy-report-embed {
	width: 100%;
	max-width: none;
	min-height: 0;
	margin: 0;
	padding: 0;
}

.wsb-remedy-report-embed .wsb-report-access-card {
	max-width: 720px;
	margin: 0 auto;
}

.wsb-remedy-app *,
.wsb-remedy-app *::before,
.wsb-remedy-app *::after {
	box-sizing: inherit;
}

.wsb-remedy-app h1,
.wsb-remedy-app h2,
.wsb-remedy-app h3,
.wsb-remedy-app p {
	margin-top: 0;
}

.wsb-remedy-app h1 {
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1.08;
	letter-spacing: -.045em;
}

.wsb-remedy-app h2 {
	font-size: 1.35rem;
	line-height: 1.25;
	letter-spacing: -.02em;
}

.wsb-remedy-app a {
	color: var(--wsb-green);
}

.wsb-message-icon {
	display: inline-block;
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	fill: currentColor;
	vertical-align: -.2em;
}

.wsb-portal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 28px;
}

.wsb-brand {
	display: inline-flex;
	align-items: center;
	flex: 0 1 auto;
	min-width: 0;
	gap: 12px;
	color: var(--wsb-ink) !important;
	text-decoration: none !important;
}

.wsb-brand-logo {
	display: block;
	width: clamp(124px, 16vw, 172px);
	max-width: 42vw;
	height: 56px;
	object-fit: contain;
	object-position: left center;
}

.wsb-brand-mark {
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	border-radius: 13px;
	background: var(--wsb-green);
	box-shadow: 0 8px 22px rgba(15, 107, 82, .22);
}

.wsb-brand-mark svg {
	width: 25px;
	fill: #fff;
}

.wsb-brand strong,
.wsb-brand small {
	display: block;
}

.wsb-brand strong {
	font-size: 1rem;
}

.wsb-brand small {
	color: var(--wsb-muted);
	font-size: .76rem;
}

.wsb-account-chip {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 9px 8px 14px;
	border: 1px solid var(--wsb-border);
	border-radius: 999px;
	background: var(--wsb-white);
	font-size: .86rem;
}

.wsb-account-chip a {
	padding: 5px 9px;
	border-radius: 999px;
	background: var(--wsb-bg);
	text-decoration: none;
}

.wsb-account-actions {
	display: flex;
	align-items: center;
	gap: 5px;
}

.wsb-account-chip .wsb-profile-shortcut.is-active {
	color: #fff;
	background: var(--wsb-green);
}

.wsb-panel {
	padding: 28px;
	border: 1px solid var(--wsb-border);
	border-radius: 18px;
	background: var(--wsb-white);
	box-shadow: var(--wsb-shadow);
}

.wsb-auth-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(400px, .95fr);
	min-height: 650px;
	overflow: visible;
	border: 1px solid var(--wsb-border);
	border-radius: 24px;
	background: var(--wsb-white);
	box-shadow: var(--wsb-shadow);
}

.wsb-auth-intro {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(34px, 6vw, 76px);
	overflow: hidden;
	color: #fff;
	background:
		linear-gradient(145deg, rgba(5, 52, 39, .92), rgba(15, 107, 82, .78)),
		url("../images/default-soccer-field.jpg") center/cover;
	border-radius: 23px 0 0 23px;
}

.wsb-auth-intro::after {
	position: absolute;
	right: -90px;
	bottom: -120px;
	width: 300px;
	height: 300px;
	border: 56px solid rgba(255, 255, 255, .08);
	border-radius: 50%;
	content: "";
}

.wsb-auth-intro h1 {
	max-width: 640px;
	margin-bottom: 20px;
	color: #fff;
}

.wsb-auth-intro p {
	max-width: 560px;
	color: rgba(255, 255, 255, .84);
	font-size: 1.05rem;
}

.wsb-eyebrow {
	display: block;
	margin-bottom: 10px;
	color: var(--wsb-green);
	font-size: .74rem;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.wsb-auth-intro .wsb-eyebrow {
	color: #b8ead6;
}

.wsb-check-list {
	display: grid;
	gap: 12px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.wsb-check-list li {
	position: relative;
	padding-left: 28px;
}

.wsb-check-list li::before {
	position: absolute;
	top: 2px;
	left: 0;
	display: grid;
	width: 20px;
	height: 20px;
	place-items: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, .16);
	content: "✓";
	font-size: .72rem;
	font-weight: 800;
}

.wsb-auth-card {
	align-self: center;
	margin: 22px;
	padding: 34px;
	border: 0;
	box-shadow: none;
}

.wsb-auth-tabs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 5px;
	margin-bottom: 28px;
	padding: 5px;
	border-radius: 12px;
	background: var(--wsb-bg);
}

.wsb-auth-tabs a {
	padding: 9px;
	border-radius: 9px;
	color: var(--wsb-muted);
	font-size: .88rem;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
}

.wsb-auth-tabs a.is-active {
	color: var(--wsb-green);
	background: var(--wsb-white);
	box-shadow: 0 3px 10px rgba(25, 54, 45, .08);
}

.wsb-form-heading {
	margin-bottom: 22px;
}

.wsb-form-heading h2 {
	margin-bottom: 7px;
	font-size: 1.75rem;
}

.wsb-form-heading p,
.wsb-section-heading p,
.wsb-dashboard-heading p {
	color: var(--wsb-muted);
}

.wsb-form {
	display: grid;
	gap: 17px;
}

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

.wsb-field-span-2 {
	grid-column: span 2;
}

.wsb-form label > span,
.wsb-ticket-form label > span {
	display: block;
	margin-bottom: 6px;
	font-size: .82rem;
	font-weight: 750;
}

.wsb-remedy-app input[type="text"],
.wsb-remedy-app input[type="email"],
.wsb-remedy-app input[type="tel"],
.wsb-remedy-app input[type="password"],
.wsb-remedy-app input[type="file"],
.wsb-remedy-app input[type="datetime-local"],
.wsb-remedy-app select,
.wsb-remedy-app textarea {
	width: 100%;
	margin: 0;
	padding: 11px 13px;
	border: 1px solid #cbd8d2;
	border-radius: 10px;
	color: var(--wsb-ink);
	background: #fff;
	font: inherit;
	font-size: .94rem;
	line-height: 1.35;
}

.wsb-remedy-app textarea {
	resize: vertical;
}

.wsb-form label > .wsb-password-control,
.wsb-ticket-form label > .wsb-password-control {
	position: relative;
	display: block;
	margin: 0;
	font: inherit;
}

.wsb-password-control input[type="password"],
.wsb-password-control input[type="text"] {
	padding-right: 52px;
}

.wsb-password-control button {
	position: absolute;
	top: 50%;
	right: 4px;
	display: grid;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	color: var(--wsb-green);
	background: transparent;
	font: inherit;
	font-size: 1.05rem;
	line-height: 1;
	place-items: center;
	transform: translateY(-50%);
	cursor: pointer;
}

.wsb-password-control button:hover,
.wsb-password-control button:focus-visible,
.wsb-password-control button.is-visible {
	background: #edf5f1;
	outline: 2px solid rgba(15, 107, 82, .18);
}

.wsb-password-control button svg {
	width: 21px;
	height: 21px;
	fill: currentColor;
}

.wsb-password-control button.is-visible svg {
	opacity: .55;
}

.wsb-remedy-app input:focus,
.wsb-remedy-app select:focus,
.wsb-remedy-app textarea:focus,
.wsb-field-board:focus {
	border-color: var(--wsb-green);
	outline: 3px solid rgba(15, 107, 82, .14);
	outline-offset: 1px;
}

.wsb-form small,
.wsb-coordinate-text {
	display: block;
	margin-top: 5px;
	color: var(--wsb-muted);
	font-size: .75rem;
}

.wsb-field-list-status {
	display: block;
	margin-top: 5px;
	color: var(--wsb-muted);
	font-size: .75rem;
	font-weight: 500;
}

.wsb-field-list-status.is-error {
	color: var(--wsb-red);
}

.wsb-form-row {
	display: flex;
	gap: 14px;
}

.wsb-form-row-between {
	align-items: center;
	justify-content: space-between;
}

.wsb-auth-back {
	display: inline-flex;
	justify-self: start;
	font-size: .84rem;
	font-weight: 700;
	text-decoration: none;
}

.wsb-check {
	display: flex !important;
	align-items: flex-start;
	gap: 8px;
	font-size: .82rem;
}

.wsb-check input {
	flex: 0 0 auto;
	width: auto !important;
	margin-top: 4px;
}

.wsb-check > span {
	margin: 0 !important;
	font-weight: 500 !important;
}

.wsb-privacy-check {
	padding: 12px;
	border-radius: 10px;
	background: var(--wsb-bg);
}

.wsb-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 17px;
	border: 1px solid transparent;
	border-radius: 10px;
	cursor: pointer;
	font: inherit;
	font-size: .9rem;
	font-weight: 750;
	text-decoration: none !important;
	transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}

.wsb-button:hover {
	transform: translateY(-1px);
}

.wsb-button:disabled {
	cursor: wait;
	opacity: .65;
	transform: none;
}

.wsb-button-primary {
	color: #fff !important;
	background: var(--wsb-green);
	box-shadow: 0 7px 18px rgba(15, 107, 82, .18);
}

.wsb-button-primary:hover {
	background: var(--wsb-green-dark);
}

.wsb-button-secondary {
	color: var(--wsb-green);
	border-color: #b8d7cc;
	background: var(--wsb-white);
}

.wsb-button-danger {
	color: #fff !important;
	background: #a52f2f;
	box-shadow: 0 7px 18px rgba(165, 47, 47, .16);
}

.wsb-button-danger:hover {
	background: #812323;
}

.wsb-button-block {
	width: 100%;
}

.wsb-link-button {
	padding: 0;
	border: 0;
	color: var(--wsb-green);
	background: transparent;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	text-decoration: underline;
}

.wsb-resend-form {
	display: grid;
	gap: 12px;
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--wsb-border);
	color: var(--wsb-muted);
	font-size: .84rem;
	text-align: left;
}

.wsb-resend-form label > span {
	display: block;
	margin-bottom: 6px;
	color: var(--wsb-ink);
	font-weight: 700;
}

.wsb-code-input {
	font-size: 1.7rem !important;
	font-weight: 750 !important;
	letter-spacing: .3em;
	text-align: center;
}

.wsb-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
}

.wsb-location-box {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px;
	border: 1px dashed #b9cdc4;
	border-radius: 12px;
	background: var(--wsb-bg);
}

.wsb-location-box strong {
	display: block;
	font-size: .84rem;
}

.wsb-location-box p {
	margin: 3px 0 0;
	color: var(--wsb-muted);
	font-size: .77rem;
}

.wsb-location-box p.is-success {
	color: var(--wsb-green);
}

.wsb-location-box p.is-error,
.wsb-marker-help.is-error {
	color: var(--wsb-red);
}

.wsb-alert {
	margin: 0 0 20px;
	padding: 13px 16px;
	border: 1px solid;
	border-radius: 12px;
	font-size: .9rem;
}

.wsb-alert-success {
	border-color: #b5d9cb;
	color: #0b5b45;
	background: #eaf7f2;
}

.wsb-alert-error {
	border-color: #e8beba;
	color: #932f2f;
	background: var(--wsb-red-soft);
}

.wsb-portal-nav {
	display: inline-flex;
	gap: 5px;
	margin-bottom: 24px;
	padding: 5px;
	border: 1px solid var(--wsb-border);
	border-radius: 12px;
	background: #fff;
}

.wsb-portal-nav a {
	padding: 9px 14px;
	border-radius: 8px;
	color: var(--wsb-muted);
	font-size: .88rem;
	font-weight: 700;
	text-decoration: none;
}

.wsb-portal-nav .wsb-nav-message-link,
.wsb-nav-label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.wsb-unread-count {
	display: inline-grid;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	place-items: center;
	border-radius: 999px;
	color: #fff;
	background: var(--wsb-red);
	box-shadow: 0 2px 7px rgba(204, 61, 61, .25);
	font-size: .68rem;
	font-weight: 850;
	line-height: 1;
}

.wsb-portal-nav a.is-active .wsb-unread-count {
	color: var(--wsb-red);
	background: #fff;
}

.wsb-portal-nav a.is-active {
	color: #fff;
	background: var(--wsb-green);
}

.wsb-dashboard-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin: 12px 0 28px;
}

.wsb-dashboard-heading h1 {
	max-width: 780px;
	margin-bottom: 10px;
}

.wsb-dashboard-heading p {
	max-width: 680px;
	margin-bottom: 0;
}

.wsb-stat-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 30px;
}

.wsb-stat {
	display: flex;
	align-items: baseline;
	gap: 10px;
	padding: 18px 20px;
	border: 1px solid var(--wsb-border);
	border-radius: 14px;
	background: var(--wsb-white);
}

.wsb-stat strong {
	font-size: 1.8rem;
	line-height: 1;
}

.wsb-stat span {
	color: var(--wsb-muted);
	font-size: .82rem;
	font-weight: 700;
}

.wsb-stat.is-messages {
	border-color: #acd5c5;
	background: #f1faf6;
}

.wsb-stat.is-messages span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--wsb-green);
}

.wsb-profile-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
	gap: 18px;
	align-items: start;
}

.wsb-profile-delete-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
	gap: 18px;
	align-items: start;
}

.wsb-profile-grid > *,
.wsb-profile-grid aside {
	min-width: 0;
}

.wsb-profile-form {
	margin-top: 20px;
}

.wsb-profile-email-card {
	position: sticky;
	top: 18px;
}

.wsb-profile-email-card > p {
	overflow-wrap: anywhere;
}

.wsb-account-status-panel,
.wsb-account-delete-card.is-status-context {
	max-width: 760px;
	margin: 34px auto 0;
}

.wsb-profile-delete-grid .wsb-account-delete-card {
	grid-column: 1;
	width: 100%;
	max-width: none;
	margin: 34px 0 0;
}

.wsb-account-status-panel.is-pending {
	border-color: #e8d38a;
	background: #fffdf4;
}

.wsb-account-status-panel.is-rejected,
.wsb-account-delete-card {
	border-color: #e4b6b6;
	background: #fff8f8;
}

.wsb-account-status-panel.is-rejected .wsb-eyebrow,
.wsb-account-delete-card .wsb-eyebrow,
.wsb-account-delete-card h2 {
	color: #8d2929;
}

.wsb-account-status-details {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 22px 0 0;
}

.wsb-account-status-details div {
	min-width: 0;
	padding: 12px;
	border: 1px solid rgba(25, 54, 45, .1);
	border-radius: 10px;
	background: rgba(255, 255, 255, .75);
}

.wsb-account-status-details dt {
	color: var(--wsb-muted);
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.wsb-account-status-details dd {
	margin: 4px 0 0;
	overflow-wrap: anywhere;
	font-weight: 700;
}

.wsb-account-delete-card > p,
.wsb-account-delete-explainer {
	color: #785656;
}

.wsb-account-delete-card .wsb-form {
	width: 100%;
	max-width: none;
	margin: 20px 0 0;
}

.wsb-account-delete-form {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wsb-account-delete-explainer {
	padding: 14px 16px;
	border: 1px solid #edcccc;
	border-radius: 11px;
	background: #fff;
}

.wsb-account-delete-explainer p {
	margin: 0;
}

.wsb-account-delete-explainer ul {
	margin: 10px 0 0;
	padding-left: 20px;
}

.wsb-account-delete-explainer li + li {
	margin-top: 6px;
}

.wsb-account-delete-form .wsb-button-danger {
	grid-column: 1 / -1;
	width: 100%;
}

.wsb-manager-notification-note {
	max-width: 760px;
	padding: 10px 12px;
	border-left: 4px solid var(--wsb-green);
	border-radius: 8px;
	color: var(--wsb-muted);
	background: #f2f8f5;
}

.wsb-ticket-group {
	margin-top: 30px;
}

.wsb-ticket-group > h2 {
	margin-bottom: 14px;
}

.wsb-ticket-list {
	display: grid;
	gap: 10px;
}

.wsb-ticket-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 18px 20px;
	border: 1px solid var(--wsb-border);
	border-radius: 14px;
	color: var(--wsb-ink) !important;
	background: var(--wsb-white);
	text-decoration: none !important;
	transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.wsb-ticket-card:hover {
	border-color: #a8cabb;
	box-shadow: 0 10px 28px rgba(26, 63, 51, .07);
	transform: translateY(-1px);
}

.wsb-ticket-card.has-unread-messages {
	border-color: #6fb69b;
	background: #f6fcf9;
	box-shadow: inset 4px 0 0 var(--wsb-green), 0 8px 24px rgba(15, 107, 82, .07);
}

.wsb-ticket-card h3 {
	margin: 3px 0 4px;
	font-size: 1.03rem;
}

.wsb-ticket-card p {
	margin: 0;
	color: var(--wsb-muted);
	font-size: .82rem;
}

.wsb-tracking {
	color: var(--wsb-green);
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .05em;
}

.wsb-ticket-card-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px;
}

.wsb-message-indicator {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 9px;
	border-radius: 999px;
	color: #fff;
	background: var(--wsb-green);
	box-shadow: 0 5px 14px rgba(15, 107, 82, .18);
	font-size: .7rem;
	font-weight: 800;
	line-height: 1.15;
}

.wsb-correction-pending-indicator {
	display: inline-flex;
	align-items: center;
	padding: 6px 9px;
	border-radius: 999px;
	color: #6b5200;
	background: #ffe99a;
	font-size: .68rem;
	font-weight: 800;
	line-height: 1.15;
}

.wsb-badge {
	display: inline-flex;
	align-items: center;
	padding: 5px 9px;
	border-radius: 999px;
	color: #3f5650;
	background: #edf2ef;
	font-size: .7rem;
	font-weight: 750;
}

.wsb-status-new,
.wsb-status-open {
	color: #075a89;
	background: #e8f5fd;
}

.wsb-status-in_progress,
.wsb-status-scheduled {
	color: #735b00;
	background: #fff4c5;
}

.wsb-status-resolved,
.wsb-status-closed {
	color: #176044;
	background: #e4f3eb;
}

.wsb-status-waiting,
.wsb-status-appointment_review {
	color: #6f4b81;
	background: #f4eafa;
}

.wsb-priority-red {
	color: #992e2e;
	background: var(--wsb-red-soft);
}

.wsb-priority-yellow {
	color: #725800;
	background: var(--wsb-yellow-soft);
}

.wsb-priority-dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
}

.wsb-priority-dot.is-red {
	background: var(--wsb-red);
}

.wsb-priority-dot.is-yellow {
	background: var(--wsb-yellow);
}

.wsb-empty-state {
	padding: 22px;
	border: 1px dashed #c7d5cf;
	border-radius: 13px;
	color: var(--wsb-muted);
	background: rgba(255, 255, 255, .58);
	text-align: center;
}

.wsb-batch-confirmation {
	display: grid;
	grid-template-columns: minmax(220px, .7fr) minmax(320px, 1.3fr);
	gap: 20px;
	margin-bottom: 22px;
	padding: 20px;
	border: 1px solid #9fcfbd;
	border-radius: 15px;
	background: #edf8f4;
	box-shadow: var(--wsb-shadow);
}

.wsb-batch-confirmation h2 {
	margin: 4px 0 7px;
}

.wsb-batch-confirmation p {
	margin: 0;
	color: var(--wsb-muted);
	font-size: .86rem;
}

.wsb-batch-confirmation ol {
	display: grid;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wsb-batch-confirmation a {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border: 1px solid #c9ddd5;
	border-radius: 10px;
	color: var(--wsb-ink);
	background: #fff;
	text-decoration: none;
}

.wsb-batch-confirmation a:hover,
.wsb-batch-confirmation a:focus-visible {
	border-color: var(--wsb-green);
	box-shadow: 0 0 0 2px rgba(15, 107, 82, .1);
}

.wsb-batch-confirmation a span:nth-child(2) {
	display: grid;
	min-width: 0;
}

.wsb-batch-confirmation a strong,
.wsb-batch-confirmation a small {
	overflow-wrap: anywhere;
}

.wsb-batch-confirmation a small {
	margin-top: 2px;
	color: var(--wsb-muted);
}

.wsb-batch-position {
	display: block;
	margin-top: 3px;
	color: var(--wsb-green);
	font-size: .7rem;
	font-weight: 750;
}

.wsb-batch-navigation {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin: -8px 0 20px;
	padding: 13px 15px;
	border: 1px solid #bdd6cc;
	border-radius: 12px;
	background: #eef7f3;
}

.wsb-batch-navigation > div:first-child {
	display: grid;
	gap: 2px;
}

.wsb-batch-navigation > div:first-child span {
	color: var(--wsb-muted);
	font-size: .76rem;
}

.wsb-batch-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 6px;
}

.wsb-batch-links a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 36px;
	padding: 7px 10px;
	border: 1px solid #b8cec5;
	border-radius: 9px;
	color: var(--wsb-green);
	background: #fff;
	font-size: .76rem;
	font-weight: 750;
	text-decoration: none;
}

.wsb-batch-links a.is-current {
	border-color: var(--wsb-green);
	color: #fff;
	background: var(--wsb-green);
}

.wsb-batch-links a.is-current .wsb-priority-dot {
	box-shadow: 0 0 0 2px #fff;
}

.wsb-report-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr);
	gap: 18px;
}

.wsb-issues-list {
	display: grid;
	gap: 30px;
}

.wsb-issue-entry {
	scroll-margin-top: 18px;
}

.wsb-issue-entry-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 12px;
	padding: 13px 16px;
	border: 1px solid #bfd7cd;
	border-radius: 13px;
	background: #eaf4f0;
}

.wsb-issue-entry-header p,
.wsb-add-issue-bar span {
	margin: 3px 0 0;
	color: var(--wsb-muted);
	font-size: .78rem;
}

.wsb-issue-number {
	color: var(--wsb-green);
	font-size: .8rem;
	font-weight: 800;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.wsb-issue-number strong {
	display: inline-grid;
	width: 24px;
	height: 24px;
	margin-left: 4px;
	place-items: center;
	border-radius: 50%;
	color: #fff;
	background: var(--wsb-green);
	font-size: .78rem;
}

.wsb-remove-issue {
	min-height: 38px;
	padding: 8px 12px;
	border: 1px solid #d4a3a3;
	border-radius: 9px;
	color: #8c2525;
	background: #fff;
	font: inherit;
	font-size: .78rem;
	font-weight: 750;
	cursor: pointer;
}

.wsb-remove-issue:hover,
.wsb-remove-issue:focus-visible {
	border-color: #b64242;
	background: #fff1f1;
}

.wsb-add-issue-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-top: 20px;
	padding: 17px 18px;
	border: 1px dashed #9ebfb2;
	border-radius: 14px;
	background: #f5faf8;
}

.wsb-add-issue-bar > div {
	display: grid;
}

.wsb-add-issue-bar strong {
	color: var(--wsb-ink);
	font-size: .9rem;
}

.wsb-add-issue-bar .wsb-button[disabled] {
	cursor: not-allowed;
	opacity: .55;
}

.wsb-section-heading {
	margin-bottom: 20px;
}

.wsb-section-heading > div {
	display: flex;
	align-items: center;
	gap: 10px;
}

.wsb-section-heading h2 {
	margin: 0;
}

.wsb-section-heading p {
	margin: 8px 0 0 38px;
	font-size: .84rem;
}

.wsb-step {
	display: grid;
	width: 28px;
	height: 28px;
	place-items: center;
	border-radius: 50%;
	color: #fff;
	background: var(--wsb-green);
	font-size: .75rem;
	font-weight: 800;
}

.wsb-priority-picker {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	margin: 18px 0;
	padding: 0;
	border: 0;
}

.wsb-priority-picker legend {
	margin-bottom: 7px;
	font-size: .82rem;
	font-weight: 750;
}

.wsb-priority-picker label {
	position: relative;
	display: block;
	cursor: pointer;
}

.wsb-priority-picker input {
	position: absolute;
	opacity: 0;
}

.wsb-priority-picker label > span {
	display: grid;
	margin: 0;
	padding: 11px 13px 11px 35px;
	border: 1px solid var(--wsb-border);
	border-radius: 11px;
	font-size: .73rem;
	font-weight: 500;
}

.wsb-priority-picker label > span::before {
	position: absolute;
	top: 18px;
	left: 13px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	content: "";
}

.wsb-priority-yellow > span::before {
	background: var(--wsb-yellow);
}

.wsb-priority-red > span::before {
	background: var(--wsb-red);
}

.wsb-priority-picker strong {
	display: block;
	font-size: .84rem;
}

.wsb-priority-picker input:checked + span {
	border-color: var(--wsb-green);
	box-shadow: 0 0 0 2px rgba(15, 107, 82, .11);
}

.wsb-field-board {
	position: relative;
	width: 100%;
	overflow: hidden;
	border: 1px solid #b8c9c1;
	border-radius: 14px;
	background: #e7eee9;
	line-height: 0;
	cursor: crosshair;
	touch-action: manipulation;
}

.wsb-field-board img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
}

.wsb-marker-layer {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: block;
	pointer-events: none;
}

.wsb-field-board-static {
	cursor: default;
}

.wsb-issue-marker {
	position: absolute;
	z-index: 2;
	display: none;
	width: clamp(26px, 5vw, 42px);
	height: clamp(26px, 5vw, 42px);
	border: 4px solid #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 3px currentColor, 0 4px 18px rgba(0, 0, 0, .28);
	transform: translate(-50%, -50%);
}

.wsb-issue-marker::after {
	position: absolute;
	inset: 6px;
	border-radius: 50%;
	background: currentColor;
	content: "";
	opacity: .9;
}

.wsb-issue-marker.is-placed,
.wsb-field-board-static .wsb-issue-marker {
	display: block;
}

.wsb-issue-marker.is-yellow {
	color: #ffd000;
}

.wsb-issue-marker.is-red {
	color: #e83e3e;
}

.wsb-marker-help {
	margin: 9px 0 0;
	color: var(--wsb-muted);
	font-size: .77rem;
}

.wsb-marker-control-row {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 14px;
}

.wsb-marker-actions {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 7px;
}

.wsb-marker-actions button {
	min-height: 34px;
	padding: 6px 10px;
	border: 1px solid #bad0c6;
	border-radius: 8px;
	color: var(--wsb-green);
	background: #fff;
	font: inherit;
	font-size: .75rem;
	font-weight: 750;
	cursor: pointer;
}

.wsb-marker-actions button:disabled {
	color: #8a9994;
	background: #f2f5f4;
	cursor: not-allowed;
	opacity: .75;
}

.wsb-marker-clear {
	margin: 7px 0 0;
	padding: 2px 0;
	border: 0;
	color: var(--wsb-green);
	background: transparent;
	font: inherit;
	font-size: .76rem;
	font-weight: 750;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

.wsb-marker-clear:hover,
.wsb-marker-clear:focus-visible {
	color: var(--wsb-green-dark);
}

.wsb-field-level-note {
	margin: 9px 0 0;
	padding: 9px 11px;
	border-radius: 9px;
	color: #4e625b;
	background: var(--wsb-green-soft);
	font-size: .78rem;
	font-weight: 700;
}

.wsb-photo-preview {
	max-height: 240px;
	overflow: hidden;
	border-radius: 12px;
	background: var(--wsb-bg);
}

.wsb-photo-preview img {
	display: block;
	width: 100%;
	height: 240px;
	object-fit: cover;
}

.wsb-report-evidence {
	display: grid;
	gap: 9px;
}

.wsb-report-evidence-label {
	color: var(--wsb-text);
	font-size: .82rem;
	font-weight: 800;
}

.wsb-report-evidence-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 9px;
}

.wsb-report-evidence-picker {
	display: grid;
	align-content: start;
	gap: 5px;
	min-width: 0;
	padding: 11px;
	border: 1px solid var(--wsb-border);
	border-radius: 11px;
	background: #f8fbfa;
}

.wsb-report-evidence-picker.is-camera {
	border-color: #a8d2c4;
	background: var(--wsb-green-soft);
}

.wsb-report-evidence-picker > strong {
	font-size: .8rem;
}

.wsb-report-evidence-picker > span {
	min-height: 2.7em;
	color: var(--wsb-muted);
	font-size: .7rem;
	line-height: 1.35;
}

.wsb-report-evidence-picker input[type="file"] {
	width: 100%;
	min-width: 0;
	padding: 8px;
	border: 1px dashed #9fbcaf;
	border-radius: 8px;
	background: #fff;
}

.wsb-report-evidence > small {
	display: block;
	color: var(--wsb-muted);
	font-size: .72rem;
	line-height: 1.45;
}

.wsb-report-evidence-preview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
	gap: 7px;
}

.wsb-report-evidence-item {
	position: relative;
	display: grid;
	grid-template-rows: 82px auto;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--wsb-border);
	border-radius: 9px;
	background: #fff;
}

.wsb-report-evidence-item img,
.wsb-report-evidence-type {
	display: block;
	width: 100%;
	height: 82px;
}

.wsb-report-evidence-item img {
	object-fit: cover;
}

.wsb-report-evidence-type {
	display: grid;
	place-items: center;
	color: #fff;
	background: var(--wsb-green);
	font-size: .78rem;
	font-weight: 850;
	letter-spacing: .04em;
}

.wsb-report-evidence-name {
	min-width: 0;
	padding: 6px 7px;
	font-size: .68rem;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.wsb-report-evidence-remove {
	position: absolute;
	top: 5px;
	right: 5px;
	padding: 4px 6px;
	border: 0;
	border-radius: 6px;
	color: #fff;
	background: rgba(25, 51, 43, .9);
	font: inherit;
	font-size: .62rem;
	font-weight: 800;
	cursor: pointer;
}

.wsb-submit-bar {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 20px;
	margin-top: 18px;
	padding: 15px 18px;
	border: 1px solid var(--wsb-border);
	border-radius: 14px;
	background: #fff;
	box-shadow: var(--wsb-shadow);
}

.wsb-submit-bar p {
	margin: 0;
	color: var(--wsb-muted);
	font-size: .82rem;
}

.wsb-submit-copy {
	display: grid;
	gap: 7px;
	margin-right: auto;
}

.wsb-submit-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--wsb-green);
	font-size: .78rem;
	font-weight: 800;
}

.wsb-submit-status:empty {
	display: none;
}

.wsb-submit-status:not(:empty)::before {
	width: 13px;
	height: 13px;
	border: 2px solid rgba(15, 107, 82, .22);
	border-top-color: currentColor;
	border-radius: 50%;
	content: "";
	animation: wsb-submit-spin .8s linear infinite;
}

@keyframes wsb-submit-spin {
	to {
		transform: rotate(360deg);
	}
}

.wsb-ticket-hero {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin: 8px 0 24px;
}

.wsb-ticket-hero h1 {
	margin: 6px 0 12px;
}

.wsb-ticket-hero > p {
	color: var(--wsb-muted);
	font-size: .82rem;
}

.wsb-back-link {
	display: inline-block;
	margin-bottom: 18px;
	font-size: .82rem;
	font-weight: 700;
	text-decoration: none;
}

.wsb-ticket-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.wsb-new-message-summary {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: -8px 0 18px;
	padding: 12px 15px;
	border: 1px solid #9fcfbd;
	border-radius: 12px;
	color: #0b5b45;
	background: #eaf7f2;
	box-shadow: 0 6px 18px rgba(15, 107, 82, .06);
}

.wsb-new-message-summary strong {
	flex: 0 0 auto;
}

.wsb-new-message-summary span {
	color: #41675b;
	font-size: .82rem;
}

.wsb-ticket-detail-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
	gap: 18px;
}

.wsb-ticket-detail-grid > div {
	display: grid;
	gap: 18px;
	min-width: 0;
}

[data-wsb-member-batch-region],
[data-wsb-member-appointment-region] {
	display: contents;
}

.wsb-appointment-card {
	border-color: #bfd6cc;
	background: linear-gradient(180deg, #fff, #f8fbf9);
}

.wsb-appointment-card.is-confirmed {
	border-color: #9bc9b6;
	background: #f1faf6;
}

.wsb-appointment-card.is-declined {
	border-color: #d9d9d9;
	background: #fafafa;
}

.wsb-appointment-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 18px;
}

.wsb-appointment-heading h2,
.wsb-appointment-heading .wsb-eyebrow {
	margin-bottom: 0;
}

.wsb-appointment-state {
	display: inline-flex;
	padding: 6px 9px;
	border-radius: 999px;
	color: #315b4d;
	background: #e4f2ec;
	font-size: .7rem;
	font-weight: 800;
	text-align: center;
}

.wsb-appointment-details {
	display: grid;
	grid-template-columns: minmax(80px, .35fr) minmax(0, 1fr);
	gap: 7px 14px;
	margin: 0;
}

.wsb-appointment-details dt {
	color: var(--wsb-muted);
	font-size: .76rem;
	font-weight: 750;
}

.wsb-appointment-details dd {
	margin: 0;
	font-size: .88rem;
	overflow-wrap: anywhere;
}

.wsb-appointment-note {
	margin: 16px 0 0;
	padding: 12px;
	border-radius: 10px;
	color: #425b52;
	background: #edf5f1;
	font-size: .84rem;
}

.wsb-appointment-actions {
	display: grid;
	gap: 10px;
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid var(--wsb-border);
}

.wsb-appointment-actions > form {
	margin: 0;
}

.wsb-appointment-option {
	border: 1px solid var(--wsb-border);
	border-radius: 10px;
	background: #fff;
}

.wsb-appointment-option summary {
	padding: 11px 13px;
	color: var(--wsb-green);
	cursor: pointer;
	font-size: .82rem;
	font-weight: 750;
}

.wsb-appointment-option[open] summary {
	border-bottom: 1px solid var(--wsb-border);
}

.wsb-appointment-option .wsb-form {
	padding: 14px;
}

.wsb-appointment-download {
	margin: 18px 0 0;
}

.wsb-appointment-metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 20px;
}

.wsb-appointment-metrics > div {
	display: flex;
	align-items: baseline;
	gap: 9px;
	padding: 16px 18px;
	border: 1px solid var(--wsb-border);
	border-radius: 13px;
	background: #fff;
}

.wsb-appointment-metrics strong {
	color: var(--wsb-green);
	font-size: 1.55rem;
	line-height: 1;
}

.wsb-appointment-metrics span {
	color: var(--wsb-muted);
	font-size: .8rem;
	font-weight: 700;
}

.wsb-member-calendar-card {
	margin-bottom: 20px;
}

.wsb-appointment-calendar-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 18px;
	text-align: center;
}

.wsb-appointment-calendar-heading h2,
.wsb-appointment-calendar-heading .wsb-eyebrow {
	margin-bottom: 0;
}

.wsb-appointment-calendar-heading .wsb-button {
	min-width: 44px;
	padding: 9px 13px;
}

.wsb-mobile-agenda-note {
	display: none;
}

.wsb-appointment-calendar-scroll {
	overflow-x: auto;
	border: 1px solid var(--wsb-border);
	border-radius: 12px;
	background: #fff;
	-webkit-overflow-scrolling: touch;
}

.wsb-appointment-calendar {
	display: grid;
	grid-template-columns: repeat(7, minmax(132px, 1fr));
	min-width: 924px;
	background: var(--wsb-border);
	gap: 1px;
}

.wsb-calendar-weekday {
	padding: 9px 8px;
	color: #4f685f;
	background: #eef5f2;
	font-size: .7rem;
	font-weight: 850;
	letter-spacing: .05em;
	text-align: center;
	text-transform: uppercase;
}

.wsb-calendar-day {
	min-height: 142px;
	padding: 8px;
	background: #fff;
}

.wsb-calendar-day.is-outside-month {
	background: #f7f9f8;
}

.wsb-calendar-day.is-outside-month > * {
	opacity: .55;
}

.wsb-calendar-day.is-today {
	box-shadow: inset 0 0 0 2px var(--wsb-green);
}

.wsb-calendar-day-number {
	display: inline-grid;
	width: 25px;
	height: 25px;
	place-items: center;
	border-radius: 50%;
	color: #52675f;
	font-size: .76rem;
	font-weight: 800;
}

.wsb-calendar-day.is-today .wsb-calendar-day-number {
	color: #fff;
	background: var(--wsb-green);
}

.wsb-calendar-events {
	display: grid;
	gap: 6px;
	margin-top: 5px;
}

.wsb-calendar-event {
	overflow: hidden;
	border: 1px solid #b9d6ca;
	border-left: 4px solid var(--wsb-green);
	border-radius: 8px;
	background: #f1faf6;
}

.wsb-calendar-event.is-proposed {
	border-color: #e1cf8a;
	border-left-color: #b88a00;
	background: #fff9e5;
}

.wsb-calendar-event.is-member_suggested {
	border-color: #a9c9df;
	border-left-color: #397ca8;
	background: #f0f8fd;
}

.wsb-calendar-event.is-declined {
	border-color: #d6d6d6;
	border-left-color: #8c8c8c;
	background: #f7f7f7;
}

.wsb-calendar-event > a:first-child {
	display: grid;
	gap: 1px;
	padding: 7px 8px;
	color: var(--wsb-ink);
	text-decoration: none;
}

.wsb-calendar-event time,
.wsb-calendar-event small {
	color: var(--wsb-muted);
	font-size: .65rem;
}

.wsb-calendar-event strong,
.wsb-calendar-event span {
	overflow: hidden;
	font-size: .7rem;
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wsb-calendar-download {
	display: block;
	padding: 5px 8px;
	border-top: 1px solid rgba(15, 107, 82, .14);
	color: var(--wsb-green) !important;
	font-size: .64rem;
	font-weight: 800;
	text-decoration: none;
}

.wsb-member-appointment-list-section {
	margin-top: 20px;
}

.wsb-member-appointment-group + .wsb-member-appointment-group {
	margin-top: 28px;
	padding-top: 22px;
	border-top: 1px solid var(--wsb-border);
}

.wsb-member-appointment-group h3 {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 18px 0 12px;
}

.wsb-member-appointment-group h3 span {
	display: inline-grid;
	min-width: 23px;
	height: 23px;
	padding: 0 6px;
	place-items: center;
	border-radius: 999px;
	color: var(--wsb-green);
	background: var(--wsb-green-soft);
	font-size: .7rem;
}

.wsb-member-appointment-list {
	display: grid;
	gap: 10px;
}

.wsb-member-appointment-row {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr) auto;
	gap: 15px;
	align-items: center;
	padding: 14px;
	border: 1px solid var(--wsb-border);
	border-left: 4px solid var(--wsb-green);
	border-radius: 12px;
	background: #fff;
}

.wsb-member-appointment-row.is-proposed {
	border-left-color: #b88a00;
}

.wsb-member-appointment-row.is-member_suggested {
	border-left-color: #397ca8;
}

.wsb-member-appointment-row.is-declined {
	border-left-color: #8c8c8c;
}

.wsb-member-appointment-row > time {
	display: grid;
	gap: 3px;
	text-align: center;
}

.wsb-member-appointment-row > time strong {
	font-size: 1rem;
}

.wsb-member-appointment-row > time span {
	color: var(--wsb-muted);
	font-size: .76rem;
}

.wsb-member-appointment-main {
	min-width: 0;
}

.wsb-member-appointment-main > div {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;
}

.wsb-member-appointment-main a {
	overflow-wrap: anywhere;
	text-decoration: none;
}

.wsb-member-appointment-main > small,
.wsb-member-appointment-main > p {
	display: block;
	margin: 4px 0 0;
	color: var(--wsb-muted);
	font-size: .76rem;
}

.wsb-member-appointment-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 7px;
}

.wsb-member-appointment-actions .wsb-button {
	padding: 8px 11px;
	font-size: .74rem;
}

.wsb-appointment-state.is-proposed {
	color: #715600;
	background: #fff0b8;
}

.wsb-appointment-state.is-member_suggested {
	color: #285f83;
	background: #e3f0f8;
}

.wsb-appointment-state.is-declined {
	color: #666;
	background: #ebebeb;
}

.wsb-member-appointment-empty {
	margin: 0;
	padding: 14px;
	border-radius: 10px;
	color: var(--wsb-muted);
	background: var(--wsb-bg);
}

.wsb-description {
	white-space: normal;
}

.wsb-evidence-photo {
	margin-top: 18px;
	overflow: hidden;
	border-radius: 13px;
	background: var(--wsb-bg);
}

.wsb-evidence-photo img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
}

.wsb-timeline {
	position: relative;
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wsb-timeline::before {
	position: absolute;
	top: 8px;
	bottom: 8px;
	left: 7px;
	width: 2px;
	background: #dce6e1;
	content: "";
}

.wsb-timeline > li {
	position: relative;
	display: grid;
	grid-template-columns: 16px 1fr;
	gap: 14px;
	padding-bottom: 24px;
}

.wsb-timeline > li:last-child {
	padding-bottom: 0;
}

.wsb-timeline > li > div {
	min-width: 0;
}

.wsb-timeline > li.is-new-message > div {
	margin: -10px 0 4px -8px;
	padding: 10px 12px;
	border: 1px solid #a8d8c6;
	border-radius: 11px;
	background: #f0faf6;
	box-shadow: 0 6px 18px rgba(15, 107, 82, .06);
}

.wsb-timeline > li.is-new-message .wsb-timeline-dot {
	border-color: #ffe2df;
	background: var(--wsb-red);
	box-shadow: 0 0 0 3px rgba(204, 61, 61, .12);
}

.wsb-history-intro {
	margin: -3px 0 20px;
	color: var(--wsb-muted);
	font-size: .82rem;
	line-height: 1.5;
}

.wsb-message-from {
	margin: 0 0 6px;
	line-height: 1;
}

.wsb-message-from strong {
	display: inline-flex;
	padding: 5px 8px;
	border-radius: 7px;
	font-size: .72rem;
	font-weight: 900;
	letter-spacing: .025em;
}

.wsb-message-from.is-support strong {
	color: #07543f;
	background: #dff2ea;
}

.wsb-message-from.is-member strong {
	color: #285a82;
	background: #e6f1f9;
}

.wsb-timeline-dot {
	z-index: 1;
	width: 16px;
	height: 16px;
	margin-top: 3px;
	border: 4px solid #d3ebe1;
	border-radius: 50%;
	background: var(--wsb-green);
}

.wsb-timeline-meta {
	display: flex;
	justify-content: space-between;
	gap: 12px;
}

.wsb-timeline-meta span {
	color: var(--wsb-muted);
	font-size: .72rem;
}

.wsb-update-type {
	display: inline-block;
	margin: 3px 0 5px;
	color: var(--wsb-green);
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.wsb-new-label {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	margin: 3px 0 5px 5px;
	padding: 3px 7px;
	border-radius: 999px;
	color: #fff;
	background: var(--wsb-red);
	font-size: .64rem;
	font-weight: 850;
	letter-spacing: .04em;
	line-height: 1;
	text-transform: uppercase;
}

.wsb-new-label .wsb-message-icon {
	width: 12px;
	height: 12px;
}

.wsb-timeline-subject {
	display: block;
	margin-bottom: 5px;
	color: #294b40;
	font-size: .8rem;
	font-weight: 750;
	overflow-wrap: anywhere;
}

.wsb-timeline-message {
	margin-top: 2px;
	padding: 12px 14px;
	border-left: 4px solid #cbd8d3;
	border-radius: 8px;
	color: #41554f;
	background: #f5f8f7;
	font-size: .88rem;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.wsb-timeline > li.is-member-to-support .wsb-timeline-message {
	border-left-color: #73a8cf;
	background: #f1f7fb;
}

.wsb-timeline > li.is-support-to-member .wsb-timeline-message {
	border-left-color: #67b298;
	background: #f0f8f5;
}

.wsb-reply-form {
	margin-top: 26px;
	padding-top: 22px;
	border-top: 1px solid var(--wsb-border);
}

.wsb-update-upload input[type="file"] {
	width: 100%;
	padding: 10px;
	border: 1px dashed #a9c6bb;
	border-radius: 10px;
	background: #f7fbf9;
}

.wsb-update-upload small {
	display: block;
	margin-top: 6px;
	color: var(--wsb-muted);
	font-size: .72rem;
	line-height: 1.45;
}

.wsb-attachment-selection {
	display: block;
	margin-top: 6px;
	color: var(--wsb-green);
	font-size: .76rem;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.wsb-attachment-selection:empty {
	display: none;
}

.wsb-attachment-selection.is-error {
	color: var(--wsb-red);
}

.wsb-update-attachments {
	margin-top: 10px;
}

.wsb-update-attachments-title {
	display: block;
	margin-bottom: 7px;
	color: #294b40;
	font-size: .74rem;
}

.wsb-update-attachments > ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wsb-update-attachments > ul > li {
	min-width: 0;
	padding: 0;
}

.wsb-update-attachments > ul > li > a {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 64px;
	padding: 7px;
	border: 1px solid var(--wsb-border);
	border-radius: 9px;
	color: #19332b;
	background: #fff;
	text-decoration: none;
}

.wsb-update-attachments > ul > li > a:hover,
.wsb-update-attachments > ul > li > a:focus-visible {
	border-color: var(--wsb-green);
	box-shadow: 0 0 0 2px rgba(15, 107, 82, .09);
}

.wsb-update-attachments img,
.wsb-attachment-type {
	flex: 0 0 50px;
	width: 50px;
	height: 50px;
	border-radius: 7px;
}

.wsb-update-attachments img {
	display: block;
	object-fit: cover;
}

.wsb-attachment-type {
	display: grid;
	place-items: center;
	color: #fff;
	background: var(--wsb-green);
	font-size: .68rem;
	font-weight: 850;
	letter-spacing: .03em;
}

.wsb-attachment-copy {
	display: block;
	min-width: 0;
}

.wsb-attachment-copy strong,
.wsb-attachment-copy small {
	display: block;
	overflow-wrap: anywhere;
}

.wsb-attachment-copy strong {
	font-size: .78rem;
	line-height: 1.35;
}

.wsb-attachment-copy small {
	margin-top: 3px;
	color: var(--wsb-muted);
	font-size: .68rem;
}

.wsb-staff-portal {
	max-width: 700px;
	margin: 80px auto;
	text-align: center;
}

@media (max-width: 900px) {
	.wsb-auth-layout,
	.wsb-batch-confirmation,
	.wsb-report-grid,
	.wsb-ticket-detail-grid,
	.wsb-profile-grid,
	.wsb-profile-delete-grid,
	.wsb-account-status-details {
		grid-template-columns: 1fr;
	}

	.wsb-auth-layout {
		min-height: 0;
	}

	.wsb-auth-intro {
		min-height: 290px;
		border-radius: 23px 23px 0 0;
	}

	.wsb-auth-card {
		width: auto;
	}

	.wsb-report-grid > *,
	.wsb-ticket-detail-grid > *,
	.wsb-profile-grid > * {
		min-width: 0;
	}

	.wsb-profile-delete-grid > * {
		min-width: 0;
	}

	.wsb-profile-email-card {
		position: static;
	}

	.wsb-member-appointment-row {
		grid-template-columns: 82px minmax(0, 1fr);
	}

	.wsb-member-appointment-actions {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
	.wsb-remedy-app {
		min-height: 100dvh;
		padding: 10px 10px max(26px, env(safe-area-inset-bottom));
		font-size: 15px;
	}

	.wsb-remedy-app h1 {
		font-size: clamp(1.7rem, 9vw, 2.25rem);
		letter-spacing: -.035em;
	}

	.wsb-remedy-app h2 {
		font-size: 1.18rem;
	}

	.wsb-portal-header {
		align-items: center;
		gap: 10px;
		margin-bottom: 16px;
		padding: 2px;
	}

	.wsb-brand {
		min-width: 0;
		gap: 9px;
	}

	.wsb-brand-logo {
		height: 42px;
	}

	.wsb-brand-mark {
		width: 38px;
		height: 38px;
		border-radius: 11px;
	}

	.wsb-brand-mark svg {
		width: 21px;
	}

	.wsb-brand strong {
		max-width: 180px;
		font-size: .87rem;
		line-height: 1.18;
		overflow-wrap: anywhere;
	}

	.wsb-brand small {
		display: none;
	}

	.wsb-account-chip {
		flex: 0 0 auto;
		padding: 5px;
		border-radius: 10px;
	}

	.wsb-account-chip span {
		display: none;
	}

	.wsb-account-chip a {
		min-height: 36px;
		padding: 8px 10px;
	}

	.wsb-auth-intro {
		min-height: 225px;
		padding: 28px 20px;
		border-radius: 18px 18px 0 0;
	}

	.wsb-auth-intro h1 {
		margin-bottom: 12px;
	}

	.wsb-auth-intro p {
		margin-bottom: 0;
		font-size: .94rem;
	}

	.wsb-auth-intro .wsb-check-list {
		display: none;
	}

	.wsb-auth-card {
		margin: 0;
		padding: 22px 16px;
	}

	.wsb-auth-layout {
		border-radius: 18px;
	}

	.wsb-auth-tabs {
		margin-bottom: 20px;
	}

	.wsb-form,
	.wsb-form-grid {
		gap: 14px;
	}

	.wsb-remedy-app input[type="text"],
	.wsb-remedy-app input[type="email"],
	.wsb-remedy-app input[type="tel"],
	.wsb-remedy-app input[type="password"],
	.wsb-remedy-app input[type="file"],
	.wsb-remedy-app input[type="datetime-local"],
	.wsb-remedy-app select,
	.wsb-remedy-app textarea {
		min-height: 46px;
		padding: 11px 12px;
		font-size: 16px;
	}

	.wsb-remedy-app textarea {
		min-height: 112px;
	}

	.wsb-button {
		min-height: 46px;
		padding: 11px 15px;
	}

	.wsb-form-grid,
	.wsb-priority-picker {
		grid-template-columns: 1fr;
	}

	.wsb-field-span-2 {
		grid-column: auto;
	}

	.wsb-location-box,
	.wsb-batch-navigation,
	.wsb-dashboard-heading,
	.wsb-add-issue-bar,
	.wsb-issue-entry-header,
	.wsb-submit-bar,
	.wsb-ticket-hero {
		align-items: stretch;
		flex-direction: column;
	}

	.wsb-location-box .wsb-button,
	.wsb-dashboard-heading .wsb-button,
	.wsb-add-issue-bar .wsb-button,
	.wsb-submit-bar .wsb-button,
	.wsb-appointment-actions .wsb-button {
		width: 100%;
	}

	.wsb-issue-entry-header {
		gap: 10px;
		padding: 12px;
	}

	.wsb-remove-issue {
		width: 100%;
	}

	.wsb-issues-list {
		gap: 24px;
	}

	.wsb-dashboard-heading {
		margin-bottom: 20px;
	}

	.wsb-batch-navigation {
		gap: 10px;
	}

	.wsb-batch-links {
		justify-content: flex-start;
	}

	.wsb-stat-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 7px;
	}

	.wsb-stat {
		display: grid;
		gap: 4px;
		padding: 12px;
		text-align: center;
	}

	.wsb-ticket-card {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
		padding: 15px;
	}

	.wsb-ticket-card-meta {
		width: 100%;
		justify-content: flex-end;
	}

	.wsb-new-message-summary {
		align-items: flex-start;
		flex-wrap: wrap;
		margin-top: 0;
	}

	.wsb-new-message-summary span {
		flex-basis: 100%;
		padding-left: 26px;
	}

	.wsb-panel {
		padding: 17px;
		border-radius: 13px;
	}

	.wsb-portal-nav {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
	}

	.wsb-portal-nav a {
		min-height: 42px;
		padding: 10px 8px;
		line-height: 1.2;
		text-align: center;
	}

	.wsb-priority-picker label > span {
		min-height: 52px;
	}

	.wsb-field-board {
		border-radius: 10px;
	}

	.wsb-submit-bar {
		position: sticky;
		z-index: 5;
		bottom: max(8px, env(safe-area-inset-bottom));
		padding: 12px;
	}

	.wsb-submit-bar p {
		display: none;
	}

	.wsb-submit-copy {
		width: 100%;
	}

	.wsb-submit-status {
		font-size: .76rem;
	}

	.wsb-ticket-hero {
		margin-bottom: 16px;
	}

	.wsb-ticket-hero > p {
		margin-bottom: 0;
	}

	.wsb-timeline-meta,
	.wsb-appointment-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.wsb-timeline-meta {
		display: flex;
		gap: 2px;
	}

	.wsb-appointment-details {
		grid-template-columns: 72px minmax(0, 1fr);
	}

	.wsb-appointment-metrics {
		grid-template-columns: 1fr;
		gap: 7px;
	}

	.wsb-appointment-metrics > div {
		justify-content: space-between;
		padding: 12px 14px;
	}

	.wsb-member-calendar-card {
		padding-right: 10px;
		padding-left: 10px;
	}

	.wsb-appointment-calendar {
		grid-template-columns: repeat(7, minmax(118px, 1fr));
		min-width: 826px;
	}

	.wsb-calendar-day {
		min-height: 128px;
	}

	.wsb-member-appointment-row {
		grid-template-columns: 1fr;
		align-items: stretch;
	}

	.wsb-member-appointment-row > time {
		display: flex;
		align-items: baseline;
		gap: 7px;
		text-align: left;
	}

	.wsb-member-appointment-actions {
		grid-column: auto;
		justify-content: stretch;
	}

	.wsb-member-appointment-actions .wsb-button {
		flex: 1 1 160px;
		text-align: center;
	}

	.wsb-evidence-photo {
		margin-top: 12px;
	}
}

@media (max-width: 420px) {
	.wsb-remedy-app {
		padding-right: 8px;
		padding-left: 8px;
	}

	.wsb-brand strong {
		max-width: 145px;
	}

	.wsb-stat-grid {
		grid-template-columns: 1fr;
	}

	.wsb-stat {
		display: flex;
		justify-content: space-between;
		text-align: left;
	}

	.wsb-ticket-card-meta {
		justify-content: space-between;
	}

	.wsb-auth-tabs a {
		padding: 9px 5px;
		font-size: .8rem;
	}

	.wsb-portal-nav a {
		padding-right: 5px;
		padding-left: 5px;
		font-size: .78rem;
	}

	.wsb-nav-label {
		gap: 3px;
	}

	.wsb-nav-label .wsb-message-icon {
		width: 14px;
		height: 14px;
	}

	.wsb-unread-count {
		min-width: 18px;
		height: 18px;
		padding: 0 4px;
	}

	.wsb-code-input {
		font-size: 1.35rem !important;
		letter-spacing: .2em;
	}

	.wsb-update-attachments > ul {
		grid-template-columns: 1fr;
	}
}

/* Compact phone layout. Keep controls touch-friendly while reducing chrome. */
@media (max-width: 640px) {
	.wsb-remedy-app {
		padding: 7px 8px max(18px, env(safe-area-inset-bottom));
		font-size: 14px;
		line-height: 1.42;
	}

	.wsb-remedy-app h1 {
		font-size: clamp(1.45rem, 6.4vw, 1.75rem);
		line-height: 1.12;
	}

	.wsb-remedy-app h2 {
		font-size: 1.05rem;
	}

	.wsb-remedy-app h3 {
		font-size: .95rem;
	}

	.wsb-remedy-app p {
		line-height: 1.42;
	}

	.wsb-eyebrow {
		margin-bottom: 5px;
		font-size: .64rem;
		letter-spacing: .1em;
	}

	.wsb-portal-header {
		gap: 7px;
		margin-bottom: 10px;
		padding: 0;
	}

	.wsb-brand {
		gap: 7px;
	}

	.wsb-brand-mark {
		width: 34px;
		height: 34px;
		border-radius: 9px;
	}

	.wsb-brand-mark svg {
		width: 19px;
	}

	.wsb-brand strong {
		max-width: 155px;
		font-size: .78rem;
		line-height: 1.14;
	}

	.wsb-account-chip {
		padding: 3px;
		border-radius: 8px;
	}

	.wsb-account-chip a {
		min-height: 32px;
		padding: 6px 8px;
		font-size: .72rem;
	}

	.wsb-auth-layout {
		border-radius: 14px;
	}

	.wsb-auth-intro {
		min-height: 0;
		padding: 18px 15px;
		border-radius: 13px 13px 0 0;
	}

	.wsb-auth-intro h1 {
		margin-bottom: 7px;
	}

	.wsb-auth-intro p {
		font-size: .8rem;
		line-height: 1.38;
	}

	.wsb-auth-card {
		padding: 15px 13px;
	}

	.wsb-auth-tabs {
		gap: 3px;
		margin-bottom: 14px;
		padding: 4px;
	}

	.wsb-auth-tabs a {
		padding: 7px 4px;
		font-size: .74rem;
	}

	.wsb-form-heading {
		margin-bottom: 14px;
	}

	.wsb-form-heading h2 {
		margin-bottom: 4px;
		font-size: 1.22rem;
	}

	.wsb-form-heading p,
	.wsb-section-heading p,
	.wsb-dashboard-heading p {
		font-size: .8rem;
	}

	.wsb-form,
	.wsb-form-grid {
		gap: 10px;
	}

	.wsb-form label > span,
	.wsb-ticket-form label > span {
		margin-bottom: 4px;
		font-size: .76rem;
	}

	.wsb-remedy-app input[type="text"],
	.wsb-remedy-app input[type="email"],
	.wsb-remedy-app input[type="tel"],
	.wsb-remedy-app input[type="password"],
	.wsb-remedy-app input[type="file"],
	.wsb-remedy-app input[type="datetime-local"],
	.wsb-remedy-app select,
	.wsb-remedy-app textarea {
		min-height: 44px;
		padding: 9px 10px;
		border-radius: 8px;
		font-size: 16px;
	}

	.wsb-remedy-app textarea {
		min-height: 88px;
	}

	.wsb-form small,
	.wsb-coordinate-text,
	.wsb-field-list-status {
		margin-top: 3px;
		font-size: .68rem;
		line-height: 1.35;
	}

	.wsb-form-row {
		gap: 8px;
	}

	.wsb-form-row-between {
		align-items: flex-start;
		flex-wrap: wrap;
	}

	.wsb-check {
		gap: 6px;
		font-size: .75rem;
	}

	.wsb-privacy-check {
		padding: 9px;
	}

	.wsb-button {
		min-height: 42px;
		padding: 9px 12px;
		border-radius: 8px;
		font-size: .8rem;
	}

	.wsb-alert {
		margin-bottom: 12px;
		padding: 9px 11px;
		border-radius: 9px;
		font-size: .78rem;
	}

	.wsb-portal-nav {
		display: flex;
		gap: 3px;
		width: 100%;
		margin-bottom: 15px;
		padding: 4px;
		overflow-x: auto;
		overflow-y: hidden;
		border-radius: 10px;
		scrollbar-width: none;
		overscroll-behavior-inline: contain;
		scroll-snap-type: x proximity;
		-webkit-overflow-scrolling: touch;
	}

	.wsb-portal-nav::-webkit-scrollbar {
		display: none;
	}

	.wsb-portal-nav a {
		flex: 1 0 88px;
		min-width: 88px;
		min-height: 38px;
		padding: 5px 3px;
		font-size: .69rem;
		line-height: 1.12;
		text-align: center;
		white-space: nowrap;
		scroll-snap-align: start;
	}

	.wsb-portal-nav .wsb-nav-message-link {
		min-width: 104px;
	}

	.wsb-portal-nav .wsb-nav-message-link,
	.wsb-nav-label {
		gap: 3px;
	}

	.wsb-portal-nav .wsb-message-icon {
		width: 13px;
		height: 13px;
	}

	.wsb-unread-count {
		min-width: 16px;
		height: 16px;
		padding: 0 3px;
		font-size: .58rem;
	}

	.wsb-dashboard-heading {
		gap: 10px;
		margin: 4px 0 15px;
	}

	.wsb-dashboard-heading h1 {
		margin-bottom: 5px;
	}

	.wsb-stat-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6px;
		margin-bottom: 18px;
	}

	.wsb-stat {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 6px;
		padding: 8px 10px;
		text-align: left;
	}

	.wsb-stat strong {
		font-size: 1.25rem;
	}

	.wsb-stat span {
		font-size: .7rem;
		line-height: 1.2;
		text-align: right;
	}

	.wsb-panel {
		padding: 13px;
		border-radius: 11px;
		box-shadow: 0 7px 20px rgba(26, 63, 51, .06);
	}

	.wsb-profile-grid,
	.wsb-profile-delete-grid,
	.wsb-report-grid,
	.wsb-ticket-detail-grid,
	.wsb-ticket-detail-grid > div {
		gap: 10px;
	}

	.wsb-profile-form {
		margin-top: 12px;
	}

	.wsb-account-status-panel,
	.wsb-account-delete-card {
		margin-top: 18px;
	}

	.wsb-account-delete-explainer {
		padding: 11px 12px;
	}

	.wsb-account-delete-form {
		grid-template-columns: 1fr;
	}

	.wsb-account-delete-form .wsb-button-danger {
		grid-column: auto;
	}

	.wsb-account-status-details {
		gap: 7px;
		margin-top: 14px;
	}

	.wsb-account-status-details div {
		padding: 9px;
	}

	.wsb-ticket-group {
		margin-top: 18px;
	}

	.wsb-ticket-group > h2 {
		margin-bottom: 8px;
	}

	.wsb-ticket-list {
		gap: 7px;
	}

	.wsb-ticket-card {
		align-items: stretch;
		gap: 8px;
		padding: 11px 12px;
		border-radius: 10px;
	}

	.wsb-ticket-card h3 {
		margin: 2px 0 3px;
		font-size: .92rem;
	}

	.wsb-ticket-card p {
		display: -webkit-box;
		overflow: hidden;
		font-size: .74rem;
		line-height: 1.35;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	.wsb-tracking,
	.wsb-batch-position {
		font-size: .64rem;
	}

	.wsb-ticket-card-meta {
		justify-content: flex-start;
		gap: 6px;
	}

	.wsb-message-indicator,
	.wsb-badge {
		padding: 4px 7px;
		font-size: .62rem;
	}

	.wsb-empty-state {
		padding: 13px;
		border-radius: 10px;
		font-size: .78rem;
	}

	.wsb-batch-confirmation {
		gap: 11px;
		margin-bottom: 14px;
		padding: 12px;
	}

	.wsb-batch-confirmation a {
		gap: 7px;
		padding: 8px 9px;
	}

	.wsb-batch-navigation {
		gap: 8px;
		margin: -3px 0 13px;
		padding: 9px 10px;
	}

	.wsb-batch-links a {
		min-height: 32px;
		padding: 6px 8px;
		font-size: .68rem;
	}

	.wsb-issues-list {
		gap: 16px;
	}

	.wsb-issue-entry-header {
		align-items: center;
		flex-direction: row;
		gap: 8px;
		margin-bottom: 8px;
		padding: 8px 10px;
	}

	.wsb-issue-entry-header p {
		display: none;
	}

	.wsb-issue-number {
		font-size: .7rem;
	}

	.wsb-issue-number strong {
		width: 21px;
		height: 21px;
		font-size: .67rem;
	}

	.wsb-remove-issue {
		width: auto;
		min-height: 34px;
		padding: 6px 9px;
		font-size: .69rem;
	}

	.wsb-add-issue-bar {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 8px;
		margin-top: 12px;
		padding: 10px 11px;
	}

	.wsb-add-issue-bar strong {
		font-size: .78rem;
	}

	.wsb-add-issue-bar span {
		font-size: .66rem;
		line-height: 1.25;
	}

	.wsb-add-issue-bar .wsb-button {
		width: auto;
		white-space: nowrap;
	}

	.wsb-section-heading {
		margin-bottom: 12px;
	}

	.wsb-section-heading > div {
		gap: 7px;
	}

	.wsb-section-heading p {
		margin: 5px 0 0 30px;
	}

	.wsb-step {
		width: 23px;
		height: 23px;
		font-size: .66rem;
	}

	.wsb-priority-picker {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6px;
		margin: 11px 0;
	}

	.wsb-priority-picker legend {
		margin-bottom: 5px;
		font-size: .74rem;
	}

	.wsb-priority-picker label > span {
		min-height: 46px;
		padding: 8px 7px 8px 27px;
		border-radius: 8px;
		font-size: .66rem;
	}

	.wsb-priority-picker label > span::before {
		top: 15px;
		left: 10px;
		width: 10px;
		height: 10px;
	}

	.wsb-priority-picker strong {
		font-size: .76rem;
	}

	.wsb-marker-help,
	.wsb-marker-clear,
	.wsb-field-level-note {
		font-size: .68rem;
	}

	.wsb-field-level-note {
		padding: 7px 8px;
	}

	.wsb-photo-preview {
		max-height: 160px;
	}

	.wsb-photo-preview img {
		height: 160px;
	}

	.wsb-report-evidence {
		gap: 7px;
	}

	.wsb-report-evidence-actions {
		gap: 6px;
	}

	.wsb-report-evidence-picker {
		gap: 4px;
		padding: 8px;
		border-radius: 8px;
	}

	.wsb-report-evidence-picker > strong {
		font-size: .74rem;
	}

	.wsb-report-evidence-picker > span,
	.wsb-report-evidence > small {
		font-size: .65rem;
	}

	.wsb-report-evidence-picker input[type="file"] {
		padding: 7px;
	}

	.wsb-report-evidence-preview {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6px;
	}

	.wsb-report-evidence-item {
		grid-template-rows: 68px auto;
	}

	.wsb-report-evidence-item img,
	.wsb-report-evidence-type {
		height: 68px;
	}

	.wsb-location-box {
		align-items: center;
		flex-direction: row;
		gap: 8px;
		padding: 10px;
		border-radius: 9px;
	}

	.wsb-location-box strong {
		font-size: .75rem;
	}

	.wsb-location-box p {
		font-size: .68rem;
		line-height: 1.3;
	}

	.wsb-location-box .wsb-button {
		width: auto;
		flex: 0 0 auto;
	}

	.wsb-submit-bar {
		align-items: center;
		flex-direction: row;
		gap: 8px;
		margin-top: 11px;
		padding: 8px;
		border-radius: 10px;
	}

	.wsb-submit-bar .wsb-button {
		width: auto;
		min-width: 118px;
		margin-left: auto;
	}

	.wsb-submit-status {
		font-size: .67rem;
		line-height: 1.25;
	}

	.wsb-ticket-hero {
		gap: 7px;
		margin: 2px 0 12px;
	}

	.wsb-ticket-hero h1 {
		margin: 3px 0 7px;
	}

	.wsb-ticket-hero > p,
	.wsb-back-link {
		font-size: .7rem;
	}

	.wsb-back-link {
		margin-bottom: 9px;
	}

	.wsb-ticket-badges {
		gap: 5px;
	}

	.wsb-new-message-summary {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		align-items: center;
		gap: 2px 7px;
		margin: 0 0 11px;
		padding: 8px 10px;
	}

	.wsb-new-message-summary span {
		grid-column: 2;
		padding-left: 0;
		font-size: .7rem;
	}

	.wsb-history-intro {
		margin-bottom: 13px;
		font-size: .74rem;
	}

	.wsb-timeline > li {
		grid-template-columns: 13px minmax(0, 1fr);
		gap: 9px;
		padding-bottom: 16px;
	}

	.wsb-timeline::before {
		left: 6px;
	}

	.wsb-timeline-dot {
		width: 13px;
		height: 13px;
		border-width: 3px;
	}

	.wsb-timeline > li.is-new-message > div {
		margin: -7px 0 3px -5px;
		padding: 8px 9px;
	}

	.wsb-timeline-meta {
		gap: 1px;
	}

	.wsb-timeline-meta span,
	.wsb-update-type {
		font-size: .64rem;
	}

	.wsb-message-from strong {
		padding: 4px 6px;
		font-size: .64rem;
	}

	.wsb-timeline-subject {
		font-size: .73rem;
	}

	.wsb-timeline-message {
		padding: 8px 9px;
		border-left-width: 3px;
		font-size: .78rem;
		line-height: 1.42;
	}

	.wsb-reply-form {
		margin-top: 16px;
		padding-top: 13px;
	}

	.wsb-update-upload input[type="file"] {
		padding: 8px;
	}

	.wsb-update-attachments > ul > li > a {
		gap: 8px;
		min-height: 54px;
		padding: 5px;
	}

	.wsb-update-attachments img,
	.wsb-attachment-type {
		flex-basis: 42px;
		width: 42px;
		height: 42px;
	}

	.wsb-attachment-copy strong {
		font-size: .71rem;
	}

	.wsb-attachment-copy small {
		font-size: .62rem;
	}

	.wsb-appointment-heading {
		align-items: flex-start;
		flex-direction: row;
		gap: 8px;
		margin-bottom: 12px;
	}

	.wsb-appointment-state {
		padding: 4px 7px;
		font-size: .61rem;
		line-height: 1.2;
	}

	.wsb-appointment-details {
		grid-template-columns: 66px minmax(0, 1fr);
		gap: 5px 8px;
	}

	.wsb-appointment-details dt {
		font-size: .68rem;
	}

	.wsb-appointment-details dd {
		font-size: .76rem;
	}

	.wsb-appointment-note {
		margin-top: 11px;
		padding: 8px;
		font-size: .74rem;
	}

	.wsb-appointment-actions {
		gap: 7px;
		margin-top: 13px;
		padding-top: 12px;
	}

	.wsb-appointment-option summary,
	.wsb-appointment-option .wsb-form {
		padding: 9px 10px;
	}

	.wsb-appointment-metrics {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 6px;
		margin-bottom: 13px;
	}

	.wsb-appointment-metrics > div {
		display: grid;
		justify-content: center;
		gap: 3px;
		padding: 8px 5px;
		text-align: center;
	}

	.wsb-appointment-metrics strong {
		font-size: 1.18rem;
	}

	.wsb-appointment-metrics span {
		font-size: .64rem;
		line-height: 1.15;
	}

	.wsb-member-calendar-card {
		padding-right: 8px;
		padding-left: 8px;
	}

	.wsb-appointment-calendar-heading {
		gap: 8px;
		margin-bottom: 10px;
	}

	.wsb-appointment-calendar-heading .wsb-button {
		min-width: 36px;
		min-height: 36px;
		padding: 6px 9px;
	}

	.wsb-appointment-calendar {
		grid-template-columns: repeat(7, minmax(90px, 1fr));
		min-width: 630px;
	}

	.wsb-calendar-weekday {
		padding: 6px 5px;
		font-size: .62rem;
	}

	.wsb-calendar-day {
		min-height: 96px;
		padding: 5px;
	}

	.wsb-calendar-day-number {
		width: 21px;
		height: 21px;
		font-size: .68rem;
	}

	.wsb-calendar-event > a:first-child {
		padding: 5px 6px;
	}

	.wsb-member-appointment-list-section {
		margin-top: 13px;
	}

	.wsb-member-appointment-group + .wsb-member-appointment-group {
		margin-top: 18px;
		padding-top: 14px;
	}

	.wsb-member-appointment-group h3 {
		margin: 12px 0 8px;
	}

	.wsb-member-appointment-row {
		gap: 7px;
		padding: 9px 10px;
		border-radius: 9px;
	}

	.wsb-member-appointment-main > small,
	.wsb-member-appointment-main > p,
	.wsb-member-appointment-row > time span {
		font-size: .68rem;
	}

	.wsb-member-appointment-actions {
		gap: 6px;
	}

	.wsb-member-appointment-actions .wsb-button {
		flex: 1 1 120px;
		padding: 7px 9px;
		font-size: .68rem;
	}

	.wsb-code-input {
		font-size: 1.15rem !important;
		letter-spacing: .16em;
	}
}

@media (max-width: 480px) {
	.wsb-report-evidence-actions {
		grid-template-columns: 1fr;
	}

	.wsb-report-evidence-picker > span {
		min-height: 0;
	}
}

/* Purpose-built narrow-phone layout: readable at 320-430px without page overflow. */
@media (max-width: 430px) {
	.wsb-remedy-app {
		width: 100%;
		max-width: 100%;
		padding: 6px 6px max(16px, env(safe-area-inset-bottom));
		overflow-x: hidden;
		overflow-x: clip;
	}

	.wsb-remedy-app > *,
	.wsb-remedy-app form,
	.wsb-remedy-app fieldset,
	.wsb-panel,
	.wsb-auth-layout,
	.wsb-ticket-card,
	.wsb-ticket-detail-grid,
	.wsb-ticket-detail-grid > *,
	.wsb-report-grid,
	.wsb-report-grid > *,
	.wsb-profile-grid,
	.wsb-profile-grid > *,
	.wsb-profile-delete-grid,
	.wsb-profile-delete-grid > * {
		min-width: 0;
		max-width: 100%;
	}

	.wsb-portal-header {
		align-items: center;
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 6px;
	}

	.wsb-brand {
		flex: 1 1 auto;
		min-width: 0;
	}

	.wsb-brand > span:last-child {
		min-width: 0;
	}

	.wsb-brand strong {
		max-width: none;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.wsb-account-chip {
		max-width: 92px;
	}

	.wsb-account-chip a {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.wsb-portal-nav {
		margin-bottom: 12px;
	}

	.wsb-portal-nav a {
		flex-basis: 84px;
		min-width: 84px;
		min-height: 42px;
	}

	.wsb-portal-nav .wsb-nav-message-link {
		min-width: 98px;
	}

	.wsb-dashboard-heading,
	.wsb-ticket-hero {
		align-items: stretch;
		flex-direction: column;
	}

	.wsb-dashboard-heading .wsb-button,
	.wsb-ticket-hero .wsb-button {
		width: 100%;
	}

	.wsb-stat-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wsb-stat {
		align-items: flex-start;
		flex-direction: column;
		justify-content: center;
		min-height: 64px;
		text-align: left;
	}

	.wsb-stat span {
		text-align: left;
	}

	.wsb-panel,
	.wsb-auth-card,
	.wsb-member-calendar-card {
		padding: 10px;
	}

	.wsb-ticket-card {
		align-items: stretch;
		flex-direction: column;
	}

	.wsb-ticket-card > div,
	.wsb-ticket-card h3,
	.wsb-ticket-card p,
	.wsb-tracking {
		min-width: 0;
		overflow-wrap: anywhere;
	}

	.wsb-ticket-card-meta {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		justify-content: flex-start;
		width: 100%;
	}

	.wsb-ticket-card-meta > * {
		max-width: 100%;
		white-space: normal;
	}

	.wsb-ticket-card-meta .wsb-message-indicator {
		flex: 1 0 100%;
		justify-content: center;
	}

	.wsb-ticket-card-meta .wsb-correction-pending-indicator {
		flex: 1 0 100%;
		justify-content: center;
	}

	.wsb-ticket-card-meta > span:last-child {
		margin-left: auto;
	}

	.wsb-issue-entry-header {
		align-items: center;
		flex-direction: row;
	}

	.wsb-add-issue-bar,
	.wsb-location-box,
	.wsb-submit-bar {
		align-items: stretch;
		grid-template-columns: 1fr;
		flex-direction: column;
	}

	.wsb-add-issue-bar .wsb-button,
	.wsb-location-box .wsb-button,
	.wsb-submit-bar .wsb-button {
		width: 100%;
		min-width: 0;
		margin-left: 0;
	}

	.wsb-submit-copy {
		width: 100%;
	}

	.wsb-report-evidence-preview {
		grid-template-columns: 1fr;
	}

	.wsb-report-evidence-item {
		grid-template-columns: 74px minmax(0, 1fr);
		grid-template-rows: auto;
	}

	.wsb-report-evidence-item img,
	.wsb-report-evidence-type {
		height: 74px;
	}

	.wsb-report-evidence-name {
		align-self: center;
		padding-right: 72px;
	}

	.wsb-report-evidence-remove {
		top: 50%;
		transform: translateY(-50%);
	}

	.wsb-timeline > li,
	.wsb-new-message-summary {
		min-width: 0;
	}

	.wsb-timeline-meta {
		align-items: flex-start;
		flex-direction: column;
	}

	.wsb-timeline-message,
	.wsb-timeline-subject,
	.wsb-update-attachments > ul > li > a {
		overflow-wrap: anywhere;
	}

	.wsb-update-attachments > ul {
		grid-template-columns: minmax(0, 1fr);
	}

	.wsb-reply-form .wsb-button,
	.wsb-appointment-actions .wsb-button,
	.wsb-appointment-download .wsb-button {
		width: 100%;
	}

	.wsb-appointment-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.wsb-appointment-details {
		grid-template-columns: minmax(0, 1fr);
		gap: 2px;
	}

	.wsb-appointment-details dt:not(:first-child) {
		margin-top: 8px;
	}

	.wsb-appointment-metrics {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wsb-member-calendar-card {
		background: #f7fbf9;
	}

	.wsb-appointment-calendar-heading,
	.wsb-appointment-calendar-scroll {
		display: none;
	}

	.wsb-mobile-agenda-note {
		display: block;
		margin: 0;
		padding: 9px 10px;
		border: 1px solid var(--wsb-border);
		border-radius: 9px;
		color: var(--wsb-muted);
		background: #fff;
		font-size: .72rem;
		line-height: 1.4;
	}

	.wsb-member-appointment-row {
		grid-template-columns: minmax(0, 1fr);
	}

	.wsb-member-appointment-row > time {
		display: flex;
		align-items: baseline;
		gap: 6px;
		text-align: left;
	}

	.wsb-member-appointment-actions,
	.wsb-member-appointment-actions .wsb-button {
		width: 100%;
	}
}

@media (max-width: 360px) {
	.wsb-brand-logo {
		width: 112px;
		height: 38px;
	}

	.wsb-brand strong {
		max-width: none;
	}

	.wsb-brand-mark {
		width: 31px;
		height: 31px;
	}

	.wsb-account-chip {
		max-width: 78px;
	}

	.wsb-portal-nav a {
		font-size: .64rem;
	}

	.wsb-location-box,
	.wsb-add-issue-bar {
		align-items: stretch;
		grid-template-columns: 1fr;
		flex-direction: column;
	}

	.wsb-location-box .wsb-button,
	.wsb-add-issue-bar .wsb-button {
		width: 100%;
	}
}

/* Organization-isolated portal identity and neutral root sign-in gateway. */
.wsb-instance-name {
	display: inline-flex;
	min-width: 0;
	max-width: min(260px, 28vw);
	padding: 6px 10px;
	border: 1px solid var(--wsb-border);
	border-radius: 999px;
	color: var(--wsb-green);
	background: #f2faf6;
	font-size: .72rem;
	font-weight: 800;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.wsb-central-login-layout {
	display: block;
	width: min(100%, 560px);
	min-height: 0;
	margin: clamp(24px, 7vh, 72px) auto 0;
	overflow: visible;
}

.wsb-central-login-card {
	margin: 0;
	padding: clamp(24px, 5vw, 42px);
}

.wsb-central-registration-reminder,
.wsb-auth-instance-required {
	margin-top: 24px;
	padding: 16px;
	border-left: 4px solid var(--wsb-green);
	border-radius: 10px;
	color: var(--wsb-muted);
	background: #f2f8f5;
}

.wsb-central-registration-reminder p,
.wsb-auth-instance-required p {
	margin: 5px 0 0;
}

@media (max-width: 640px) {
	.wsb-instance-name {
		max-width: 42vw;
		padding: 5px 8px;
		font-size: .66rem;
	}

	.wsb-central-login-layout {
		margin-top: 14px;
	}

	.wsb-central-login-card {
		padding: 20px;
	}
}

/* Audited member report corrections. */
.wsb-ticket-edit-card {
	padding: 0;
	overflow: visible;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.wsb-ticket-edit-panel,
.wsb-ticket-edit-panel *,
.wsb-ticket-edit-panel *::before,
.wsb-ticket-edit-panel *::after {
	box-sizing: border-box;
}

.wsb-ticket-edit-panel,
.wsb-ticket-edit-body,
.wsb-ticket-edit-form,
.wsb-ticket-edit-form .wsb-form-grid,
.wsb-ticket-edit-form .wsb-form-grid > label {
	width: 100%;
	min-width: 0;
	max-width: 100%;
}

.wsb-ticket-edit-form input[type="text"],
.wsb-ticket-edit-form select,
.wsb-ticket-edit-form textarea {
	display: block;
	width: 100%;
	min-width: 0;
	max-width: 100%;
}

.wsb-ticket-edit-form .wsb-field-span-2 {
	grid-column: 1 / -1;
}

.wsb-ticket-edit-panel > summary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: fit-content;
	max-width: 100%;
	min-height: 42px;
	padding: 7px 11px 7px 8px;
	border: 1px solid #a9d3c3;
	border-radius: 999px;
	color: #075f49;
	background: #edf8f3;
	box-shadow: 0 3px 10px rgba(7, 95, 73, .08);
	cursor: pointer;
	list-style: none;
	-webkit-tap-highlight-color: transparent;
}

.wsb-ticket-edit-panel > summary::-webkit-details-marker {
	display: none;
}

.wsb-ticket-edit-panel > summary:hover,
.wsb-ticket-edit-panel > summary:focus-visible {
	border-color: var(--wsb-green);
	background: #dff3eb;
	box-shadow: 0 0 0 3px rgba(7, 95, 73, .12);
	outline: 0;
}

.wsb-ticket-edit-trigger-icon {
	display: inline-grid;
	place-items: center;
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	color: #fff;
	background: var(--wsb-green);
	font-size: .88rem;
	font-weight: 900;
	line-height: 1;
}

.wsb-ticket-edit-trigger-copy {
	display: inline-grid;
	gap: 2px;
	min-width: 0;
}

.wsb-ticket-edit-panel > summary strong {
	color: #064e3b;
	font-size: .78rem;
	line-height: 1.15;
}

.wsb-ticket-edit-panel > summary small {
	color: #527169;
	font-size: .62rem;
	font-weight: 600;
	line-height: 1.15;
}

.wsb-ticket-edit-trigger-chevron {
	flex: 0 0 7px;
	width: 7px;
	height: 7px;
	margin: 0 2px 3px 1px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform .18s ease;
}

.wsb-ticket-edit-panel[open] > summary .wsb-ticket-edit-trigger-chevron {
	margin-bottom: -3px;
	transform: rotate(225deg);
}

.wsb-ticket-edit-body {
	margin-top: 12px;
	padding: 0 18px 20px;
	border: 1px solid var(--wsb-border);
	border-radius: 13px;
	background: var(--wsb-surface, #fff);
	box-shadow: 0 8px 22px rgba(10, 47, 38, .06);
}

.wsb-ticket-edit-body > p {
	margin: 15px 0 0;
	color: var(--wsb-muted);
	font-size: .8rem;
	line-height: 1.5;
}

.wsb-ticket-edit-body .wsb-ticket-edit-boundary {
	margin-top: 8px;
	padding: 10px 12px;
	border-radius: 9px;
	color: #4f625c;
	background: #f4f7f6;
}

.wsb-ticket-edit-form {
	margin-top: 17px;
}

.wsb-ticket-edit-form .wsb-field-board {
	max-width: 760px;
}

.wsb-ticket-edit-locked {
	border-style: dashed;
}

.wsb-timeline > li.is-type-member_report_edit > div,
.wsb-timeline > li.is-type-member_report_edit_requested > div,
.wsb-timeline > li.is-type-member_report_edit_approved > div,
.wsb-timeline > li.is-type-member_report_edit_rejected > div,
.wsb-timeline > li.is-type-member_report_edit_note > div {
	padding: 11px 12px;
	border: 1px solid #b7d8ca;
	border-radius: 11px;
	background: #f5fbf8;
}

.wsb-timeline > li.is-type-member_report_edit .wsb-update-type,
.wsb-timeline > li.is-type-member_report_edit_requested .wsb-update-type,
.wsb-timeline > li.is-type-member_report_edit_approved .wsb-update-type,
.wsb-timeline > li.is-type-member_report_edit_rejected .wsb-update-type,
.wsb-timeline > li.is-type-member_report_edit_note .wsb-update-type {
	color: #075f49;
}

.wsb-ticket-edit-pending {
	border-color: #e2c561;
	background: #fffcf1;
}

.wsb-correction-state-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.wsb-correction-state-heading > div {
	display: grid;
	gap: 7px;
	min-width: 0;
}

.wsb-correction-state-heading h2,
.wsb-correction-change-list h3 {
	margin: 0;
}

.wsb-correction-state-heading time {
	color: var(--wsb-muted);
	font-size: .75rem;
	white-space: nowrap;
}

.wsb-correction-state-badge {
	width: fit-content;
	padding: 5px 9px;
	border-radius: 999px;
	color: #735a00;
	background: #fff0ad;
	font-size: .7rem;
	font-weight: 800;
	letter-spacing: .025em;
	text-transform: uppercase;
}

.wsb-correction-reason,
.wsb-correction-review-note,
.wsb-correction-appointment-warning {
	margin-top: 13px;
	padding: 12px;
	border-radius: 10px;
	background: #fff;
}

.wsb-correction-reason p,
.wsb-correction-review-note p,
.wsb-correction-change-list p {
	margin: 5px 0 0;
	overflow-wrap: anywhere;
}

.wsb-correction-review-note {
	border-left: 4px solid var(--wsb-green);
	background: #f2faf7;
}

.wsb-correction-appointment-warning {
	color: #6b5310;
	background: #fff3c9;
}

.wsb-correction-change-list {
	display: grid;
	gap: 10px;
	margin-top: 16px;
}

.wsb-correction-change-list article {
	display: grid;
	gap: 8px;
	min-width: 0;
	padding: 12px;
	border: 1px solid var(--wsb-border);
	border-radius: 10px;
	background: #fff;
}

.wsb-correction-change-list article > div {
	display: grid;
	grid-template-columns: 78px minmax(0, 1fr);
	gap: 9px;
	min-width: 0;
	padding: 8px 10px;
	border-radius: 8px;
	background: #f5f7f6;
}

.wsb-correction-change-list article > div.is-proposed {
	background: #edf8f3;
}

.wsb-correction-change-list article > div > span {
	color: var(--wsb-muted);
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}

@media (max-width: 600px) {
	.wsb-ticket-edit-panel > summary {
		min-height: 44px;
		padding: 7px 10px 7px 8px;
	}

	.wsb-ticket-edit-panel > summary strong {
		font-size: .76rem;
	}

	.wsb-ticket-edit-panel > summary small {
		display: none;
	}

	.wsb-ticket-edit-body {
		margin-top: 9px;
		padding: 0 12px 14px;
	}

	.wsb-ticket-edit-body > p {
		font-size: .73rem;
	}

	.wsb-ticket-edit-form .wsb-form-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.wsb-ticket-edit-form .wsb-location-box {
		align-items: stretch;
		flex-direction: column;
	}

	.wsb-ticket-edit-form .wsb-location-box .wsb-button,
	.wsb-ticket-edit-form > .wsb-button {
		width: 100%;
	}

	.wsb-correction-state-heading {
		align-items: stretch;
		flex-direction: column;
	}

	.wsb-correction-state-heading time {
		white-space: normal;
	}

	.wsb-correction-change-list article > div {
		grid-template-columns: minmax(0, 1fr);
		gap: 2px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wsb-remedy-app *,
	.wsb-remedy-app *::before,
	.wsb-remedy-app *::after {
		scroll-behavior: auto !important;
		transition: none !important;
	}

	.wsb-submit-status:not(:empty)::before {
		animation: none;
	}
}

/* Final mobile integrity layer: content may wrap, but layout columns never collapse. */
@media (max-width: 640px) {
	.wsb-remedy-app {
		font-size: 15px;
		line-height: 1.5;
	}

	.wsb-portal-nav {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		scrollbar-width: thin;
		-webkit-overflow-scrolling: touch;
	}

	.wsb-portal-nav a,
	.wsb-portal-nav .wsb-nav-message-link {
		flex: 0 0 auto;
		min-width: 96px;
		white-space: nowrap;
	}

	.wsb-timeline > li > div,
	.wsb-update-attachments,
	.wsb-update-attachments > ul,
	.wsb-update-attachments > ul > li,
	.wsb-update-attachments > ul > li > a,
	.wsb-attachment-copy {
		width: 100%;
		min-width: 0;
		max-width: 100%;
	}

	.wsb-update-attachments > ul {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
	}

	.wsb-update-attachments > ul > li {
		display: block;
		padding: 0;
	}

	.wsb-update-attachments > ul > li > a {
		display: grid;
		grid-template-columns: 42px minmax(0, 1fr);
		align-items: center;
		gap: 9px;
		min-height: 56px;
	}

	.wsb-update-attachments img,
	.wsb-attachment-type {
		grid-column: 1;
		width: 42px;
		max-width: 42px;
		height: 42px;
	}

	.wsb-attachment-copy {
		grid-column: 2;
	}

	.wsb-attachment-copy strong,
	.wsb-attachment-copy small,
	.wsb-timeline-meta strong,
	.wsb-timeline-meta span,
	.wsb-timeline-subject,
	.wsb-timeline-message {
		max-width: 100%;
		white-space: normal;
		word-break: normal;
		overflow-wrap: anywhere;
	}
}

@media (max-width: 430px) {
	.wsb-panel,
	.wsb-auth-card,
	.wsb-member-calendar-card {
		padding: 12px;
	}

	.wsb-timeline > li {
		grid-template-columns: 12px minmax(0, 1fr);
		gap: 8px;
	}

	.wsb-ticket-badges,
	.wsb-ticket-badges > * {
		max-width: 100%;
	}
}

/* Profile stays beside sign-out and the three primary member destinations fit
 * without horizontal tab scrolling on a phone. This is intentionally the last
 * mobile layer so earlier compatibility rules cannot reintroduce overflow. */
@media (max-width: 640px) {
	.wsb-portal-header {
		gap: 7px;
	}

	.wsb-account-chip {
		flex: 0 0 auto;
		width: auto;
		max-width: none;
		padding: 3px;
		border-radius: 10px;
	}

	.wsb-account-chip .wsb-account-name {
		display: none;
	}

	.wsb-account-actions {
		display: flex;
		gap: 3px;
		min-width: 0;
	}

	.wsb-account-chip a,
	.wsb-account-chip .wsb-profile-shortcut,
	.wsb-account-chip .wsb-sign-out-link {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 0;
		min-height: 38px;
		padding: 7px 9px;
		font-size: .72rem;
		line-height: 1.15;
		overflow: visible;
		text-overflow: clip;
		white-space: nowrap;
	}

	.wsb-portal-nav {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 3px;
		width: 100%;
		max-width: 100%;
		overflow: visible;
	}

	.wsb-portal-nav a,
	.wsb-portal-nav .wsb-nav-message-link {
		position: relative;
		flex: none;
		width: auto;
		min-width: 0;
		min-height: 44px;
		padding: 7px 5px;
		font-size: .7rem;
		line-height: 1.15;
		text-align: center;
		white-space: nowrap;
	}

	.wsb-portal-nav .wsb-nav-message-link {
		padding-right: 16px;
	}

	.wsb-portal-nav .wsb-unread-count {
		position: absolute;
		top: 2px;
		right: 2px;
		min-width: 17px;
		height: 17px;
		padding: 0 4px;
		font-size: .58rem;
	}

	.wsb-portal-nav .wsb-nav-label {
		gap: 3px;
		min-width: 0;
	}
}

@media (max-width: 360px) {
	.wsb-account-chip a,
	.wsb-account-chip .wsb-profile-shortcut,
	.wsb-account-chip .wsb-sign-out-link {
		padding-right: 7px;
		padding-left: 7px;
		font-size: .68rem;
	}

	.wsb-portal-nav a,
	.wsb-portal-nav .wsb-nav-message-link {
		font-size: .66rem;
	}
}

/* Member ticket list: expose the operational snapshot without opening a case. */
.wsb-ticket-card {
	display: grid;
	grid-template-areas:
		"summary actions"
		"details details";
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: start;
	gap: 14px 24px;
}

.wsb-ticket-card-summary,
.wsb-ticket-card-details,
.wsb-ticket-card-meta {
	min-width: 0;
}

.wsb-ticket-card-summary {
	grid-area: summary;
}

.wsb-ticket-card-details {
	display: grid !important;
	grid-area: details;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	align-items: start;
	gap: 14px;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 13px 0 0 !important;
	border-top: 1px solid var(--wsb-border);
}

.wsb-ticket-card.is-club-ticket .wsb-ticket-card-details {
	grid-template-columns: repeat(7, minmax(0, 1fr));
}

.wsb-ticket-card-reporter small {
	display: block;
	margin-top: 2px;
	color: var(--wsb-muted);
	font-size: .7rem;
	font-weight: 600;
}

.wsb-managed-club-list {
	margin-top: 10px !important;
	font-size: .82rem;
}

.wsb-manager-ticket-access {
	display: inline-flex;
	align-items: center;
	margin-left: 8px;
	padding: 3px 7px;
	border-radius: 999px;
	font-size: .62rem;
	font-weight: 800;
	line-height: 1.2;
}

.wsb-manager-ticket-access.is-owner {
	color: #075a43;
	background: #e3f5ed;
}

.wsb-manager-ticket-access.is-readonly {
	color: #5a625f;
	background: #edf1ef;
}

.wsb-manager-readonly-banner {
	margin: 0 0 18px;
	border-color: #b7d8ca;
	background: #f2faf6;
}

.wsb-manager-readonly-banner h2 {
	margin: 4px 0 7px;
}

.wsb-ticket-card-details > div {
	position: static !important;
	display: block !important;
	float: none !important;
	width: auto !important;
	min-width: 0 !important;
	max-width: 100% !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: left !important;
}

.wsb-ticket-card-details dt {
	position: static !important;
	display: block !important;
	float: none !important;
	clear: none !important;
	width: auto !important;
	max-width: 100% !important;
	margin: 0 0 5px !important;
	padding: 0 !important;
	color: var(--wsb-muted);
	font-size: .62rem;
	font-weight: 850;
	line-height: 1.15;
	letter-spacing: .05em;
	text-align: left !important;
	text-transform: uppercase;
	white-space: nowrap;
}

.wsb-ticket-card-details dd {
	position: static !important;
	display: block !important;
	float: none !important;
	clear: none !important;
	width: auto !important;
	min-width: 0 !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	color: var(--wsb-ink);
	font-size: .78rem;
	font-weight: 700;
	line-height: 1.35;
	text-align: left !important;
	word-break: normal !important;
	overflow-wrap: break-word !important;
	hyphens: none !important;
}

.wsb-ticket-card-details time {
	display: grid !important;
	gap: 1px;
	width: 100%;
}

.wsb-ticket-card-details .wsb-badge {
	max-width: 100%;
	gap: 5px;
	line-height: 1.2;
	white-space: normal;
}

.wsb-ticket-card-details .wsb-priority-dot {
	flex: 0 0 8px;
	width: 8px;
	height: 8px;
}

.wsb-ticket-card-meta {
	display: flex;
	grid-area: actions;
	align-items: center;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 7px;
	max-width: 360px;
}

.wsb-ticket-card-open {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--wsb-green);
	font-size: .7rem;
	font-weight: 800;
	white-space: nowrap;
}

@media (max-width: 900px) {
	.wsb-ticket-card-details {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.wsb-ticket-card.is-club-ticket .wsb-ticket-card-details {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.wsb-ticket-card-assigned,
	.wsb-ticket-card-reporter,
	.wsb-ticket-card-field,
	.wsb-ticket-card-updated,
	.wsb-ticket-card-supported-item,
	.wsb-ticket-card-priority,
	.wsb-ticket-card-status {
		grid-column: span 2;
	}

	.wsb-ticket-card-meta {
		align-self: start;
	}
}

@media (max-width: 640px) {
	.wsb-manager-ticket-access {
		display: flex;
		width: max-content;
		max-width: 100%;
		margin: 5px 0 0;
	}

	.wsb-ticket-card {
		grid-template-areas:
			"summary"
			"details"
			"actions";
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}

	.wsb-ticket-card-details {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 9px 12px;
		padding-top: 10px !important;
	}

	.wsb-ticket-card.is-club-ticket .wsb-ticket-card-details {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wsb-ticket-card-assigned,
	.wsb-ticket-card-field,
	.wsb-ticket-card-priority,
	.wsb-ticket-card-status {
		grid-column: auto;
	}

	.wsb-ticket-card-updated,
	.wsb-ticket-card-supported-item,
	.wsb-ticket-card-reporter {
		grid-column: 1 / -1;
	}

	.wsb-ticket-card-details time {
		display: flex !important;
		flex-wrap: wrap;
		gap: 4px;
	}

	.wsb-ticket-card-details time span + span::before {
		content: "· ";
	}

	.wsb-ticket-card-meta {
		width: 100%;
		max-width: none;
	}

	.wsb-ticket-card-open {
		min-height: 32px;
		margin-left: auto;
		padding: 5px 8px;
		border-radius: 999px;
		background: #edf6f2;
	}
}

@media (max-width: 360px) {
	.wsb-ticket-card-assigned,
	.wsb-ticket-card-field,
	.wsb-ticket-card-updated {
		grid-column: 1 / -1;
	}
}

/* 0.16 manager identity, compact sorting, and appointment lifecycle states. */
.wsb-manager-account-holder {
	display: block;
	margin-bottom: 4px;
	color: var(--wsb-ink);
	font-size: .82rem;
	font-weight: 800;
	line-height: 1.2;
}

.wsb-member-ticket-sort {
	display: flex;
	align-items: end;
	flex-wrap: wrap;
	gap: 10px;
	margin: 18px 0 22px;
	padding: 12px;
	border: 1px solid var(--wsb-border);
	border-radius: 12px;
	background: #fff;
}

.wsb-member-ticket-sort label {
	display: grid;
	flex: 1 1 190px;
	gap: 5px;
	min-width: 0;
}

.wsb-member-ticket-sort label > span {
	color: var(--wsb-muted);
	font-size: .7rem;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.wsb-member-ticket-sort select {
	width: 100%;
	min-height: 42px;
	margin: 0;
}

.wsb-appointment-state.is-canceled,
.wsb-calendar-event.is-canceled,
.wsb-member-appointment-row.is-canceled {
	color: #8a3333;
	background: #fae7e7;
}

.wsb-appointment-state.is-completed,
.wsb-calendar-event.is-completed,
.wsb-member-appointment-row.is-completed {
	color: #315b4d;
	background: #e8f3ee;
}

.wsb-appointment-card.is-canceled {
	border-color: #e7bebe;
	background: #fff7f7;
}

.wsb-appointment-card.is-completed {
	border-color: #bdd6ca;
	background: #f5faf7;
}

.wsb-appointment-option.is-cancel > summary {
	color: #a52f2f;
}

.wsb-appointment-card.is-empty {
	border-color: #c7ddd3;
	background: #f7fbf9;
}

.wsb-appointment-empty-state {
	padding: 12px 14px;
	border: 1px solid #cfe1d9;
	border-radius: 10px;
	background: #fff;
}

.wsb-appointment-empty-state strong {
	display: block;
	color: var(--wsb-green);
}

.wsb-appointment-empty-state p {
	margin: 5px 0 0;
	color: var(--wsb-muted);
}

.wsb-previous-appointment {
	margin-top: 14px;
	padding: 10px 12px;
	border: 1px solid #d7e3de;
	border-radius: 10px;
	background: #fff;
}

.wsb-previous-appointment > summary {
	cursor: pointer;
	color: var(--wsb-green);
	font-weight: 800;
}

.wsb-previous-appointment > p {
	margin: 10px 0;
	color: var(--wsb-muted);
}

.wsb-appointment-history-label {
	display: inline-flex;
	padding: 5px 8px;
	border-radius: 999px;
	color: #5e6d67;
	background: #edf1ef;
	font-size: .68rem;
	font-weight: 800;
}

@media (max-width: 640px) {
	.wsb-portal-header {
		display: grid;
		grid-template-columns: minmax(105px, 1fr) auto;
		align-items: start;
		gap: 8px;
		margin-bottom: 18px;
	}

	.wsb-brand {
		display: grid;
		align-content: start;
		gap: 4px;
		width: 100%;
		min-width: 0;
	}

	.wsb-brand-logo {
		width: min(150px, 100%);
		max-width: 100%;
		height: 45px;
		object-fit: contain;
		object-position: left center;
	}

	.wsb-instance-name {
		display: block;
		width: fit-content;
		min-width: 0;
		max-width: 100%;
		padding: 3px 7px;
		border-radius: 7px;
		font-size: .64rem;
		line-height: 1.2;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		overflow-wrap: normal;
	}

	.wsb-account-chip {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 3px;
		max-width: 190px;
		padding: 4px;
		border-radius: 11px;
	}

	.wsb-account-chip .wsb-account-name {
		display: block;
		max-width: 100%;
		padding: 2px 6px 0;
		font-size: .7rem;
		font-weight: 800;
		line-height: 1.2;
		text-align: right;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.wsb-account-actions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 3px;
	}

	.wsb-account-chip a,
	.wsb-account-chip .wsb-profile-shortcut,
	.wsb-account-chip .wsb-sign-out-link {
		min-height: 34px;
		padding: 6px 8px;
		font-size: .68rem;
	}

	.wsb-portal-nav {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		align-items: stretch;
		gap: 3px;
		width: 100%;
		max-width: 100%;
		padding: 4px;
		overflow: visible;
	}

	.wsb-portal-nav a,
	.wsb-portal-nav .wsb-nav-message-link {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		min-width: 0;
		min-height: 46px;
		padding: 7px 4px;
		font-size: .69rem;
		line-height: 1.15;
		text-align: center;
		white-space: normal;
	}

	.wsb-portal-nav .wsb-nav-label {
		min-width: 0;
		max-width: 100%;
		line-height: inherit;
	}

	.wsb-dashboard-heading .wsb-manager-account-holder {
		margin-bottom: 4px;
		font-size: .78rem;
	}

	.wsb-dashboard-heading .wsb-manager-account-holder + .wsb-eyebrow {
		display: block;
		font-size: .7rem;
		line-height: 1.25;
	}

	.wsb-dashboard-heading h1 {
		font-size: clamp(1.75rem, 9vw, 2.25rem);
		line-height: 1.03;
	}

	.wsb-dashboard-heading p {
		font-size: .88rem;
		line-height: 1.48;
	}

	.wsb-member-ticket-sort {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		margin: 14px 0 18px;
		padding: 10px;
	}

	.wsb-member-ticket-sort label {
		width: 100%;
	}

	.wsb-member-ticket-sort .wsb-button {
		grid-column: 1 / -1;
		width: 100%;
	}
}

@media (max-width: 360px) {
	.wsb-portal-header {
		grid-template-columns: minmax(96px, 1fr) auto;
	}

	.wsb-brand-logo {
		width: min(124px, 100%);
		height: 40px;
	}

	.wsb-account-chip {
		max-width: 164px;
	}

	.wsb-account-chip a,
	.wsb-account-chip .wsb-profile-shortcut,
	.wsb-account-chip .wsb-sign-out-link,
	.wsb-portal-nav a,
	.wsb-portal-nav .wsb-nav-message-link {
		font-size: .64rem;
	}
}
