/**
 * WeStyle Partner app — mobile first (360px Android), big targets (≥56px),
 * high contrast, ≥16px text. Uses --ws-* tokens only.
 */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.wsp {
	margin: 0;
	background: var(--ws-cream);
	color: var(--ws-ink);
	font-family: var(--ws-font-body);
	font-size: 17px;
	line-height: 1.4;
	-webkit-tap-highlight-color: transparent;
}
body.has-sheet { overflow: hidden; }
.wsp button { font: inherit; color: inherit; cursor: pointer; }
.wsp img { max-width: 100%; display: block; }
.wsp a { color: var(--ws-rose-deep); }
[hidden] { display: none !important; }

/* Buttons */
.wsp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 56px;
	padding: 0 18px;
	border-radius: var(--ws-radius);
	border: 2px solid transparent;
	background: var(--ws-bg);
	font-size: 17px;
	font-weight: 700;
	transition: transform var(--ws-dur) var(--ws-ease), background var(--ws-dur) var(--ws-ease);
}
.wsp-btn:active { transform: scale(0.97); }
.wsp-btn:disabled { opacity: 0.5; }
.wsp-btn.is-busy { opacity: 0.6; pointer-events: none; }
.wsp-btn--primary { background: var(--ws-rose); color: var(--ws-bg) !important; }
.wsp-btn--green { background: var(--ws-success); color: var(--ws-bg) !important; }
.wsp-btn--red { background: var(--ws-danger); color: var(--ws-bg) !important; }
.wsp-btn--ghost { background: var(--ws-bg); border-color: var(--ws-line); color: var(--ws-ink); }
.wsp-btn--block { width: 100%; margin: 12px 0; }
.wsp-btn--small { min-height: 44px; font-size: 15px; padding: 0 12px; }
.wsp-red { color: var(--ws-danger); }

/* Login */
.wsp-login { max-width: 420px; margin: 0 auto; padding: 40px 20px; }
.wsp-login__logo { width: 160px; margin: 0 auto 20px; }
.wsp-login__title { font-family: var(--ws-font-display); font-size: 34px; margin: 0; text-align: center; }
.wsp-login__sub, .wsp-login__help { text-align: center; color: var(--ws-ink-soft); margin: 6px 0 20px; }
.wsp-login__form { background: var(--ws-bg); padding: 20px; border-radius: var(--ws-radius-lg); box-shadow: var(--ws-shadow); }
.wsp-field { display: block; margin: 0 0 14px; }
.wsp-field span { display: block; font-weight: 600; margin-bottom: 6px; font-size: 16px; }
.wsp-field input {
	width: 100%;
	min-height: 56px;
	padding: 0 14px;
	border: 2px solid var(--ws-line);
	border-radius: var(--ws-radius);
	font-size: 18px;
	background: var(--ws-bg);
	color: var(--ws-ink);
}
.wsp-field input:focus { outline: none; border-color: var(--ws-rose); }
.wsp-check { display: flex; align-items: center; gap: 10px; min-height: 48px; font-size: 16px; }
.wsp-check input { width: 24px; height: 24px; accent-color: var(--ws-rose); }
.wsp-alert { padding: 12px 14px; border-radius: var(--ws-radius); font-weight: 600; }
.wsp-alert--red { background: var(--ws-danger-tint); color: var(--ws-danger); }

/* App chrome */
.wsp--app { padding-bottom: 160px; }
.wsp-top {
	position: sticky;
	top: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 16px;
	background: var(--ws-rose);
	color: var(--ws-bg);
}
.wsp-top__store small { display: block; font-size: 13px; opacity: 0.85; }
.wsp-top__store strong { font-size: 18px; }
.wsp-top__out { color: var(--ws-bg) !important; text-decoration: none; font-size: 24px; width: 48px; height: 48px; display: grid; place-items: center; }
.wsp-install { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 16px; background: var(--ws-gold-tint); font-size: 16px; position: relative; padding-right: 48px; }
.wsp-install__x { position: absolute; right: 4px; top: 4px; width: 44px; height: 44px; border: 0; background: none; font-size: 18px; }
.wsp-main { padding: 12px 12px 0; max-width: 640px; margin: 0 auto; }
.wsp-h1 { font-family: var(--ws-font-display); font-size: 28px; margin: 6px 4px 10px; line-height: 1.15; }
.wsp-loading, .wsp-muted { color: var(--ws-ink-soft); text-align: center; padding: 20px; }
.wsp-empty { background: var(--ws-bg); border-radius: var(--ws-radius-lg); padding: 28px 20px; text-align: center; font-size: 20px; font-weight: 600; }
.wsp-empty small { display: block; margin-top: 8px; font-weight: 400; font-size: 16px; color: var(--ws-ink-soft); }

