/* 걸스나잇 예약 관리 · 계산기 */
.tw.gtw{max-height:none}
table.dt.gn td:nth-child(7),table.dt.gn th:nth-child(7){position:sticky;left:34px;z-index:1;background:#fff;box-shadow:inset -1px 0 0 var(--line)}
table.dt.gn th:nth-child(7){z-index:3;background:#faf7f8}
table.dt.gn td:nth-child(7) .ie{font-weight:700}
table.dt.gn tr.gup td:nth-child(7){background:#fffdf5}
table.dt.gn tr.gcancel td:nth-child(7),table.dt.gn tr.gpart td:nth-child(7){background:#eeebed}
table.dt.gn td{padding:2px 2px;max-width:none;overflow:visible}
table.dt.gn th{padding:7px 6px;font-size:12px}
table.dt.gn td:first-child,table.dt.gn th:first-child{width:34px;min-width:34px;text-align:center}
table.dt.gn .ctr{text-align:center}
table.dt.gn .ie.ctr{text-align:center}
table.dt.gn .ie.amt{text-align:right}
table.dt.gn input[type=date].ie{padding:4px 4px;font-size:12.5px}
table.dt.gn select.ie.warn{color:#c56b00;font-weight:700}
table.dt.gn select.ie.ok{color:#1f7a3a}
table.dt.gn select.ie.req{color:#3d6fc4;font-weight:700}
table.dt.gn select.oxs{text-align:center;font-weight:700}
table.dt.gn select.oxs.o{color:#1f7a3a}
table.dt.gn select.oxs.x{color:#c33}
table.dt.gn th{text-align:center}
table.dt.gn th.lft{text-align:left}
.dow.tg{cursor:pointer}
.dow.tg:hover{box-shadow:0 0 0 2px #fbd0d0}
.gday{display:flex;align-items:center;gap:6px;margin-top:5px;font-size:13px;color:#555}
.gday .dow{width:22px;height:22px;line-height:22px;font-size:12px;text-align:center}
.dow{display:inline-block;width:24px;height:24px;line-height:24px;border-radius:50%;font-size:12.5px;font-weight:700;color:#fff}
.dow.we{background:#e04848}
.dow.wd{background:#3d7ad6}
table.dt.gn td.fixc{text-align:right;color:#9a9396;padding-right:8px;font-size:12.5px}
table.dt.gn tr.gdone td{background:#eef7f1}
table.dt.gn tr.gdone td:nth-child(7){background:#eef7f1}
.oxb.dn{width:56px}
.oxb.dn.on{background:#2e9e5b;border-color:#2e9e5b;color:#fff}
table.dt.gn tr.gup td{background:#fffdf5}
table.dt.gn tr.gcancel td,table.dt.gn tr.gpart td{background:#eeebed}
table.dt.gn tr.gcancel td,table.dt.gn tr.gcancel .ie,table.dt.gn tr.gcancel .oxb,table.dt.gn tr.gcancel .dow{color:#a9a2a6;text-decoration:line-through}
table.dt.gn tr.gcancel .dow{background:#d6d0d3!important;color:#fff}
.hrs{display:inline-flex;align-items:center;gap:1px;font-size:12.5px;color:#888}
.hrs .ie{text-align:right}
table.dt.gn tr.gflash td{background:#fdeef3}
.oxb{width:30px;height:26px;padding:0;border-radius:7px;border:1px solid #e2dbdf;background:#fff;font-size:12.5px;font-weight:700;color:#bbb}
.oxb.on{background:#e6f5ec;border-color:#9fd3b2;color:#1f7a3a}
.oxb.no{background:#fbe8e8;border-color:#efbcbc;color:#c33}
details.todo summary{cursor:pointer;list-style:none}
details.todo summary::-webkit-details-marker{display:none}
details.todo summary::before{content:"▸ ";color:var(--sub)}
details.todo[open] summary::before{content:"▾ "}
.calcw{position:fixed;right:20px;bottom:20px;z-index:9}
.calcb{display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;background:var(--p);color:#fff;box-shadow:0 6px 18px rgba(224,88,126,.4);padding:0}
.calcp{width:270px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 32px rgba(0,0,0,.18);padding:12px 14px;font-size:13.5px}
.calch{display:flex;align-items:center;margin-bottom:8px}
.calch b{flex:1}
.calch .x{color:#888;font-size:16px;padding:2px 8px}
.calcp label{display:grid;grid-template-columns:1fr 104px;align-items:center;gap:2px 8px;margin-bottom:6px;color:#444}
.calcp label small{grid-column:1;color:var(--sub);font-size:11px}
.calcp label input{padding:6px 8px;font-size:14px;text-align:right}
.calcp .cnt{display:flex;align-items:center;gap:4px}
.calcp .cnt input{width:60px}
.calcp label em{grid-column:2;font-style:normal;text-align:right;color:var(--sub);font-size:12px}
.calcp .cr{display:flex;align-items:center;gap:6px;padding:5px 2px;border-top:1px solid var(--line)}
.calcp .cr span:first-child{flex:1;color:#666}
.calcp .cr.tot b{font-size:15px}
.calcp .cr.tot .mini{padding:3px 8px;font-size:12px}
.calcp .cr.net{background:var(--pl);border-radius:8px;border-top:0;margin-top:4px;padding:7px 8px}
.calcp .cr.net b{color:var(--p);font-size:17px}
.cic{display:inline-block;width:26px;height:26px;background-color:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.5' y='2.5' width='15' height='19' rx='2.5'/%3E%3Crect x='7.5' y='5.5' width='9' height='4' rx='1'/%3E%3Cpath d='M8.5 13h.01M12 13h.01M15.5 13h.01M8.5 16.5h.01M12 16.5h.01M15.5 16.5h.01'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.5' y='2.5' width='15' height='19' rx='2.5'/%3E%3Crect x='7.5' y='5.5' width='9' height='4' rx='1'/%3E%3Cpath d='M8.5 13h.01M12 13h.01M15.5 13h.01M8.5 16.5h.01M12 16.5h.01M15.5 16.5h.01'/%3E%3C/svg%3E") center/contain no-repeat}
.cic.s{width:18px;height:18px}
.gmsg{display:flex;flex-wrap:wrap;gap:6px;margin:2px 0 8px}
.gmsg button{flex:1 1 auto;white-space:nowrap}
.gmsg .mini{flex:0 0 auto}
.gmsgout{font-size:13px;line-height:1.5;background:#faf7f8;margin-bottom:6px}
table.dt.xp .oxb.dn{width:62px}
#gForm .grid3>*,#gForm .grid>*{min-width:0}
#gForm input[type=date]{min-width:0;max-width:100%;width:100%}
.cht{display:flex;align-items:center;gap:6px;color:var(--p)}
.fixv{margin-top:3px;padding:8px 9px;border-radius:8px;background:#f6f3f5;color:#6b6468;font-size:15px}
.calc{font-size:13px;background:#faf7f8;border-radius:8px;padding:8px 10px;color:#444}
/* 휴대폰 */
@media (max-width:760px){
  .calcw{right:10px;bottom:136px}
  .calcp{width:250px}
}
.kindrow{display:flex;gap:6px;min-width:0}
.kindrow select{flex:1 1 0;min-width:0}
.kindrow input{flex:1.2 1 0;min-width:0}
.gnm{display:inline-flex;align-items:center;gap:3px;white-space:nowrap}
.gkind{display:inline-block;font-size:11px;font-weight:600;padding:1px 6px;border-radius:8px;background:#f1edf8;color:#6b54b8;white-space:nowrap}
.gkind.k0{background:#fde4ec;color:#c23b6a}
.gkind.k1{background:#e3f1fb;color:#2c6fa6}
.gkind.k2{background:#fff1d6;color:#a86a00}
