/* GasCloud 고객 포털 (SCR-CUS-01 요금, SCR-CUS-02 민원) 스타일. 목업 v0.2 기준, 모바일 우선 */
body.ccs-app{background:var(--bg)}
.ccs-app .stage{min-height:100vh;display:flex;justify-content:center}
.ccs-app .device{width:100%;max-width:480px;height:100vh;height:100dvh;border:0;border-radius:0;box-shadow:none;border-left:1px solid var(--line);border-right:1px solid var(--line)}
@media (max-width:480px){.ccs-app .device{border:0}}
.ccs-app .app-b{min-height:0}
.ccs-app .app-h{background:var(--orange);padding:12px 16px}
.ccs-app .app-h h2{flex:1;font-size:17px;margin:0}
.ccs-app .app-h .hbtn{background:#ffffff26;border:0;color:#fff;border-radius:8px;height:32px;padding:0 10px;font:inherit;font-size:12px;cursor:pointer}
.ccs-app .app-h .back{background:none;border:0;color:#fff;font-size:20px;cursor:pointer;padding:0 4px}
/* 아래 탭 */
.nav{flex:none;display:grid;grid-template-columns:1fr 1fr;background:var(--surface);border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom,0px)}
.nav a{display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 0;font-size:12px;color:var(--ink-3);text-decoration:none}
.nav a.on{color:var(--orange);font-weight:700}
.nav svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.acct{width:100%;height:44px;border-radius:12px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;padding:0 12px}
.acct-one{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:10px 14px;font-size:13px}
.acct-one b{font-family:var(--mono)}
/* CUS-01 */
.alert-bar{background:var(--red-soft);border-radius:12px;padding:10px 14px;font-size:13px;display:flex;justify-content:space-between;align-items:center;gap:8px}
.alert-bar b{color:var(--red);font-family:var(--mono)}
.hero{background:var(--navy);color:#fff;border-radius:16px;padding:18px;display:flex;flex-direction:column;gap:4px}
.hero small{opacity:.75;font-size:12px}
.hero .amt{font-family:var(--mono);font-size:32px;font-weight:600;letter-spacing:-.01em}
.hero .row{display:flex;justify-content:space-between;align-items:center;font-size:12px;opacity:.95}
.hero .late{font-size:12px;color:var(--amber)}
.hero .chip{opacity:1}
.chart{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:12px}
.chart h4{margin:0 0 6px;font-size:14px}
.chart svg{width:100%;height:150px;display:block}
.chart svg rect.bar{fill:var(--orange);opacity:.85;cursor:pointer}
.chart svg rect.bar.sel{opacity:1;fill:var(--navy)}
.chart svg polyline{fill:none;stroke:var(--ink-3);stroke-width:1.5;stroke-dasharray:4 3}
.chart svg text{font-size:9px;fill:var(--ink-3);font-family:var(--mono)}
.chart .tip{position:absolute;transform:translate(-50%,-100%);background:var(--navy);color:#fff;font-size:11px;border-radius:8px;padding:6px 8px;white-space:nowrap;pointer-events:none;line-height:1.5}
.legend{display:flex;gap:12px;font-size:11px;color:var(--ink-3);margin-top:4px}
.legend span::before{content:"";display:inline-block;width:10px;height:3px;margin-right:4px;vertical-align:middle;background:var(--c)}
details.acc{background:var(--surface);border:1px solid var(--line);border-radius:12px}
details.acc summary{list-style:none;padding:12px 14px;font-weight:700;display:flex;justify-content:space-between;cursor:pointer}
details.acc summary::-webkit-details-marker{display:none}
details.acc summary::after{content:"▾";color:var(--ink-3)}
details.acc[open] summary::after{content:"▴"}
.lines{padding:0 14px 12px;display:flex;flex-direction:column;gap:6px;font-size:13px}
.lines div{display:flex;justify-content:space-between;gap:8px}
.lines div span:last-child{font-family:var(--mono)}
.lines .tot{border-top:1px solid var(--line);padding-top:6px;font-weight:700}
.links{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.opt{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--line-2);border-radius:12px;padding:12px 14px;cursor:pointer;font-size:14px;background:var(--surface);color:var(--ink);font-family:inherit;width:100%;text-align:left}
.opt.on{border-color:var(--orange);background:var(--orange-soft)}
.opt b{font-family:var(--mono)}
.methods{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.methods button{height:44px;border:1px solid var(--line-2);border-radius:10px;background:var(--surface);color:var(--ink);font:inherit;font-size:13px;cursor:pointer}
.methods button.on{border-color:var(--orange);background:var(--orange-soft);color:var(--orange);font-weight:700}
.result{position:absolute;inset:0;background:var(--bg);z-index:45;display:flex;flex-direction:column;padding:30px 20px;gap:14px;overflow-y:auto}
.result .ic{width:64px;height:64px;border-radius:50%;background:var(--green-soft);color:var(--green);font-size:32px;display:flex;align-items:center;justify-content:center;margin:20px auto 0;flex:none}
.result .ic.bad{background:var(--red-soft);color:var(--red)}
.result h3{text-align:center;margin:0}
.receipt{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:6px;font-size:13px}
.receipt div{display:flex;justify-content:space-between;gap:8px}
.receipt div span:last-child{font-family:var(--mono);text-align:right}
.demo{border:1px dashed var(--amber);background:#FFF6E5;border-radius:12px;padding:10px 12px;font-size:12px;color:#6B4A00;display:flex;flex-direction:column;gap:6px}
.demo .row{display:flex;gap:6px;flex-wrap:wrap}
/* CUS-02 */
.menu{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.menu button{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:12px;text-align:left;font:inherit;color:var(--ink);cursor:pointer;display:flex;flex-direction:column;gap:4px}
.menu button b{font-size:14px}
.menu button small{font-size:11px;color:var(--ink-3)}
.menu button.on{border-color:var(--orange);background:var(--orange-soft)}
.menu svg{width:22px;height:22px;stroke:var(--orange);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.view{display:flex;flex-direction:column;gap:12px}
.period{font-size:12px;color:var(--ink-2);background:var(--surface-2);border-radius:10px;padding:8px 12px}
.upload{border:2px dashed var(--line-2);border-radius:14px;background:var(--surface);min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;cursor:pointer;color:var(--ink-2);font-size:13px;overflow:hidden;position:relative;font:inherit;width:100%}
.upload.has{border-style:solid;padding:0}
.upload img{width:100%;max-height:220px;object-fit:cover;display:block}
.big{height:52px;font-family:var(--mono);font-size:24px;text-align:right}
.calm{font-size:13px;border-radius:10px;padding:10px 12px;background:#FFF6E5;color:#6B4A00}
.cal-h{display:flex;justify-content:space-between;align-items:center;font-weight:700}
.cal-h button{background:none;border:1px solid var(--line);border-radius:8px;width:32px;height:30px;cursor:pointer;color:var(--ink)}
.cal{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center}
.cal .dh{font-size:11px;color:var(--ink-3);padding:4px 0}
.cal button{height:38px;border:1px solid transparent;border-radius:8px;background:var(--surface);color:var(--ink);font:inherit;font-family:var(--mono);font-size:13px;cursor:pointer}
.cal button:disabled{background:transparent;color:var(--ink-3);opacity:.5;cursor:not-allowed}
.cal button.on{background:var(--orange);color:#fff}
.cal span{height:38px}
.slots{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.slots button{height:44px;border:1px solid var(--line-2);border-radius:10px;background:var(--surface);color:var(--ink);font:inherit;font-size:13px;cursor:pointer;line-height:1.2}
.slots button small{display:block;font-size:10px;color:var(--ink-3)}
.slots button.on{border-color:var(--orange);background:var(--orange-soft);color:var(--orange);font-weight:700}
.slots button:disabled{text-decoration:line-through;opacity:.45;cursor:not-allowed}
.hold{font-size:12px;color:var(--green)}
.files{display:flex;flex-direction:column;gap:6px}
.file{display:flex;justify-content:space-between;align-items:center;background:var(--surface);border:1px solid var(--green);border-radius:10px;padding:10px 12px;font-size:13px;gap:8px}
.file span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.file button{background:none;border:0;color:var(--ink-3);cursor:pointer;font-size:16px}
.req{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:8px}
.req .h{display:flex;justify-content:space-between;align-items:center;gap:8px}
.req .no{font-family:var(--mono);font-size:12px;color:var(--ink-3)}
.req .meta{font-size:12px;color:var(--ink-2)}
.tl{display:flex;align-items:center;gap:4px;font-size:11px}
.tl span{flex:1;text-align:center;padding:4px 0;border-radius:6px;background:var(--surface-2);color:var(--ink-3)}
.tl span.d{background:var(--green-soft);color:var(--green);font-weight:700}
.tl span.c{background:var(--orange-soft);color:var(--orange);font-weight:700}
.ctrl{display:flex;flex-direction:column;gap:8px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:14px}
.ctrl label{display:flex;justify-content:space-between;align-items:center;font-size:13px;gap:8px}
.agree{display:flex;gap:8px;align-items:flex-start;font-size:13px;color:var(--ink-2)}
.agree input{margin-top:3px;width:18px;height:18px;accent-color:var(--orange)}
.otp-row{display:flex;gap:6px}
.otp-row .input{flex:1}
.ok-txt{color:var(--green);font-size:12px;font-weight:700}
.empty-box{background:var(--surface);border:1px dashed var(--line-2);border-radius:12px;padding:28px 16px;text-align:center;color:var(--ink-3);font-size:14px}
/* 로그인 */
.login-hero{background:var(--orange);color:#fff;border-radius:16px;padding:22px 18px;display:flex;flex-direction:column;gap:6px}
.login-hero h1{font-size:22px;margin:0}
.login-hero p{margin:0;font-size:13px;opacity:.9}
.timer{font-family:var(--mono);font-size:12px;color:var(--orange)}
/* 인쇄용 청구서 */
.print-page{max-width:720px;margin:24px auto;background:#fff;color:#111;padding:32px;border:1px solid var(--line);font-size:14px}
.print-page h1{font-size:22px;margin:0 0 4px}
.print-page table{width:100%;border-collapse:collapse;margin-top:12px}
.print-page th,.print-page td{border:1px solid #ccc;padding:8px 10px;text-align:left}
.print-page td.r{text-align:right;font-family:var(--mono)}
.print-page .tot td{font-weight:700;background:#f6f6f6}
.print-bar{max-width:720px;margin:16px auto 0;display:flex;gap:8px;justify-content:flex-end}
@media print{.print-bar{display:none}.print-page{border:0;margin:0}body{background:#fff}}