/* Bottom nav + FAB */
.wsp-nav {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 30;
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: var(--ws-bg);
	border-top: 1px solid var(--ws-line);
	padding-bottom: env(safe-area-inset-bottom);
}
.wsp-nav__btn { min-height: 64px; border: 0; background: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 16px; font-weight: 700; color: var(--ws-ink-soft) !important; }
.wsp-nav__btn span { font-size: 22px; }
.wsp-nav__btn.is-active { color: var(--ws-rose-deep) !important; box-shadow: inset 0 3px 0 var(--ws-rose); }
.wsp-fab {
	position: fixed;
	right: 14px;
	bottom: calc(76px + env(safe-area-inset-bottom));
	z-index: 31;
	min-height: 60px;
	padding: 0 22px;
	border: 0;
	border-radius: var(--ws-radius-pill);
	background: var(--ws-ink);
	color: var(--ws-bg) !important;
	font-size: 18px;
	font-weight: 800;
	box-shadow: var(--ws-shadow-lg);
}

/* Sections & cards */
.wsp-sec { margin: 0 0 18px; }
.wsp-sec__h { font-size: 19px; margin: 14px 4px 8px; display: flex; align-items: center; gap: 8px; }
.wsp-count { background: var(--ws-ink); color: var(--ws-bg); border-radius: var(--ws-radius-pill); font-size: 14px; padding: 2px 9px; }
.wsp-sec--late .wsp-sec__h { color: var(--ws-danger); }
.wsp-sec--new .wsp-sec__h { color: var(--ws-rose-deep); }
.wsp-card {
	display: grid;
	grid-template-columns: 84px 1fr;
	gap: 12px;
	background: var(--ws-bg);
	border-radius: var(--ws-radius-lg);
	padding: 12px;
	margin: 0 0 12px;
	box-shadow: var(--ws-shadow-sm);
	border: 2px solid transparent;
}
.wsp-card.is-late { border-color: var(--ws-danger); background: var(--ws-danger-tint); }
.wsp-card__img { width: 120px; height: 150px; flex: 0 0 120px; object-fit: cover; border-radius: var(--ws-radius); }
.wsp-tile__code { margin: 8px 10px 0; align-self: flex-start; }
.wsp-code { display: inline-block; margin: 0 0 2px; padding: 1px 8px; border-radius: 999px; background: var(--ws-cream, #f6efe9); font-size: 12px; font-weight: 700; letter-spacing: .5px; }
.wsp-card__body { min-width: 0; }
.wsp-card__top { display: flex; gap: 6px; flex-wrap: wrap; }
.wsp-card__name { font-size: 18px; margin: 4px 0; line-height: 1.2; }
.wsp-size { display: inline-block; background: var(--ws-ink); color: var(--ws-bg); border-radius: var(--ws-radius-sm); font-size: 15px; padding: 1px 8px; vertical-align: 2px; }
.wsp-card__who, .wsp-card__dates, .wsp-card__meta { margin: 2px 0; font-size: 16px; }
.wsp-card__meta { color: var(--ws-ink-soft); }
.wsp-card__status { margin: 4px 0 0; font-weight: 700; color: var(--ws-rose-deep); font-size: 15px; }
.wsp-card.is-late .wsp-card__status { color: var(--ws-danger); }
.wsp-card__actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr; gap: 8px; }
.wsp-card__actions .wsp-btn--half { grid-column: span 1; }
@media (min-width: 340px) {
	.wsp-card__actions { grid-template-columns: 1fr 1fr; }
	.wsp-card__actions .wsp-btn:not(.wsp-btn--half):only-child,
	.wsp-card__actions .wsp-btn--ghost:not(.wsp-btn--half) { grid-column: 1 / -1; }
}
.wsp-tag { font-size: 12px; font-weight: 800; letter-spacing: 0.04em; padding: 2px 8px; border-radius: var(--ws-radius-sm); }
.wsp-tag--online { background: var(--ws-rose-tint); color: var(--ws-rose-deep); }
.wsp-tag--offline { background: var(--ws-gold-tint); color: var(--ws-ink); }
.wsp-tag--late { background: var(--ws-danger); color: var(--ws-bg); }

/* Outfits grid */
.wsp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wsp-tile { border: 0; padding: 0; background: var(--ws-bg); border-radius: var(--ws-radius-lg); overflow: hidden; text-align: left; box-shadow: var(--ws-shadow-sm); display: flex; flex-direction: column; }
.wsp-tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.wsp-tile__name { font-weight: 700; padding: 8px 10px 0; font-size: 16px; }
.wsp-tile__sub { padding: 0 10px 10px; color: var(--ws-ink-soft); font-size: 15px; }
.wsp-grid--pick .wsp-tile img { aspect-ratio: 1; }
.wsp-back { border: 0; background: none; min-height: 48px; font-size: 17px; font-weight: 700; color: var(--ws-rose-deep) !important; padding: 0 4px; }
.wsp-phead { display: flex; gap: 12px; align-items: center; }
.wsp-phead img { width: 112px; height: 140px; object-fit: cover; border-radius: var(--ws-radius); }
.wsp-label { font-weight: 700; margin: 14px 4px 8px; }
.wsp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wsp-chip { min-height: 56px; min-width: 72px; padding: 0 14px; border-radius: var(--ws-radius); border: 2px solid var(--ws-line); background: var(--ws-bg); font-size: 18px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.wsp-chip.is-active { border-color: var(--ws-rose); background: var(--ws-rose-tint); }
.wsp-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.wsp-dot.is-free { background: var(--ws-success); }
.wsp-dot.is-out { background: var(--ws-danger); }
.wsp-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: var(--ws-ink-soft); font-size: 15px; margin: 6px 4px; }

/* Calendar */
.wsp-cal { background: var(--ws-bg); border-radius: var(--ws-radius-lg); padding: 10px; margin: 12px 0; box-shadow: var(--ws-shadow-sm); touch-action: pan-y; }
.wsp-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.wsp-cal__head strong { font-size: 19px; }
.wsp-cal__nav { width: 56px; height: 56px; border: 0; border-radius: var(--ws-radius); background: var(--ws-cream); font-size: 28px; font-weight: 700; }
.wsp-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.wsp-cal__dow { text-align: center; font-size: 13px; color: var(--ws-ink-soft); font-weight: 700; }
.wsp-day {
	min-height: 48px;
	border: 0;
	border-radius: var(--ws-radius-sm);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-size: 17px;
	font-weight: 700;
	padding: 0;
}
.wsp-day small { font-size: 10px; font-weight: 800; letter-spacing: 0.03em; }
.wsp-day.is-free { background: var(--ws-success-tint); color: var(--ws-success); }
.wsp-day.is-part { background: var(--ws-gold-tint); color: var(--ws-ink); }
.wsp-day.is-booked, .wsp-day.is-blocked { background: var(--ws-danger); color: var(--ws-bg); }
.wsp-day.is-cleaning { background: var(--ws-line); color: var(--ws-ink-soft); }
.wsp-day.is-past { opacity: 0.45; }
.wsp-day.is-today { outline: 3px solid var(--ws-ink); outline-offset: -3px; }
.wsp-day.is-sel { box-shadow: inset 0 0 0 3px var(--ws-rose); background: var(--ws-rose-tint); color: var(--ws-rose-deep); }
.wsp-sq { display: inline-block; width: 14px; height: 14px; border-radius: 3px; }
.wsp-sq.is-booked { background: var(--ws-danger); }
.wsp-sq.is-cleaning { background: var(--ws-line); }
.wsp-sq.is-free { background: var(--ws-success-tint); border: 1px solid var(--ws-success); }

/* Sheet */
.wsp-sheet { position: fixed; inset: 0; z-index: 50; background: rgba(33, 26, 23, 0.55); display: flex; align-items: flex-end; }
.wsp-sheet__panel { position: relative; width: 100%; max-width: 640px; margin: 0 auto; max-height: 92vh; overflow-y: auto; background: var(--ws-cream); border-radius: var(--ws-radius-lg) var(--ws-radius-lg) 0 0; padding: 16px 14px calc(20px + env(safe-area-inset-bottom)); }
.wsp-sheet__h { font-family: var(--ws-font-display); font-size: 26px; margin: 4px 48px 8px 4px; }
.wsp-sheet__x { position: absolute; right: 8px; top: 8px; width: 48px; height: 48px; border: 0; background: var(--ws-bg); border-radius: 50%; font-size: 20px; }
.wsp-picked { display: flex; align-items: center; gap: 10px; background: var(--ws-bg); border-radius: var(--ws-radius); padding: 8px; }
.wsp-picked img { width: 48px; height: 60px; object-fit: cover; border-radius: var(--ws-radius-sm); }
.wsp-picked b { flex: 1; }
.wsp-link { border: 0; background: none; color: var(--ws-rose-deep) !important; font-weight: 700; min-height: 48px; padding: 0 8px; }
.wsp-picked-dates { font-size: 18px; font-weight: 700; margin: 4px; }

.wsp-toast { position: fixed; left: 12px; right: 12px; bottom: calc(150px + env(safe-area-inset-bottom)); z-index: 60; background: var(--ws-ink); color: var(--ws-bg); padding: 14px 16px; border-radius: var(--ws-radius); font-weight: 700; text-align: center; box-shadow: var(--ws-shadow-lg); }
.wsp-toast.is-bad { background: var(--ws-danger); }

/* Notifications */
.wsp-top { gap: 4px; }
.wsp-top__store { flex: 1; min-width: 0; }
.wsp-bell { position: relative; width: 48px; height: 48px; border: 0; background: none; font-size: 24px; color: var(--ws-bg) !important; }
.wsp-bell.has-new span { display: inline-block; animation: wsp-shake 1.2s ease 2; }
.wsp-bell__n { position: absolute; top: 4px; right: 2px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--ws-radius-pill); background: var(--ws-bg); color: var(--ws-rose-deep); font-size: 13px; font-weight: 800; line-height: 22px; text-align: center; }
@keyframes wsp-shake { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-18deg); } 40% { transform: rotate(14deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(4deg); } }
.wsp-push { background: var(--ws-rose-tint); }
.wsp-banner {
	position: fixed; top: 8px; left: 8px; right: 8px; z-index: 70;
	display: flex; gap: 10px; align-items: center;
	padding: 10px 12px; border-radius: var(--ws-radius-lg);
	background: var(--ws-ink); color: var(--ws-bg); box-shadow: var(--ws-shadow-lg);
	transform: translateY(-140%); transition: transform 300ms var(--ws-ease); cursor: pointer;
}
.wsp-banner.is-in { transform: translateY(0); }
.wsp-banner img { width: 48px; height: 48px; border-radius: var(--ws-radius-sm); object-fit: cover; flex: 0 0 48px; }
.wsp-banner b { display: block; font-size: 16px; }
.wsp-banner span { display: block; font-size: 15px; opacity: 0.92; }
.wsp-nbar { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; }
.wsp-notif { display: flex; gap: 10px; width: 100%; text-align: left; padding: 10px; margin: 0 0 8px; border: 2px solid transparent; border-radius: var(--ws-radius); background: var(--ws-bg); min-height: 72px; }
.wsp-notif.is-unread { border-color: var(--ws-rose); background: var(--ws-rose-tint); }
.wsp-notif--late { border-left: 6px solid var(--ws-danger); }
.wsp-notif--cancel b { color: var(--ws-danger); }
.wsp-notif img, .wsp-notif__ph { width: 56px; height: 70px; border-radius: var(--ws-radius-sm); object-fit: cover; flex: 0 0 56px; display: grid; place-items: center; background: var(--ws-cream); font-size: 26px; }
.wsp-notif__body { display: flex; flex-direction: column; gap: 2px; font-size: 15px; min-width: 0; }
.wsp-notif__body b { font-size: 16px; }
.wsp-notif__body small { color: var(--ws-ink-soft); font-size: 13px; }

