/* 진행 */
/* 남녀 나란히일 때: 같은 단계(표·입력칸·대기)를 같은 줄에 맞춤 */
@media (min-width:1280px){
  .sc .runtwo .sg{display:block}
}
/* 진행: 남녀를 좌우로 (조금 좁은 화면에선 직업 칸 숨김) */
@media (min-width:1280px){
  .sc .two.runtwo{grid-template-columns:1fr 1fr;gap:16px}
}
@media (min-width:1280px) and (max-width:1439px){
  .sc table.st.ed.rn{min-width:0}
  .sc table.rn .c-job{width:0}
  .sc table.rn th:nth-child(4),.sc table.rn td:nth-child(4){padding:0;font-size:0;border-left:0;border-right:0}
  .sc table.rn .c-nm{width:84px}
  .sc table.rn .c-ak{width:62px}
  .sc table.rn .c-dk{width:104px}
  .sc table.rn .c-tp{width:132px}
  .sc table.rn .c-in{width:60px}
}
.runbar input[type=date]{font-size:15px;padding:7px 10px}
.runtwo{margin-top:10px}
.sc .c-dk{width:104px}
.sc .c-tp{width:150px}
.sc table.rn .c-job{width:auto}
.sc .c-in{width:74px}
.sc table.st td.nm2{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-left:6px}
.tmp{display:flex;gap:2px;background:#f3f0f2;border-radius:8px;padding:2px}
.tmp button{flex:1;padding:4px 0;font-size:11.5px;border-radius:6px;background:none;color:#8a8387}
.tmp button:disabled{opacity:.3;cursor:not-allowed}
.tmp button.on.ice{background:#3d7ad6;color:#fff;font-weight:700}
.tmp button.on.hot{background:#e0603e;color:#fff;font-weight:700}
.tmp button.on.mid{background:#c99a2e;color:#fff;font-weight:700}
.inb{width:100%;padding:5px 0;font-size:12.5px;border-radius:999px;background:#fff;border:1px solid #d9d2d6;color:#6b6468}
.inb:hover{border-color:#2e9e5b;color:#2e9e5b}
.inb.on{background:#2e9e5b;border-color:#2e9e5b;color:#fff;font-weight:700}
.sc table.st tr.in td{background:#e6f5ec}
.sc table.st tr.gap td{color:#c4bdc1;font-size:12px;height:30px;border-bottom:1px dashed var(--line)}
.sc table.st tr.in td.nm2 b{color:#1f7a3a}
.tag.in{background:#e6f5ec;color:#1f7a3a;font-weight:700}
.runsum{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:start}
.runsum>.card{margin-bottom:8px}
.ck-in{color:#2e9e5b;font-weight:700;margin-right:5px}
.tp{font-size:12.5px;font-weight:700}
.tp.hot{color:#e0603e}
.tp.mid{color:#b8861c}
/* 진행 */
.runrow{display:grid;grid-template-columns:72px 1fr 120px 76px 66px 1fr;gap:6px;align-items:center;padding:7px 0;border-bottom:1px solid var(--line)}
.runrow select,.runrow input{font-size:14px;padding:6px}
/* 휴대폰 */
@media (max-width:760px){
  .runsum{grid-template-columns:1fr}
  /* 회차 표: 휴대폰에선 한 사람을 한 칸(카드)으로 */
  .sc table.st.ed.rn,.sc table.st.ed.rn tbody{display:block;min-width:0}
  .sc table.st.ed.rn colgroup,.sc table.st.ed.rn tr.hd{display:none}
  .sc table.st.ed.rn tr{display:grid;grid-template-columns:46px 1fr 1fr 28px;gap:2px 4px;padding:6px 0;border-bottom:1px solid var(--line);align-items:center}
  .sc table.st.ed.rn td{border:0;padding:0;min-width:0}
  .sc table.st.ed.rn td:nth-child(1){grid-column:1;grid-row:1/3}
  .sc table.st.ed.rn td:nth-child(2){grid-column:2;grid-row:1}
  .sc table.st.ed.rn td:nth-child(3){grid-column:3;grid-row:1}
  .sc table.st.ed.rn td:nth-child(7){grid-column:4;grid-row:1}
  .sc table.st.ed.rn td:nth-child(4){grid-column:2;grid-row:2}
  .sc table.st.ed.rn td:nth-child(5){grid-column:3;grid-row:2}
  .sc table.st.ed.rn td:nth-child(6){grid-column:2/4;grid-row:3}
  .sc table.st.ed.rn tr.empty td{grid-column:1/-1;grid-row:auto}
  .sc table.st.ed.rn tr.gap{grid-template-columns:46px 1fr}
  .sc table.st.ed.rn tr.gap td{grid-row:auto!important;grid-column:auto!important;height:auto}
  .sc table.st.ed.rn tr{grid-template-columns:46px 1fr 1fr 70px}
  .sc table.st.ed.rn td:nth-child(6){grid-column:2/4;grid-row:3}
  .sc table.st.ed.rn td:nth-child(7){grid-column:4;grid-row:1/3;align-self:center}
  .sc table.st.ed.rn .ie{border-color:var(--line);background:#fff}
  .sc table.st.ed.rn tr.in{background:#e6f5ec}
  .sc table.st.ed.rn tr.noshow{background:#f1eff0}
  .sc table.st.ed.rn tr.hit{background:#fff3c4}
  .sc table.st.ed.rn tr.in td,.sc table.st.ed.rn tr.noshow td,.sc table.st.ed.rn tr.hit td{background:transparent}
  .sc table.st.ed.rn tr.in,.sc table.st.ed.rn tr.noshow,.sc table.st.ed.rn tr.hit{border-radius:8px;padding:6px 4px}
  .sc table.st.ed:not(.rn){min-width:520px}
  .sc table.st.ed:not(.rn) .c-nm{width:96px}
  .sc table.st.ed:not(.rn) .c-ak{width:66px}
  .sc table.st.ed:not(.rn) .c-job{width:90px}
  .runrow{grid-template-columns:1fr 1fr 1fr}
  .runrow .who{grid-column:span 2}
  .runrow .pick{grid-column:1/-1}
}
