.pcal-hero {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #fff;
    padding: calc(var(--sf-navbar-height, 4rem) + 2.5rem) 1.25rem 2.5rem;
    text-align: center;
}

.pcal-hero h1 { margin: 0 0 0.4rem; font-size: 1.9rem; }
.pcal-hero p { margin: 0 auto 1.25rem; max-width: 560px; opacity: 0.92; }

.pcal-search {
    display: flex;
    max-width: 520px;
    margin: 0 auto;
    background: #fff;
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}

.pcal-search input {
    flex: 1;
    border: 0;
    padding: 0.8rem 1.2rem;
    font-size: 0.95rem;
    outline: none;
    color: #1e293b;
}

.pcal-search button {
    border: 0;
    background: #4f46e5;
    color: #fff;
    padding: 0 1.4rem;
    cursor: pointer;
    font-size: 1rem;
}

.pcal-wrap {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2rem;
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1.25rem;
    align-items: start;
}

.pcal-facets {
    position: sticky;
    top: calc(var(--sf-navbar-height, 4rem) + 1rem);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.pcal-hosts { margin-top: 2.5rem; }

.pcal-clear {
    font-size: 0.82rem;
    color: #ef4444;
    text-decoration: none;
    font-weight: 600;
}

.pcal-facet h3 {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin: 0 0 0.5rem;
}

.pcal-facet-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0.6rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: #334155;
    font-size: 0.88rem;
}

