
:root{
  --cvch-blue:#0a3d91;
  --cvch-red:#c8102e;
  --cvch-white:#ffffff;
  --cvch-ink:#172033;
  --cvch-soft:#f5f7fb;
  --cvch-border:#dbe2ef;
  --cvch-shadow:0 18px 42px rgba(15,28,63,.08);
  --cvch-radius:20px;
}
.cvch-shell{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--cvch-ink);display:grid;gap:24px;margin:20px 0}
.cvch-card{background:linear-gradient(180deg,#fff 0%,#fdfefe 100%);border:1px solid var(--cvch-border);border-radius:var(--cvch-radius);box-shadow:var(--cvch-shadow);padding:22px;overflow:hidden}
.cvch-inner-card{padding:18px}
.cvch-reveal{opacity:0;transform:translateY(12px);transition:opacity .45s ease, transform .45s ease}
.cvch-reveal.cvch-visible{opacity:1;transform:none}
.cvch-hero{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(320px,.9fr);gap:24px;align-items:stretch;background:linear-gradient(135deg,#0a3d91 0%,#113e84 45%,#c8102e 140%);border-radius:28px;padding:30px;color:#fff;box-shadow:0 22px 50px rgba(10,61,145,.22)}
.cvch-eyebrow{display:inline-block;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.12em;background:rgba(255,255,255,.15);padding:8px 12px;border-radius:999px;margin-bottom:14px}
.cvch-hero h2,.cvch-dashboard-header h2{font-size:clamp(1.8rem,4vw,2.8rem);line-height:1.08;margin:0 0 12px}
.cvch-hero p,.cvch-dashboard-header p{font-size:1rem;max-width:60ch;margin:0;color:rgba(255,255,255,.92)}
.cvch-hero-panel .cvch-card,.cvch-hero-panel{background:rgba(255,255,255,.96);color:var(--cvch-ink)}
.cvch-directory-grid{display:grid;grid-template-columns:minmax(270px,.72fr) minmax(0,1.28fr);gap:24px}
.cvch-hub-cards{display:grid;grid-template-columns:1fr;gap:12px;max-height:920px;overflow:auto;padding-right:4px}
.cvch-hub-card{display:grid;gap:6px;padding:16px 18px;border:1px solid var(--cvch-border);border-radius:18px;background:#fff;text-decoration:none;color:var(--cvch-ink);transition:transform .2s ease, box-shadow .2s ease,border-color .2s ease}
.cvch-hub-card:hover,.cvch-hub-card-active{transform:translateY(-2px);box-shadow:0 12px 24px rgba(10,61,145,.08);border-color:rgba(10,61,145,.35)}
.cvch-hub-card strong{font-size:1rem}.cvch-hub-card span,.cvch-hub-card em{font-style:normal;color:#5b6881;font-size:.93rem}
.cvch-selected-hub-header{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;flex-wrap:wrap;margin-bottom:22px}
.cvch-pill{display:inline-flex;padding:7px 12px;border-radius:999px;background:rgba(10,61,145,.08);color:var(--cvch-blue);font-size:.82rem;font-weight:700;margin-bottom:10px}
.cvch-stat-strip{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));gap:12px;max-width:420px}.cvch-stat-strip span{background:var(--cvch-soft);border:1px solid var(--cvch-border);padding:14px;border-radius:16px;text-align:center;font-size:.92rem}
.cvch-tab-nav{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}
.cvch-tab-button{border:1px solid var(--cvch-border);background:#fff;border-radius:999px;padding:11px 16px;font-weight:700;cursor:pointer;transition:.2s ease all;color:var(--cvch-ink)}
.cvch-tab-button.active,.cvch-tab-button:hover{background:var(--cvch-blue);border-color:var(--cvch-blue);color:#fff}
.cvch-tab-panel{display:none;gap:18px}.cvch-tab-panel.active{display:grid}
.cvch-content-header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.cvch-content-header h4{margin:0 0 6px;font-size:1.2rem}
.cvch-meta-line{display:flex;flex-wrap:wrap;gap:12px;color:#64708a;font-size:.9rem;margin-bottom:10px}
.cvch-badge-row,.cvch-dashboard-badges{display:flex;gap:8px;flex-wrap:wrap}.cvch-badge{display:inline-flex;padding:7px 11px;border-radius:999px;background:rgba(200,16,46,.08);color:var(--cvch-red);font-size:.82rem;font-weight:700;border:1px solid rgba(200,16,46,.18)}
.cvch-image-wrap{margin:14px 0 0}.cvch-image-wrap img{width:100%;border-radius:16px;display:block;max-height:320px;object-fit:cover}
.cvch-summary{font-size:1rem;font-weight:600;color:var(--cvch-blue);margin:14px 0 0}
.cvch-prose p:last-child{margin-bottom:0}.cvch-content-footer{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;flex-wrap:wrap;margin-top:16px;padding-top:12px;border-top:1px solid var(--cvch-border)}
.cvch-replies-wrap{display:grid;gap:12px;padding-left:14px;border-left:3px solid rgba(10,61,145,.12);margin:10px 0 16px}
.cvch-reply-empty{background:#fbfcfe}
.cvch-reaction-row{display:flex;gap:10px;flex-wrap:wrap}.cvch-reaction-button{border:1px solid var(--cvch-border);background:#fff;border-radius:999px;padding:9px 13px;cursor:pointer;font-weight:600}.cvch-reaction-button.is-active,.cvch-reaction-button:hover{background:var(--cvch-blue);border-color:var(--cvch-blue);color:#fff}
.cvch-button{display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:12px 16px;border-radius:14px;border:1px solid var(--cvch-border);background:#fff;color:var(--cvch-ink);text-decoration:none;font-weight:700;cursor:pointer;transition:.2s ease all}
.cvch-button:hover{transform:translateY(-1px)}
.cvch-button-primary{background:linear-gradient(135deg,var(--cvch-blue),#194eb0);border-color:var(--cvch-blue);color:#fff}
.cvch-button-ghost{background:#fff;color:var(--cvch-blue)}
.cvch-form-card{display:grid;gap:16px}.cvch-form-heading h4{margin:0 0 6px}.cvch-form{display:grid;gap:14px}.cvch-form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.cvch-form-row .full{grid-column:1/-1}.cvch-form label{display:block;font-weight:700;margin-bottom:8px;font-size:.95rem}.cvch-form input[type=text],.cvch-form input[type=url],.cvch-form input[type=date],.cvch-form input[type=number],.cvch-form select,.cvch-form textarea{width:100%;border:1px solid var(--cvch-border);border-radius:14px;padding:13px 14px;background:#fff;min-height:48px}.cvch-form textarea{min-height:130px;resize:vertical}
.cvch-area-selector-row{align-items:end}.cvch-area-action-wrap{display:flex;justify-content:flex-end}.cvch-area-filter-input{margin-bottom:10px}.cvch-form-actions{display:flex;justify-content:flex-start}.cvch-honeypot{position:absolute;left:-9999px;opacity:0;pointer-events:none;height:0;overflow:hidden}
.cvch-public-map,.cvch-map-picker{width:100%;height:330px;border-radius:18px;overflow:hidden;border:1px solid var(--cvch-border);margin-top:12px}
.cvch-calendar-nav{display:flex;align-items:center;gap:14px;font-weight:700}.cvch-calendar-nav a{text-decoration:none;color:var(--cvch-blue)}
.cvch-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.cvch-calendar-head{font-weight:800;text-align:center;padding:10px 6px;color:#58647c}.cvch-calendar-cell{min-height:100px;border:1px solid var(--cvch-border);border-radius:16px;padding:10px;background:#fff;display:grid;align-content:start;gap:6px}.cvch-calendar-cell.is-empty{background:#f8f9fc}.cvch-calendar-event{font-size:.82rem;background:rgba(10,61,145,.08);border-radius:10px;padding:6px 8px}
.cvch-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(320px,.82fr);gap:22px}.cvch-dashboard-main,.cvch-dashboard-side{display:grid;gap:22px}
.cvch-section-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}.cvch-section-header h3{margin:0}
.cvch-notification-bell{display:inline-flex;align-items:center;gap:8px;font-weight:800;padding:10px 14px;border-radius:999px;background:rgba(10,61,145,.08);color:var(--cvch-blue)}
.cvch-notification-list,.cvch-message-list{display:grid;gap:10px}.cvch-notification-item,.cvch-message-item{padding:14px;border-radius:16px;background:#fbfcff;border:1px solid var(--cvch-border)}.cvch-notification-item.is-unread,.cvch-message-item.is-unread{border-color:rgba(200,16,46,.35);background:rgba(200,16,46,.035)}
.cvch-table{width:100%;border-collapse:collapse}.cvch-table th,.cvch-table td{padding:12px 10px;text-align:left;border-bottom:1px solid var(--cvch-border)}.cvch-table th{font-size:.9rem;color:#58647c}
.cvch-message-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:8px}.cvch-message-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.cvch-report-box summary{cursor:pointer;font-weight:700;color:var(--cvch-blue)}.cvch-report-box textarea{margin-top:10px;width:100%;border:1px solid var(--cvch-border);border-radius:12px;padding:10px}.cvch-mini-form{display:grid;gap:10px;margin-top:8px}
.cvch-volunteer-grid,.cvch-content-stack{display:grid;gap:16px}.cvch-meta-stack{display:grid;gap:8px;margin-top:10px;color:#5d6a84}.cvch-muted{color:#6b7691}
.cvch-flash{padding:16px 18px;border-radius:16px;font-weight:700}.cvch-flash-success{background:rgba(26,127,55,.08);border:1px solid rgba(26,127,55,.22);color:#206432}.cvch-flash-error{background:rgba(200,16,46,.08);border:1px solid rgba(200,16,46,.22);color:#8b0b22}
@media (max-width: 1120px){.cvch-directory-grid,.cvch-dashboard-grid,.cvch-hero{grid-template-columns:1fr}.cvch-selected-hub-header,.cvch-content-header,.cvch-section-header{flex-direction:column;align-items:flex-start}.cvch-area-action-wrap{justify-content:flex-start}}
@media (max-width: 782px){.cvch-form-row,.cvch-stat-strip,.cvch-calendar-grid{grid-template-columns:1fr}.cvch-card{padding:18px}.cvch-calendar-grid{display:block}.cvch-calendar-head{display:none}.cvch-calendar-cell{margin-bottom:8px}.cvch-tab-nav{overflow:auto;white-space:nowrap;display:flex;padding-bottom:8px}.cvch-content-footer{flex-direction:column;align-items:flex-start}}
