/* 관리 시스템 페이지 (B안 카드형) · 홈 v4 부품(.b4-*) + 예시 휴대폰(.pf-*, pages.css) 재사용 */
.sy-top .b4-h em { color: var(--pk); }
/* 4단계 흐름 */
.sy-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; margin-top: 30px; counter-reset: s; }
.sy-st { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 24px 24px; min-height: 280px; }
.sy-st:not(:last-child)::after { content: ""; position: absolute; right: -27px; top: 58px; width: 20px; height: 20px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M2 10h13M10 4l6 6-6 6' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.sy-ic { width: 64px; height: 64px; border-radius: 20px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.sy-ic svg { width: 36px; height: 36px; }
.sy-no { position: absolute; top: 22px; right: 24px; font-size: 44px; font-weight: 900; color: #e3e1de; letter-spacing: -0.05em; line-height: 1; }
.sy-st b { margin-top: 14px; font-size: 32px; font-weight: 900; letter-spacing: -0.045em; line-height: 1.1; }
.sy-st em { font-style: normal; font-size: 15px; font-weight: 800; color: var(--pk-ink); }
.sy-st p { margin-top: auto; padding-top: 10px; font-size: 15px; line-height: 1.6; color: #444; }
.sy-st.on { background: var(--pk); }
.sy-st.on .sy-ic { background: #fff; color: var(--ink); }
.sy-st.on em { color: var(--ink); }
.sy-st.on p { color: #2a0a19; }
.sy-st.on .sy-no { color: rgba(255,255,255,.55); }
.sy-jump { display: flex; flex-wrap: wrap; gap: 4px 24px; }
/* 예시 화면 3개 */
.sy-ph { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: row; gap: 24px; margin-top: 30px; }
.sy-fig { margin: 0; display: flex; flex-direction: column; align-items: center; }
.sy-fig figcaption { margin-top: 18px; max-width: 300px; font-size: 15px; line-height: 1.6; color: #444; }
.sy-fig figcaption b { display: block; font-size: 18px; font-weight: 900; color: var(--ink); margin-bottom: 4px; }
.pf-top--po span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-in { display: flex; flex-direction: column; gap: 2px; }
.rp-chip { align-self: flex-start; font-size: 10px; font-weight: 700; background: #eef0f3; color: #4b4b4f; padding: 2px 8px; border-radius: 999px; }
.rp-in b { font-size: 18px; font-weight: 800; margin-top: 4px; }
.rp-in p { font-size: 12.5px; font-weight: 700; }
.rp-in small { font-size: 10.5px; color: #636366; }
.rp-n { display: flex; align-items: baseline; gap: 5px; }
.rp-n b { font-size: 36px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.rp-n span { font-size: 12px; color: #4b4b4f; }
.rp-n i { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 800; background: #eef2ff; color: #3b4cca; padding: 3px 8px; border-radius: 999px; }
.rp-sc > small { display: block; font-size: 10px; color: #636366; margin-top: 4px; }
.rp-cmp { font-size: 11.5px; margin-top: 7px !important; }
.rp-cmp b { background: #e7f5ea; color: #1b7f3b; padding: 1px 7px; border-radius: 999px; }
.rp-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px !important; }
.rp-chips span { font-size: 10.5px; font-weight: 700; background: #eef0f3; padding: 2px 8px; border-radius: 999px; }
.rp-dom li { display: grid; grid-template-columns: 30px 1fr 42px; align-items: center; gap: 6px; margin: 6px 0; font-size: 11px; font-weight: 700; }
.rp-dom i { height: 8px; border-radius: 4px; background: linear-gradient(90deg, #0066cc calc(var(--v) * 100%), #eef0f3 0); }
.rp-dom em { font-style: normal; font-size: 10.5px; text-align: right; color: #4b4b4f; font-variant-numeric: tabular-nums; }
.rp-t { font-size: 11.5px; line-height: 1.65; color: #1d1d1f; margin-top: 4px !important; }
.cn-h { display: flex; align-items: baseline; gap: 6px; font-size: 12px; }
.cn-h time { font-weight: 800; color: #636366; font-size: 11px; }
.cn-h b { font-weight: 800; }
.cn-h span { margin-left: auto; font-size: 10.5px; font-weight: 800; background: #fde7e9; color: #c0392b; padding: 1px 7px; border-radius: 999px; white-space: nowrap; }
.cn-c { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px !important; }
.cn-c span { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 999px; }
.cn-c .ok { background: #e7f5ea; color: #1b7f3b; }
.cn-t { margin-top: 6px !important; font-size: 11.5px; line-height: 1.55; color: #4b4b4f; }
/* 실제 발송 피드백 */
.sy-real { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.sy-real-k { display: grid; gap: 12px; margin-top: 26px; }
.sy-real-k li { display: flex; flex-direction: column; gap: 4px; }
.sy-real-k small { font-size: 13px; font-weight: 800; color: var(--g2); }
.sy-real-k b { font-size: 46px; font-weight: 900; letter-spacing: -0.05em; line-height: 1.05; color: #b8b8b8; }
.sy-real-k b i { font-style: normal; font-size: .6em; color: var(--ink); }
.sy-real-k b em { color: var(--pk); }
.sy-real-k li + li b { font-size: 32px; color: var(--ink); }
.sy-real-k span { font-size: 15px; color: #444; }
.sy-real-m .kk-box { margin-top: 0; }
.sy-real-m .kk-box .fb-txt { border-radius: 0; }
.sy-real-m .kk-msg { border-radius: 4px 14px 14px 14px; }
.sy-more { margin-top: 14px; border-top-color: #ddd; }
.sy-more .b4-bub { background: #fff; margin-top: 8px; font-size: 14.5px; line-height: 1.65; }
/* 반별 테스트 · 될 때까지 */
.sy-rt { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; margin-top: 28px; }
.sy-lad-h { font-size: 15px; font-weight: 900; color: var(--pk-ink); }
.sy-lad ol { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.sy-lad li { display: flex; align-items: center; gap: 14px; background: var(--sf); border-radius: 14px; padding: 14px 16px; }
.sy-lad li:nth-child(2) { margin-left: 24px; } .sy-lad li:nth-child(3) { margin-left: 48px; } .sy-lad li:nth-child(4) { margin-left: 72px; }
.sy-lad span { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 900; font-size: 14px; display: grid; place-items: center; }
.sy-lad b { font-size: 17px; font-weight: 900; letter-spacing: -0.03em; }
.sy-lad li.on { background: var(--ink); color: #fff; }
.sy-lad li.on span { background: var(--pk); color: var(--ink); }
.sy-ex { display: flex; flex-direction: column; }
.sy-ex-k { font-size: 14px; font-weight: 800; }
.sy-bars { width: 100%; max-width: 360px; height: auto; margin: 10px auto 0; display: block; }
.sy-bars .v { font: 900 22px Pretendard, system-ui, sans-serif; text-anchor: middle; fill: #8a8a8a; }
.sy-bars .v.on { fill: var(--ink); }
.sy-bars .x { font: 700 14px Pretendard, system-ui, sans-serif; text-anchor: middle; fill: #6b6b6b; }
.sy-ex-d { font-size: 13px; color: var(--g2); text-align: center; }
/* 정시 클리닉 */
.sy-loop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 26px; }
.sy-loop li { display: flex; flex-direction: column; gap: 4px; padding: 20px; }
.sy-loop span { font-size: 13px; font-weight: 900; color: var(--pk-ink); }
.sy-loop b { font-size: 20px; font-weight: 900; letter-spacing: -0.03em; }
.sy-loop p { font-size: 14px; color: #555; line-height: 1.5; }
.sy-loop li.on { background: var(--ink); color: #fff; }
.sy-loop li.on span { color: var(--pk); }
.sy-loop li.on p { color: #d8d8d8; }
.sy-pr { grid-template-columns: repeat(2, 1fr); }
/* 학부모님이 받는 것 */
.sy-rc { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.sy-ck-h { font-size: 14px; font-weight: 900; color: var(--g2); }
.sy-ck ul + .sy-ck-h { margin-top: 18px; }
.sy-ck ul { margin-top: 6px; }
.sy-ck li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid #eee; }
.sy-ck li:last-child { border-bottom: 0; }
.sy-ck .ck { flex: none; width: 24px; height: 24px; margin-top: 1px; }
.sy-ck b { display: block; font-size: 17px; font-weight: 900; letter-spacing: -0.02em; }
.sy-ck span { display: block; font-size: 14px; color: #555; line-height: 1.5; margin-top: 2px; }

@media (max-width: 860px) {
  .sy-flow { grid-template-columns: 1fr; gap: 22px; margin-top: 22px; }
  .sy-st { min-height: 0; display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; row-gap: 2px; padding: 16px 18px; align-items: start; }
  .sy-st:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -21px; transform: translateX(-50%) rotate(90deg); width: 18px; height: 18px; }
  .sy-ic { grid-row: 1 / span 3; width: 52px; height: 52px; border-radius: 16px; }
  .sy-ic svg { width: 30px; height: 30px; }
  .sy-no { top: 14px; right: 16px; font-size: 30px; }
  .sy-st b { margin-top: 0; font-size: 24px; }
  .sy-st em { font-size: 14px; }
  .sy-st p { grid-column: 2; padding-top: 2px; font-size: 14px; }
  .sy-ph { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 298px; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 10px; scroll-padding: 0 16px; scrollbar-width: none; }
  .sy-ph::-webkit-scrollbar { display: none; }
  .sy-ph > * { scroll-snap-align: start; }
  .sy-fig figcaption { font-size: 14px; }
  .sy-real { grid-template-columns: 1fr; gap: 18px; }
  .sy-real-k { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
  .sy-real-k b { font-size: 32px; }
  .sy-real-k li + li b { font-size: 22px; }
  .sy-real-k span { font-size: 13px; }
  .sy-real-m .fb-txt { font-size: 14px; }
  .sy-rt { grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
  .sy-lad li { padding: 11px 14px; }
  .sy-lad li:nth-child(2) { margin-left: 12px; } .sy-lad li:nth-child(3) { margin-left: 24px; } .sy-lad li:nth-child(4) { margin-left: 36px; }
  .sy-lad b { font-size: 15.5px; }
  .sy-bars { max-width: 260px; }
  .sy-loop { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
  .sy-loop li { padding: 14px; }
  .sy-loop b { font-size: 17px; }
  .sy-loop p { font-size: 13px; }
  .sy-pr { grid-template-columns: 1fr; }
  .sy-rc { grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
  .sy-ck li { padding: 9px 0; }
  .sy-ck b { font-size: 16px; }
  .sy-ck span { font-size: 13.5px; }
}
