:root {
	--ywi-plum: #2E2433;
	--ywi-plum-soft: #6B5D6E;
	--ywi-rose: #C77B8A;
	--ywi-rose-light: #E7B6BC;
	--ywi-gold: #D9A85C;
	--ywi-sage-deep: #5E7A55;
	--ywi-sage: #8FA97E;
	--ywi-sage-soft: #B7CBA8;
	--ywi-sage-pale: #E9F0E1;
	--ywi-cream: #FBF7EF;
	--ywi-white: #FFFFFF;
	--ywi-border: rgba(46,36,51,0.10);
	--ywi-muted: #6B5D6E;
	/* kept for the few older rules below that still reference these */
	--ywi-berry: #2E2433;
	--ywi-rose-deep: #C77B8A;
	--ywi-blush: #F7E6E8;
	--ywi-gold-light: #FBF0DA;
	--ywi-sage-light: #E9F0E1;
	--ywi-rose-soft: #F4DADD;
	/* ywi-public.css's .ywi-btn-primary (and a couple of other shared
	   classes) reads these unprefixed names, which it defines itself but
	   only scoped under .ywi-public. That button is also used on the
	   Home tab's cards, which aren't inside a .ywi-public wrapper, so
	   without these aliases here it silently rendered without its pink
	   gradient background there. */
	--rose-deep: var(--ywi-rose-deep);
	--rose: var(--ywi-rose);
	--white: var(--ywi-white);
	--gold: var(--ywi-gold);
}

.ywi-dash {
	max-width: 1200px;
	margin: 0 auto;
	font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--ywi-plum);
	position: relative;
	overflow-x: hidden;
	width: 100%;
}
.ywi-dash * { box-sizing: border-box; min-width: 0; }
.ywi-dash h1, .ywi-dash h2, .ywi-dash h3, .ywi-dash h4, .ywi-dash h5, .ywi-dash h6 { font-family: "Fraunces", serif; }
.ywi-loggedout-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; position: relative; z-index: 2; }
.ywi-loggedout-aura { position: absolute; width: min(560px,90vw); height: min(560px,90vw); border-radius: 50%; background: radial-gradient(circle, rgba(231,182,188,.42) 0%, rgba(217,168,92,.22) 45%, transparent 72%); filter: blur(6px); animation: ywiAuraPulse 6s ease-in-out infinite; z-index: 0; pointer-events: none; }
@keyframes ywiAuraPulse { 0%,100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.08); opacity: 1; } }
.ywi-loggedout-card { position: relative; z-index: 1; max-width: 460px; width: 100%; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); border-radius: 28px; padding: 48px 38px; text-align: center; box-shadow: 0 24px 60px rgba(46,36,51,.12); }
.ywi-loggedout-flower { width: 60px; height: 60px; margin-bottom: 14px; }
.ywi-loggedout-eyebrow { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ywi-rose); margin-bottom: 10px; }
.ywi-loggedout-card h1 { font-family: "Fraunces", serif; font-size: 1.9rem; font-weight: 600; color: var(--ywi-plum); line-height: 1.2; margin-bottom: 14px; }
.ywi-loggedout-card h1 em { font-style: italic; color: var(--ywi-rose); }
.ywi-loggedout-card p { color: var(--ywi-plum-soft); font-size: .96rem; line-height: 1.6; margin-bottom: 26px; }
.ywi-loggedout-btn { display: inline-block; background: linear-gradient(120deg, var(--ywi-rose), var(--ywi-gold)); color: #fff; font-weight: 700; font-size: .96rem; padding: 16px 32px; border-radius: 16px; text-decoration: none; box-shadow: 0 16px 32px rgba(199,123,138,.3); transition: transform .2s ease; }
.ywi-loggedout-btn:hover { transform: translateY(-2px); }
.ywi-loggedout-alt { margin: 20px 0 0; font-size: .86rem; }
.ywi-loggedout-alt a { color: var(--ywi-rose); font-weight: 700; text-decoration: none; border-bottom: 1.5px solid var(--ywi-rose-light); }

/* ==========================================================================
   Ambient — meadow-wind background + flying flower + drifting petals +
   the on-load petal burst. Fixed to the viewport (not .ywi-dash), so it
   sits behind the whole page regardless of where the shortcode lands.
   ========================================================================== */
.ywi-dash-petal-overlay { position: fixed; inset: 0; z-index: 50; pointer-events: none; overflow: hidden; }
.ywi-dash-burst-petal { position: absolute; top: -40px; width: 14px; height: 18px; opacity: 0; animation: ywiBurstFall 1.6s ease-in forwards; }
@keyframes ywiBurstFall { 0% { opacity: 0; transform: translateY(0) rotate(0deg); } 12% { opacity: .95; } 100% { opacity: 0; transform: translateY(100vh) rotate(420deg); } }

.ywi-dash-flyer { position: fixed; top: 10%; left: -10%; width: 52px; height: 52px; z-index: 1; pointer-events: none; animation: ywiFlyAcross 30s linear infinite; }
.ywi-dash-flyer svg { width: 100%; height: 100%; animation: ywiFlyerSpin 3.2s ease-in-out infinite; }
@keyframes ywiFlyAcross { 0% { left: -10%; top: 14%; } 25% { top: 8%; } 50% { left: 52%; top: 18%; } 75% { top: 10%; } 100% { left: 112%; top: 15%; } }
@keyframes ywiFlyerSpin { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(10deg); } }
.ywi-dash-trail-petal { position: fixed; top: 0; left: 0; width: 10px; height: 14px; z-index: 1; pointer-events: none; opacity: 0; animation: ywiTossPetal 3.4s ease-in infinite; }
@keyframes ywiTossPetal { 0% { opacity: 0; transform: translate(0,0) rotate(0deg) scale(.6); } 8% { opacity: .8; } 100% { opacity: 0; transform: translate(-60px,200px) rotate(320deg) scale(.85); } }
@media (prefers-reduced-motion: reduce) { .ywi-dash-flyer, .ywi-dash-trail-petal, .ywi-meadow-wind .gb, .ywi-meadow-wind .gflower { animation: none !important; } }

