/* Feature landing page service-planning only (its mock UI from src/features/service-planning.ts).
   Split from the former site.css; rules keep their original order. Page types and files: Base.astro. */
.sp-board { max-width: 1120px; margin: 0 auto; padding: 0; overflow: hidden; border-radius: 20px 20px 0 0; box-shadow: var(--shadow-frame); transform-origin: 50% 0; will-change: transform, opacity; }
.sp-board__bar { display: flex; align-items: center; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line-100); }
.sp-board__bar > div { display: flex; flex-direction: column; }
.sp-board__bar b { font-size: 21px; font-weight: 400; letter-spacing: -0.02em; }
.sp-board__send { height: 38px; margin-left: auto; padding: 0 18px; font-size: 14px; gap: 8px; }
.sp-board__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 18px 22px 26px; }
.sp-dept__h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: 13px; font-weight: 500; color: var(--ink-700); }
.sp-dept__h em { font-style: normal; font-size: 12px; color: var(--ink-300); }
.sp-pos { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 4px 8px; margin-top: 8px; padding: 12px; border-radius: 14px; background: var(--surface-1); }
.sp-pos small { grid-column: 1 / -1; }
.sp-pos__who { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13.5px; }
.sp-pos__who b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-pos__who .mk-av { width: 28px; height: 28px; font-size: 11px; }
.sp-pos__who--open { color: var(--ink-400); }
.sp-st { align-self: center; height: 22px; padding: 0 10px; border-radius: 999px; font-size: 11px; font-weight: 500; display: inline-flex; align-items: center; background: #fff; color: var(--ink-400); border: 1px solid var(--line-200); }
.sp-pos--ok .sp-st { background: var(--blue-100); border-color: transparent; color: var(--blue-600); }
.sp-pos--sent .sp-st { background: var(--lavender-100); border-color: transparent; color: var(--lavender-500); }
.sp-pos--no .sp-st { background: var(--pink-150); border-color: transparent; color: #b9587b; }
.sp-pos--open { background: #fff; border: 1.5px dashed var(--blue-200); }
.sp-pos { opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease-out) var(--d), transform .6s var(--ease-out) var(--d); }
.sp-board.is-in .sp-pos { opacity: 1; transform: none; }
.sp-tpl, .sp-sizes { max-width: 480px; }
.sp-tpl__dept { margin: 14px 0 4px; font-size: 12px; color: var(--ink-300); }
.sp-tpl__row { display: flex; align-items: center; gap: 12px; margin-top: 6px; padding: 8px 10px; border-radius: 12px; background: var(--surface-1); font-size: 14px; }
.sp-tpl__row > b { flex: 1; font-weight: 500; }
.sp-def { display: flex; align-items: center; gap: 6px; width: 96px; justify-content: flex-end; }
.sp-def .mk-av { width: 26px; height: 26px; font-size: 10px; }
.sp-def--none { color: var(--ink-300); }
.sp-sizes__tpl { display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 10px 12px; border-radius: 14px; border: 1.5px solid transparent; font-size: 14px; }
.sp-sizes__tpl b { flex: 1; font-weight: 500; }
.sp-sizes__tpl em { font-style: normal; font-size: 12px; color: var(--ink-350); }
.sp-sizes__tpl.is-on { border-color: var(--blue-500); background: #f6f9ff; }
.sp-sizes .mk-label { margin-top: 16px; }
.sp-loop { position: relative; max-width: 1120px; margin: 0 auto; }
.sp-loop__board { max-width: 900px; margin: 0; }
.sp-loop.is-in .sp-pos { opacity: 1; transform: none; }
.sp-loop__live { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; font-size: 12.5px; color: var(--ink-450); }
.sp-loop__live + .sp-board__send { margin-left: 0; }
.sp-loop__live i { width: 8px; height: 8px; border-radius: 50%; background: #2bb673; box-shadow: 0 0 0 4px rgba(43, 182, 115, .15); }
.sp-pos--flip { position: relative; }
.sp-st--new { position: absolute; right: 12px; bottom: 12px; background: var(--blue-100) !important; border-color: transparent !important; color: var(--blue-600) !important; opacity: 0; scale: .8; }
.sp-loop.is-in .sp-pos--flip { animation: spFlash 1s var(--ease-out) 3.6s; }
.sp-loop.is-in .sp-st--new { animation: spNew .6s var(--ease-out) 3.6s forwards; }
.sp-loop__phone { position: absolute; right: 10px; top: 40px; width: 270px; height: 520px; padding: 10px; border-radius: 44px; background: #fff; box-shadow: var(--shadow-frame), 0 0 0 1px var(--line-100); rotate: 3deg; opacity: 0; translate: 40px 30px; transition: opacity .9s var(--ease-out) .9s, translate 1.2s var(--ease-out) .9s; }
.sp-loop.is-in .sp-loop__phone { opacity: 1; translate: 0 0; }
.sp-loop__req { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 40px; padding: 20px 16px; border-radius: 24px; background: #fff; box-shadow: var(--shadow-soft); text-align: center; }
.sp-loop__from { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.sp-loop__from img { border-radius: 6px; }
.sp-loop__from small { font-size: 11.5px; color: var(--ink-450); }
.sp-loop__req .mk-av { width: 56px; height: 56px; }
.sp-loop__req b { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.sp-loop__req > small { font-size: 13px; color: var(--ink-450); }
.sp-loop__btns { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.sp-loop__btns span { display: flex; align-items: center; justify-content: center; gap: 6px; height: 44px; border-radius: 14px; background: var(--surface-1); font-size: 14px; color: var(--ink-700); }
.sp-loop__btns .sp-loop__yes { background: var(--blue-500); color: #fff; }
.sp-loop.is-in .sp-loop__yes { animation: spTap .6s var(--ease-out) 3.1s; }
.reduce-motion .sp-loop__phone { opacity: 1; translate: none; transition: none; }
.reduce-motion .sp-loop * { transition: none !important; }
.reduce-motion .sp-st--new { opacity: 1; scale: 1; animation: none; }
.reduce-motion .sp-pos--flip > .sp-st:not(.sp-st--new) { visibility: hidden; }
.sp-step { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 250px; padding: 14px; }
.sp-step .chip { height: 26px; font-size: 12px; padding: 0 10px; }
.sp-step--center { align-items: center; text-align: center; }
.sp-step--center small { display: flex; align-items: center; gap: 5px; color: var(--blue-600); }
.sp-step__btn { height: 40px; padding: 0 18px; font-size: 14px; gap: 8px; }
.sp-pick { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.sp-pick b { flex: 1; font-weight: 500; }
.sp-pick .mk-av { width: 26px; height: 26px; font-size: 10px; }
.sp-pick.is-off { opacity: .6; }
.sp-step__ask { font-size: 16px; font-weight: 500; }
.sp-step__btns { display: flex; gap: 6px; }
.sp-step__btns .chip { flex: 1; justify-content: center; }
@keyframes spNew { to { opacity: 1; scale: 1; } }
@keyframes spFlash { 30% { box-shadow: 0 0 0 2px var(--blue-500); background: #fff; } }
@keyframes spTap { 45% { scale: .92; background: var(--blue-600); } }
@media (max-width: 720px) {
  .sp-board__bar { flex-wrap: wrap; gap: 10px; padding: 14px 16px; }
  .sp-board__send { margin-left: auto; }
  .sp-board__cols { grid-template-columns: minmax(0, 1fr); padding: 12px 16px 20px; }
  .sp-loop__phone { display: none; }
}
