/**
 * Skyterra Workspace
 *
 * Every selector is scoped to theme-owned `sw-` classes so nothing touches
 * the WordPress Media Library or other admin UI that Pencil loads on the page.
 */

/* ------------------------------------------------------------------------
 * Tokens
 * --------------------------------------------------------------------- */

:root {
	--sw-forest: #495338;
	--sw-forest-deep: #3f4a2e;
	--sw-forest-ink: #2f3823;
	--sw-forest-tint: #eef1e6;
	--sw-sun: #e1e400;
	--sw-sun-deep: #c9cc00;
	--sw-lichen: #f4f6d0;
	--sw-bark: #332c2a;
	--sw-taupe: #948683;
	--sw-taupe-text: #6f6461;
	--sw-stone: #f6f3ef;
	--sw-mist: #e8e2dc;
	--sw-line: #d9d1c9;
	--sw-white: #fff;
	--sw-rust: #a4442f;
	--sw-rust-ink: #7a2e1d;
	--sw-rust-tint: #f8e9e4;
	--sw-lake: #3f6e7a;
	--sw-lake-tint: #e6eff1;
	--sw-success: #3d6b35;
	--sw-success-ink: #24461f;
	--sw-success-tint: #e7f1e2;

	--sw-font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--sw-radius-sm: 8px;
	--sw-radius: 12px;
	--sw-radius-lg: 18px;
	--sw-shadow: 0 1px 2px rgba(51, 44, 42, 0.05), 0 6px 20px rgba(51, 44, 42, 0.06);
	--sw-shadow-hover: 0 2px 4px rgba(51, 44, 42, 0.05), 0 14px 30px rgba(51, 44, 42, 0.1);
	--sw-shadow-lg: 0 24px 60px rgba(20, 24, 14, 0.38);
	--sw-sidebar: 264px;
	--sw-admin-bar: var(--wp-admin--admin-bar--height, 0px);
	--sw-tabbar: 64px;
	--sw-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ------------------------------------------------------------------------
 * Base
 * --------------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

.sw-body {
	margin: 0;
	background: var(--sw-stone);
	color: var(--sw-bark);
	font-family: var(--sw-font);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

:where(.sw-app, .sw-bare) :where(h1, h2, h3, h4, p, dl, dd, figure, blockquote) {
	margin: 0;
}

:where(.sw-app, .sw-bare) :focus-visible {
	outline: 3px solid var(--sw-sun-deep);
	outline-offset: 2px;
}

.sw-skip-link {
	position: absolute;
	left: 12px;
	top: -100px;
	z-index: 1000;
	padding: 10px 16px;
	border-radius: var(--sw-radius-sm);
	background: var(--sw-sun);
	color: var(--sw-bark);
	font-family: var(--sw-font);
	font-weight: 700;
	text-decoration: none;
}

.sw-skip-link:focus {
	top: calc(12px + var(--sw-admin-bar));
}

.sw-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.sw-icon {
	flex: none;
	width: 20px;
	height: 20px;
}

/* ------------------------------------------------------------------------
 * App shell
 * --------------------------------------------------------------------- */

.sw-app {
	min-height: 100vh;
}

.sw-main {
	min-width: 0;
	outline: none;
}

.sw-main__inner {
	container-type: inline-size;
	max-width: 1180px;
	margin: 0 auto;
	padding: 28px 16px 40px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.sw-sidebar {
	background: var(--sw-forest-deep);
	background-image: radial-gradient(circle at 0% 0%, rgba(225, 228, 0, 0.12), transparent 55%);
	color: var(--sw-white);
}

.sw-brand {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.sw-brand__logo {
	width: 148px;
	aspect-ratio: 18 / 5;
	overflow: hidden;
}

.sw-brand__logo > * {
	display: block;
	width: 100%;
	height: 100%;
}

.sw-brand__logo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: 0% 50%;
}

.sw-brand__app {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--sw-sun);
}

.sw-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.sw-nav__link {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 12px;
	border-radius: 10px;
	color: rgba(255, 255, 255, 0.8);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.15s var(--sw-ease), color 0.15s var(--sw-ease);
}

.sw-nav__link:hover {
	background: rgba(255, 255, 255, 0.08);
	color: var(--sw-white);
}

.sw-nav__link.is-current {
	background: rgba(225, 228, 0, 0.14);
	color: var(--sw-white);
}

.sw-nav__link.is-current .sw-icon {
	color: var(--sw-sun);
}

.sw-nav__link.is-current::before {
	content: "";
	position: absolute;
	left: -20px;
	top: 10px;
	bottom: 10px;
	width: 4px;
	border-radius: 0 4px 4px 0;
	background: var(--sw-sun);
}

.sw-account {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 14px;
	border-radius: var(--sw-radius);
	background: rgba(0, 0, 0, 0.18);
}

.sw-account__who {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.sw-avatar {
	flex: none;
	overflow: hidden;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--sw-sun);
	color: var(--sw-bark);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.sw-avatar__photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sw-account__name {
	overflow: hidden;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.sw-account__signout {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 8px;
	margin: 0 -8px -6px;
	border-radius: var(--sw-radius-sm);
	color: rgba(255, 255, 255, 0.78);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.sw-account__signout:hover {
	background: rgba(255, 255, 255, 0.08);
	color: var(--sw-white);
}

.sw-account__signout .sw-icon {
	width: 18px;
	height: 18px;
}

.sw-help-link {
	color: rgba(255, 255, 255, 0.7);
	font-size: 13px;
	text-decoration: underline;
	text-decoration-color: rgba(225, 228, 0, 0.6);
	text-underline-offset: 3px;
}

.sw-help-link:hover {
	color: var(--sw-white);
}

.sw-footer {
	margin-top: 8px;
	padding-top: 20px;
	border-top: 1px solid var(--sw-mist);
	color: var(--sw-taupe-text);
	font-size: 13px;
}

/* Menu sections, grouped by department. */
.sw-nav {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.sw-nav__group {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.sw-nav__group-title {
	padding: 0 12px 2px;
	color: rgba(255, 255, 255, 0.55);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.sw-menu-toggle {
	display: none;
}

/* Phones and tablets: top bar with a menu button that opens the full menu. */
@media (max-width: 959px) {
	.sw-sidebar {
		position: sticky;
		top: var(--sw-admin-bar);
		z-index: 40;
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 10px 16px;
	}

	.sw-brand {
		flex-direction: row;
		align-items: center;
		gap: 12px;
		margin-right: auto;
	}

	.sw-brand__logo {
		width: 108px;
	}

	/* The top bar keeps just the logo, the avatar and the menu button. */
	.sw-brand__app,
	.sw-account__signout {
		display: none;
	}

	.sw-menu-toggle {
		order: 3;
		display: inline-flex;
		align-items: center;
		gap: 6px;
		min-height: 40px;
		padding: 8px 12px;
		border: 1px solid rgba(255, 255, 255, 0.25);
		border-radius: 999px;
		background: transparent;
		color: var(--sw-white);
		font-family: inherit;
		font-size: 14px;
		font-weight: 700;
		cursor: pointer;
	}

	.sw-menu-toggle[aria-expanded="true"] {
		background: var(--sw-sun);
		border-color: var(--sw-sun);
		color: var(--sw-bark);
	}

	.sw-account {
		order: 2;
		flex-direction: row;
		align-items: center;
		gap: 2px;
		padding: 0;
		background: none;
	}

	.sw-account__name,
	.sw-sidebar__help {
		display: none;
	}

	.sw-nav__group--account {
		padding-top: 14px;
		border-top: 1px solid rgba(255, 255, 255, 0.14);
	}

	/* Without JavaScript the menu simply sits under the top bar. */
	.sw-nav {
		order: 4;
		flex-basis: 100%;
		padding: 8px 0 4px;
	}

	.sw-sidebar {
		flex-wrap: wrap;
	}

	.sw-has-js .sw-sidebar {
		flex-wrap: nowrap;
	}

	.sw-has-js .sw-nav {
		position: fixed;
		left: 0;
		right: 0;
		top: calc(var(--sw-admin-bar) + 62px);
		bottom: 0;
		z-index: 60;
		overflow-y: auto;
		padding: 20px 16px calc(24px + env(safe-area-inset-bottom));
		background: var(--sw-forest-deep);
		box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
		visibility: hidden;
		opacity: 0;
		transform: translateY(-8px);
		transition: opacity 0.18s var(--sw-ease), transform 0.18s var(--sw-ease), visibility 0s linear 0.18s;
	}

	.sw-has-js .sw-nav.is-open {
		visibility: visible;
		opacity: 1;
		transform: none;
		transition: opacity 0.18s var(--sw-ease), transform 0.18s var(--sw-ease);
	}

	.sw-nav__link {
		padding: 13px 12px;
		font-size: 16px;
	}

	.sw-nav__link.is-current::before {
		left: -16px;
	}
}

@media (max-width: 600px) {
	.sw-sidebar {
		top: 0;
	}
}

/* Desktop: fixed-height sidebar beside the content. */
@media (min-width: 960px) {
	.sw-app {
		display: grid;
		grid-template-columns: var(--sw-sidebar) minmax(0, 1fr);
	}

	.sw-sidebar {
		position: sticky;
		top: var(--sw-admin-bar);
		height: calc(100vh - var(--sw-admin-bar));
		overflow-y: auto;
		display: flex;
		flex-direction: column;
		gap: 28px;
		padding: 30px 20px 22px;
	}

	.sw-brand {
		padding: 0 8px;
	}

	.sw-account {
		margin-top: auto;
	}

	/* The sidebar's account box has its own sign out link. */
	.sw-nav__group--account {
		display: none;
	}

	.sw-sidebar__help {
		padding: 0 8px;
	}

	.sw-main__inner {
		padding: 44px 44px 40px;
		gap: 28px;
	}
}

/* ------------------------------------------------------------------------
 * Type and shared pieces
 * --------------------------------------------------------------------- */

.sw-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--sw-taupe-text);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.sw-eyebrow--sun .sw-icon {
	width: 24px;
	height: 24px;
	padding: 3px;
	border-radius: 50%;
	background: var(--sw-sun);
	color: var(--sw-forest-ink);
}

.sw-page-header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 24px;
}

.sw-page-header__text {
	max-width: 720px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.sw-page-header__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.sw-page-title {
	color: var(--sw-bark);
	font-size: clamp(28px, 4vw, 38px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.02em;
}

.sw-page-intro {
	color: var(--sw-taupe-text);
	font-size: 17px;
}

.sw-section {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.sw-section__title,
.sw-card__title {
	color: var(--sw-bark);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.005em;
}

.sw-prose p + p,
.sw-prose p + ul,
.sw-prose p + ol,
.sw-prose ul + p,
.sw-prose ol + p {
	margin-top: 0.7em;
}

.sw-prose ul,
.sw-prose ol {
	margin: 0.6em 0 0;
	padding-left: 1.3em;
}

.sw-prose li + li {
	margin-top: 0.25em;
}

.sw-prose a {
	color: var(--sw-forest);
	text-decoration: underline;
	text-decoration-color: var(--sw-sun-deep);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.sw-prose strong {
	font-weight: 700;
}

.sw-card {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 22px 18px;
	border: 1px solid var(--sw-mist);
	border-radius: var(--sw-radius-lg);
	background: var(--sw-white);
	box-shadow: var(--sw-shadow);
}

.sw-card__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px 12px;
}

.sw-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--sw-forest);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.sw-link:hover {
	text-decoration: underline;
	text-decoration-color: var(--sw-sun-deep);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.sw-link .sw-icon {
	width: 16px;
	height: 16px;
}

.sw-empty {
	padding: 14px 16px;
	border-radius: var(--sw-radius);
	background: var(--sw-stone);
	color: var(--sw-taupe-text);
	font-size: 15px;
}

.sw-stack {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.sw-entry img {
	max-width: 100%;
	height: auto;
}

/* Fixed image frames: the frame sets the size, never the uploaded file. */
.sw-frame {
	position: relative;
	overflow: hidden;
	border-radius: var(--sw-radius-lg);
	background: var(--sw-mist);
}

.sw-frame--4x3 {
	aspect-ratio: 4 / 3;
}

.sw-frame > * {
	display: block;
	width: 100%;
	height: 100%;
}

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

/* ------------------------------------------------------------------------
 * Buttons
 * --------------------------------------------------------------------- */

.sw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 18px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s var(--sw-ease), border-color 0.15s var(--sw-ease), color 0.15s var(--sw-ease), transform 0.1s var(--sw-ease);
}

.sw-btn:active {
	transform: translateY(1px);
}

.sw-btn--primary {
	background: var(--sw-forest);
	color: var(--sw-white);
}

.sw-btn--primary:hover {
	background: var(--sw-forest-ink);
}

.sw-btn--sun {
	background: var(--sw-sun);
	color: var(--sw-bark);
}

.sw-btn--sun:hover {
	background: var(--sw-sun-deep);
}

.sw-btn--sun:focus-visible {
	outline-color: var(--sw-forest);
}

.sw-btn--secondary {
	border-color: #dfe3a6;
	background: var(--sw-lichen);
	color: var(--sw-forest-ink);
}

.sw-btn--secondary:hover {
	border-color: var(--sw-sun-deep);
}

.sw-btn--ghost {
	border-color: var(--sw-line);
	background: var(--sw-white);
	color: var(--sw-forest);
}

.sw-btn--ghost:hover {
	border-color: var(--sw-forest);
}

.sw-btn--danger {
	background: var(--sw-rust);
	color: var(--sw-white);
}

.sw-btn--danger:hover {
	background: var(--sw-rust-ink);
}

.sw-btn--sm {
	min-height: 38px;
	padding: 7px 14px;
	font-size: 14px;
}

.sw-btn--lg {
	min-height: 54px;
	padding: 14px 22px;
	font-size: 16px;
}

.sw-btn--block {
	display: flex;
	width: 100%;
}

.sw-btn.is-busy {
	opacity: 0.7;
	pointer-events: none;
}

/* ------------------------------------------------------------------------
 * Alerts and badges
 * --------------------------------------------------------------------- */

.sw-alert {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 18px;
	border: 1px solid transparent;
	border-radius: 14px;
	font-size: 15px;
	font-weight: 600;
}

.sw-alert .sw-icon {
	margin-top: 1px;
}

.sw-alert--success {
	border-color: #cfe3c6;
	background: var(--sw-success-tint);
	color: var(--sw-success-ink);
}

.sw-alert--error {
	border-color: #efcfc4;
	background: var(--sw-rust-tint);
	color: var(--sw-rust-ink);
}

.sw-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--sw-stone);
	color: var(--sw-taupe-text);
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.3;
	white-space: nowrap;
}

.sw-badge::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
}

.sw-badge--submitted {
	background: var(--sw-lichen);
	color: #5b5d00;
}

.sw-badge--open {
	background: #fbf0d2;
	color: #7a5600;
}

.sw-badge--approved,
.sw-badge--resolved {
	background: var(--sw-success-tint);
	color: var(--sw-success);
}

.sw-badge--declined {
	background: var(--sw-rust-tint);
	color: var(--sw-rust);
}

.sw-badge--paid {
	background: var(--sw-forest-tint);
	color: var(--sw-forest-deep);
}

.sw-badge--in-progress {
	background: var(--sw-lake-tint);
	color: var(--sw-lake);
}

/* Program type colours used across the schedule. */
.sw-tone-1 { --sw-tone: #495338; --sw-tone-tint: #eef1e6; }
.sw-tone-2 { --sw-tone: #3f6e7a; --sw-tone-tint: #e6eff1; }
.sw-tone-3 { --sw-tone: #9a4f2b; --sw-tone-tint: #f8ebe3; }
.sw-tone-4 { --sw-tone: #5a6a2a; --sw-tone-tint: #eff3e0; }
.sw-tone-5 { --sw-tone: #6b6d00; --sw-tone-tint: #f6f7d4; }
.sw-tone-6 { --sw-tone: #74506a; --sw-tone-tint: #f3ebf0; }
.sw-tone-7 { --sw-tone: #6f6461; --sw-tone-tint: #f1eeeb; }

/* ------------------------------------------------------------------------
 * Forms
 * --------------------------------------------------------------------- */

.sw-form {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.sw-fieldset {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.sw-fieldset + .sw-fieldset {
	padding-top: 22px;
	border-top: 1px solid var(--sw-mist);
}

.sw-fieldset__title {
	float: left;
	width: 100%;
	margin: 0 0 14px;
	padding: 0;
	color: var(--sw-forest);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.sw-fieldset__title + * {
	clear: both;
}

.sw-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 18px;
}

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

.sw-field__label {
	color: var(--sw-bark);
	font-size: 14px;
	font-weight: 700;
}

.sw-field__required {
	margin-left: 2px;
	color: var(--sw-rust);
}

.sw-field__help {
	color: var(--sw-taupe-text);
	font-size: 13px;
}

.sw-field__value {
	min-height: 46px;
	display: flex;
	align-items: center;
	padding: 10px 14px;
	border-radius: 10px;
	background: var(--sw-stone);
	font-weight: 600;
	overflow-wrap: anywhere;
}

.sw-input {
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border: 1.5px solid var(--sw-line);
	border-radius: 10px;
	background-color: var(--sw-white);
	color: var(--sw-bark);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.4;
	transition: border-color 0.15s var(--sw-ease), box-shadow 0.15s var(--sw-ease);
}

.sw-input:hover {
	border-color: var(--sw-taupe);
}

.sw-input:focus {
	outline: none;
	border-color: var(--sw-forest);
	box-shadow: 0 0 0 4px rgba(225, 228, 0, 0.5);
}

.sw-input:user-invalid {
	border-color: var(--sw-rust);
}

.sw-input--area {
	min-height: 108px;
	resize: vertical;
	line-height: 1.5;
}

.sw-input--select {
	appearance: none;
	padding-right: 42px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f6461' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 16px;
}

.sw-input--file {
	min-height: 0;
	padding: 8px;
	border-style: dashed;
	background-color: var(--sw-stone);
	cursor: pointer;
}

.sw-input--file::file-selector-button {
	margin-right: 12px;
	padding: 8px 16px;
	border: 0;
	border-radius: 999px;
	background: var(--sw-forest);
	color: var(--sw-white);
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.sw-choices {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.sw-choices > .sw-field__label {
	margin-bottom: 8px;
	padding: 0;
}

.sw-choices__list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
}

.sw-choice {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 13px 14px;
	border: 1.5px solid var(--sw-line);
	border-radius: var(--sw-radius);
	background: var(--sw-white);
	font-size: 15px;
	cursor: pointer;
	transition: border-color 0.15s var(--sw-ease), background-color 0.15s var(--sw-ease);
}

.sw-choice:hover {
	border-color: var(--sw-taupe);
}

.sw-choice:has(.sw-choice__input:checked) {
	border-color: var(--sw-forest);
	background: var(--sw-forest-tint);
	box-shadow: inset 0 0 0 1px var(--sw-forest);
}

.sw-choice__input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	accent-color: var(--sw-forest);
}

.sw-form__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 12px 14px;
	padding-top: 4px;
}

.sw-form__note {
	margin-right: auto;
	color: var(--sw-taupe-text);
	font-size: 13px;
}

/* ------------------------------------------------------------------------
 * Record tables (stack into rows on narrow screens)
 * --------------------------------------------------------------------- */

.sw-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.sw-table__th {
	padding: 0 12px 10px;
	border-bottom: 1px solid var(--sw-mist);
	color: var(--sw-taupe-text);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-align: left;
	text-transform: uppercase;
}

.sw-table__th--num {
	text-align: right;
}

.sw-table__cell {
	padding: 14px 12px;
	border-bottom: 1px solid var(--sw-mist);
	vertical-align: top;
}

.sw-table__th:first-child,
.sw-table__cell:first-child {
	padding-left: 0;
}

.sw-table__th:last-child,
.sw-table__cell:last-child {
	padding-right: 0;
}

.sw-table__row:last-child .sw-table__cell {
	border-bottom: 0;
}

.sw-table__cell--date,
.sw-table__cell--submitted {
	color: var(--sw-taupe-text);
	white-space: nowrap;
}

.sw-table__cell--num {
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	text-align: right;
	white-space: nowrap;
}

.sw-table__number {
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	color: var(--sw-bark);
}

.sw-table__primary {
	font-weight: 650;
}

.sw-table__note {
	display: flex;
	gap: 6px;
	margin-top: 6px;
	color: var(--sw-taupe-text);
	font-size: 13px;
}

.sw-table__note .sw-icon {
	width: 16px;
	height: 16px;
	margin-top: 2px;
}

.sw-file-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-width: 100%;
	margin-top: 4px;
	color: var(--sw-forest);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.sw-file-link span {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.sw-file-link .sw-icon {
	width: 16px;
	height: 16px;
}

.sw-file-link:hover span {
	text-decoration: underline;
}

@container (max-width: 699px) {
	.sw-table__head {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.sw-table > tbody {
		display: block;
	}

	.sw-table__row {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		column-gap: 12px;
		row-gap: 2px;
		padding: 14px 0;
		border-bottom: 1px solid var(--sw-mist);
	}

	.sw-table__row:last-child {
		border-bottom: 0;
	}

	.sw-table__cell {
		display: block;
		padding: 0;
		border: 0;
	}

	.sw-table__cell:first-child,
	.sw-table__cell:last-child {
		padding: 0;
	}

	.sw-table__cell--main {
		grid-column: 1;
		grid-row: 1;
	}

	.sw-table__cell--num {
		grid-column: 2;
		grid-row: 1;
	}

	.sw-table__cell--date {
		grid-column: 1;
		grid-row: 2;
		font-size: 13px;
	}

	.sw-table__cell--category {
		grid-column: 1;
		grid-row: 3;
		color: var(--sw-taupe-text);
		font-size: 13px;
	}

	.sw-table__cell--submitted {
		grid-column: 1;
		grid-row: 4;
		font-size: 13px;
	}

	.sw-table__cell--status {
		grid-column: 2;
		grid-row: 2 / span 3;
		align-self: start;
		justify-self: end;
		padding-top: 4px;
	}
}

/* ------------------------------------------------------------------------
 * Dashboard
 * --------------------------------------------------------------------- */

.sw-welcome {
	position: relative;
	overflow: hidden;
	display: grid;
	gap: 24px;
	align-items: center;
	padding: 24px 18px;
	border: 1px solid var(--sw-mist);
	border-radius: 24px;
	background-color: var(--sw-white);
	background-image: radial-gradient(circle at 0% 0%, rgba(225, 228, 0, 0.2), transparent 42%);
	box-shadow: var(--sw-shadow);
}

.sw-welcome__text {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.sw-welcome__title {
	margin-top: 6px;
	color: var(--sw-taupe-text);
	font-size: clamp(24px, 3.2vw, 32px);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.sw-welcome__name {
	color: var(--sw-forest);
	font-size: clamp(38px, 5.4vw, 56px);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -0.03em;
	overflow-wrap: anywhere;
}

.sw-welcome__intro {
	max-width: 46ch;
	margin-top: 6px;
	color: var(--sw-taupe-text);
	font-size: 17px;
}

.sw-stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 14px;
}

.sw-stat {
	display: flex;
	flex-direction: column-reverse;
	justify-content: flex-end;
	gap: 2px;
	padding: 14px 16px;
	border-radius: 14px;
	background: var(--sw-stone);
}

.sw-stat__label {
	color: var(--sw-taupe-text);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
}

.sw-stat__number {
	color: var(--sw-bark);
	font-size: 30px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	line-height: 1.1;
}

.sw-actions {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
}

.sw-actions__item {
	min-width: 0;
}

.sw-action {
	height: 100%;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 18px;
	border: 1px solid var(--sw-mist);
	border-radius: 16px;
	background: var(--sw-white);
	box-shadow: var(--sw-shadow);
	color: var(--sw-bark);
	text-decoration: none;
	transition: transform 0.18s var(--sw-ease), box-shadow 0.18s var(--sw-ease), border-color 0.18s var(--sw-ease);
}

.sw-action:hover {
	transform: translateY(-2px);
	border-color: #cfd6b8;
	box-shadow: var(--sw-shadow-hover);
}

.sw-action__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 13px;
	background: var(--sw-forest);
	color: var(--sw-sun);
}

.sw-action__icon .sw-icon {
	width: 22px;
	height: 22px;
}

.sw-action__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.sw-action__title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.sw-action__text {
	color: var(--sw-taupe-text);
	font-size: 14px;
	line-height: 1.45;
}

.sw-action__arrow {
	margin-top: 2px;
	color: var(--sw-taupe);
	transition: transform 0.18s var(--sw-ease), color 0.18s var(--sw-ease);
}

.sw-action:hover .sw-action__arrow {
	color: var(--sw-forest);
	transform: translateX(3px);
}

.sw-dashboard-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
}

.sw-notice-board {
	border-color: var(--sw-forest);
	background-color: var(--sw-forest);
	background-image: radial-gradient(circle at 100% 0%, rgba(225, 228, 0, 0.28), transparent 48%);
	color: var(--sw-white);
}

.sw-notice-board .sw-eyebrow {
	color: var(--sw-sun);
}

.sw-notice-board .sw-card__title {
	color: var(--sw-white);
	font-size: 22px;
}

.sw-notice-board .sw-prose {
	color: rgba(255, 255, 255, 0.88);
}

.sw-notice-board .sw-prose a {
	color: var(--sw-sun);
	text-decoration-color: currentColor;
}

.sw-mini-list,
.sw-queue__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sw-mini-list__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--sw-mist);
}

.sw-mini-list__item:first-child {
	padding-top: 0;
}

.sw-mini-list__item:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.sw-mini-list__main {
	min-width: 0;
}

.sw-mini-list__title {
	overflow: hidden;
	font-weight: 700;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.sw-mini-list__meta {
	color: var(--sw-taupe-text);
	font-size: 13px;
}

.sw-queue {
	border-color: #e4e7a0;
	background: var(--sw-lichen);
}

.sw-queue__list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.sw-queue__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 18px;
	border-radius: 14px;
	background: var(--sw-white);
}

.sw-queue__count {
	color: var(--sw-forest);
	font-size: 26px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------------------
 * Facilities
 * --------------------------------------------------------------------- */

.sw-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}

.sw-callout {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px;
	border-radius: var(--sw-radius-lg);
	background: var(--sw-bark);
	color: var(--sw-white);
}

.sw-callout__title {
	font-size: 19px;
	font-weight: 700;
}

.sw-callout .sw-prose {
	color: rgba(255, 255, 255, 0.86);
}

.sw-callout .sw-prose strong {
	color: var(--sw-sun);
}

.sw-callout__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 13px;
	background: var(--sw-sun);
	color: var(--sw-bark);
}

.sw-not-found {
	max-width: 640px;
	align-items: flex-start;
}

/* ------------------------------------------------------------------------
 * Program schedule
 * --------------------------------------------------------------------- */

.sw-weekbar {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
}

.sw-weekbar__label {
	color: var(--sw-bark);
	font-size: 18px;
	font-weight: 800;
	text-align: center;
}

.sw-weekbar__end {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
}

@container (max-width: 599px) {
	.sw-weekbar__label {
		font-size: 15px;
	}

	.sw-weekbar .sw-btn__collapse {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.sw-weekbar .sw-btn--sm {
		padding: 7px 10px;
	}
}

/* Narrow and medium widths: one card per day. */
.sw-week {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
}

.sw-week__corner,
.sw-week__block {
	display: none;
}

.sw-day {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px;
	border: 1px solid var(--sw-mist);
	border-radius: 16px;
	background: var(--sw-white);
	box-shadow: var(--sw-shadow);
	scroll-margin-top: calc(var(--sw-admin-bar) + 80px);
}

.sw-day.is-today {
	border-color: #dfe3a6;
	background: var(--sw-lichen);
}

.sw-day.is-empty::after {
	content: "—";
	color: var(--sw-taupe);
}

.sw-day__title {
	display: flex;
	align-items: baseline;
	gap: 8px;
	padding: 0 2px;
	font-size: 14px;
}

.sw-day__name {
	color: var(--sw-bark);
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.sw-day__date {
	color: var(--sw-taupe-text);
	font-weight: 600;
}

.sw-day.is-today .sw-day__name {
	color: var(--sw-forest);
}

.sw-day.is-today .sw-day__title::after {
	content: "";
	width: 8px;
	height: 8px;
	margin-left: auto;
	align-self: center;
	border-radius: 50%;
	background: var(--sw-sun-deep);
	box-shadow: 0 0 0 3px rgba(225, 228, 0, 0.35);
}

.sw-slot {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.sw-slot.is-empty {
	display: none;
}

.sw-session {
	position: relative;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 9px 10px 10px;
	border-left: 4px solid var(--sw-tone);
	border-radius: 10px;
	background: var(--sw-tone-tint);
}

.sw-session.is-editing {
	box-shadow: 0 0 0 2px var(--sw-sun-deep);
}

.sw-session__time {
	color: var(--sw-tone);
	font-size: 12px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.sw-session__title {
	color: var(--sw-bark);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.sw-session__link {
	color: inherit;
	text-decoration: none;
}

.sw-session__link::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.sw-session__link:hover {
	text-decoration: underline;
	text-decoration-color: var(--sw-tone);
}

.sw-session__meta {
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 5px;
	color: var(--sw-taupe-text);
	font-size: 12px;
}

.sw-session__meta span {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.sw-session__meta .sw-icon {
	width: 14px;
	height: 14px;
}

.sw-session__notes {
	color: var(--sw-taupe-text);
	font-size: 12px;
	font-style: italic;
}

.sw-manage {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}

.sw-confirm {
	padding-top: 16px;
	border-top: 1px solid var(--sw-mist);
}

.sw-confirm__toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--sw-rust);
	font-weight: 700;
	list-style: none;
	cursor: pointer;
}

.sw-confirm__toggle::-webkit-details-marker {
	display: none;
}

.sw-confirm__body {
	align-items: flex-start;
	gap: 12px;
	margin-top: 12px;
	padding: 16px;
	border-radius: var(--sw-radius);
	background: var(--sw-rust-tint);
}

.sw-confirm__text {
	color: var(--sw-rust-ink);
	font-size: 14px;
}

/* ------------------------------------------------------------------------
 * Responsive layout by available content width
 * --------------------------------------------------------------------- */

@container (min-width: 560px) {
	.sw-card {
		padding: 26px;
	}

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

	.sw-grid--address {
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
	}

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

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

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

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

	.sw-welcome {
		padding: 32px;
	}
}

@container (min-width: 820px) {
	.sw-grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.sw-welcome {
		grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
		gap: 36px;
		padding: 36px;
	}

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

	/* The notice runs across the top, with the two request lists below it. */
	.sw-dashboard-grid > .sw-notice-board {
		grid-column: 1 / -1;
	}

	.sw-split {
		grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
	}

	.sw-callout {
		position: sticky;
		top: calc(var(--sw-admin-bar) + 24px);
	}

	.sw-manage {
		grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
	}

	.sw-week {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@container (min-width: 1000px) {
	.sw-actions {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	/* Wide: one grid, days as columns and the daily rhythm as rows. */
	.sw-week {
		grid-template-columns: 116px repeat(7, minmax(0, 1fr));
		grid-template-rows: auto repeat(4, minmax(72px, auto));
		gap: 0 8px;
		padding: 16px 16px 8px;
		border: 1px solid var(--sw-mist);
		border-radius: var(--sw-radius-lg);
		background: var(--sw-white);
		box-shadow: var(--sw-shadow);
	}

	.sw-week__corner {
		display: block;
		grid-column: 1;
		grid-row: 1;
		align-self: end;
		padding-bottom: 10px;
		color: var(--sw-taupe);
		font-size: 11px;
		font-weight: 700;
		letter-spacing: 0.1em;
		text-transform: uppercase;
	}

	.sw-week__block {
		display: block;
		grid-column: 1;
		padding: 12px 8px 12px 0;
		border-top: 1px dashed var(--sw-line);
	}

	.sw-week__block--1 { grid-row: 2; }
	.sw-week__block--2 { grid-row: 3; }
	.sw-week__block--3 { grid-row: 4; }
	.sw-week__block--4 { grid-row: 5; }

	.sw-week__block-title {
		color: var(--sw-forest);
		font-size: 13px;
		font-weight: 800;
		line-height: 1.25;
	}

	.sw-week__block-time {
		color: var(--sw-taupe-text);
		font-size: 12px;
	}

	.sw-day {
		grid-row: 1 / span 5;
		display: grid;
		grid-template-rows: subgrid;
		gap: 0;
		padding: 0 4px;
		border: 0;
		border-radius: 12px;
		background: transparent;
		box-shadow: none;
	}

	.sw-day--1 { grid-column: 2; }
	.sw-day--2 { grid-column: 3; }
	.sw-day--3 { grid-column: 4; }
	.sw-day--4 { grid-column: 5; }
	.sw-day--5 { grid-column: 6; }
	.sw-day--6 { grid-column: 7; }
	.sw-day--7 { grid-column: 8; }

	.sw-day.is-today {
		border: 0;
		background: var(--sw-lichen);
	}

	.sw-day.is-empty::after {
		content: none;
	}

	.sw-day__title {
		flex-direction: column;
		gap: 0;
		padding: 4px 4px 10px;
		font-size: 13px;
	}

	.sw-day.is-today .sw-day__title::after {
		display: none;
	}

	.sw-slot,
	.sw-slot.is-empty {
		display: flex;
		padding: 8px 0;
		border-top: 1px dashed var(--sw-line);
	}
}

@media (prefers-reduced-motion: reduce) {
	:where(.sw-app, .sw-bare) *,
	:where(.sw-app, .sw-bare) *::before,
	:where(.sw-app, .sw-bare) *::after {
		transition: none !important;
	}
}

/* ------------------------------------------------------------------------
 * Sign-in
 * --------------------------------------------------------------------- */

.sw-bare {
	display: block;
	min-height: 100vh;
	outline: none;
}

.sw-signin {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: calc(100vh - var(--sw-admin-bar));
	min-height: calc(100svh - var(--sw-admin-bar));
	display: grid;
	place-items: center;
	padding: 40px 16px;
	background: var(--sw-forest-deep);
}

.sw-signin__media {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.sw-signin__media > * {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.sw-signin__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sw-signin::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(ellipse at 50% 35%, rgba(47, 56, 35, 0.2), transparent 60%),
		linear-gradient(180deg, rgba(47, 56, 35, 0.62) 0%, rgba(47, 56, 35, 0.4) 45%, rgba(33, 29, 27, 0.85) 100%);
}

.sw-signin__content {
	width: 100%;
	max-width: 460px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
}

.sw-signin__logo {
	width: 230px;
	aspect-ratio: 18 / 5;
	overflow: hidden;
}

.sw-signin__logo > * {
	display: block;
	width: 100%;
	height: 100%;
}

.sw-signin__logo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.sw-signin__card {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 32px 24px;
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.97);
	box-shadow: var(--sw-shadow-lg);
}

.sw-signin__title {
	color: var(--sw-forest-ink);
	font-size: 28px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.sw-signin__intro {
	color: var(--sw-taupe-text);
}

.sw-signin__action {
	margin-top: 8px;
}

.sw-signin__unavailable {
	display: flex;
	gap: 10px;
	padding: 12px 14px;
	border-radius: var(--sw-radius);
	background: var(--sw-rust-tint);
	color: var(--sw-rust-ink);
	font-size: 14px;
	font-weight: 600;
}

.sw-signin__help {
	padding-top: 14px;
	border-top: 1px solid var(--sw-mist);
	color: var(--sw-taupe-text);
	font-size: 13.5px;
}

.sw-signin__footnote {
	color: rgba(255, 255, 255, 0.82);
	font-size: 13px;
	letter-spacing: 0.04em;
}

@media (min-width: 560px) {
	.sw-signin__card {
		padding: 40px;
	}

	.sw-signin__title {
		font-size: 31px;
	}
}

/* ------------------------------------------------------------------------
 * New hire requests
 * --------------------------------------------------------------------- */

.sw-intern-dates[hidden] {
	display: none;
}

.sw-badge--hire-pending {
	background: var(--sw-lichen);
	color: #5b5d00;
}

.sw-badge--hire-created {
	background: var(--sw-success-tint);
	color: var(--sw-success);
}

.sw-badge--hire-username,
.sw-badge--hire-error {
	background: var(--sw-rust-tint);
	color: var(--sw-rust);
}

/* Filter box shown above long staff selects. */
.sw-input--search {
	min-height: 40px;
	margin-bottom: 6px;
	padding-left: 40px;
	background-color: var(--sw-stone);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f6461' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: 14px center;
	background-size: 16px;
}

.sw-input--select[size]:not([size="0"]):not([size="1"]) {
	height: auto;
	padding-right: 14px;
	background-image: none;
}

/* IT review: username with the Workspace domain beside it. */
.sw-username {
	display: flex;
	align-items: center;
	gap: 8px;
}

.sw-username .sw-input {
	flex: 1;
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.sw-username.is-invalid .sw-input {
	border-color: var(--sw-rust);
	box-shadow: 0 0 0 3px rgba(164, 68, 47, 0.18);
}

.sw-username__domain {
	color: var(--sw-taupe-text);
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	white-space: nowrap;
}

.sw-alert__detail {
	margin-top: 4px;
	font-weight: 500;
}

/* ------------------------------------------------------------------------
 * Email signatures
 * --------------------------------------------------------------------- */

.sw-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 4px;
	border-radius: 999px;
	background: var(--sw-mist);
	align-self: flex-start;
}

.sw-tabs__tab {
	padding: 8px 16px;
	border-radius: 999px;
	color: var(--sw-taupe-text);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.sw-tabs__tab:hover {
	color: var(--sw-bark);
}

.sw-tabs__tab.is-current {
	background: var(--sw-white);
	color: var(--sw-forest);
	box-shadow: var(--sw-shadow);
}

.sw-sig-picker {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-end;
}

.sw-sig-picker .sw-field {
	flex: 1 1 320px;
}

.sw-sig {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 18px;
}

.sw-sig__pane {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.sw-sig__code {
	min-height: 380px;
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 13px;
	line-height: 1.5;
	white-space: pre;
	tab-size: 2;
}

.sw-sig__preview {
	width: 100%;
	min-height: 380px;
	flex: 1;
	border: 1.5px solid var(--sw-line);
	border-radius: 10px;
	background: var(--sw-white);
}

.sw-sig__meta {
	color: var(--sw-taupe-text);
	font-size: 13px;
}

.sw-sig__placeholders summary {
	color: var(--sw-forest);
	font-weight: 700;
	cursor: pointer;
}

.sw-sig__keys {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 6px 18px;
	margin-top: 12px;
	font-size: 13px;
}

.sw-sig__keys div {
	display: flex;
	gap: 8px;
	align-items: baseline;
}

.sw-sig__keys code {
	color: var(--sw-forest);
}

.sw-sig__keys dd {
	margin: 0;
	color: var(--sw-taupe-text);
}

@container (min-width: 820px) {
	.sw-sig {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}

.sw-sig__phone {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
}

.sw-sig__phone .sw-choice__text {
	display: flex;
	flex-direction: column;
}

/* ------------------------------------------------------------------------
 * Admin toolbar (administrators only): tucked away until opened
 *
 * The theme turns off WordPress's own page offset (add_theme_support
 * 'admin-bar' in functions.php) and applies it here only while open.
 * --------------------------------------------------------------------- */

html.sw-adminbar-closed {
	--wp-admin--admin-bar--height: 0px;
}

html.sw-adminbar #wpadminbar {
	transition: transform 0.2s var(--sw-ease), visibility 0s linear 0.2s;
}

html.sw-adminbar-closed #wpadminbar {
	transform: translateY(-100%);
	visibility: hidden;
}

html.sw-adminbar-open #wpadminbar {
	transition: transform 0.2s var(--sw-ease);
}

html.sw-adminbar-open {
	margin-top: 32px;
}

.sw-adminbar-toggle {
	position: fixed;
	top: 0;
	left: 50%;
	z-index: 100000;
	display: grid;
	place-items: center;
	width: 44px;
	height: 20px;
	padding: 0;
	border: 0;
	border-radius: 0 0 10px 10px;
	background: var(--sw-bark);
	color: var(--sw-sun);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
	opacity: 0.8;
	cursor: pointer;
	transform: translateX(-50%);
	transition: top 0.2s var(--sw-ease), opacity 0.15s var(--sw-ease);
}

.sw-adminbar-toggle:hover,
.sw-adminbar-toggle:focus-visible {
	opacity: 1;
}

.sw-adminbar-toggle:focus-visible {
	outline: 3px solid var(--sw-sun-deep);
	outline-offset: 2px;
}

.sw-adminbar-toggle .sw-icon {
	width: 16px;
	height: 16px;
	transition: transform 0.2s var(--sw-ease);
}

html.sw-adminbar-open .sw-adminbar-toggle {
	top: 32px;
}

html.sw-adminbar-open .sw-adminbar-toggle .sw-icon {
	transform: rotate(180deg);
}

@media screen and (max-width: 782px) {
	html.sw-adminbar-open {
		margin-top: 46px;
	}

	html.sw-adminbar-open .sw-adminbar-toggle {
		top: 46px;
	}
}

/* On small phones WordPress lets the toolbar scroll away, so the tab does too. */
@media screen and (max-width: 600px) {
	.sw-adminbar-toggle {
		position: absolute;
	}
}

/* ------------------------------------------------------------------------
 * Card purchases
 * --------------------------------------------------------------------- */

.sw-card__lede {
	margin-top: -8px;
	color: var(--sw-taupe-text);
	font-size: 14px;
}

.sw-txn-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 6px;
	color: var(--sw-taupe-text);
	font-size: 14px;
}

.sw-table__sub {
	margin-top: 2px;
	color: var(--sw-taupe-text);
	font-size: 13.5px;
}

/* Labels and names on one wrapping line; Pencil wraps each name in its own block. */
.sw-table__people {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 4px;
}

.sw-table__action {
	display: flex;
	margin-top: 8px;
}

.sw-badge--qbo-open {
	background: var(--sw-lichen);
	color: #5b5d00;
}

.sw-badge--qbo-done {
	background: var(--sw-success-tint);
	color: var(--sw-success);
}

.sw-tabs__tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.sw-tabs__count {
	min-width: 22px;
	padding: 1px 7px;
	border-radius: 999px;
	background: var(--sw-sun);
	color: var(--sw-forest-ink);
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	text-align: center;
}

.sw-tabs--small .sw-tabs__tab {
	padding: 6px 12px;
	font-size: 13px;
}

/* Reconcile filters: a wrapping row of compact fields. */
.sw-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px 14px;
	padding: 16px;
	border-radius: var(--sw-radius);
	background: var(--sw-stone);
}

.sw-filters .sw-field {
	flex: 1 1 170px;
}

.sw-filters .sw-input {
	min-height: 42px;
	padding-top: 8px;
	padding-bottom: 8px;
}

.sw-filters__actions {
	display: flex;
	align-items: center;
	gap: 14px;
}

.sw-reconcile__summary {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 6px;
	color: var(--sw-taupe-text);
	font-size: 15px;
}

.sw-reconcile__summary strong {
	color: var(--sw-bark);
	font-variant-numeric: tabular-nums;
}

/* Keep the mark buttons in reach while ticking down a long list. */
.sw-reconcile__actions {
	position: sticky;
	bottom: 0;
	z-index: 2;
	margin: 0 -18px;
	padding: 14px 18px;
	border-top: 1px solid var(--sw-mist);
	background: rgba(255, 255, 255, 0.96);
}

.sw-check {
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	accent-color: var(--sw-forest);
	cursor: pointer;
}

.sw-table__th--check,
.sw-table__cell--check {
	width: 36px;
}

.sw-table--select .sw-table__row:has(.sw-check:checked) .sw-table__cell {
	background: var(--sw-forest-tint);
}

.sw-pager {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.sw-pager__label {
	color: var(--sw-taupe-text);
	font-size: 14px;
	font-variant-numeric: tabular-nums;
}

@container (min-width: 560px) {
	.sw-reconcile__actions {
		margin: 0 -26px;
		padding: 14px 26px;
	}
}

/* Narrow screens: the tick box sits to the left of each stacked row. */
@container (max-width: 699px) {
	.sw-table--select .sw-table__row {
		grid-template-columns: auto minmax(0, 1fr) auto;
	}

	.sw-table--select .sw-table__row:has(.sw-check:checked) {
		background: var(--sw-forest-tint);
	}

	.sw-table--select .sw-table__row:has(.sw-check:checked) .sw-table__cell {
		background: none;
	}

	.sw-table--select .sw-table__cell--check {
		grid-column: 1;
		grid-row: 1 / span 4;
		width: auto;
	}

	.sw-table--select .sw-table__cell--main {
		grid-column: 2;
	}

	.sw-table--select .sw-table__cell--num {
		grid-column: 3;
	}

	.sw-table--select .sw-table__cell--date,
	.sw-table--select .sw-table__cell--category,
	.sw-table--select .sw-table__cell--submitted {
		grid-column: 2;
	}

	.sw-table--select .sw-table__cell--status {
		grid-column: 3;
	}

	.sw-table__th--check {
		width: auto;
	}
}

/* Narrow screens: tabs fill one row as a segmented control; each tab is as
   wide as its label needs, wrapping only when the row runs out of room. */
@container (max-width: 599px) {
	.sw-tabs {
		flex-wrap: nowrap;
		align-self: stretch;
		border-radius: 14px;
	}

	.sw-tabs__tab {
		flex: 1 1 auto;
		justify-content: center;
		padding: 9px 10px;
		border-radius: 10px;
		line-height: 1.25;
		text-align: center;
	}

	.sw-tabs--small .sw-tabs__tab {
		padding: 7px 8px;
	}
}

/* ------------------------------------------------------------------------
 * Gate codes
 * --------------------------------------------------------------------- */

.sw-gate-code {
	color: var(--sw-bark);
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 17px;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.sw-input[data-sw-code] {
	max-width: 9em;
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 18px;
	letter-spacing: 0.15em;
}

.sw-badge--gate-active {
	background: var(--sw-success-tint);
	color: var(--sw-success);
}

.sw-badge--gate-adding,
.sw-badge--gate-removing {
	background: var(--sw-lake-tint);
	color: var(--sw-lake);
}

.sw-badge--gate-missing,
.sw-badge--gate-leftover {
	background: var(--sw-rust-tint);
	color: var(--sw-rust);
}

.sw-gate-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
}

.sw-gate-link {
	padding: 0;
	border: 0;
	background: none;
	font-family: inherit;
	cursor: pointer;
}

.sw-gate-more > summary {
	list-style: none;
	cursor: pointer;
}

.sw-gate-more > summary::-webkit-details-marker {
	display: none;
}

.sw-gate-more[open] {
	flex-basis: 100%;
}

.sw-gate-link--danger {
	color: var(--sw-rust);
}

.sw-gate-more__body {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 8px 10px;
	margin-top: 8px;
	padding: 12px;
	border-radius: var(--sw-radius);
	background: var(--sw-stone);
}

.sw-gate-more__body--danger {
	background: var(--sw-rust-tint);
}

.sw-gate-more__body .sw-field__label,
.sw-gate-more__body .sw-confirm__text {
	flex-basis: 100%;
}

@container (min-width: 700px) {
	.sw-table--gate .sw-table__cell--actions {
		width: 36%;
	}
}

@container (max-width: 699px) {
	.sw-table--gate .sw-table__cell--code {
		grid-column: 2;
		grid-row: 1;
		text-align: right;
	}

	.sw-table--gate .sw-table__cell--status {
		grid-row: 2 / span 2;
	}

	.sw-table--gate .sw-table__cell--actions {
		grid-column: 1 / -1;
		grid-row: 4;
		padding-top: 8px;
	}
}

/* ------------------------------------------------------------------------
 * Program schedule: color tags, week grid, dialog and class library
 * --------------------------------------------------------------------- */

.sw-color-plain {
	--sw-tone: var(--sw-taupe);
	--sw-tone-tint: var(--sw-stone);
}

.sw-color-green {
	--sw-tone: #3d6b35;
	--sw-tone-tint: #e7f1e2;
}

.sw-color-yellow {
	--sw-tone: #b39a00;
	--sw-tone-tint: #fbf7cf;
}

.sw-color-blue {
	--sw-tone: #3f6e7a;
	--sw-tone-tint: #e3eef1;
}

.sw-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--sw-taupe-text);
	font-size: 13px;
	font-weight: 600;
}

.sw-legend__item,
.sw-color-label,
.sw-class-name {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.sw-legend__item::before,
.sw-color-label::before,
.sw-class-name::before {
	content: "";
	flex: none;
	width: 12px;
	height: 12px;
	border-radius: 4px;
	background: var(--sw-tone);
}

.sw-week-tools .sw-weekbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
}

.sw-week-tools .sw-weekbar__label {
	min-width: 12em;
}

.sw-weekbar__jump {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
}

.sw-weekbar__jump .sw-input,
.sw-copy-week .sw-input {
	width: auto;
	min-height: 38px;
	padding: 6px 10px;
	font-size: 15px;
}

.sw-week-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
}

.sw-copy-week {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	padding: 12px 14px;
	border-radius: var(--sw-radius);
	background: var(--sw-stone);
}

.sw-copy-week__mode {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	font-size: 14px;
}

.sw-copy-week__mode label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
}

.sw-copy-week__mode input {
	accent-color: var(--sw-forest);
}

.sw-week-scroll {
	overflow-x: auto;
	margin: 0 -18px;
	padding: 0 18px 6px;
}

.sw-week-grid {
	display: grid;
	grid-template-columns: 64px repeat(7, minmax(138px, 1fr));
	min-width: 1040px;
}

.sw-week-grid__day {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 6px;
	padding: 8px 8px 10px;
	border-bottom: 2px solid var(--sw-line);
	color: var(--sw-bark);
}

.sw-week-grid__day.is-today {
	border-radius: 10px 10px 0 0;
	background: var(--sw-lichen);
	border-bottom-color: var(--sw-sun-deep);
}

.sw-week-grid__dayname {
	font-size: 15px;
	font-weight: 800;
}

.sw-week-grid__date {
	color: var(--sw-taupe-text);
	font-size: 13px;
	font-weight: 600;
}

.sw-week-grid__add {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	margin-left: auto;
	border-radius: 50%;
	background: var(--sw-forest);
	color: var(--sw-white);
}

.sw-week-grid__add .sw-icon {
	width: 16px;
	height: 16px;
}

.sw-week-grid__time {
	padding: 10px 8px 0 0;
	border-bottom: 1px solid var(--sw-mist);
	color: var(--sw-taupe-text);
	font-size: 12.5px;
	font-weight: 800;
	text-align: right;
	white-space: nowrap;
}

.sw-week-grid__cell {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-height: 52px;
	padding: 5px;
	border-bottom: 1px solid var(--sw-mist);
	border-left: 1px solid var(--sw-mist);
	transition: background-color 0.12s var(--sw-ease);
}

.sw-week-grid__cell.is-today {
	background: rgba(244, 246, 208, 0.45);
}

.sw-week-grid__cell.is-over {
	background: var(--sw-rust-tint);
}

.sw-week-grid__cell.is-drop {
	background: var(--sw-forest-tint);
	box-shadow: inset 0 0 0 2px var(--sw-forest);
}

.sw-week-grid__slot {
	display: block;
	padding: 3px;
	border: 1.5px dashed var(--sw-line);
	border-radius: 8px;
	color: var(--sw-taupe-text);
	font-size: 13px;
	font-weight: 800;
	text-align: center;
	text-decoration: none;
	opacity: 0;
	transition: opacity 0.12s var(--sw-ease);
}

.sw-week-grid__cell:hover .sw-week-grid__slot,
.sw-week-grid__slot:focus-visible,
.sw-week-grid__cell--new .sw-week-grid__slot {
	opacity: 1;
}

.sw-week-grid__cell--new .sw-week-grid__slot {
	font-size: 12px;
	font-weight: 700;
}

.sw-week-grid__time--new {
	color: var(--sw-line);
}

.sw-chip {
	display: flex;
	flex-direction: column;
	gap: 1px;
	padding: 6px 8px 7px;
	border-left: 4px solid var(--sw-tone);
	border-radius: 8px;
	background: var(--sw-tone-tint);
	color: var(--sw-bark);
	font-size: 12px;
	line-height: 1.3;
	text-decoration: none;
}

a.sw-chip {
	cursor: grab;
}

a.sw-chip:hover {
	box-shadow: var(--sw-shadow);
}

.sw-chip.is-dragging {
	opacity: 0.4;
}

.sw-chip__title {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.sw-chip__meta {
	color: var(--sw-taupe-text);
}

.sw-chip__who {
	color: var(--sw-forest-deep);
	font-weight: 700;
}

.sw-dialog {
	width: min(780px, calc(100vw - 24px));
	max-height: calc(100vh - 24px);
	padding: 22px;
	border: 0;
	border-radius: var(--sw-radius-lg);
	background: var(--sw-white);
	color: var(--sw-bark);
	box-shadow: var(--sw-shadow-lg);
}

.sw-dialog::backdrop {
	background: rgba(20, 24, 14, 0.5);
}

.sw-dialog__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.sw-dialog [hidden] {
	display: none !important;
}

.sw-instructors {
	margin: 0;
	padding: 0;
	border: 0;
}

.sw-checklist {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 0 12px;
	max-height: 220px;
	overflow-y: auto;
	padding: 6px 10px;
	border: 1.5px solid var(--sw-line);
	border-radius: 10px;
}

.sw-checklist__item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 5px 2px;
	font-size: 14px;
	cursor: pointer;
}

.sw-checklist__item input {
	flex: none;
	width: 18px;
	height: 18px;
	accent-color: var(--sw-forest);
}

.sw-checklist__item:has(input:checked) {
	color: var(--sw-forest-deep);
	font-weight: 700;
}

.sw-table--library .is-retired {
	opacity: 0.6;
}

/* Schedule suggestions: the review queue and "My suggestions". */
.sw-suggestions__list {
	display: grid;
	gap: 14px;
	margin-top: 16px;
}

.sw-suggestion {
	padding: 16px 18px;
	border: 1px solid var(--sw-line);
	border-left: 4px solid var(--sw-sun-deep);
	border-radius: var(--sw-radius-sm);
	background: var(--sw-white);
}

.sw-suggestion--add {
	border-left-color: var(--sw-forest);
}

.sw-suggestion--remove {
	border-left-color: var(--sw-rust);
}

.sw-suggestion__kind {
	margin: 0 0 2px;
	color: var(--sw-taupe-text);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.sw-suggestion__summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
}

.sw-suggestion__title {
	margin: 0;
	font-size: 17px;
}

.sw-suggestion__meta {
	margin: 4px 0 0;
	color: var(--sw-taupe-text);
	font-size: 14px;
}

.sw-suggestion__changes {
	display: grid;
	gap: 6px;
	margin: 12px 0 0;
	padding: 10px 12px;
	border-radius: 8px;
	background: var(--sw-stone);
	font-size: 14px;
}

.sw-suggestion__change {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 10px;
}

.sw-suggestion__change dt {
	color: var(--sw-taupe-text);
	font-weight: 700;
}

.sw-suggestion__change dd {
	margin: 0;
}

.sw-suggestion__was {
	color: var(--sw-taupe-text);
	text-decoration: line-through;
}

.sw-suggestion__arrow {
	margin: 0 6px;
	color: var(--sw-taupe);
}

.sw-suggestion__now {
	color: var(--sw-forest-deep);
}

.sw-suggestion__note,
.sw-suggestion__reply {
	margin: 12px 0 0;
	padding: 8px 12px;
	border-left: 3px solid var(--sw-line);
	font-size: 14px;
}

.sw-suggestion__note p,
.sw-suggestion__reply p {
	margin: 0;
}

.sw-suggestion__note footer,
.sw-suggestion__reply-by {
	margin-top: 4px;
	color: var(--sw-taupe-text);
	font-size: 13px;
}

.sw-suggestion__reply-by {
	margin: 0 0 4px;
}

.sw-suggestion__warning {
	margin: 12px 0 0;
	color: var(--sw-rust-ink);
	font-size: 14px;
	font-weight: 600;
}

.sw-suggestion__review {
	margin-top: 14px;
}

.sw-suggestion__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin-top: 10px;
}

.sw-suggestion__links {
	margin: 10px 0 0;
}

.sw-suggestions__recent {
	margin-top: 22px;
}

.sw-suggestions__recent summary {
	color: var(--sw-forest-deep);
	font-weight: 700;
	cursor: pointer;
}

@media (max-width: 559px) {
	.sw-suggestion__change {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}
}

/* Class editor: start time as an hour and a minute. */
.sw-time-pick {
	display: flex;
	align-items: center;
	gap: 6px;
}

.sw-time-pick .sw-input {
	flex: 1;
	min-width: 0;
}

.sw-time-pick__colon {
	font-weight: 700;
}

/* Removing a class: a small confirmation on top of the class dialog. */
.sw-dialog--confirm {
	width: min(460px, calc(100vw - 24px));
}

.sw-dialog__confirm-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 18px;
}

button.sw-confirm__toggle {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

/* Program schedule → By person. */
.sw-person-pick {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin-top: 14px;
}

.sw-person-pick .sw-field__label {
	margin: 0;
}

.sw-person-pick .sw-input {
	width: auto;
	min-width: min(18rem, 100%);
}

.sw-person-week .sw-card__lede {
	margin-top: 4px;
}

.sw-person-days {
	display: grid;
	gap: 20px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.sw-person-days__name {
	margin: 0 0 8px;
	font-size: 15px;
}

.sw-person-classes {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sw-person-class {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	gap: 2px 14px;
	padding: 10px 12px;
	border-left: 4px solid var(--sw-tone, var(--sw-line));
	border-radius: 10px;
	background: var(--sw-tone-tint, var(--sw-stone));
	color: inherit;
	text-decoration: none;
}

.sw-person-class:hover,
.sw-person-class:focus-visible {
	box-shadow: var(--sw-shadow-hover);
}

.sw-person-class__time {
	grid-row: span 2;
	color: var(--sw-tone, var(--sw-bark));
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.sw-person-class__title {
	font-weight: 700;
}

.sw-person-class__meta {
	color: var(--sw-taupe-text);
	font-size: 13.5px;
}

/* By person → add your classes to a calendar app. */
.sw-calendar-add {
	display: grid;
	justify-items: start;
	gap: 6px;
}

.sw-calendar-add .sw-field__help {
	max-width: 62ch;
	margin: 0;
}

.sw-calendar-add__other {
	width: 100%;
}

.sw-calendar-add__other summary {
	color: var(--sw-forest);
	font-weight: 700;
	cursor: pointer;
}

.sw-calendar-add__other > * + * {
	margin-top: 8px;
}

.sw-calendar-add__link {
	display: flex;
	gap: 8px;
	max-width: 40rem;
}

.sw-calendar-add__link .sw-input {
	flex: 1;
	min-width: 0;
	min-height: 38px;
	padding: 6px 10px;
	font-size: 14px;
}