.ywi-meadow-wind { position: fixed; inset: auto 0 0 0; height: 70vh; pointer-events: none; z-index: 0; overflow: hidden;
	-webkit-mask-image: linear-gradient(to top,#000 0%,#000 6%,rgba(0,0,0,.5) 26%,rgba(0,0,0,.16) 46%,transparent 60%);
	mask-image: linear-gradient(to top,#000 0%,#000 6%,rgba(0,0,0,.5) 26%,rgba(0,0,0,.16) 46%,transparent 60%); }
.ywi-meadow-wind svg { position: absolute; bottom: -2%; left: 50%; transform: translateX(-50%); width: min(1700px, 220vw); height: auto; }
.ywi-meadow-wind .gb { transform-box: fill-box; animation-name: ywiGsway; animation-timing-function: ease-in-out; animation-iteration-count: infinite; }
@keyframes ywiGsway { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(6deg); } }
.ywi-meadow-wind .gb.sway1 { animation-name: ywiGsway1; } @keyframes ywiGsway1 { 0%,100%{transform:rotate(-6.5deg);} 50%{transform:rotate(4.5deg);} }
.ywi-meadow-wind .gb.sway2 { animation-name: ywiGsway2; } @keyframes ywiGsway2 { 0%,100%{transform:rotate(-4deg);} 50%{transform:rotate(7deg);} }
.ywi-meadow-wind .gb.sway3 { animation-name: ywiGsway3; } @keyframes ywiGsway3 { 0%,100%{transform:rotate(-7deg);} 50%{transform:rotate(3.5deg);} }
.ywi-meadow-wind .gb.sway4 { animation-name: ywiGsway4; } @keyframes ywiGsway4 { 0%,100%{transform:rotate(-3.5deg);} 50%{transform:rotate(6.5deg);} }
.ywi-meadow-wind .gb.sway5 { animation-name: ywiGsway5; } @keyframes ywiGsway5 { 0%,100%{transform:rotate(-5.5deg);} 50%{transform:rotate(5deg);} }
.ywi-meadow-wind .gflower { transform-box: fill-box; animation-timing-function: ease-in-out; animation-iteration-count: infinite; }
.ywi-meadow-wind .fsway0 { animation-name: ywiFsway0; } @keyframes ywiFsway0 { 0%,100%{transform:rotate(-2deg);} 50%{transform:rotate(2.4deg);} }
.ywi-meadow-wind .fsway1 { animation-name: ywiFsway1; } @keyframes ywiFsway1 { 0%,100%{transform:rotate(-3deg);} 50%{transform:rotate(1.6deg);} }
.ywi-meadow-wind .fsway2 { animation-name: ywiFsway2; } @keyframes ywiFsway2 { 0%,100%{transform:rotate(-1.6deg);} 50%{transform:rotate(3deg);} }
.ywi-meadow-wind .fsway3 { animation-name: ywiFsway3; } @keyframes ywiFsway3 { 0%,100%{transform:rotate(-2.6deg);} 50%{transform:rotate(2deg);} }
@media (max-width: 640px) {
	.ywi-meadow-wind { height: 50vh;
		-webkit-mask-image: linear-gradient(to top,#000 0%,#000 8%,rgba(0,0,0,.45) 34%,transparent 64%);
		mask-image: linear-gradient(to top,#000 0%,#000 8%,rgba(0,0,0,.45) 34%,transparent 64%); }
	.ywi-dash-flyer { width: 40px; height: 40px; }
}

/* ==========================================================================
   Shell — sidebar rail (desktop) + bottom tab bar (mobile)
   ========================================================================== */
.ywi-dash-shell { position: relative; z-index: 2; display: grid; grid-template-columns: 80px 1fr; min-height: 70vh; }

.ywi-rail { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 22px 0; border-right: 1px solid var(--ywi-border); background: rgba(255,255,255,.55); backdrop-filter: blur(6px); border-radius: 20px 0 0 20px; }
.ywi-rail-logo svg { width: 30px; height: 30px; }
.ywi-rail-nav { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.ywi-rail-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--ywi-sage), var(--ywi-sage-deep)); display: flex; align-items: center; justify-content: center; color: var(--ywi-white); font-weight: 800; font-size: .82rem; margin-top: auto; border: none; padding: 0; cursor: pointer; overflow: hidden; font-family: inherit; }
.ywi-rail-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Native profile-photo modal (BuddyBoss removal) — reuses .ywi-quiz-modal
   for the overlay/card shell, these two rules cover just the photo circle. */
.ywi-avatar-modal-preview { width: 110px; height: 110px; border-radius: 50%; overflow: hidden; margin: 0 auto 16px; background: linear-gradient(135deg, var(--ywi-sage), var(--ywi-sage-deep)); display: flex; align-items: center; justify-content: center; color: var(--ywi-white); font-weight: 800; font-size: 2.2rem; }
.ywi-avatar-modal-preview img { width: 100%; height: 100%; object-fit: cover; }

.ywi-tabbar { display: none; }
.ywi-tabbar-scroll { display: flex; }

.ywi-tab { background: transparent; border: none; cursor: pointer; font-family: inherit; color: var(--ywi-plum-soft); text-decoration: none; transition: background .2s ease, color .2s ease; }
.ywi-rail .ywi-tab { width: 48px; height: 48px; border-radius: 15px; display: flex; align-items: center; justify-content: center; }
.ywi-rail .ywi-tab:hover { background: var(--ywi-sage-pale); }
.ywi-rail .ywi-tab.active { background: linear-gradient(135deg, var(--ywi-rose), var(--ywi-gold)); box-shadow: 0 8px 18px rgba(199,123,138,.32); color: #fff; }
.ywi-tab-icon { width: 20px; height: 20px; }

.ywi-dash-main { padding: 26px clamp(16px, 3vw, 32px) 50px; min-width: 0; }

.ywi-panel { display: none; }
.ywi-panel.active { display: block; animation: ywi-panel-in .35s ease-out; }
@keyframes ywi-panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .ywi-panel.active { animation: none; } }

@media (max-width: 860px) {
	.ywi-dash-shell { grid-template-columns: 1fr; }
	.ywi-rail { display: none; }

	/* Mobile tab bar now lives fixed to the BOTTOM of the screen (the
	   usual place for primary nav in a mobile app) instead of sticky at
	   the top — that frees the top of the screen for the greeting/date
	   header, and it's also what lets a nested sticky sub-nav (e.g. the
	   Everyday Tools tab's own tool tabs) use top:0 without fighting
	   this bar for the same spot. It mirrors the desktop rail's full
	   button list (see ywi_dash_tabbar_end in templates/dashboard.php)
	   rather than a hand-picked subset, so nothing is missing here that
	   the desktop sidebar has — with that many buttons it won't all fit
	   on one screen width, so the inner .ywi-tabbar-scroll strip scrolls
	   horizontally (same technique already used for Everyday Tools' own
	   sub-tab strip) with its scrollbar hidden for a cleaner look. */
	.ywi-tabbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: rgba(251,247,239,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--ywi-border); border-radius: 0; padding-bottom: env(safe-area-inset-bottom, 0); }
	.ywi-tabbar-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 6px 6px; gap: 2px; }
	.ywi-tabbar-scroll::-webkit-scrollbar { display: none; }
	.ywi-tabbar .ywi-tab { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 12px; border-radius: 12px; font-size: .62rem; font-weight: 700; white-space: nowrap; }
	.ywi-tabbar .ywi-tab.active { color: var(--ywi-rose); background: var(--ywi-sage-pale); box-shadow: none; }
	/* Room at the bottom of the scrolling content so the fixed bar never
	   covers the last thing on a panel; room at the top since the bar
	   no longer sits up there. ~64px covers icon+label+padding at typical
	   phone widths, plus the safe-area inset on notched iPhones. */
	.ywi-dash-main { padding: 14px 4vw calc(78px + env(safe-area-inset-bottom, 0)); }
}

/* ==========================================================================
   Home overview — greeting + progress ring + card grid + storefront
   ========================================================================== */
.ywi-dash-top { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.ywi-dash-greet { font-size: clamp(1.3rem, 3.6vw, 1.9rem); font-weight: 600; }
.ywi-dash-greet em { font-style: italic; color: var(--ywi-rose); }
.ywi-dash-date { color: var(--ywi-plum-soft); font-size: .86rem; margin-top: 4px; }
.ywi-ring-chip { display: flex; align-items: center; gap: 10px; background: var(--ywi-white); border: 1px solid var(--ywi-border); border-radius: 999px; padding: 6px 14px 6px 6px; }
.ywi-ring-chip svg { width: 30px; height: 30px; transform: rotate(-90deg); }
.ywi-ring-chip span { font-weight: 700; font-size: .82rem; }

.ywi-home-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ywi-hcard { background: var(--ywi-white); border: 1px solid var(--ywi-border); border-radius: 20px; padding: 18px; position: relative; overflow: hidden; opacity: 0; transform: translateY(12px); animation: ywiCardIn .5s cubic-bezier(.34,1.2,.64,1) forwards; }
.ywi-hcard:nth-child(1){animation-delay:.02s;} .ywi-hcard:nth-child(2){animation-delay:.07s;} .ywi-hcard:nth-child(3){animation-delay:.12s;}
.ywi-hcard:nth-child(4){animation-delay:.17s;} .ywi-hcard:nth-child(5){animation-delay:.22s;} .ywi-hcard:nth-child(6){animation-delay:.27s;}
@keyframes ywiCardIn { to { opacity: 1; transform: translateY(0); } }
.ywi-hcard::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--accent, linear-gradient(90deg, var(--ywi-rose), var(--ywi-gold))); opacity: .9; }
.ywi-hcard h6 { font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ywi-sage-deep); font-weight: 800; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.ywi-hcard h6 .ywi-h6-icon { width: 28px; height: 28px; border-radius: 9px; background: var(--chip, var(--ywi-sage-pale)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ywi-hcard h6 svg { width: 15px; height: 15px; }
.ywi-hcard p { font-size: .84rem; color: var(--ywi-plum-soft); }
.ywi-hcard .ywi-big-num { font-weight: 600; font-size: 1.05rem; font-family: "Fraunces", serif; }
.ywi-hcard a { color: var(--ywi-rose); font-weight: 700; text-decoration: none; border-bottom: 1.5px solid var(--ywi-rose-light); }
/* .ywi-hcard a above is more specific than .ywi-btn-primary alone (a
   class+element selector beats a single class), so it was silently
   overriding that button's white text to this same rose/pink color —
   invisible against the button's own pink gradient background. This
   explicit override wins back the white text wherever .ywi-btn-primary
   is used inside a card. */
.ywi-hcard a.ywi-btn-primary { color: var(--ywi-white); border-bottom: none; }

.ywi-hcard.wide { grid-column: span 2; background: linear-gradient(120deg, var(--ywi-sage-deep), var(--ywi-sage)); color: var(--ywi-white); display: flex; align-items: center; gap: 14px; }
.ywi-hcard.wide::before { display: none; }
.ywi-hcard.wide h6 { color: rgba(255,255,255,.75); }
.ywi-hcard.wide h6 .ywi-h6-icon { background: rgba(255,255,255,.16); }
.ywi-mini-ring { width: 46px; height: 46px; flex-shrink: 0; }

.ywi-explore-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 22px; padding: 16px 18px; border: 1px solid var(--ywi-border); border-radius: 16px; background: rgba(255,255,255,.5); }
.ywi-explore-label { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--ywi-sage-deep); margin-right: 4px; }
.ywi-explore-strip a { font-size: .84rem; font-weight: 700; color: var(--ywi-plum-soft); text-decoration: none; border-bottom: 1.5px solid transparent; transition: color .15s ease, border-color .15s ease; }
.ywi-explore-strip a:hover { color: var(--ywi-rose); border-color: var(--ywi-rose-light); }

