/* =====================================================
   כמה כמה פיננסים — קביעת שיחה (/book). עצמאי, עם הטוקנים של sign.css.
   ===================================================== */
:root {
  --green: #60b867; --green-deep: #136427; --green-darker: #0d4a1d; --green-soft: #d6f5dc;
  --bg: #f8fff7; --ink: #0e2417; --ink-soft: #345244; --ink-mute: #6c8579;
  --line: #e0ebe1; --line-2: #c6dec9; --white: #ffffff; --danger: #c2412c; --danger-bg: #fff5f3;
  --shadow-md: 0 8px 28px rgba(13, 74, 29, 0.10);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; background: var(--bg); color: var(--ink);
  font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
.topbar { display: flex; justify-content: center; padding: 16px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--green-deep); }
.main { max-width: 480px; margin: 0 auto; padding: 0 16px 32px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-md); padding: 24px 20px; }
.center { text-align: center; }
h1 { font-size: 24px; line-height: 1.3; margin: 0 0 6px; font-weight: 700; }
.muted { color: var(--ink-soft); margin: 0; }
/* 🆕 22.11: בזוג — חשוב ששניהם יהיו בשיחה */
.couple { background: var(--green-soft); color: var(--green-darker); border-radius: 10px; padding: 10px 12px; margin: 12px 0 0; font-size: 15px; font-weight: 600; line-height: 1.5; }
.couple[hidden] { display: none; }
.label { font-size: 15px; font-weight: 600; margin: 22px 0 10px; }
.preview { background: #fff8e1; border: 1px solid #f0dca0; border-radius: 10px; padding: 8px 12px; font-size: 14px; margin: 0 0 12px; text-align: center; }
.warn { background: var(--danger-bg); color: var(--danger); border-radius: 10px; padding: 10px 12px; margin: 14px 0 0; font-size: 15px; }
.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.hours { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; min-height: 48px; }
.opt {
  font: inherit; min-height: 48px; padding: 8px 6px; border-radius: 12px; cursor: pointer; line-height: 1.25;
  background: var(--white); color: var(--ink); border: 1.5px solid var(--line-2);
  transition: background-color .15s, border-color .15s, color .15s;
}
.opt small { display: block; font-size: 13px; color: var(--ink-mute); }
.opt:hover { border-color: var(--green); }
.opt[aria-pressed="true"] { background: var(--green-deep); border-color: var(--green-deep); color: var(--white); }
.opt[aria-pressed="true"] small { color: var(--green-soft); }
.opt:focus-visible, .btn:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.btn {
  font: inherit; font-weight: 600; width: 100%; min-height: 52px; margin-top: 22px; border: 0; border-radius: 12px;
  background: var(--green-deep); color: var(--white); cursor: pointer; transition: background-color .15s;
}
.btn:hover:not(:disabled) { background: var(--green-darker); }
.btn:disabled { background: var(--line-2); color: var(--ink-mute); cursor: not-allowed; }
.mark { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; background: var(--green-soft); color: var(--green-deep); font-size: 32px; line-height: 64px; font-weight: 700; }
.when { font-size: 20px; font-weight: 600; color: var(--green-deep); margin: 6px 0 10px; }

/* 🆕 2026-11-12: סרטון במסך "קבענו!" — נטען בלחיצה (book.js) */
.video { margin-top: 24px; }
.video-title { font-weight: 600; margin: 0 0 10px; }
.video-caption { margin: 8px 0 0; font-size: 14px; color: var(--ink-mute); }
.yt-lite {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  padding: 0; border: 0; border-radius: 12px; overflow: hidden;
  background: var(--ink); cursor: pointer; box-shadow: var(--shadow-md);
}
.yt-lite img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-lite__play {
  position: absolute; inset: 0; margin: auto; z-index: 2;
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.94); color: var(--green-deep);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.yt-lite__play svg { margin-inline-start: 3px; }
.yt-lite:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.yt-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.loader { width: 32px; height: 32px; margin: 8px auto 12px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--green-deep); animation: spin .9s linear infinite; }
#st-loading { text-align: center; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .loader { animation-duration: 3s; } .opt, .btn { transition: none; } }
