/* Live Board page — only rules specific to live-board.html */

/* ---------- Hero ---------- */
.lb-hero{ padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(24px, 4vw, 40px); }
.lb-hero-inner{ max-width: 720px; }

/* ---------- Demo panel shell ---------- */
.demo-panel{ padding: 36px; }
@media (max-width: 600px){ .demo-panel{ padding: 24px 20px; } }

.demo-toolbar{ display:flex; justify-content:space-between; align-items:flex-start; gap:24px; flex-wrap:wrap; }
.demo-toolbar-actions{ display:flex; gap:10px; flex-wrap:wrap; flex-shrink:0; }
@media (max-width: 560px){
  .demo-toolbar-actions{ width:100%; flex-direction:column; }
  .demo-toolbar-actions .btn{ width:100%; }
}

/* ---------- Post form ---------- */
.post-form-panel{
  max-height:0; opacity:0; overflow:hidden;
  transition: max-height .5s var(--ease), opacity .4s var(--ease), margin-top .5s var(--ease);
}
.post-form-panel.is-open{ max-height:640px; opacity:1; margin-top:28px; }
.post-form-panel form{ border-top:1px solid var(--line); padding-top:26px; }
.post-form-hint{ font-size:13px; margin-bottom:20px; }

.field-grid{ display:grid; gap:20px; grid-template-columns:1fr; }
@media (min-width:700px){ .field-grid{ grid-template-columns: 1.3fr 1fr 0.8fr; } }

.field label{ display:block; font-size:13.5px; font-weight:600; margin-bottom:8px; color:var(--ink-soft); }
.field select, .field input{
  width:100%; padding:12px 14px; border-radius:12px;
  border:1.5px solid var(--line-strong); background:var(--surface); color:var(--ink);
  font:inherit; font-size:15px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field select:hover, .field input:hover{ border-color:var(--ink-faint); }
.field select:focus, .field input:focus{ border-color:var(--green-600); }
.field.has-error select, .field.has-error input{ border-color:var(--red-600); }
.field-error{ min-height:18px; margin-top:6px; font-size:12.5px; color:var(--red-600); font-weight:600; }

.post-form-actions{ display:flex; gap:12px; margin-top:26px; flex-wrap:wrap; }

/* ---------- Board ---------- */
.board-wrap{ margin-top:36px; }
.board-head{ display:flex; justify-content:space-between; align-items:baseline; gap:12px; flex-wrap:wrap; }

.board-empty{
  text-align:center; padding: 56px 20px; border:1.5px dashed var(--line-strong);
  border-radius: var(--radius-lg); margin-top:20px;
}

.board-grid{ display:grid; gap:20px; grid-template-columns: 1fr; margin-top:20px; }
@media (min-width:640px){ .board-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width:1080px){ .board-grid{ grid-template-columns: repeat(3, 1fr); } }

@keyframes slotIn{
  from{ opacity:0; transform: translateY(14px) scale(.98); }
  to{ opacity:1; transform:none; }
}

.slot-card{
  background: var(--surface-2); border:1px solid var(--line); border-left:4px solid var(--amber-600);
  border-radius: var(--radius-lg); padding:22px; box-shadow: var(--shadow-sm);
  animation: slotIn .45s var(--ease-spring) backwards;
  animation-delay: calc(var(--i, 0) * 60ms);
  transition: border-color .4s var(--ease), background-color .4s var(--ease), opacity .4s var(--ease);
}
.slot-card.is-claiming{ border-left-color: var(--green-600); background: var(--green-050); opacity:.85; }
.slot-card-head{ display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.slot-card-service{ font-family: var(--font-display); font-size:19px; font-weight:500; }
.slot-card-time{ font-family: var(--font-display); font-size:22px; font-weight:500; margin-top:16px; color: var(--ink); }
.slot-card-duration{ margin-top:2px; font-size:13px; }
.slot-claim-btn{ margin-top:18px; width:100%; }
.slot-claim-btn:disabled{ opacity:.8; cursor:default; transform:none !important; }
.slot-sync-note{
  display:flex; align-items:center; gap:7px; margin-top:12px; padding-top:12px;
  border-top:1px dashed var(--line-strong); font-size:12.5px; color: var(--green-700); font-weight:600;
}
.slot-sync-note svg{ width:15px; height:15px; flex-shrink:0; }

/* ---------- Recently filled ---------- */
.filled-list{ display:flex; flex-direction:column; gap:10px; margin-top:18px; }
.filled-item{
  display:flex; align-items:center; gap:14px; padding:14px 16px;
  border-radius: var(--radius-md); background: var(--bg-alt);
  animation: slotIn .45s var(--ease-spring);
}
.filled-check{
  width:30px; height:30px; border-radius:50%; background: var(--green-100); color: var(--green-700);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.filled-check svg{ width:16px; height:16px; }
.filled-info{ flex:1; font-size:14.5px; min-width:180px; }
.filled-synced{
  display:flex; align-items:center; gap:5px; font-size:12px; font-weight:700;
  color: var(--green-700); white-space:nowrap; flex-shrink:0;
}
.filled-synced svg{ width:14px; height:14px; flex-shrink:0; }
.filled-when{ font-size:12.5px; white-space:nowrap; }
@media (max-width: 560px){
  .filled-item{ flex-wrap:wrap; }
  .filled-synced{ order:3; margin-left:44px; }
  .filled-when{ order:4; margin-left:auto; }
}

/* ---------- How this maps to the product ---------- */
.lb-step-num{ font-family: var(--font-display); font-size:15px; letter-spacing:.1em; color: var(--amber-600); font-weight:600; }

/* ---------- Final CTA (self-contained, page has no shared final-cta rule) ---------- */
.final-cta{ text-align:center; max-width:560px; margin-inline:auto; padding: 56px 20px; }