.pcal-facet-item span { color: #94a3b8; font-size: 0.78rem; }
.pcal-facet-item:hover { background: rgba(79, 70, 229, 0.08); }
.pcal-facet-item.is-on { background: #4f46e5; color: #fff; }
.pcal-facet-item.is-on span { color: rgba(255, 255, 255, 0.8); }

.pcal-ondemand { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 0.75rem; padding: 1.1rem 1.25rem; margin-bottom: 1.5rem; }
.pcal-ondemand h2 { font-size: 1rem; margin: 0 0 0.2rem; color: #1e293b; }
.pcal-ondemand h2 i { color: #4f46e5; }
.pcal-ondemand > p { font-size: 0.82rem; color: #64748b; margin: 0 0 0.85rem; }
.pcal-course-strip { display: flex; gap: 0.85rem; overflow-x: auto; padding-bottom: 0.35rem; }
.pcal-course { flex: 0 0 150px; text-decoration: none; color: inherit; }
.pcal-course-thumb { height: 84px; border-radius: 0.5rem; background: rgba(79,70,229,0.1); display: flex; align-items: center; justify-content: center; overflow: hidden; color: #4f46e5; font-size: 1.4rem; }
.pcal-course-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pcal-course-title { display: block; font-size: 0.82rem; font-weight: 600; margin-top: 0.4rem; line-height: 1.3; }

.pcal-count { font-size: 0.85rem; color: #64748b; margin-bottom: 1rem; }

.pcal-month {
    font-size: 1rem;
    color: #4f46e5;
    border-bottom: 2px solid rgba(79, 70, 229, 0.18);
    padding-bottom: 0.35rem;
    margin: 1.5rem 0 0.85rem;
}

.pcal-event {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
}

.pcal-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(79, 70, 229, 0.08);
    border-radius: 0.5rem;
    padding: 0.45rem 0;
}

.pcal-date-day { font-size: 1.3rem; font-weight: 700; color: #4f46e5; line-height: 1; }
.pcal-date-dow { font-size: 0.68rem; text-transform: uppercase; color: #64748b; }

.pcal-event-title { font-weight: 600; color: #1e293b; text-decoration: none; font-size: 0.98rem; }
.pcal-event-title:hover { color: #4f46e5; }

.pcal-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.78rem;
    color: #64748b;
    margin: 0.35rem 0;
}

.pcal-online { color: #059669; }

.pcal-credit {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
}

.pcal-credit.is-wings { background: rgba(79, 70, 229, 0.14); color: #4338ca; }
.pcal-credit.is-flight { background: rgba(14, 116, 144, 0.13); color: #0e7490; }
.pcal-credit.is-amt { background: rgba(245, 158, 11, 0.16); color: #b45309; }
.pcal-credit.is-ia { background: rgba(16, 185, 129, 0.16); color: #047857; }
.pcal-credit.is-rep { background: rgba(236, 72, 153, 0.14); color: #be185d; }
.pcal-credit.is-other { background: rgba(100, 116, 139, 0.14); color: #475569; }

.pcal-event-actions { display: flex; flex-direction: column; gap: 0.4rem; }

.pcal-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    justify-content: center;
    padding: 0.45rem 0.9rem;
    border-radius: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    color: #4f46e5;
    border: 1px solid rgba(79, 70, 229, 0.35);
    white-space: nowrap;
}

.pcal-btn:hover { background: rgba(79, 70, 229, 0.06); }
.pcal-btn-primary { background: #4f46e5; color: #fff; border-color: #4f46e5; }
.pcal-btn-primary:hover { background: #4338ca; }

.pcal-empty { text-align: center; color: #94a3b8; padding: 3rem 1rem; }
.pcal-empty i { font-size: 2rem; margin-bottom: 0.75rem; }

.pcal-pager { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; font-size: 0.85rem; color: #64748b; }

.pcal-detail { max-width: 760px; margin: 0 auto; padding: calc(var(--sf-navbar-height, 4rem) + 1.5rem) 1.25rem 2rem; }
.pcal-detail-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 0.9rem; padding: 1.75rem; margin-top: 1rem; }
.pcal-detail-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.pcal-detail-head h1 { font-size: 1.5rem; margin: 0 0 0.75rem; }

/* Rebuilt event detail page */
.pcd-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:26px 28px;margin-top:14px;box-shadow:0 10px 30px rgba(15,23,42,.05)}
.pcd-head-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.pcd-head h1{font-size:1.7rem;line-height:1.15;letter-spacing:-.02em;margin:0 0 6px;color:#0f172a}
.pcd-topic{font-size:1rem;color:#475569;margin:0}
.pcd-grid{display:grid;grid-template-columns:1.4fr .9fr;gap:22px;margin:22px 0}
.pcd-facts{display:flex;flex-direction:column;gap:14px}
.pcd-fact{display:flex;gap:12px;align-items:flex-start}
.pcd-ic{flex:none;width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:#eef0fe;color:#4f46e5;font-size:14px}
.pcd-fact>div{display:flex;flex-direction:column;min-width:0}
.pcd-fact b{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#94a3b8;font-weight:700}
.pcd-fact span{font-size:14.5px;color:#1e293b;font-weight:500;word-break:break-word}
.pcd-credits{background:#f8fafc;border:1px solid #e7ecf4;border-radius:13px;padding:16px;align-self:start}
.pcd-credits>h3{display:flex;align-items:center;gap:8px;font-size:13px;text-transform:uppercase;letter-spacing:.05em;color:#475569;margin:0 0 12px}
.pcd-credits>h3 i{color:#b45309}
.pcd-credit{display:flex;align-items:center;gap:11px;padding:10px;border-radius:10px;background:#fff;border:1px solid #e7ecf4;margin-bottom:8px}
.pcd-credit-ic{flex:none;width:32px;height:32px;border-radius:8px;display:grid;place-items:center;font-size:13px;background:rgba(100,116,139,.12);color:#475569}
.pcd-credit.t-wings .pcd-credit-ic{background:rgba(79,70,229,.14);color:#4338ca}
.pcd-credit.t-flight .pcd-credit-ic{background:rgba(14,116,144,.13);color:#0e7490}
.pcd-credit.t-amt .pcd-credit-ic{background:rgba(245,158,11,.16);color:#b45309}
.pcd-credit.t-ia .pcd-credit-ic{background:rgba(16,185,129,.16);color:#047857}
.pcd-credit.t-rep .pcd-credit-ic{background:rgba(236,72,153,.14);color:#be185d}
.pcd-credit-body{flex:1;min-width:0;display:flex;flex-direction:column}
.pcd-credit-body b{font-size:13.5px;color:#0f172a}
.pcd-credit-body span{font-size:12px;color:#64748b}
.pcd-credit-amt{flex:none;font-size:12.5px;font-weight:800;color:#0f172a;background:#eef2f9;border-radius:7px;padding:4px 9px;white-space:nowrap}
.pcd-credit-note{font-size:12px;color:#94a3b8;margin:10px 2px 0}
.pcd-credit-empty{font-size:13px;color:#94a3b8;margin:0}
.pcd-section{margin:6px 0 4px}
.pcd-section h3{font-size:14px;color:#0f172a;margin:0 0 8px}
.pcd-desc{font-size:14.5px;line-height:1.65;color:#334155;margin:0;white-space:pre-line}
.pcd-extra{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}
.pcd-block{background:#f8fafc;border:1px solid #e7ecf4;border-radius:11px;padding:13px 15px}
.pcd-block h4{display:flex;align-items:center;gap:8px;font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:#64748b;margin:0 0 6px;font-weight:700}
.pcd-block h4 i{color:#4f46e5;font-size:12px}
.pcd-block p{font-size:13.5px;line-height:1.55;color:#334155;margin:0;word-break:break-word}
.pcd-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.pcal-detail-wide{max-width:980px}
.pcd-layout{display:grid;grid-template-columns:1.6fr 1fr;gap:26px;margin-top:22px;align-items:start}
.pcd-main{min-width:0}
.pcd-side{display:flex;flex-direction:column;gap:14px}
.pcd-side .pcd-actions{margin-top:4px;flex-direction:column;align-items:stretch}
.pcd-side .pcal-btn{justify-content:center}
.pcd-h{font-size:15px;color:#0f172a;margin:0 0 10px;font-weight:700}
.pcd-p{font-size:14.5px;line-height:1.7;color:#334155;margin:0 0 13px}
.pcd-p:last-child{margin-bottom:0}
.pcd-block-main{margin-top:20px}
.pcd-side-note{font-size:11.5px;color:#94a3b8;margin:2px 2px 0}
@media(max-width:760px){.pcd-layout{grid-template-columns:1fr;gap:18px}.pcd-side .pcd-actions{flex-direction:row;flex-wrap:wrap}}
@media(max-width:720px){.pcd-grid{grid-template-columns:1fr}.pcd-card{padding:20px}}
.pcal-detail-meta { display: flex; flex-direction: column; gap: 0.6rem; margin: 1.25rem 0; }
.pcal-detail-meta > div { display: flex; gap: 0.75rem; align-items: baseline; }
.pcal-detail-meta dt { color: #4f46e5; width: 1.2rem; margin: 0; flex-shrink: 0; }
.pcal-detail-meta dd { margin: 0; color: #334155; font-size: 0.92rem; }
.pcal-detail-topic { font-weight: 600; color: #1e293b; }
.pcal-detail-desc { color: #475569; line-height: 1.6; }
.pcal-detail-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }

@media (max-width: 800px) {
    .pcal-wrap { grid-template-columns: 1fr; }
    .pcal-facets { position: static; flex-direction: row; flex-wrap: wrap; gap: 1rem; }
    .pcal-facet { flex: 1 1 140px; }
    .pcal-event { grid-template-columns: 48px 1fr; }
    .pcal-event-actions { grid-column: 1 / -1; flex-direction: row; }
}


/* ===== Directory landing (pdir-) + creator page (pcr-) — refined ===== */
.pdir-hero{position:relative;overflow:hidden;color:#fff;padding-top:var(--sf-navbar-height,4rem);background:radial-gradient(900px 420px at 80% -22%,var(--pdir-accent,#2f56d6) 0,transparent 60%),radial-gradient(680px 460px at 8% 128%,#1b2f78 0,transparent 55%),linear-gradient(135deg,var(--pdir-from,#0a1736) 0%,#13245e 52%,var(--pdir-to,#1c357f) 100%)}
.pdir-hero:before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='46'%3E%3Cpath d='M46 0H0v46' fill='none' stroke='%23ffffff' stroke-opacity='.04'/%3E%3C/svg%3E")}
.pdir-hero-in{position:relative;z-index:2;max-width:1180px;margin:0 auto;padding:46px 22px 52px;display:grid;grid-template-columns:auto 1fr;grid-template-areas:"emblem copy" "search search";gap:0 22px;align-items:center}
.pdir-emblem{grid-area:emblem;width:66px;height:66px;border-radius:19px;display:grid;place-items:center;font-size:27px;color:#eaf1ff;background:linear-gradient(155deg,rgba(255,255,255,.24),rgba(255,255,255,.05));border:1px solid rgba(255,255,255,.28);box-shadow:0 14px 34px rgba(3,10,30,.4),inset 0 1px 0 rgba(255,255,255,.35);backdrop-filter:blur(6px)}
.pdir-hero-copy{grid-area:copy;min-width:0}
.pdir-hero h1{font-size:39px;line-height:1.04;letter-spacing:-.025em;margin:0 0 8px;text-shadow:0 2px 18px rgba(3,10,30,.35)}
.pdir-hero .lede{font-size:16.5px;color:#cad7f3;max-width:50ch;margin:0}
.pdir-search{grid-area:search;margin-top:26px;display:flex;background:rgba(255,255,255,.98);border-radius:14px;padding:6px;width:min(580px,100%);box-shadow:0 26px 64px rgba(3,10,30,.5);border:1px solid rgba(255,255,255,.5)}
.pdir-search > i{color:#64748b;align-self:center;margin:0 4px 0 14px;font-size:15px}
.pdir-search input{flex:1;border:0;outline:0;font-size:15px;color:#0b1626;background:transparent;padding:9px 6px}
.pdir-search input::placeholder{color:#94a3b8}
.pdir-search button{border:0;background:var(--pdir-accent,#4f46e5);color:#fff;font-weight:700;padding:0 20px;border-radius:10px;font-size:14px;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.pdir-search button:hover{filter:brightness(.92)}

/* Partner co-brand plate: official seal + partner logo together on a white bar */
.pdir-hero.is-brand .pdir-hero-in{display:flex;flex-direction:column;align-items:flex-start;gap:0}
.pdir-hero.is-brand .pdir-search{margin-top:24px}
.pdir-brandplate{display:inline-flex;align-items:center;gap:14px;margin-bottom:22px;background:#fff;border-radius:14px;padding:10px 16px;box-shadow:0 16px 40px rgba(3,10,30,.42),inset 0 0 0 1px rgba(255,255,255,.6)}
.pdir-bp-seal{width:58px;height:58px;display:block;object-fit:contain;flex:none}
.pdir-bp-div{width:1px;align-self:stretch;background:#dde4f0;margin:4px 0;flex:none}
.pdir-bp-logo{height:46px;width:auto;display:block}
.pdir-bp-wm{display:flex;flex-direction:column;font-style:italic;font-weight:900;font-size:24px;line-height:1;color:#103a78;letter-spacing:-.01em}
.pdir-bp-wm small{font-weight:700;font-size:11px;color:#2a4a7a;margin-top:3px}
.pdir-eyebrow{display:inline-flex;align-items:center;gap:8px;margin:0 0 10px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#cfe0ff}
.pdir-eyebrow i{font-size:11px;opacity:.85}
.pdir-attrib{position:relative;z-index:2;max-width:1180px;margin:0 auto;padding:0 22px 18px;font-size:11.5px;color:rgba(204,215,243,.62)}
.pdir-search button i{font-size:13px}

/* hero decorative art */
.pdir-glow{position:absolute;border-radius:50%;filter:blur(64px);pointer-events:none;z-index:0}
.pdir-glow-a{width:400px;height:400px;background:#3b82f6;opacity:.5;top:-170px;right:6%}
.pdir-glow-b{width:320px;height:320px;background:#7c3aed;opacity:.38;bottom:-190px;left:-70px}
.pdir-art{position:absolute;top:0;right:0;height:100%;width:min(60%,780px);z-index:1;opacity:.6;pointer-events:none}
.pa-ring{fill:none;stroke:rgba(150,190,255,.16);stroke-width:1}
.pa-route{fill:none;stroke:rgba(165,205,255,.26);stroke-width:1.4;stroke-linecap:round}
.pa-route.pa-dash{stroke-dasharray:2 8;stroke:rgba(190,215,255,.5)}
.pa-dot{fill:#bcd2ff}
.pa-dot.pa-hot{fill:#7dd3fc;filter:drop-shadow(0 0 7px rgba(125,211,252,.95))}
.pdir-plane{position:absolute;z-index:1;top:22%;right:15%;font-size:30px;color:rgba(224,237,255,.92);transform:rotate(-30deg);filter:drop-shadow(0 8px 18px rgba(6,16,52,.55));pointer-events:none}
@media(max-width:720px){.pdir-art,.pdir-plane{opacity:.32}.pdir-art{width:78%}}
@media(max-width:560px){.pdir-hero-in{grid-template-columns:1fr;grid-template-areas:"emblem" "copy" "search";gap:14px 0}.pdir-hero h1{font-size:30px}.pdir-emblem{width:56px;height:56px;font-size:23px}.pdir-brandplate{padding:8px 12px;gap:10px}.pdir-bp-seal{width:46px;height:46px}.pdir-bp-logo{height:36px}.pdir-art{display:none}.pdir-plane{display:none}}
.pdir-ghost-cta{display:inline-flex;align-items:center;gap:8px;padding:13px 18px;border-radius:11px;border:1px solid rgba(255,255,255,.28);color:#fff;font-weight:700;font-size:14px;text-decoration:none}
.pdir-ghost-cta:hover{background:rgba(255,255,255,.1)}
.pdir-stats{display:flex;flex-wrap:wrap;gap:34px;margin-top:32px;grid-area:auto;grid-column:1 / -1}
.pdir-stat .n{font-size:26px;font-weight:800;letter-spacing:-.02em;display:block} .pdir-stat .l{font-size:12px;color:#9fb2da;text-transform:uppercase;letter-spacing:.05em;font-weight:600}

.pdir-wrap{max-width:1180px;margin:0 auto;padding:0 22px}
.pdir-values{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:-30px;position:relative;z-index:5}
.pdir-val{background:#fff;border:1px solid #e7ecf4;border-radius:15px;padding:18px;display:flex;gap:13px;align-items:flex-start;box-shadow:0 12px 30px rgba(15,27,45,.06)}
.pdir-val .vi{flex:0 0 40px;height:40px;border-radius:11px;display:grid;place-items:center;background:#eef0fe;color:#4f46e5}
.pdir-val h4{margin:0 0 3px;font-size:14.5px} .pdir-val p{margin:0;font-size:12.8px;color:#64748b;line-height:1.45}

.pdir-sec{padding-top:40px;padding-bottom:40px}
.pdir-sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px}
.pdir-sec-head h2{font-size:23px;letter-spacing:-.022em;margin:0} .pdir-sec-head p{margin:5px 0 0;color:#64748b;font-size:14px}
.pdir-link{font-weight:700;color:#4f46e5;font-size:14px;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;text-decoration:none}

.pdir-events{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.pdir-ev{position:relative;background:#fff;border:1px solid #d6deea;border-radius:16px;padding:18px 18px 16px 21px;display:flex;flex-direction:column;gap:11px;overflow:hidden;box-shadow:0 1px 2px rgba(15,27,45,.04),0 10px 24px rgba(15,27,45,.06);transition:transform .14s,box-shadow .14s}
.pdir-ev:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#4f46e5}
.pdir-ev.t-amt:before{background:#b45309} .pdir-ev.t-flight:before{background:#0e7490} .pdir-ev.t-ia:before{background:#047857} .pdir-ev.t-rep:before{background:#be185d}
.pdir-ev:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(15,27,45,.1)}
.pdir-ev-top{display:flex;gap:13px;align-items:flex-start}
.pdir-cal{flex:0 0 52px;height:56px;border-radius:11px;background:linear-gradient(160deg,#eef1fe,#dfe5ff);display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #dde3fb}
.pdir-cal .m{font-size:10.5px;font-weight:800;color:#4f46e5;text-transform:uppercase} .pdir-cal .d{font-size:21px;font-weight:800;color:#0b1626;line-height:1}
.pdir-ev h3{font-size:15.5px;margin:0;letter-spacing:-.01em;line-height:1.28} .pdir-ev h3 a{color:#0b1626;text-decoration:none} .pdir-ev h3 a:hover{color:#4f46e5}
.pdir-host{font-size:12.5px;color:#64748b;margin-top:5px}
.pdir-hostlink{color:#4f46e5;font-weight:600;text-decoration:none}
.pdir-hostlink:hover{text-decoration:underline}
.pdir-chips{display:flex;flex-wrap:wrap;gap:6px}
.pdir-ev-meta{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12.5px;color:#64748b} .pdir-ev-meta span{display:inline-flex;align-items:center;gap:5px} .pdir-online{color:#047857}
.pdir-chip{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;font-weight:700;padding:4px 10px;border-radius:8px;width:max-content}
.pdir-ev-foot{margin-top:auto;display:flex;gap:8px;align-items:center;padding-top:11px;border-top:1px solid #eef1f6}
.pdir-btn{border-radius:9px;font-weight:700;font-size:13px;padding:8px 14px;display:inline-flex;align-items:center;gap:6px;cursor:pointer;border:1px solid #e7ecf4;background:#fff;color:#1e2a3d;text-decoration:none}
.pdir-btn-pri{background:#4f46e5;color:#fff;border-color:#4f46e5} .pdir-btn-pri:hover{background:#4338ca} .pdir-btn:hover{border-color:#c7d0e0}
.pdir-btn-ico{padding:8px 11px}
.pdir-detail-link{margin-left:auto;font-size:12.5px}

.c-wings{background:#eef0fe;color:#4f46e5} .c-amt{background:#fdf0dc;color:#b45309} .c-ia{background:#e3f5ec;color:#047857} .c-flight{background:#e0f3f7;color:#0e7490} .c-rep{background:#fce7f0;color:#be185d} .c-other{background:#eef1f6;color:#475569}

.pdir-facets{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.pdir-facet{position:relative;background:#fff;border:1px solid #d6deea;border-radius:14px;padding:18px 16px;display:flex;flex-direction:column;gap:9px;overflow:hidden;text-decoration:none;color:inherit;box-shadow:0 1px 2px rgba(15,27,45,.04),0 10px 24px rgba(15,27,45,.06);transition:transform .14s,box-shadow .14s}
.pdir-facet:before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:currentColor;opacity:.85}
.pdir-facet.t-wings{color:#4f46e5} .pdir-facet.t-flight{color:#0e7490} .pdir-facet.t-amt{color:#b45309} .pdir-facet.t-ia{color:#047857} .pdir-facet.t-rep{color:#be185d} .pdir-facet.t-other{color:#4f46e5}
.pdir-facet:hover{transform:translateY(-3px);box-shadow:0 6px 14px rgba(15,27,45,.08),0 18px 38px rgba(15,27,45,.12)}
.pdir-fi{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;background:currentColor} .pdir-fi i{color:#fff;font-size:17px}
.pdir-facet h4{margin:0;font-size:14.5px;color:#0b1626} .pdir-cnt{font-size:12.5px;color:#64748b;font-weight:600}

.pdir-courses{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.pdir-course{background:#fff;border:1px solid #e7ecf4;border-radius:16px;overflow:hidden;text-decoration:none;color:inherit;transition:transform .14s,box-shadow .14s}
.pdir-course:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(15,27,45,.1)}
.pdir-thumb{position:relative;aspect-ratio:16/10;display:grid;place-items:center}
.pdir-thumb img{width:100%;height:100%;object-fit:cover}
.pdir-thumb:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(6,12,28,.42))}
.pdir-cpill{position:absolute;left:9px;top:9px;z-index:3;font-size:10.5px;font-weight:800;padding:3px 8px;border-radius:7px}
.pdir-play{position:absolute;inset:0;margin:auto;z-index:2;width:50px;height:50px;background:rgba(255,255,255,.94);border-radius:50%;display:grid;place-items:center;color:#4f46e5;font-size:16px;padding-left:3px}
.pdir-course-b{padding:13px 15px 15px} .pdir-course-b h4{margin:0 0 9px;font-size:14px;line-height:1.32;letter-spacing:-.01em;min-height:37px;color:#0b1626}
.pdir-course-row{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12.5px;color:#64748b}
.pdir-earn{font-size:12.5px;font-weight:700;color:#4f46e5;display:inline-flex;align-items:center;gap:5px}

.pdir-creators{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.pdir-cr{background:#fff;border:1px solid #d6deea;border-radius:16px;padding:18px;display:flex;gap:14px;align-items:center;text-decoration:none;color:inherit;box-shadow:0 1px 2px rgba(15,27,45,.04),0 10px 24px rgba(15,27,45,.06);transition:transform .14s,box-shadow .14s}
.pdir-cr:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(15,27,45,.1)}
.pdir-av{flex:0 0 54px;height:54px;border-radius:14px;display:grid;place-items:center;color:#fff;font-weight:800;font-size:18px;letter-spacing:-.02em}
.pdir-cr h4{margin:0 0 5px;font-size:15px} .pdir-cr-stats{font-size:12.5px;color:#1e2a3d;font-weight:600;display:flex;gap:12px} .pdir-cr-stats b{color:#4f46e5}
.pdir-cr-arr{margin-left:auto;color:#c0c9da}

.pdir-band{margin:46px 0 0;border-radius:22px;overflow:hidden;position:relative;color:#fff;background:radial-gradient(600px 280px at 88% 10%,#3b82f6 0,transparent 60%),linear-gradient(135deg,#111c3a,#23357a)}
.pdir-band-in{position:relative;padding:32px 34px;display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.pdir-band h3{margin:0 0 5px;font-size:22px;letter-spacing:-.02em} .pdir-band p{margin:0;color:#c6d4f1;font-size:14.5px}
.pdir-band .pdir-btn-pri{margin-left:auto;padding:12px 20px;font-size:14.5px}

.pdir-empty{text-align:center;color:#94a3b8;padding:4rem 1rem}.pdir-empty i{font-size:2rem;margin-bottom:.6rem}

.g1{background:linear-gradient(135deg,#1e3a8a,#2563eb)} .g2{background:linear-gradient(135deg,#0e7490,#0891b2)} .g3{background:linear-gradient(135deg,#7c3aed,#4f46e5)} .g4{background:linear-gradient(135deg,#b45309,#d97706)} .g5{background:linear-gradient(135deg,#0f766e,#14b8a6)} .g6{background:linear-gradient(135deg,#9333ea,#c026d3)}

/* creator page */
.pcr-crumb{display:flex;align-items:center;gap:8px;font-size:13px;color:#64748b;padding:calc(var(--sf-navbar-height,4rem) + 16px) 0 0} .pcr-crumb a{color:#4f46e5;font-weight:600;text-decoration:none}
.pcr-hero{position:relative;border-radius:22px;overflow:hidden;margin-top:12px;color:#fff;background:radial-gradient(760px 340px at 84% -22%,var(--pdir-accent,#3b82f6) 0,transparent 56%),linear-gradient(135deg,var(--pdir-from,#0a1f4c),#152c66 55%,var(--pdir-to,#1d3c8c))}
.pcr-hero-glow{position:absolute;width:320px;height:320px;border-radius:50%;filter:blur(70px);background:var(--pdir-accent,#3b82f6);opacity:.4;top:-150px;right:8%;pointer-events:none}
.pcr-cobrand{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:4px 12px 4px 5px;font-size:11.5px;font-weight:700;letter-spacing:.02em;color:#dbe6ff;text-decoration:none;margin-bottom:11px}
.pcr-cobrand:hover{background:rgba(255,255,255,.2)}
.pcr-cobrand-seal{width:22px;height:22px;border-radius:50%;background:#fff;padding:1px;object-fit:contain}
.pcr-btn-solid{background:var(--pdir-accent,#4f46e5);border-color:transparent;color:#fff} .pcr-btn-solid:hover{filter:brightness(.93)}
.pcr-chips{display:flex;flex-wrap:wrap;gap:6px}
.pcr-hero-in{position:relative;padding:30px 32px;display:flex;gap:22px;align-items:center;flex-wrap:wrap}
.pcr-av{flex:0 0 90px;height:90px;border-radius:23px;display:grid;place-items:center;font-size:32px;font-weight:800;letter-spacing:-.02em;box-shadow:0 14px 34px rgba(3,12,40,.45);border:3px solid rgba(255,255,255,.16);position:relative;overflow:hidden}
.pcr-av-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.pcr-id h1{font-size:28px;letter-spacing:-.022em;margin:0 0 6px}
.pcr-verified{display:inline-flex;align-items:center;gap:6px;background:rgba(125,211,252,.18);border:1px solid rgba(125,211,252,.35);color:#bae6fd;font-size:11.5px;font-weight:700;padding:3px 10px;border-radius:999px;margin-left:8px;vertical-align:middle}
.pcr-tag{color:#c6d4f1;font-size:14.5px;margin:0 0 14px;max-width:62ch}
.pcr-actions{display:flex;gap:10px;flex-wrap:wrap}
.pcr-btn-light{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.26);color:#fff} .pcr-btn-light:hover{background:rgba(255,255,255,.2);border-color:rgba(255,255,255,.4)}
.pcr-stats{margin-left:auto;display:flex;gap:13px}
.pcr-stat{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:14px;padding:12px 18px;text-align:center;min-width:82px}
.pcr-stat .n{font-size:22px;font-weight:800;letter-spacing:-.02em;display:block} .pcr-stat .l{font-size:11px;color:#9fb2da;text-transform:uppercase;letter-spacing:.04em;font-weight:600}
.pcr-tabs{display:flex;gap:4px;border-bottom:1px solid #e7ecf4;margin:26px 0 8px}
.pcr-tab{padding:11px 15px;font-weight:700;font-size:14px;color:#64748b;border-bottom:2.5px solid transparent;display:inline-flex;align-items:center;gap:8px;text-decoration:none}
.pcr-tab.active{color:#4f46e5;border-color:#4f46e5}
.pcr-tab .pill{background:#eef0fe;color:#4f46e5;font-size:11px;font-weight:800;padding:1px 8px;border-radius:999px}
.pcr-up{display:flex;flex-direction:column;gap:11px}
.pcr-row{position:relative;background:#fff;border:1px solid #e7ecf4;border-radius:15px;padding:15px 18px 15px 20px;display:flex;align-items:center;gap:17px;overflow:hidden;transition:transform .14s,box-shadow .14s}
.pcr-row:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#4f46e5} .pcr-row.t-flight:before{background:#0e7490} .pcr-row.t-amt:before{background:#b45309} .pcr-row.t-ia:before{background:#047857} .pcr-row.t-rep:before{background:#be185d} .pcr-row.t-other:before{background:#64748b}
.pcr-row:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(15,27,45,.09)}
.pcr-mid{display:flex;flex-direction:column;gap:8px;min-width:0} .pcr-mid h3{margin:0;font-size:15.5px;line-height:1.25;color:#0b1626;letter-spacing:-.01em}
.pcr-right{margin-left:auto;display:flex;gap:9px}
.pcr-about{background:#fff;border:1px solid #e7ecf4;border-radius:16px;padding:22px 24px}
.pcr-about h3{margin:0 0 8px;font-size:16px} .pcr-about p{margin:0;color:#1e2a3d;font-size:14.5px;max-width:74ch}
.pcr-facts{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.pcr-fact{display:inline-flex;align-items:center;gap:7px;background:#f4f7fc;border:1px solid #e7ecf4;border-radius:10px;padding:8px 13px;font-size:12.5px;font-weight:600;color:#1e2a3d;text-decoration:none} .pcr-fact i{color:#4f46e5}
a.pcr-fact:hover{border-color:#c9d4ea;background:#eef2fa}
.pcr-fact.is-verified{background:#ecfdf5;border-color:#bbf7d0;color:#047857} .pcr-fact.is-verified i{color:#10b981}
.pcr-about-main h3{margin:0 0 8px}
/* Creator page: section rhythm, see-more toggle, on-demand cards */
.pcr-sec{margin-top:36px}
.pcr-sec-about{margin-top:20px}
.pcr-search{position:relative;display:inline-flex;align-items:center;background:#fff;border:1px solid #d6deea;border-radius:11px;padding:0 8px 0 11px;min-width:min(280px,100%);transition:border-color .14s,box-shadow .14s}
.pcr-search:focus-within{border-color:#4f46e5;box-shadow:0 0 0 3px rgba(79,70,229,.12)}
.pcr-search > i{color:#94a3b8;font-size:13px;flex:none}
.pcr-search input{border:0;outline:0;background:transparent;font-size:13.5px;color:#0b1626;padding:9px 8px;width:100%;min-width:0}
.pcr-search input::placeholder{color:#94a3b8}
.pcr-search-clear{color:#94a3b8;font-size:12px;padding:4px 5px;text-decoration:none;flex:none}
.pcr-search-clear:hover{color:#1e2a3d}
.pcr-toggle{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.pcr-cap > .pdir-ev:nth-child(n+7){display:none}
.pcr-toggle:checked + .pcr-cap > .pdir-ev:nth-child(n+7){display:flex}
.pcr-toggle:checked ~ .pcr-morewrap{display:none}
.pcr-morewrap{display:flex;justify-content:center;margin-top:18px}
.pcr-more{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid #d6deea;border-radius:11px;padding:10px 18px;font-size:13.5px;font-weight:700;color:#1e2a3d;cursor:pointer;text-decoration:none;transition:border-color .14s,background .14s}
.pcr-more:hover{border-color:#b9c5db;background:#f8fafc}
.pcr-more i{font-size:11px;color:#4f46e5}
.pcr-less{color:#64748b}.pcr-less i{color:#94a3b8}
.pcr-od{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid #e7ecf4;border-radius:16px;overflow:hidden;text-decoration:none;color:inherit;transition:transform .15s,box-shadow .15s,border-color .15s}
.pcr-od:hover{transform:translateY(-4px);box-shadow:0 20px 44px rgba(15,27,45,.13);border-color:#d6deea}
.pcr-od-link{position:absolute;inset:0;z-index:4;border-radius:inherit}
.pcr-od-thumb{position:relative;aspect-ratio:16/9;display:grid;place-items:center;overflow:hidden}
.pcr-od-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.pcr-od:hover .pcr-od-thumb img{transform:scale(1.05)}
.pcr-od-thumb:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 38%,rgba(6,12,28,.5))}
.pcr-od-tag{position:absolute;left:10px;bottom:10px;z-index:3;display:inline-flex;align-items:center;gap:6px;font-size:10.5px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#fff;background:rgba(15,23,42,.5);backdrop-filter:blur(4px);padding:4px 9px;border-radius:7px}
.pcr-od-tag i{font-size:9px}
.pcr-od-play{position:absolute;inset:0;margin:auto;z-index:2;width:54px;height:54px;background:rgba(255,255,255,.95);border-radius:50%;display:grid;place-items:center;color:#4f46e5;font-size:17px;padding-left:3px;box-shadow:0 10px 24px rgba(6,12,28,.32);transition:transform .15s}
.pcr-od:hover .pcr-od-play{transform:scale(1.09)}
.pcr-od-body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:9px;flex:1}
.pcr-od-body h4{margin:0;font-size:14.5px;line-height:1.34;letter-spacing:-.01em;color:#0b1626}
.pcr-od-host{font-size:12.5px;color:#64748b;display:inline-flex;align-items:center;gap:6px;width:max-content;max-width:100%}
.pcr-od-host i{color:#94a3b8;font-size:11.5px}
.pcr-od-host span,.pcr-od-host a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pcr-od-host .pdir-hostlink{position:relative;z-index:5}
.pcr-od-credits{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto;padding-top:2px}

/* Mobile: on-demand tiles become compact horizontal cards — a full-width 16:9 thumb is too big at 1 column */
@media(max-width:640px){
    .pcr-od{flex-direction:row;align-items:stretch;min-height:108px}
    .pcr-od-thumb{flex:0 0 138px;width:138px;aspect-ratio:auto;align-self:stretch}
    .pcr-od-thumb img{width:100%;height:100%;object-fit:cover}
    .pcr-od-play{width:34px;height:34px;font-size:12px}
    .pcr-od-tag{left:6px;bottom:6px;font-size:9px;padding:3px 7px}
    .pcr-od-body{padding:13px 15px;gap:5px;justify-content:center;min-width:0}
    .pcr-od-body h4{font-size:14px}
    .pcr-od-credits{display:none}
}

@media(max-width:980px){.pdir-events,.pdir-courses{grid-template-columns:repeat(2,1fr)}.pdir-facets{grid-template-columns:repeat(3,1fr)}.pdir-creators,.pdir-values{grid-template-columns:1fr 1fr}.pdir-hero h1{font-size:36px}.pcr-stats{margin-left:0;width:100%}}
@media(max-width:640px){.pdir-events,.pdir-courses,.pdir-facets,.pdir-creators,.pdir-values{grid-template-columns:1fr}.pdir-hero h1{font-size:29px}.pdir-sec-head{flex-direction:column;align-items:flex-start}.pdir-band .pdir-btn-pri{margin-left:0}.pcr-row{flex-wrap:wrap}.pcr-right{margin-left:0;width:100%}.pcr-hero-in{padding:22px}.pcr-search{width:100%;margin-top:10px}}

/* ===== Faceted calendar (no sidebar) — top filters + month groups ===== */
.pdir-sec-tight { padding-top: 36px; padding-bottom: 6px; }
.pdir-clear { font-size: 13px; color: #ef4444; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.pdir-facet.is-on { box-shadow: inset 0 0 0 2px currentColor; }
.pdir-facet.is-on h4 { color: currentColor; }

.pcf-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 2px 0 20px; }
.pcf-seg { display: inline-flex; background: #fff; border: 1px solid #e7ecf4; border-radius: 11px; padding: 3px; }
.pcf-seg-item { padding: 7px 15px; border-radius: 8px; font-size: 13px; font-weight: 600; color: #475569; text-decoration: none; white-space: nowrap; }
.pcf-seg-item:hover { color: #4f46e5; }
.pcf-seg-item.is-on { background: #4f46e5; color: #fff; }
.pcf-select { border: 1px solid #e7ecf4; border-radius: 11px; padding: 8px 12px; font-size: 13px; font-weight: 600; color: #1e2a3d; background: #fff; cursor: pointer; }
.pcf-count { margin-left: auto; font-size: 13px; color: #64748b; font-weight: 600; }

/* On-demand filter bar: active credit chip */
.pdir-odbar { margin-top: 4px; }
.pdir-fchip { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; text-decoration: none; padding: 7px 13px; border-radius: 999px; border: 1.5px solid currentColor; background: #fff; color: #4f46e5; line-height: 1; }
.pdir-fchip.t-wings { color: #4f46e5 } .pdir-fchip.t-flight { color: #0e7490 } .pdir-fchip.t-amt { color: #b45309 } .pdir-fchip.t-ia { color: #047857 } .pdir-fchip.t-rep { color: #be185d } .pdir-fchip.t-other { color: #4f46e5 }
.pdir-fchip .fa-xmark { font-size: 11px; opacity: .55; }
.pdir-fchip:hover .fa-xmark { opacity: 1; }

.pdir-month { font-size: 15.5px; color: #4f46e5; font-weight: 800; letter-spacing: -.01em; margin: 26px 0 13px; display: flex; align-items: center; gap: 12px; }
.pdir-month:after { content: ""; flex: 1; height: 1px; background: #e7ecf4; }

.pdir-pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 24px; font-size: 13px; color: #64748b; font-weight: 600; }

@media (max-width: 640px) {
    .pcf-bar { gap: 8px; }
    .pcf-count { margin-left: 0; width: 100%; }
}

.pcal-detail-note { font-size: 12.5px; color: #64748b; margin: 12px 0 0; }

/* ===== Calendar month-grid view (pcal-grid-* / pcal-agenda-*) ===== */
.pcf-viewtoggle { margin-left: auto; }
.pcf-viewtoggle + .pcf-count { margin-left: 14px; }
.pcf-seg-item i { font-size: 12px; margin-right: 5px; }
.pcal-grid-wrap { background: #fff; border: 1px solid #e7ecf4; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(15,27,45,.04), 0 10px 24px rgba(15,27,45,.05); margin-top: 4px; }
.pcal-grid-nav { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #e7ecf4; background: #f8fafc; }
.pcal-grid-month { font-size: 17px; font-weight: 800; letter-spacing: -.01em; color: #0b1626; margin: 0; flex: 1; text-align: center; }
.pcal-grid-btn { width: 36px; height: 36px; border-radius: 9px; border: 1px solid #e7ecf4; background: #fff; color: #1e2a3d; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: border-color .12s, background .12s; }
.pcal-grid-btn:hover { border-color: #4f46e5; background: #f1f5fb; }
.pcal-grid-today { padding: 8px 14px; border-radius: 9px; border: 1px solid #e7ecf4; background: #fff; color: #4f46e5; font-weight: 700; font-size: 13px; text-decoration: none; white-space: nowrap; }
.pcal-grid-today:hover { border-color: #4f46e5; background: #f1f5fb; }
.pcal-grid-head { display: grid; grid-template-columns: repeat(7, 1fr); background: #f8fafc; border-bottom: 1px solid #e7ecf4; }
.pcal-grid-dow { padding: 9px 6px; text-align: center; font-size: 11.5px; font-weight: 800; color: #64748b; text-transform: uppercase; letter-spacing: .05em; }
.pcal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.pcal-grid-cell { min-height: 116px; padding: 8px; border-right: 1px solid #eef1f6; border-bottom: 1px solid #eef1f6; display: flex; flex-direction: column; gap: 5px; overflow: hidden; }
.pcal-grid-cell:nth-child(7n) { border-right: none; }
.pcal-grid-cell.is-pad { background: #fafbfc; }
.pcal-grid-cell.is-today { background: #f5f7ff; }
.pcal-grid-day { font-size: 12.5px; font-weight: 700; color: #475569; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; }
.pcal-grid-cell.is-today .pcal-grid-day { background: #4f46e5; color: #fff; border-radius: 50%; font-weight: 800; }
.pcal-grid-events { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pcal-grid-chip { display: flex; align-items: center; gap: 5px; padding: 3px 7px; border-radius: 6px; font-size: 11px; font-weight: 700; text-decoration: none; background: #eef1f6; color: #475569; overflow: hidden; }
.pcal-grid-chip i { font-size: 9px; flex: none; }
.pcal-chip-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.pcal-grid-chip:hover { filter: brightness(.96); }
.pcal-grid-chip.is-past { opacity: .62; }
span.pcal-grid-chip.is-past { cursor: default; }
span.pcal-grid-chip.is-past:hover { filter: none; }
.pcal-grid-more { font-size: 10.5px; font-weight: 700; color: #94a3b8; text-decoration: none; padding: 1px 4px; }
.pcal-grid-more:hover { color: #4f46e5; }
.pcal-grid-summary { padding: 11px 18px; font-size: 12.5px; color: #64748b; border-top: 1px solid #e7ecf4; background: #f8fafc; text-align: center; font-weight: 600; }

/* Agenda (mobile fallback) */
.pcal-grid-desktop { display: block; }
.pcal-grid-mobile { display: none; padding: 6px 0; }
.pcal-agenda-empty { padding: 30px 18px; text-align: center; color: #94a3b8; font-size: 14px; }
.pcal-agenda-day { display: flex; gap: 14px; padding: 14px 16px; border-bottom: 1px solid #eef1f6; }
.pcal-agenda-day:last-child { border-bottom: none; }
.pcal-agenda-date { flex: 0 0 46px; text-align: center; }
.pcal-agenda-date .w { display: block; font-size: 10.5px; font-weight: 800; color: #4f46e5; text-transform: uppercase; }
.pcal-agenda-date .d { display: block; font-size: 22px; font-weight: 800; color: #0b1626; line-height: 1.05; }
.pcal-agenda-list { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pcal-agenda-ev { position: relative; background: #fff; border: 1px solid #e7ecf4; border-radius: 11px; padding: 11px 13px 11px 16px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 4px; overflow: hidden; }
.pcal-agenda-ev::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #64748b; }
.pcal-agenda-ev.is-past { opacity: .68; }
div.pcal-agenda-ev.is-past { cursor: default; }
.pcal-agenda-ev-title { font-size: 14px; font-weight: 700; color: #0b1626; line-height: 1.3; }
.pcal-agenda-ev-meta { display: flex; flex-wrap: wrap; gap: 6px 13px; font-size: 12px; color: #64748b; }
.pcal-agenda-ev-meta span { display: inline-flex; align-items: center; gap: 5px; }

@media (max-width: 720px) {
    .pcal-grid-desktop { display: none; }
    .pcal-grid-mobile { display: block; }
    .pcf-viewtoggle { margin-left: 0; }
}

/* ===== Filter bar: map button, when, chips ===== */
.pcf-mapbtn{display:inline-flex;align-items:center;gap:8px;border:1px solid #d6deea;border-radius:11px;padding:8px 14px;font-size:13px;font-weight:600;color:#1e2a3d;background:#fff;cursor:pointer;user-select:none;white-space:nowrap}
.pcf-mapbtn:hover{border-color:#b9c5db}
.pcf-mapbtn i{color:#4f46e5}
.pcf-mapbtn.is-on{background:#4f46e5;color:#fff;border-color:#4f46e5}
.pcf-mapbtn.is-on i{color:#fff}
/* Region drill-down: parent region select → district select appears when chosen */
.pcf-region{display:inline-flex;align-items:center;gap:7px;flex-wrap:wrap}
.pcf-region-sep{color:#94a3b8;font-size:12px}
.pcf-select.is-sel{border-color:#4f46e5;color:#4f46e5}
.pcf-sub{background:#f6f8fe;border-color:#c9d2e6}
.pcf-chips{display:flex;flex-wrap:wrap;gap:8px;margin:-6px 0 18px}
.pcf-chip{display:inline-flex;align-items:center;gap:7px;background:#eef0fe;color:#4338ca;border:1px solid #dcdffb;border-radius:999px;padding:5px 12px;font-size:12.5px;font-weight:600;text-decoration:none}
.pcf-chip:hover{background:#e2e5fc}
.pcf-chip i{font-size:11px;opacity:.8}

/* ===== State map modal (CSS-only, checkbox toggle) ===== */
.pcm-toggle{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.pcm-modal{display:none;position:fixed;inset:0;z-index:1080;align-items:center;justify-content:center;padding:20px}
.pcm-toggle:checked ~ .pcm-modal{display:flex}
.pcm-backdrop{position:absolute;inset:0;background:rgba(8,14,30,.55);backdrop-filter:blur(2px);cursor:pointer}
.pcm-card{position:relative;background:#fff;border-radius:18px;width:min(620px,100%);max-height:88vh;overflow:auto;box-shadow:0 30px 80px rgba(3,10,30,.4);padding:20px 22px 18px}
.pcm-head{display:flex;align-items:center;justify-content:space-between}
.pcm-head h3{margin:0;font-size:17px;display:flex;align-items:center;gap:9px}
.pcm-head h3 i{color:#4f46e5}
.pcm-close{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;cursor:pointer;color:#64748b}
.pcm-close:hover{background:#f1f4f9;color:#0b1626}
.pcm-hint{margin:6px 0 14px;font-size:12.5px;color:#64748b}
.pcm-foot{display:flex;align-items:center;justify-content:space-between;margin-top:16px;padding-top:14px;border-top:1px solid #eef1f6}
.pcm-cancel{font-size:13px;font-weight:600;color:#64748b;cursor:pointer}
.pcm-cancel:hover{color:#0b1626}
.pcm-clearstate{font-size:13px;font-weight:700;color:#ef4444;text-decoration:none;display:inline-flex;align-items:center;gap:6px}

/* ===== State map: geographic SVG ===== */
.pcm-mapwrap{max-width:600px;margin:8px auto 4px}
.pcm-svg{display:block;width:100%;height:auto}
.pcm-svg .pcm-st, .pcm-svg .pcm-st circle{fill:#e6ebf3;stroke:#fff;stroke-width:1;cursor:pointer;transition:fill .12s,filter .12s}
/* region tints — dimmed by default, full colour where the region has events */
.pcm-svg .r-greatlakes,.pcm-svg .r-greatlakes circle{fill:#c7d2fe}
.pcm-svg .r-eastern,.pcm-svg .r-eastern circle{fill:#bae6fd}
.pcm-svg .r-central,.pcm-svg .r-central circle{fill:#bbf7d0}
.pcm-svg .r-southern,.pcm-svg .r-southern circle{fill:#fde68a}
.pcm-svg .r-southwest,.pcm-svg .r-southwest circle{fill:#fecaca}
.pcm-svg .r-nwmountain,.pcm-svg .r-nwmountain circle{fill:#ddd6fe}
.pcm-svg .r-westernpacific,.pcm-svg .r-westernpacific circle{fill:#fbcfe8}
.pcm-svg .r-alaska,.pcm-svg .r-alaska circle{fill:#99f6e4}
.pcm-svg .r-other,.pcm-svg .r-other circle{fill:#e2e8f0}
.pcm-svg .r-greatlakes.has-events,.pcm-svg .r-greatlakes.has-events circle{fill:#6366f1}
.pcm-svg .r-eastern.has-events,.pcm-svg .r-eastern.has-events circle{fill:#0ea5e9}
.pcm-svg .r-central.has-events,.pcm-svg .r-central.has-events circle{fill:#10b981}
.pcm-svg .r-southern.has-events,.pcm-svg .r-southern.has-events circle{fill:#f59e0b}
.pcm-svg .r-southwest.has-events,.pcm-svg .r-southwest.has-events circle{fill:#ef4444}
.pcm-svg .r-nwmountain.has-events,.pcm-svg .r-nwmountain.has-events circle{fill:#8b5cf6}
.pcm-svg .r-westernpacific.has-events,.pcm-svg .r-westernpacific.has-events circle{fill:#ec4899}
.pcm-svg .r-alaska.has-events,.pcm-svg .r-alaska.has-events circle{fill:#14b8a6}
.pcm-svg .pcm-st:hover,.pcm-svg .pcm-st:hover circle{filter:brightness(.88)}
.pcm-svg .pcm-st:focus{outline:none}
.pcm-svg .pcm-st.is-on,.pcm-svg .pcm-st.is-on circle{stroke:#0f172a;stroke-width:1.6}
.pcm-legend{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 2px}
.pcm-leg{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:600;color:#334155;text-decoration:none;padding:4px 10px;border-radius:8px;border:1px solid #e7ecf4}
.pcm-leg:hover{background:#f6f8fe}
.pcm-leg.is-on{border-color:#0f172a;background:#f1f5fb}
.pcm-leg.dim{opacity:.5}
.pcm-leg .sw{width:11px;height:11px;border-radius:3px;flex:none}
.pcm-leg .n{color:#94a3b8;font-weight:700}

/* ===== Partner DIRECTORY front page (full-bleed, pdir- system) ===== */
.pdir-front{background:#f6f8fc;min-height:100vh;padding-bottom:52px}
.pdir-front:not(:has(.pdir-hero)){padding-top:var(--sf-navbar-height, 4rem)}
.pdir-front .pdir-sec:first-of-type{padding-top:34px}
.pdir-cr-ok{color:#2563eb;font-size:13px;margin-left:3px;vertical-align:baseline}
.pdir-cr.is-soft{cursor:default;box-shadow:0 1px 2px rgba(15,27,45,.04),0 10px 24px rgba(15,27,45,.06)}
.pdir-cr.is-soft:hover{transform:none;box-shadow:0 1px 2px rgba(15,27,45,.04),0 10px 24px rgba(15,27,45,.06)}
.pdir-cr-soft{display:inline-block;color:#64748b;background:#eef1f6;font-weight:700;font-size:11px;padding:1px 8px;border-radius:999px;margin-right:7px}
.pdir-cr-stats{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.pdir-front .pdir-band{margin:8px 0 0}
.pdir-front .pdir-band-wrap{padding-top:40px;padding-bottom:8px}
.pdir-preview-wrap{padding-top:calc(var(--sf-navbar-height,4rem) + 14px)}
.pdir-search input{font-size:16px}

/* Breadcrumb — trails back to the tenant directory home */
.pdir-hero-crumb{position:relative;z-index:2;max-width:1180px;margin:0 auto;padding:18px 22px 0}
.pdir-hero-crumb + .pdir-hero-in{padding-top:18px}
.pdir-hero-crumb .pdir-crumb{color:rgba(226,232,255,.72)}
.pdir-hero-crumb .pdir-crumb-link{color:#fff}
.pdir-hero-crumb .pdir-crumb-sep{color:rgba(226,232,255,.42)}
.pdir-hero-crumb .pdir-crumb-cur{color:rgba(226,232,255,.9)}
.pdir-crumb{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:13px;color:#64748b;min-height:18px}
.pdir-crumb-link{color:#4f46e5;font-weight:600;text-decoration:none;display:inline-flex;align-items:center;gap:7px}
.pdir-crumb-link i{font-size:11px}
.pdir-crumb-link:hover{text-decoration:underline}
.pdir-crumb-sep{color:#cbd5e1;font-weight:400}
.pdir-crumb-cur{color:#64748b;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:46ch}
.pcal-crumb{margin-bottom:14px}

@media(max-width:640px){
    .pdir-ev-foot .pdir-btn{width:100%;justify-content:center;padding:11px 16px}
    .pdir-band-in{padding:24px 22px}
    .pdir-pager .pdir-btn{padding:11px 16px}
    .pdir-crumb-cur{max-width:22ch}
}

/* ===================== DARK MODE ===================== */
[data-bs-theme="dark"] .pdir-front{background:#0a0e1a}
/* headings */
[data-bs-theme="dark"] .pdir-sec-head h2,
[data-bs-theme="dark"] .pdir-ev h3 a,
[data-bs-theme="dark"] .pdir-facet h4,
[data-bs-theme="dark"] .pcr-od-body h4,
[data-bs-theme="dark"] .pdir-cr h4,
[data-bs-theme="dark"] .pcr-about h3,
[data-bs-theme="dark"] .pcd-head h1,
[data-bs-theme="dark"] .pcd-h{color:#eef1f8}
/* muted text */
[data-bs-theme="dark"] .pdir-sec-head p,
[data-bs-theme="dark"] .pdir-cnt,
[data-bs-theme="dark"] .pdir-ev-meta,
[data-bs-theme="dark"] .pdir-host,
[data-bs-theme="dark"] .pcr-od-host,
[data-bs-theme="dark"] .pdir-cr-stats,
[data-bs-theme="dark"] .pcr-about p,
[data-bs-theme="dark"] .pcd-p,
[data-bs-theme="dark"] .pcf-count,
[data-bs-theme="dark"] .pdir-pager,
[data-bs-theme="dark"] .pdir-empty{color:#9aa4bd}
/* cards / surfaces */
[data-bs-theme="dark"] .pcr-od,
[data-bs-theme="dark"] .pdir-ev,
[data-bs-theme="dark"] .pdir-facet,
[data-bs-theme="dark"] .pdir-cr,
[data-bs-theme="dark"] .pcr-about,
[data-bs-theme="dark"] .pcd-card{background:#131a2b;border-color:rgba(255,255,255,.09);box-shadow:0 10px 30px rgba(0,0,0,.34)}
[data-bs-theme="dark"] .pcr-od:hover,
[data-bs-theme="dark"] .pdir-ev:hover,
[data-bs-theme="dark"] .pdir-facet:hover,
[data-bs-theme="dark"] .pdir-cr:hover{border-color:rgba(255,255,255,.18)}
[data-bs-theme="dark"] .pdir-ev-foot{border-top-color:rgba(255,255,255,.08)}
[data-bs-theme="dark"] .pdir-empty{border-color:rgba(255,255,255,.12)}
/* filter bar + inputs */
[data-bs-theme="dark"] .pcf-select,
[data-bs-theme="dark"] .pcf-seg{background:#131a2b;border-color:rgba(255,255,255,.12);color:#e7eaf3}
[data-bs-theme="dark"] .pcf-seg-item{color:#9aa4bd}
[data-bs-theme="dark"] .pdir-fchip{background:#131a2b}
/* breadcrumb (on dark body for detail/creator pages) */
[data-bs-theme="dark"] .pdir-crumb{color:#9aa4bd}
[data-bs-theme="dark"] .pdir-crumb-cur{color:#c3cbe0}
[data-bs-theme="dark"] .pdir-crumb-sep{color:#586079}
/* creator + detail facts */
[data-bs-theme="dark"] .pcr-fact{background:#131a2b;border-color:rgba(255,255,255,.09);color:#c3cbe0}
[data-bs-theme="dark"] .pcd-fact b{color:#eef1f8}
[data-bs-theme="dark"] .pcd-fact span,
[data-bs-theme="dark"] .pcd-side-note,
[data-bs-theme="dark"] .pcd-topic{color:#9aa4bd}
[data-bs-theme="dark"] .pcd-facts,
[data-bs-theme="dark"] .pcd-block,
[data-bs-theme="dark"] .pcd-credits{background:rgba(255,255,255,.03);border-color:rgba(255,255,255,.08)}
[data-bs-theme="dark"] .pdir-cr-arr{color:#586079}

/* ===== DARK MODE — part 2: calendar grid, agenda, region modal, creator rows, buttons, value cards ===== */
[data-bs-theme="dark"] .pdir-front{color:#e7eaf3}
/* surfaces */
[data-bs-theme="dark"] .pcal-ondemand,
[data-bs-theme="dark"] .pcal-detail-card,
[data-bs-theme="dark"] .pcd-credit,
[data-bs-theme="dark"] .pdir-val,
[data-bs-theme="dark"] .pdir-course,
[data-bs-theme="dark"] .pcr-row,
[data-bs-theme="dark"] .pcal-grid-wrap,
[data-bs-theme="dark"] .pcal-agenda-ev{background:#131a2b;border-color:rgba(255,255,255,.09);color:#e7eaf3}
[data-bs-theme="dark"] .pcr-row:hover,
[data-bs-theme="dark"] .pdir-course:hover,
[data-bs-theme="dark"] .pcal-agenda-ev:hover{border-color:rgba(255,255,255,.18)}
/* buttons / inputs */
[data-bs-theme="dark"] .pdir-btn,
[data-bs-theme="dark"] .pcr-search,
[data-bs-theme="dark"] .pcr-more,
[data-bs-theme="dark"] .pcf-mapbtn,
[data-bs-theme="dark"] .pcal-grid-btn,
[data-bs-theme="dark"] .pcal-grid-today{background:#131a2b;border-color:rgba(255,255,255,.12);color:#e7eaf3}
[data-bs-theme="dark"] .pdir-btn:hover,
[data-bs-theme="dark"] .pcr-more:hover,
[data-bs-theme="dark"] .pcal-grid-btn:hover,
[data-bs-theme="dark"] .pcal-grid-today:hover{background:rgba(255,255,255,.07)}
[data-bs-theme="dark"] .pcr-search input{color:#e7eaf3}
[data-bs-theme="dark"] .pcf-sub{background:#171f33;border-color:rgba(255,255,255,.14)}
/* month grid */
[data-bs-theme="dark"] .pcal-grid-nav,
[data-bs-theme="dark"] .pcal-grid-head,
[data-bs-theme="dark"] .pcal-grid-summary{background:#0f1626;border-color:rgba(255,255,255,.08)}
[data-bs-theme="dark"] .pcal-grid-month,
[data-bs-theme="dark"] .pcal-agenda-ev-title,
[data-bs-theme="dark"] .pcal-agenda-date .d{color:#eef1f8}
[data-bs-theme="dark"] .pcal-grid-dow,
[data-bs-theme="dark"] .pcal-grid-day,
[data-bs-theme="dark"] .pcal-grid-summary,
[data-bs-theme="dark"] .pcal-agenda-ev-meta,
[data-bs-theme="dark"] .pcal-agenda-empty{color:#9aa4bd}
[data-bs-theme="dark"] .pcal-grid-cell{border-color:rgba(255,255,255,.06)}
[data-bs-theme="dark"] .pcal-grid-cell.is-pad{background:rgba(255,255,255,.015)}
[data-bs-theme="dark"] .pcal-grid-cell.is-today{background:rgba(99,102,241,.12)}
[data-bs-theme="dark"] .pcal-grid-chip{background:rgba(255,255,255,.08);color:#c3cbe0}
[data-bs-theme="dark"] .pcal-agenda-day{border-color:rgba(255,255,255,.07)}
/* region modal */
[data-bs-theme="dark"] .pcm-card{background:#131a2b;color:#e7eaf3}
[data-bs-theme="dark"] .pcm-head h3{color:#eef1f8}
[data-bs-theme="dark"] .pcm-hint,
[data-bs-theme="dark"] .pcm-cancel,
[data-bs-theme="dark"] .pcm-close{color:#9aa4bd}
[data-bs-theme="dark"] .pcm-close:hover{background:rgba(255,255,255,.08);color:#fff}
[data-bs-theme="dark"] .pcm-cancel:hover{color:#fff}
[data-bs-theme="dark"] .pcm-foot{border-color:rgba(255,255,255,.08)}
/* value cards */
[data-bs-theme="dark"] .pdir-val h4{color:#eef1f8}
/* detail-page secondary buttons (primary stays accent) */
[data-bs-theme="dark"] .pcal-btn{background:#131a2b;border-color:rgba(255,255,255,.14);color:#e7eaf3}
[data-bs-theme="dark"] .pcal-btn:hover{background:rgba(255,255,255,.07)}
[data-bs-theme="dark"] .pcal-btn-primary{background:#4f46e5;border-color:#4f46e5;color:#fff}