/* Handover/return buttons locked until the right day. */
.wsp-btn[disabled], .wsp-btn--locked { opacity: .5; cursor: not-allowed; filter: grayscale(.4); pointer-events: none; }

/* Size the customer chose — the most important line for the store owner. */
.wsp-card__size { margin: 4px 0; padding: 6px 10px; border-radius: 8px; background: #fbeaef; color: #a72c4c; font-size: 17px; line-height: 1.35; }
.wsp-card__size b { font-size: 18px; }
.wsp-card__size span { display: block; font-size: 14px; color: #57493f; }
.wsp-card__size.is-missing { background: #f3e9dd; color: #57493f; font-size: 15px; }
.wsp-card__note { margin: 2px 0 4px; font-size: 14px; color: #57493f; }

/* Demo fixes: menu, help, Kamai, band, offline, back-stack */
.wsp-top__menu { width: 48px; height: 48px; border: 0; background: none; color: var(--ws-bg) !important; font-size: 26px; line-height: 1; }
.wsp-main { padding-bottom: 24px; }
body.is-detail .wsp-fab, body.is-kamai .wsp-fab, body.has-sheet .wsp-fab { display: none; }
.wsp-bell.is-offline::after { content: ''; position: absolute; left: 6px; bottom: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--ws-gold); }
.wsp-err { display: grid; gap: 10px; text-align: center; }
.wsp-err p { margin: 0; }
.wsp-offline { background: var(--ws-gold-tint); border-radius: var(--ws-radius); padding: 10px 12px; font-weight: 600; margin: 0 0 10px; }
.wsp-card.is-muted { opacity: 0.7; background: var(--ws-cream-deep); }
.wsp-sec--muted .wsp-sec__h { color: var(--ws-ink-soft); }
.wsp-card.is-flash { animation: wsp-flash 1.4s ease; }
@keyframes wsp-flash { 0%, 100% { box-shadow: var(--ws-shadow-sm); } 30% { box-shadow: 0 0 0 4px var(--ws-rose); } }
.wsp-helpbox { background: var(--ws-bg); border-radius: var(--ws-radius-lg); padding: 14px; margin: 18px 0 8px; text-align: center; font-size: 16px; }
.wsp-helpbox--menu { margin-top: 0; text-align: left; }
.wsp-helpbox__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.wsp-helpbox__btns a { text-decoration: none; }
.wsp-login__help { text-align: center; color: var(--ws-ink-soft); }
.wsp-login__help .wsp-btn { text-decoration: none; margin: 8px 0 0; }
.wsp-tile__price { padding: 2px 10px 0; font-weight: 700; color: var(--ws-rose-deep); font-size: 15px; }
.wsp-price { margin: 0 4px; font-weight: 800; color: var(--ws-rose-deep); font-size: 18px; }
.wsp-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.wsp-block { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--ws-cream-deep); border-left: 6px solid var(--ws-danger); border-radius: var(--ws-radius); padding: 10px 12px; margin: 0 0 8px; }
.wsp-block div { display: grid; gap: 2px; font-size: 15px; }
.wsp-block span { color: var(--ws-ink-soft); }
.wsp-money { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wsp-money .wsp-field input { padding: 0 8px; }
.wsp-walkin { background: var(--ws-success-tint); border-radius: var(--ws-radius); padding: 4px 12px; font-weight: 700; }
.wsp-left { text-align: left; padding: 0 4px; }
.wsp-chip small, .wsp-label small { font-weight: 400; color: var(--ws-ink-soft); font-size: 14px; }
.wsp-earn { background: var(--ws-bg); border-radius: var(--ws-radius-lg); padding: 12px 14px; margin: 0 0 12px; box-shadow: var(--ws-shadow-sm); }
.wsp-earn .wsp-sec__h { margin-top: 0; }
.wsp-earn__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wsp-earn__grid div { background: var(--ws-cream); border-radius: var(--ws-radius); padding: 10px; display: grid; }
.wsp-earn__grid b { font-family: var(--ws-font-display); font-size: 28px; line-height: 1.1; }
.wsp-earn__grid span { color: var(--ws-ink-soft); font-size: 14px; }
.wsp-earn__share { font-size: 18px; margin: 10px 0 2px; }
.wsp-earn__share b { color: var(--ws-success); }
.wsp-earn__off { text-align: left; padding: 0; }
.wsp-note { background: var(--ws-gold-tint); border-radius: var(--ws-radius); padding: 10px 12px; font-weight: 600; }
.wsp-nav { grid-template-columns: repeat(3, 1fr); }
.wsp-fab { transition: transform 250ms var(--ws-ease), opacity 250ms var(--ws-ease); }
.wsp-fab.is-away { transform: translateY(140px); opacity: 0; pointer-events: none; }

/* Keep the floating "+ Offline booking" button from covering the last card's buttons. */
.wsp-main { padding-bottom: 120px; }

/* English + lists: segmented Bookings tabs, status chips */
.wsp-seg { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin: 0 -2px 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.wsp-seg::-webkit-scrollbar { display: none; }
.wsp-seg__btn { flex: 0 0 auto; min-height: 48px; padding: 0 14px; border-radius: var(--ws-radius-pill); border: 2px solid var(--ws-line); background: var(--ws-bg); font-size: 16px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.wsp-seg__btn.is-active { background: var(--ws-ink); border-color: var(--ws-ink); color: var(--ws-bg) !important; }
.wsp-seg__btn.is-active .wsp-count { background: var(--ws-bg); color: var(--ws-ink); }
.wsp-card__top { align-items: center; }
.wsp-chip-st { font-size: 13px; font-weight: 800; padding: 2px 9px; border-radius: var(--ws-radius-pill); background: var(--ws-cream-deep); color: var(--ws-ink); }
.wsp-chip-st--up { background: var(--ws-rose-tint); color: var(--ws-rose-deep); }
.wsp-chip-st--with { background: var(--ws-gold-tint); color: var(--ws-ink); }
.wsp-chip-st--late { background: var(--ws-danger); color: var(--ws-bg); }
.wsp-chip-st--ret { background: var(--ws-success-tint); color: var(--ws-success); }
.wsp-chip-st--clean { background: var(--ws-line); color: var(--ws-ink-soft); }
.wsp-chip-st--dec { background: var(--ws-cream-deep); color: var(--ws-ink-soft); }
.wsp-card__status { display: none; }
.wsp-empty--small { font-size: 17px; padding: 20px; }
.wsp-nav { grid-template-columns: repeat(4, 1fr); }
.wsp-nav__btn { font-size: 14px; min-height: 64px; }
.wsp-card__meta, .wsp-card__who, .wsp-card__dates { font-size: 16px; }
.wsp-card__size { font-size: 16px; }
.wsp-nav__btn { font-size: 13px; white-space: nowrap; }

/* Header menu toggle: bigger tap area, slim lines (SVG). */
.wsp-top__menu { width: 52px; height: 52px; display: inline-grid; place-items: center; border-radius: 12px; font-size: 0; }
.wsp-top__menu svg { width: 28px; height: 28px; }
.wsp-top__menu:active { background: rgba(255,255,255,.12); }

/* Sheet close (✕) stays visible while the form scrolls; sheet never goes under the browser bar. */
.wsp-sheet__panel { max-height: calc(100dvh - 32px - env(safe-area-inset-top)); padding-top: 0; }
.wsp-sheet__x {
	position: sticky !important;
	top: 0;
	float: right;
	z-index: 5;
	width: 44px;
	height: 44px;
	margin: 10px -4px 0 8px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--ws-bg);
	box-shadow: 0 2px 8px rgba(33, 26, 23, 0.18);
	font-size: 20px;
}
.wsp-sheet__panel > :not(.wsp-sheet__x):first-of-type { padding-top: 16px; }

/* Tap-to-zoom photo */
.wsp-card__img, .wsp-phead img { cursor: zoom-in; }
.wsp-zoom { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.9); display: flex; align-items: center; justify-content: center; padding: 16px; }
.wsp-zoom img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.wsp-zoom button { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; font-size: 20px; }
/* Lighter, mobile-site style titles */
.wsp-card__name { font-family: var(--ws-font-body); font-size: 15px; font-weight: 500; line-height: 1.35; }
.wsp-tile__name { font-family: var(--ws-font-body); font-size: 14px; font-weight: 400; line-height: 1.35; }
.wsp-h1 { font-family: var(--ws-font-body); font-size: 19px; font-weight: 600; line-height: 1.3; }