/* ---------- "Finish setting up" checklist card ---------- */
.ywi-checklist-card { background: linear-gradient(120deg, var(--ywi-sage-pale) 0%, #fdf3e7 100%); border-radius: 22px; padding: 22px 24px; margin-bottom: 20px; }
.ywi-checklist-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.ywi-checklist-head h3 { font-family: "Fraunces", serif; font-size: 1.1rem; font-weight: 600; }
.ywi-checklist-progress { font-size: .78rem; font-weight: 800; color: var(--ywi-sage-deep); }
.ywi-checklist-bar { height: 8px; border-radius: 5px; background: rgba(255,255,255,.6); overflow: hidden; margin-bottom: 16px; }
.ywi-checklist-bar-fill { height: 100%; background: linear-gradient(90deg, var(--ywi-rose), var(--ywi-gold)); border-radius: 5px; transition: width .3s ease; }
.ywi-checklist-items { display: flex; flex-direction: column; gap: 8px; }
.ywi-checklist-item { display: flex; align-items: center; gap: 12px; background: var(--ywi-white); border-radius: 14px; padding: 12px 16px; text-decoration: none; color: var(--ywi-plum); transition: transform .15s ease, box-shadow .15s ease; }
.ywi-checklist-item:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(46,36,51,.08); }
.ywi-checklist-item.done { opacity: .6; }
.ywi-checklist-check { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--ywi-sage-soft); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.ywi-checklist-item.done .ywi-checklist-check { background: var(--ywi-sage-deep); border-color: var(--ywi-sage-deep); }
.ywi-checklist-check svg { width: 13px; height: 13px; opacity: 0; stroke: #fff; }
.ywi-checklist-item.done .ywi-checklist-check svg { opacity: 1; }
.ywi-checklist-label { flex: 1; font-weight: 700; font-size: .88rem; }
.ywi-checklist-item.done .ywi-checklist-label { text-decoration: line-through; }
.ywi-checklist-arrow { color: var(--ywi-plum-soft); flex-shrink: 0; }
.ywi-checklist-arrow svg { width: 15px; height: 15px; }

/* ---------- Storefront card (links out to the vendor.youreworthit.site Store Manager) ---------- */
.ywi-hcard.storefront { grid-column: span 2; }

/* ---------- Promo banners (Vendor Marketplace, George Women Network) ---------- */
.ywi-promo-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 18px; padding: 20px 24px; border-radius: 22px; border: 1px solid var(--ywi-border); }
.ywi-promo-banner.marketplace { background: linear-gradient(120deg, var(--ywi-sage-pale) 0%, var(--ywi-gold-light) 100%); }
.ywi-promo-banner.gwn { background: linear-gradient(120deg, var(--ywi-rose-light) 0%, var(--ywi-gold-light) 100%); }
.ywi-promo-banner-icon { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.55); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ywi-promo-banner-icon svg { width: 22px; height: 22px; color: var(--ywi-rose-deep); }
.ywi-promo-banner-text { flex: 1; min-width: 220px; }
.ywi-promo-banner-text strong { display: block; font-family: "Fraunces", serif; font-size: 1.02rem; font-weight: 600; color: var(--ywi-plum); margin-bottom: 3px; }
.ywi-promo-banner-text span { font-size: .86rem; color: var(--ywi-plum-soft); }
.ywi-promo-banner-actions { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.ywi-promo-banner-actions .ywi-btn-primary { padding: 11px 22px; font-size: .86rem; color: var(--ywi-white); }
.ywi-link-ghost { font-weight: 700; font-size: .86rem; color: var(--ywi-plum-soft); text-decoration: none; border-bottom: 1.5px solid var(--ywi-border); }
.ywi-link-ghost:hover { color: var(--ywi-rose-deep); border-color: var(--ywi-rose-light); }
@media (max-width: 860px) {
	.ywi-promo-banner { padding: 18px; }
}

/* Every card gets its own full-width row on mobile — deliberately no
   2-up or 3-up "squeeze" at any width below 860px. This block is placed
   AFTER every base/desktop rule above touching these same properties on
   purpose: CSS breaks ties between equal-specificity rules by which one
   appears LAST in the file, regardless of whether it's wrapped in a
   media query — an earlier version of this override sat physically
   before the plain .ywi-home-grid { grid-template-columns: repeat(4,1fr) }
   rule above, so the unconditional desktop rule was silently winning on
   every device, media query or not. Learned that one the hard way —
   if you ever add a new override for something already styled further
   up this file, it needs to go below that rule, not just inside a
   @media block. */
@media (max-width: 860px) {
	.ywi-home-grid { grid-template-columns: 1fr !important; gap: 12px; }
	.ywi-hcard, .ywi-hcard.wide, .ywi-hcard.storefront { grid-column: 1 / -1 !important; }
	.ywi-dash-top { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Detail panels (Calendar / Tasks / Shopping / Journal) — same real
   functionality as before, restyled to the current palette + card look.
   ========================================================================== */
.ywi-panel-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; gap: 8px; }
.ywi-panel-head h3 { font-size: 1.2rem; font-weight: 600; }

.ywi-inline-form { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ywi-inline-form input[type="text"] { flex: 1; min-width: 160px; }
.ywi-inline-form input, .ywi-inline-form select, .ywi-journal-form select {
	padding: 9px 12px; border: 1.5px solid var(--ywi-border); border-radius: 10px; font-size: 0.92em; font-family: inherit; background: var(--ywi-white); color: var(--ywi-plum);
}
/* FIX (rich text): this used to be ".ywi-inline-form button, .ywi-journal-form
   button" — safe back when each form held exactly one button, but the
   rich-text editor now injected into the Journal and Host-a-Meetup forms
   (see dashboard.js/meetups-panel-view.php) adds its own toolbar full of
   <button> elements to that same form, and this rule was painting all of
   them as rose-gold pills too (the Bold/Italic/alignment/Visual-Code
   buttons). Scoped to the one button each form actually wants styled
   this way, tagged with its own class instead of a bare element match. */
.ywi-form-submit {
	background: linear-gradient(135deg, var(--ywi-rose) 0%, var(--ywi-gold) 100%); color: #fff; border: none; cursor: pointer; font-weight: 700; font-family: inherit; font-size: 0.92em; border-radius: 999px; padding: 9px 22px; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ywi-form-submit:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(199,123,138,.28); }
.ywi-check-label { display: flex; align-items: center; gap: 4px; font-size: 0.9em; }

.ywi-task-list { list-style: none; margin: 0; padding: 0; }
.ywi-task-item { display: flex; align-items: center; gap: 10px; background: var(--ywi-white); border: 1px solid var(--ywi-border); border-radius: 14px; padding: 11px 14px; margin-bottom: 8px; }
.ywi-task-item.completed .ywi-task-title { text-decoration: line-through; color: var(--ywi-plum-soft); }
.ywi-task-title { flex: 1; }
.ywi-task-meta { font-size: 0.8em; color: var(--ywi-rose); font-weight: 700; }
.ywi-task-item button.ywi-delete { background: none; border: none; color: var(--ywi-rose); cursor: pointer; font-size: 1.1em; }
.ywi-task-item.is-reminder { border-left: 4px solid var(--ywi-gold); }

.ywi-lists { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.ywi-list-card { background: var(--ywi-white); border: 1px solid var(--ywi-border); border-radius: 18px; padding: 16px; }
.ywi-list-card h4 { font-weight: 600; margin-top: 0; display: flex; justify-content: space-between; align-items: center; }
.ywi-item-row { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.ywi-item-row.checked span { text-decoration: line-through; color: var(--ywi-plum-soft); }
.ywi-add-item-form { display: flex; gap: 6px; margin-top: 10px; }
.ywi-add-item-form input { flex: 1; padding: 7px 9px; border: 1.5px solid var(--ywi-border); border-radius: 8px; font-family: inherit; }

.ywi-journal-form { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.ywi-journal-meta { display: flex; gap: 8px; }
.ywi-journal-form textarea { width: 100%; padding: 12px; border: 1.5px solid var(--ywi-border); border-radius: 16px; font-family: inherit; resize: vertical; background: var(--ywi-white); color: var(--ywi-plum); }
.ywi-journal-entry { background: var(--ywi-white); border: 1px solid var(--ywi-border); border-radius: 16px; padding: 14px; margin-bottom: 10px; }
.ywi-journal-entry-date { font-size: 0.85em; color: var(--ywi-rose); font-weight: 700; margin-bottom: 4px; }
.ywi-journal-entry-content { font-size: .92rem; line-height: 1.55; }

/* Shared rich-text display rules (BuddyBoss-removal-adjacent feature:
   Journal/Host-a-Meetup/Quiz now save real HTML via wp_kses_post(),
   not escaped plain text) — keeps a member's formatting from breaking
   out of these card layouts. */
.ywi-rich-content p { margin: 0 0 .6em; }
.ywi-rich-content p:last-child { margin-bottom: 0; }
.ywi-rich-content ul, .ywi-rich-content ol { margin: 0 0 .6em; padding-left: 1.3em; }
.ywi-rich-content img { max-width: 100%; height: auto; border-radius: 10px; margin: 6px 0; }
.ywi-rich-content a { color: var(--ywi-rose-deep); text-decoration: underline; }

.ywi-cal-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.ywi-cal-nav h3 { font-weight: 500; }
.ywi-cal-nav button { background: none; border: 1.5px solid var(--ywi-border); border-radius: 8px; padding: 4px 12px; cursor: pointer; color: var(--ywi-rose); font-weight: 700; }
.ywi-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.ywi-cal-day { min-height: 70px; border: 1px solid var(--ywi-border); border-radius: 10px; padding: 4px; font-size: 0.8em; background: var(--ywi-white); }
.ywi-cal-day.empty { background: transparent; border: none; }
.ywi-cal-day.today { border-color: var(--ywi-rose); border-width: 2px; }
.ywi-cal-daynum { font-weight: 800; color: var(--ywi-rose); }
.ywi-cal-event { background: var(--ywi-blush); color: var(--ywi-rose); border-radius: 6px; padding: 1px 4px; margin-top: 2px; font-size: 0.85em; font-weight: 600; }

@media (max-width: 600px) { .ywi-cal-day { min-height: 50px; font-size: 0.7em; } }

/* ---------------- My Quizzes (self-serve quiz builder) ---------------- */
.ywi-quiz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.ywi-quiz-gcard { background: var(--ywi-white); border: 1px solid var(--ywi-border); border-radius: 16px; padding: 16px 18px; }
.ywi-quiz-gcard h4 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.02rem; margin: 0 0 6px; }
.ywi-quiz-gcard-meta { font-size: 0.78rem; color: var(--ywi-plum-soft); margin-bottom: 10px; }
.ywi-quiz-badge { display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 9px; border-radius: 99px; }
.ywi-quiz-badge.draft { background: var(--ywi-sage-pale); color: var(--ywi-sage-deep); }
.ywi-quiz-badge.published { background: var(--ywi-blush); color: var(--ywi-rose-deep); }
.ywi-quiz-gcard-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ywi-quiz-gcard-actions button, .ywi-quiz-gcard-actions a { font-size: 0.78rem; font-weight: 700; padding: 6px 12px; border-radius: 9px; border: 1.5px solid var(--ywi-border); background: var(--ywi-cream); color: var(--ywi-plum); cursor: pointer; text-decoration: none; }
.ywi-quiz-gcard-actions .danger { color: #A32D2D; }
.ywi-quiz-empty { color: var(--ywi-plum-soft); font-size: 0.9rem; padding: 20px 0; }

.ywi-quiz-modal { position: fixed; inset: 0; background: rgba(46,36,51,.45); z-index: 999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.ywi-quiz-modal-inner { background: var(--ywi-cream); border-radius: 20px; padding: 28px 26px; width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto; position: relative; }
.ywi-quiz-modal-close { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ywi-plum-soft); }
.ywi-quiz-steps { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.ywi-quiz-step { font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: var(--ywi-white); color: var(--ywi-plum-soft); border: 1px solid var(--ywi-border); }
.ywi-quiz-step.active { background: var(--ywi-rose); color: var(--ywi-white); border-color: var(--ywi-rose); }
.ywi-quiz-wizard-panel { display: none; }
.ywi-quiz-wizard-panel.active { display: block; }
.ywi-quiz-wizard-panel h4 { font-family: 'Fraunces', serif; margin: 0 0 14px; }
.ywi-quiz-field { margin-bottom: 14px; }
.ywi-quiz-field label { display: block; font-size: 0.8rem; font-weight: 700; color: var(--ywi-plum-soft); margin-bottom: 5px; }
.ywi-quiz-field input, .ywi-quiz-field select, .ywi-quiz-field textarea { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--ywi-border); font-family: inherit; background: var(--ywi-white); color: var(--ywi-plum); }
.ywi-quiz-hint { font-size: 0.82rem; color: var(--ywi-plum-soft); margin: -8px 0 12px; }
.ywi-quiz-add-btn { background: none; border: 1.5px dashed var(--ywi-border); border-radius: 10px; padding: 9px 16px; color: var(--ywi-rose-deep); font-weight: 700; font-size: 0.85rem; cursor: pointer; width: 100%; margin-top: 6px; }
.ywi-quiz-result-row, .ywi-quiz-question-block { background: var(--ywi-white); border: 1px solid var(--ywi-border); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
.ywi-quiz-row-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.ywi-quiz-row-remove { background: none; border: none; color: #A32D2D; font-size: 0.8rem; cursor: pointer; font-weight: 700; }
.ywi-quiz-answer-row { display: flex; gap: 6px; margin-top: 6px; align-items: center; }
.ywi-quiz-answer-row input[type="text"] { flex: 1; padding: 8px 10px; border-radius: 8px; border: 1.5px solid var(--ywi-border); }
.ywi-quiz-answer-row select { padding: 8px; border-radius: 8px; border: 1.5px solid var(--ywi-border); }
.ywi-quiz-error { color: #A32D2D; font-size: 0.82rem; min-height: 1.2em; margin: 10px 0 0; }
.ywi-quiz-wizard-actions { display: flex; justify-content: space-between; margin-top: 20px; }

/* v2.9.16 — Log out (rail icon, header pill, mobile tab). Own class, not .ywi-tab, so the tab switcher never treats it as a panel. */
.ywi-logout { display: inline-flex; align-items: center; justify-content: center; gap: 7px; text-decoration: none; color: var(--ywi-plum-soft); font-family: inherit; font-weight: 700; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.ywi-logout .ywi-tab-icon { width: 20px; height: 20px; }
.ywi-logout:hover, .ywi-logout:focus-visible { color: var(--ywi-rose-deep, #A85D6E); }
.ywi-logout-rail { width: 40px; height: 40px; border-radius: 13px; margin-top: 4px; }
.ywi-logout-rail:hover { background: #FBEAEC; }
.ywi-logout-pill { margin-left: auto; background: var(--ywi-white); border: 1px solid var(--ywi-border); border-radius: 999px; padding: 8px 16px 8px 12px; font-size: .82rem; align-self: center; }
.ywi-logout-pill .ywi-tab-icon { width: 17px; height: 17px; }
.ywi-logout-pill:hover { border-color: var(--ywi-rose-light, #E7B6BC); background: #FDF5F6; }
.ywi-logout-tab { display: none; }
@media (max-width: 860px) {
	.ywi-logout-tab { flex: 0 0 auto; display: flex; flex-direction: column; gap: 3px; padding: 6px 12px; border-radius: 12px; font-size: .62rem; white-space: nowrap; }
}
@media (max-width: 640px) {
	.ywi-logout-pill { margin-left: 0; align-self: flex-start; }
}
