/* 값은 screens/ 의 확정 화면에서 그대로 옮김. 결정 이유: docs/화면-결정기록.md */
*{box-sizing:border-box}
html,body{margin:0}
body{background:#e9e6e1;color:#40392f;font-family:'Noto Sans KR','Apple SD Gothic Neo','Malgun Gothic',sans-serif;font-weight:500}
button,input{font:inherit;color:inherit}
button{cursor:pointer}
button:disabled{cursor:default}
a{color:#4a3e35}a:hover{color:#2b2622}
h1,h2,p,ul{margin:0}
.only-pc{display:none!important}

/* ---------- 폰(기본) ---------- */
.shell{max-width:390px;min-height:100vh;margin:0 auto;background:#fff;display:flex;flex-direction:column}
.band{height:60px;padding:0 20px;background:#ece6de;border-bottom:1px solid #ddd5cb;display:flex;justify-content:space-between;align-items:center;flex:none}
.brand{border:0;background:none;padding:0;font-size:16px;font-weight:700;color:#40392f}
.main{padding:24px 20px;display:flex;flex-direction:column;gap:24px;flex:1}
.pick{gap:24px}
.stack{display:flex;flex-direction:column}
.col{display:flex;flex-direction:column;gap:12px}
.g6{gap:6px}.g8{gap:8px}.g10{gap:10px}.g12{gap:12px}.g16{gap:16px}.g24{gap:24px}
.h1{font-size:24px;font-weight:700;line-height:1.3;color:#4a3e35}
.h1.lg{font-size:28px;color:#40392f}
.lead{font-size:15px;line-height:1.6}
.h2{font-size:24px;font-weight:700;line-height:1.3;color:#40392f}
.h2.sm{font-size:19px}
.h2.xs{font-size:14px;color:#656263}
hr{width:100%;margin:0;border:0;border-top:1px solid #e5e2de}
.pill{display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 16px;border:1px solid #63564b;border-radius:22px;font-size:14px;font-weight:700;text-decoration:none;background:#fff;color:#40392f}
.btn{height:52px;border:0;border-radius:26px;background:#6f6253;color:#fff;font-size:16px;font-weight:700;width:100%}
.btn:disabled{background:#c9c2ba}
.btn.dark{height:54px;border-radius:27px;background:#4a3e35;color:#faf7f2}
.btn.dark:disabled{background:#b9b1a8}
.btn.mid{background:#63564b;color:#faf7f2;height:50px;border-radius:25px}
.btn.ghost{border:1px solid #63564b;background:#fff;color:#40392f;font-size:15px;flex:1;height:50px;border-radius:25px;display:flex;align-items:center;justify-content:center;text-decoration:none;font-weight:700}
.btn.main2{flex:1.5;font-size:15px;height:50px}
.row2{display:flex;gap:8px}
.dashed{display:flex;align-items:center;justify-content:center;border:1px dashed #8a7d72;background:#fff;color:#4a3e35;font-size:15px;font-weight:700;text-decoration:none}
.dashed.add{height:52px;border-radius:12px}
.dashed.add.tall{height:70px}

/* 달력 */
.cal-head{display:flex;align-items:center;justify-content:space-between}
.cal-head span{font-size:16px}
.cal-nav{display:flex;gap:4px}
.cal-nav button{width:44px;height:44px;border:0;background:transparent;font-size:22px;color:#40392f}
.cal-nav button:disabled{color:#a8a29b}
.dow{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;font-size:14px}
.days{display:grid;grid-template-columns:repeat(7,1fr);row-gap:6px;justify-items:center;font-size:15px;color:#a8a29b}
.days span{height:44px;display:flex;align-items:center}
.days .off{text-decoration:line-through}
.day{width:44px;height:44px;border:0;border-radius:22px;background:#f0eeeb;color:#5a4e42;font-size:15px}
.day.sel{background:#6f6253;color:#fff;font-weight:700}
.day.has{border:2px solid #6f6253}

/* 시간 목록 */
.times-sub{font-size:16px}
.tlist{margin-top:14px;display:flex;flex-direction:column;border:1px solid #e5e2de}
.trow{height:58px;padding:0 22px;border:0;border-bottom:1px solid #e5e2de;background:#fff;color:#40392f;display:flex;align-items:center;justify-content:space-between;text-decoration:none;width:100%}
.trow:last-child{border-bottom:0}
.trow .t{font-size:18px}
.trow .s{font-size:13px;color:#656263}
.trow.go .s{font-weight:700;color:#4a3e35}
.trow.on{background:#6f6253;color:#fff}
.trow.on .t{font-weight:700}
.trow.on .s{color:#fff}
.trow.full{background:#f7f5f3;color:#656263}
.trow.full .t{text-decoration:line-through}
.empty-note{margin-top:14px;font-size:14px;color:#656263;line-height:1.6}

/* 고르신 시간 */
.picked{display:flex;flex-direction:column;gap:8px}
.pk{display:flex;align-items:center;justify-content:space-between;height:48px;padding:0 4px 0 16px;background:#f0eeeb}
.pk b{font-size:15px}
.pk button{width:44px;height:44px;border:0;background:transparent;color:#4a3e35;font-size:14px}
.blank{display:flex;align-items:center;justify-content:center;height:48px;border:1px dashed #8a7d72;color:#656263;font-size:14px}
.cta{border-top:1px solid #e5e2de;padding:14px 22px 20px;background:#fff;margin:0 -20px -24px}
.msg{font-size:14px;line-height:1.5;color:#8c2f1f}
.msg.ok{color:#40392f}

/* 신청 */
.wrow{display:flex;align-items:center;justify-content:space-between;min-height:52px;padding:0 6px 0 16px;background:#f3eee8;border-radius:12px}
.wrow b{font-size:16px}
.wrow button{width:44px;height:44px;border:0;background:transparent;color:#4a3e35;font-size:14px}
.field{display:flex;flex-direction:column;gap:6px}
.field label{font-size:14px;font-weight:700}
.field input{height:50px;padding:0 14px;border:1px solid #8a7d72;border-radius:12px;background:#fff;font-size:16px;color:#2b2622}
.hint{font-size:12px;color:#656263;line-height:1.5}
.notice{border:1px solid #63564b;border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:10px}
.notice h2{font-size:15px;font-weight:700;color:#4a3e35}
.notice ul{padding-left:18px;display:flex;flex-direction:column;gap:8px;font-size:14px;line-height:1.55}
.chk{display:flex;align-items:flex-start;gap:10px;min-height:44px;font-size:14px;line-height:1.5}
.chk input{width:20px;height:20px;margin:1px 0 0;accent-color:#63564b;flex:none}
.chk small{font-size:12px;color:#656263}

/* 목록 줄 */
.qrow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 8px 12px 16px;border:1px solid #63564b;border-radius:12px}
.qrow b{font-size:16px;display:block}
.qrow small{font-size:13px;color:#656263;display:block;margin-top:2px}
.qrow button{height:44px;padding:0 14px;border:1px solid #8a7d72;border-radius:22px;background:#fff;color:#4a3e35;font-size:14px;flex:none}
.sec-top{border-top:1px solid #e4dacf;padding-top:20px}
.fixed{display:flex;flex-direction:column;justify-content:center;min-height:70px;padding:10px 16px 14px;background:#63564b;color:#faf7f2;border-radius:12px}
.fixed span{font-size:19px;font-weight:700;line-height:1}
.note{font-size:14px;color:#2b2622;line-height:1.55}
.none-note{font-size:14px;color:#656263;line-height:1.6}

/* ---------- PC ---------- */
@media (min-width:900px){
  body{background:#fdfdfc}
  .only-pc{display:revert!important}
  .only-phone{display:none!important}
  .shell{max-width:none;min-height:100vh;padding:64px 24px;background:#fdfdfc}
  .card{max-width:1080px;width:100%;margin:0 auto;background:#fff;box-shadow:0 8px 40px rgba(64,57,47,.10);display:flex;flex-direction:row;flex-wrap:wrap;gap:0;align-items:stretch;padding:32px 0}
  .col{flex:1 1 260px;padding:0 32px;display:flex;flex-direction:column;gap:14px}
  .col.mid{flex:1.3 1 340px;border-left:1px solid #e5e2de}
  .col.last{border-left:1px solid #e5e2de}
  .col.wide{flex:1.3 1 420px;border-left:1px solid #e5e2de}
  .pcname{border:0;background:none;padding:0;font-size:17px;color:#40392f;text-align:left}
  .h1{font-size:24px}
  .lead{line-height:1.7}
  .pill{font-size:15px;padding:0 18px}
  .days{row-gap:8px}
  .tlist{margin-top:18px}
  .cta{border:0;padding:0;margin:0}
  .cta .btn{width:auto;padding:0 56px}
  .wrow,.qrow,.fixed,.field input,.notice,.dashed.add{border-radius:0}
  .btn.dark,.btn.mid{width:100%}
  .row2 .btn.ghost,.row2 .btn.main2{max-width:240px}
  .main{padding:0}
}
