/* social.css: styles for the ported Plan Social UI (social-app.jsx). Only the classes that file uses; no body/html rules, so the
   Clubcraft shell keeps its own. Colours follow the Clubcraft tokens (teal var(--b-primary), paper var(--b-bg)). */
.cc-socialhost { position: relative; }
.cc-socialhost > .sp-root { position: absolute; inset: 0; overflow: auto; }
.sp-layout { display: flex; overflow: hidden !important; }
.sp-root { min-height: 100%; font-family: 'Public Sans', -apple-system, system-ui, sans-serif; color: #1A2942; background: var(--b-bg); }
.sp-root input, .sp-root select, .sp-root textarea, .sp-root button { font-family: inherit; }
.sp-root textarea { resize: vertical; }
.sp-root ::placeholder { color: #9AA6BC; }

@keyframes fadeUp  { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes popIn   { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }

.hov-blue:hover        { background: var(--b-primary-deep) !important; }
.hov-light:hover       { background: var(--b-bg) !important; color: var(--b-primary) !important; }
.hov-row:hover         { background: #FBFAF6 !important; }
.hov-generate:hover    { background: var(--b-wash) !important; }
.hov-outline:hover     { background: var(--b-bg) !important; }
.hov-red:hover         { background: #F8E6E6 !important; }
.hov-green:hover       { background: #138a3e !important; }
.hov-amber:hover       { background: #FFF8EC !important; }
.hov-filter:hover      { filter: brightness(.96); }
.hov-collapse:hover    { background: var(--b-bg) !important; }

.sp-board-scroll { overflow-x: auto; padding-bottom: 10px; }

.modal-overlay {
  position: fixed; inset: 0; z-index: 1500;
  background: rgba(22,40,70,.5);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 20px; overflow-y: auto;
}

.sp-toast {
  position: fixed; left: 50%; bottom: 26px;
  transform: translateX(-50%);
  z-index: 2100;
  background: var(--b-primary-deep); color: #fff;
  padding: 11px 20px; border-radius: 999px;
  font: 700 13px 'Public Sans';
  box-shadow: 0 10px 30px rgba(22,40,70,.35);
  display: flex; align-items: center; gap: 9px;
  animation: fadeUp .18s ease;
}

.caption-body { white-space: pre-wrap; }

@media print {
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body * { visibility: hidden; }
  .guide-print, .guide-print * { visibility: visible; }
  .guide-print { position: absolute; left: 0; top: 0; width: 100%; max-height: none !important; overflow: visible !important; }
  .no-print { display: none !important; }
  section { break-inside: avoid; }
}
