/*app*/
html,body {background:#0a57d3;}
body {background: #F3F4F6;max-width: 450px;
    padding-top: calc(env(safe-area-inset-top) + 45px);
    padding-right: env(safe-area-inset-right);
    padding-bottom: calc(env(safe-area-inset-bottom) + 90px);
    padding-left: env(safe-area-inset-left);
    min-height: 100dvh;position: relative;overflow-x: hidden; width: 100%}
body.white {background: #ffffff;}
@media screen and (min-width: 450px) {
    body{box-shadow: 0px 0px 1000px 20px rgb(210 212 215);}
}

.bottom-sheet {position:fixed;inset:0;background:rgba(0,0,0,.4);display:none;z-index:1000;transition:opacity .3s}
.bottom-sheet.active {display:block;opacity:1}
.bottom-sheet-content {max-width: 450px;position:absolute;bottom:0;left:50%;right:0;background:#fff;border-top-left-radius:24px;width: 100%;padding-bottom: env(safe-area-inset-bottom);
    border-top-right-radius:24px;max-height:85vh;overflow-y:auto;transform:translate(-50%, 100%);transition:transform .3s cubic-bezier(.25,.1,.25,1)}
.bottom-sheet.active .bottom-sheet-content {transform:translate(-50%,0)}
.sheet-header {display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #eee}
.sheet-header h3 {margin:0;font-size:18px;font-weight:600;color:#0a57d3}
.sheet-header .close-sheet {background:none;border:none;font-size:28px;color:#aaa;cursor:pointer}
.form-group {padding:0 20px;margin:20px 0}
.form-group label {display:block;margin-bottom:8px;font-size:14px;color:#555;font-weight:500}
.form-group input {width:100%;padding:12px;border:1px solid #ddd;border-radius:8px;font-size:15px;height: fit-content}
.form-actions {display:flex;gap:0px;padding:0px;border-top:1px solid #eee}
.form-actions button {flex:1;padding:14px;border:none;border-radius:0px;font-size:15px;cursor:pointer}
.btn-cancel {background:#f0f0f0;color:#333}
.btn-save {background:#0a57d3;color:#fff}


.sheet-form{margin-top:14px}
.sheet-form label{display:block;font-size:13px;color:#555;margin-bottom:6px}
.sheet-form input{width:100%;padding:12px;border:1px solid #ddd;border-radius:10px;font-size:14px;height: fit-content}
.sheet-form select{width:100%;padding:12px;border:1px solid #ddd;border-radius:10px;font-size:14px;height: fit-content}
.input-password-wrap{position:relative;display:flex;align-items:center}
.input-password-wrap input{padding-right:44px}
.btn-toggle-pwd{position:absolute;right:12px;background:none;border:none;cursor:pointer;color:#999;font-size:16px;padding:0;line-height:1}
.date-range{display:flex;align-items:center;gap:8px}
.date-range input{flex:1;padding:10px;border:1px solid #ddd;border-radius:8px}
.date-range span{font-size:13px;color:#666}

.paging-wrap{
    display:flex;justify-content:center;align-items:center;
    gap:6px;margin:20px 0
}
.paging-btn,.paging-num{
    padding:8px 12px;border-radius:8px;
    font-size:13px;font-weight:600;
    border:1px solid #ddd;
    background:#fff;color:#333;
    text-decoration:none
}
.paging-num.active{
    background:#0a57d3;border-color:#0a57d3;color:#fff
}
.paging-btn{white-space:nowrap}



header {gap:10px;background: #F3F4F6;z-index: 3;padding: 0px 20px;height: 45px; display: flex; align-items: center; position: fixed; width: 100%; top: 0; max-width: 450px; left: 50%; transform: translateX(-50%)}
body.white header {background: #ffffff;}
body:has(.sidebar.open) {max-height: 100dvh; overflow: hidden}
header .logo {position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);display: flex; align-items: center; }
header img {height: 30px;}
header i {font-size: 1.538em}
header p {font-size: 1.154em; font-weight: 600; text-align: center}

footer {border-top: 1px solid #e4e6ea;gap:10px;background: #F3F4F6;z-index: 3;padding: 0px 0px;height: 90px; display: flex; align-items: center; position: fixed; width: 100%; bottom: 0; max-width: 450px; left: 50%; transform: translateX(-50%)}
.footer-notice {width: 100%;padding:12px 16px;font-size:13px;color:#555;text-align:center;overflow:hidden;line-height:1.4}
.footer-notice p {font-size: 16px;margin:0 0 4px;font-weight:600;color:#333; text-align: left;display: flex; align-items: center;gap: 5px;justify-content: space-between;flex-direction: row-reverse; }
.footer-notice p i {color: #0a57d3}
.footer-notice .ticker-wrap {cursor: pointer;padding:6px 10px;position:relative;height:28px;overflow:hidden; background: #fff; border-radius: 3px}
.footer-notice .ticker-list {margin:0;padding:0;list-style:none;position:relative;width:100%; text-align: left}
.footer-notice .ticker-list li {font-size: 12px;position:absolute;width:100%;top:0;left:0;opacity:0;transform:translateY(20px);transition:opacity 0.4s ease, transform 0.4s ease}
.footer-notice .ticker-list li.active {opacity:1;transform:translateY(0)}

.container {min-height:calc( 100dvh - 135px )}

.sidebar {width: 100%;height: 100vh;background-color: #fff;position: absolute;top: 0;right: -100%; transition: right 0.3s ease;z-index: 1000;padding: 10px 20px;padding-top:calc(10px + env(safe-area-inset-top));user-select: none;}
.sidebar.open {right: 0; }
.sidebar a.close-btn {margin-bottom: 20px;font-size: 1.538em;text-align: right;width: 100%;display: block;}

/* 핵심: 스크롤 영역 */
.sidebar-inner {height: 100%;display: flex;flex-direction: column;overflow-y: auto;}
.menu-scroll::-webkit-scrollbar {width:6px;}
.menu-scroll::-webkit-scrollbar-track {background:transparent;}
.menu-scroll::-webkit-scrollbar-thumb {background:rgba(0,0,0,0.15);border-radius:10px;}
.menu-scroll::-webkit-scrollbar-thumb:hover {background:rgba(0,0,0,0.25);}

.sidebar a.login {font-size: 25px;line-height: 40px}
.sidebar h1 {font-size: 25px;line-height: 40px; margin-bottom: 25px}
.sidebar .copy {position: static;padding-bottom: calc(20px + env(safe-area-inset-bottom));opacity: 1; text-align: center; margin-top: 20px}
.menu-scroll {flex: 1;overflow-x: hidden;-webkit-overflow-scrolling: touch; max-height: calc(100vh - 250px); overflow-y: auto; padding-right: 7.5px}
.sidebar .copy a {color: #666;}
.sidebar .copy p {margin-top: 5px;opacity: 0.3; text-align: center}
.sidebar nav + b {margin-top: 26px;display: block}
.sidebar ul li{;border-bottom: 1px solid #eeeeee;}
.sidebar ul li a {padding: 15px 0;font-size: 16px;display: flex; flex-direction: row-reverse; justify-content: space-between}
.sidebar ul li a i {width: 15px;text-align: center}
.sidebar .store {position:relative;display:inline-block}
.sidebar .store::after {content:"";position:absolute;left:0;bottom:-0.1em;width:100%;height:20px; mix-blend-mode: darken;background: #d9e8ff;transform:scaleX(1);transform-origin:left}
.sidebar > b {margin: 20px 0  10px;    display: block;}


.main-page {}
body:has(.main-page) header {    background: #fff;}
.container:has(.main-page) {    background: linear-gradient(to bottom, #ffffff, transparent 24vh);}
.main-page .info-wrap {padding: 20px 16px 0px;display: flex;}
.main-page .info-wrap h6{color: #0a57d3;margin-bottom: 5px; font-weight: 600}
.main-page .info-wrap h3 b {position:relative;display:inline-block}
.main-page .info-wrap h3 b::after {content:"";position:absolute;left:0;bottom:-0.1em;width:100%;height:20px; mix-blend-mode: darken;background: #d9e8ff;transform:scaleX(1);transform-origin:left}

.main-page .content-wrap {padding: 16px 16px 10px;}

.main-page .menu-grid {  background: linear-gradient(163deg, #e1e4e8 30%, #ffffff);;overflow: hidden;border-radius: 12px;grid-template-columns: repeat(2, 1fr);display: grid;margin-bottom: 10px;}
.main-page .menu-item {background: #0a57d3;padding: 20px;display: flex;flex-direction: column;font-size: 13px;gap: 0px;line-height: 1.4;text-decoration: none;color: #333;transition: transform 0.15s;}
/*.main-page .menu-item.ready {filter: grayscale(1)}*/
.main-page .menu-item:nth-child(1),
.main-page .menu-item:nth-child(2),
.main-page .menu-item:nth-child(3),
.main-page .menu-item:nth-child(4) {border-bottom: 1px solid #ffffff20}
.main-page .menu-item:nth-child(6) {border-bottom-right-radius: 12px;}/*
.main-page .menu-item:nth-child(2) {border-bottom-right-radius: 12px;}
.main-page .menu-item:nth-child(3) {border-bottom-right-radius: 12px;}*/
.main-page .menu-item:nth-child(odd) {border-right: 1px solid #ffffff20}/*
.main-page .menu-item:last-child { background: #fff0;}*/
.main-page .menu-item:hover img {transform:translateY(-3px)}
.main-page .menu-item img {width: 25px;transition:transform .15s}/*
.main-page .menu-item:last-child span img {width: 20px; margin-bottom: 3px; filter: grayscale(1)}*/
.main-page .menu-item span {display: block;margin-left: auto;font-size: 20px; font-weight: 400; color: #fff}
.main-page .menu-item span .menu-sub {display:block;width:100%;font-size:14px;line-height:1.2;text-align:right}
.main-page .menu-item span b{display: inline-flex;margin-right: 5px;font-size: 10px; font-weight: 400; background: #ffffff30; color: #fff; padding: 0 5px; border-radius: 50px;}/*
.main-page .menu-item:last-child span { opacity: 0.3;color: #787878}*/

.main-page .service-list {border-radius: 12px; border:1px solid #78787820;display: grid;grid-template-columns: repeat(4, 1fr);gap: 0px;overflow: hidden}
.main-page .service-item {font-weight: 600;gap: 5px;border-radius: 0px;padding: 14px 0;display: flex;flex-direction: column;justify-content:space-between;align-items: center;font-size: 14px;color: #333;}
.main-page .service-item:not(:last-child) {border-right:1px solid #78787820;}
.main-page .service-item:hover {background: #fff}
.main-page .service-item i {font-size: 15px}

.main-page .sales-summary {padding: 0 16px 0px;}
.main-page .sales-wrap {border-radius:12px;overflow: hidden;padding:0px;display:flex;flex-direction:column;gap:0px;border: 1px solid #e4e6ea;}
.main-page .sales-card {display: flex;align-items: center;justify-content: space-between;background: #fff;padding:10px 12px;color: rgba(51, 51, 51, 0.73);text-align:center;position:relative;transition:transform .15s}
.main-page .sales-card:nth-child(2) {border-bottom: 1px solid #e4e6ea60}
.main-page .sales-card h6 {color:#666;font-size:13px;margin:0 0px;font-weight:500}
.main-page .sales-card h3 {margin:0;font-size:13px;font-weight:400;letter-spacing:-.5px;color: #6E6E6E}
.main-page .sales-card h3 b {font-size:15px;font-weight:700;position:relative;display:inline-block;margin-right: 5px;color: rgba(0, 0, 0, 0.8)}
.main-page .sales-card.today {border-radius:12px;background:#f3f4f6;color:#000;padding:10px 12px}
.main-page .sales-card.today h6 {color:#666;font-size:13px;margin:0 0px;font-weight:500}
.main-page .sales-card.today h3 {margin:0;font-size:13px;font-weight:400;letter-spacing:-.5px;color: #6E6E6E}
.main-page .sales-card.today h3  b {font-size:20px;font-weight:700;position:relative;display:inline-block;margin-right: 5px;color: #000}
.main-page .sales-card .change {background:#6371871f;font-size:11px;font-weight:600;padding:2px 5px;border-radius:16px;display:flex;align-items:center;gap:4px;margin-top: 5px}
.main-page .sales-card .change i {font-size:14px}
.main-page .sales-card .change.up {color:#0a57d3}
.main-page .sales-card .change.down {color:#e74c3c}
.main-page .sales-card.today .change.up {color:#0a57d3}
.main-page .sales-card.today .change.down {color:#e74c3c}




body:has(.login-container) header {    background: #0a57d3;}
.login-container {display:flex;align-items:center;justify-content:center;min-height:calc(100dvh - 135px);flex-direction: column; gap: 40px;
    background:linear-gradient(to bottom, #0a57d3 50vh,#F3F4F6 50vh);padding:40px 20px 0}
.login-box {background:#fff;width:100%;max-width:380px;border-radius:16px;padding:24px;box-shadow:0 10px 30px rgba(0,0,0,.1);text-align:center}
.login-container img {margin:0 0 15px;width: 40px;filter: brightness(2) grayscale(1);}
.login-container h1 {margin:0 0 8px;font-size:28px;font-weight:700;color:#fff;line-height: 1.5em}
.login-container .subtitle {color:#fff;font-size:14px}
.login-box form {flex-direction: column; gap: 10px;display: flex; align-items: start; width: 100%}
.login-form .input-group {margin-bottom:16px; width: 100%}
.login-form input:not([type="checkbox"]) {height: fit-content;width:100%;padding:14px 16px;border:1px solid #ddd;border-radius:10px;font-size:15px;background:#fafafa;transition:border-color .2s}
.login-form input:focus {outline:none;border-color:#0a57d3;box-shadow:0 0 0 3px rgba(10,87,211,.1)}
.login-form .options {display:flex;justify-content:space-between;margin: -10px 0 20px;align-items:center;width: 100%;font-size:13px}
.login-form .remember {display:flex;align-items:center;gap:8px;color:#555}
.login-form .forgot {color:#0a57d3;text-decoration:none;font-weight: 600}
.login-form .forgot:hover {text-decoration:underline}
.login-container .btn-primary {width:100%;padding:14px;background:#0a57d3;color:#fff;border:none;border-radius:10px;font-size:16px;font-weight:600;cursor:pointer;transition:background .2s}
.login-container .btn-primary:hover {background:#0848b3}
.cc-wrap {background:#f8f9fa;border-radius:12px;padding:20px;width: 100%}
.cc-title {text-align:center;margin-bottom:20px}
.cc-title .title {font-size:18px;font-weight:700;color:#0a57d3;margin:0 0 8px}
.cc-title .working_t {font-size:14px;color:#333;margin:0 0 4px}
.cc-title .holiday {font-size:13px;color:#888;margin:0}
.cc-data {display:flex;flex-direction:column;gap:12px}
.cc-data a {text-decoration:none;display:block}
.cc-data .phone {font-size:20px;font-weight:700;color:#0a57d3;margin:0;text-align:center;padding:0;transition:all .2s}
.cc-data .email {font-size:15px;color:#0a57d3;margin:0;}

.pay-screen{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;overflow:hidden}
.pay-screen__bg{position:absolute;inset:0;background:linear-gradient(180deg,#f8fafc 0%,#eff6ff 55%,#f8fafc 100%)}
.pay-screen__bg:before{content:"";position:absolute;left:50%;top:50%;width:420px;height:420px;transform:translate(-50%,-50%);background:radial-gradient(circle,rgba(59,130,246,.14) 0%,rgba(59,130,246,.06) 38%,rgba(59,130,246,0) 72%)}
.pay-screen__step{position:relative;z-index:2;width:100%;max-width:430px;padding:40px 24px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.pay-screen__title{margin:0;font-size:32px;font-weight:800;line-height:1.35;letter-spacing:-.04em;color:#111827}
.pay-screen__desc{margin:10px 0 0;font-size:15px;font-weight:500;line-height:1.5;letter-spacing:-.02em;color:#6b7280}

.card-loader3d{position:relative;width:180px;height:180px;margin-bottom:28px;display:flex;align-items:center;justify-content:center;perspective:1000px}
.card-loader3d__slot{position:absolute;top:16px;width:92px;height:8px;border-radius:999px;background:linear-gradient(180deg,#dbeafe 0%,#93c5fd 100%);box-shadow:0 4px 10px rgba(59,130,246,.16),inset 0 1px 1px rgba(255,255,255,.7)}
.card-loader3d__shadow{position:absolute;bottom:18px;left:50%;width:110px;height:24px;border-radius:50%;transform:translateX(-50%);background:radial-gradient(ellipse at center,rgba(37,99,235,.20) 0%,rgba(37,99,235,.08) 45%,rgba(37,99,235,0) 75%);filter:blur(6px);animation:cardShadow 1.8s ease-in-out infinite}
.card-loader3d__card{position:absolute;width:96px;height:132px;border-radius:18px;background:linear-gradient(160deg,#ffffff 0%,#eef4ff 46%,#cfe2ff 100%);border:1px solid rgba(147,197,253,.55);box-shadow:0 18px 34px rgba(37,99,235,.18),0 6px 12px rgba(15,23,42,.08),inset 0 1px 0 rgba(255,255,255,.95);transform-style:preserve-3d;animation:cardInsert 1.8s cubic-bezier(.65,.05,.36,1) infinite}
.card-loader3d__card:before{content:"";position:absolute;inset:0;border-radius:18px;background:linear-gradient(135deg,rgba(255,255,255,.55) 0%,rgba(255,255,255,0) 42%,rgba(59,130,246,.06) 100%)}
.card-loader3d__shine{position:absolute;left:10px;top:10px;width:42px;height:14px;border-radius:999px;background:rgba(255,255,255,.75);filter:blur(2px);transform:rotate(-18deg)}
.card-loader3d__chip{position:absolute;left:14px;top:22px;width:18px;height:14px;border-radius:4px;background:linear-gradient(180deg,#60a5fa 0%,#2563eb 100%);box-shadow:inset 0 1px 1px rgba(255,255,255,.5)}
.card-loader3d__line{position:absolute;left:14px;height:6px;border-radius:999px;background:linear-gradient(90deg,#60a5fa 0%,#3b82f6 100%);opacity:0;animation:cardLine 1.8s ease-in-out infinite}
.card-loader3d__line--lg{top:52px;width:62px;animation-delay:.2s}
.card-loader3d__line--sm{top:66px;width:38px;animation-delay:.35s}

.done-badge3d{position:relative;width:120px;height:120px;margin-bottom:26px;display:flex;align-items:center;justify-content:center}
.done-badge3d__circle:before{content:"";position:absolute;left:14px;top:12px;width:30px;height:16px;border-radius:50%;background:rgba(255,255,255,.28);transform:rotate(-18deg);filter:blur(1px)}
.done-badge3d__circle svg{width:34px;height:34px;fill:#fff}
.done-badge3d__glow{position:absolute;inset:0;border-radius:50%;background:radial-gradient(circle,rgba(59,130,246,.26) 0%,rgba(59,130,246,.08) 42%,rgba(59,130,246,0) 74%);transform:scale(.2);opacity:0}
.done-badge3d__circle{position:relative;width:84px;height:84px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(160deg,#60a5fa 0%,#3b82f6 55%,#2563eb 100%);box-shadow:0 16px 30px rgba(37,99,235,.24),inset 0 2px 8px rgba(255,255,255,.4),inset 0 -10px 16px rgba(29,78,216,.28);transform:scale(.72)}
.pay-screen__step--done{opacity:0;transform:translateY(14px)}
.pay-screen__step--done.is-active{opacity:1;transform:translateY(0);animation:doneStepIn .45s cubic-bezier(.22,1,.36,1)}
.pay-screen__step--done.is-active .done-badge3d{animation:doneBadgeIn .55s cubic-bezier(.22,1,.36,1)}
.pay-screen__step--done.is-active .done-badge3d__circle{animation:doneCirclePop .5s cubic-bezier(.2,.9,.25,1.2) forwards}
.pay-screen__step--done.is-active .done-badge3d__glow{animation:doneGlowIn .65s cubic-bezier(.22,1,.36,1) forwards,donePulse 1.8s ease-in-out .65s infinite}
@keyframes doneStepIn{
    0%{opacity:0;transform:translateY(14px)}
    100%{opacity:1;transform:translateY(0)}
}
@keyframes doneBadgeIn{
    0%{opacity:0;transform:translateY(16px) scale(.88)}
    100%{opacity:1;transform:translateY(0) scale(1)}
}
@keyframes doneCirclePop{
    0%{transform:scale(.72)}
    60%{transform:scale(1.08)}
    100%{transform:scale(1)}
}

@keyframes cardInsert{
    0%{transform:translateY(-30px) rotateX(66deg) scale(.92);opacity:.15}
    20%{transform:translateY(-10px) rotateX(25deg) scale(.98);opacity:1}
    45%{transform:translateY(6px) rotateX(0deg) scale(1)}
    60%{transform:translateY(14px) rotateX(-8deg) scale(.985)}
    100%{transform:translateY(52px) rotateX(-18deg) scale(.95);opacity:.08}
}
@keyframes cardShadow{
    0%,100%{transform:translateX(-50%) scale(.88);opacity:.18}
    45%{transform:translateX(-50%) scale(1.05);opacity:.28}
    60%{transform:translateX(-50%) scale(1.12);opacity:.22}
}
@keyframes cardLine{
    0%,15%{width:0;opacity:0}
    35%{opacity:1}
    55%{opacity:1}
    100%{opacity:0}
}
@keyframes donePulse{
    0%,100%{transform:scale(.96);opacity:.55}
    50%{transform:scale(1.08);opacity:1}
}

body:has(.mypage-header) header {    background: #fff;}
.mypage-main {}
.mypage-header {background: #fff;padding:30px}
.mypage-main .profile-box {display:flex;justify-content:space-between;align-items:center;}
.mypage-main .profile-info h2 {margin:0 0 4px;font-size:20px;font-weight:700;display:flex;gap: 5px;align-items:center;}
.mypage-main .profile-info .grade {margin:0;font-size:13px;color:#666}
.mypage-main .profile-info .manager {margin:4px 0 0;font-size:14px;color:#333}
.mypage-main .btn-blue {border-radius:8px;}
.mypage-main .info-section {padding:16px;display:flex;flex-direction:column;gap:16px}
.mypage-main .info-card {border-bottom:1px solid #f0f0f0;padding-bottom: 15px; margin-bottom: 15px}
.mypage-main .info-card h3 {margin:0 0 12px;font-size:16px;font-weight:600;color: #434343; display:flex;justify-content:space-between;align-items:center;}
.mypage-main .info-card h3 a {font-size:16px;}
.mypage-main .info-card ul {list-style:none;margin:0;padding:0}
.mypage-main .info-card li {display:flex;gap: 10px;padding:10px 0;}
.mypage-main .info-card li:last-child {border-bottom:none}
.mypage-main .info-card .label {color:#666;font-size:14px;width: 110px; min-width: 110px}
.mypage-main .info-card .value {font-weight:500;color:#333;font-size:14px;font-weight: 700}
.mypage-main .quick-menu {padding:0 16px;margin: 20px 0}
.mypage-main .quick-menu .menu-grid {border-radius: 12px; border:1px solid #78787820;display: grid;grid-template-columns: repeat(4, 1fr);gap: 0px;overflow: hidden}
.mypage-main .quick-menu .menu-item {font-weight: 600;gap: 10px;border-radius: 0px;padding: 14px 0;display: flex;flex-direction: column;justify-content:space-between;align-items: center;font-size: 14px;color: #333;}
.mypage-main .quick-menu .menu-item:not(:last-child) {border-right:1px solid #78787820;}
.mypage-main .quick-menu .menu-item:hover {background: #fff}

.pay-contents{padding:20px 16px 100px;background:#f3f4f6}
.pay-contents .pay-form{display:flex;flex-direction:column;gap:16px}
.pay-contents .pay-section{background:#fff;border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:12px}
.pay-contents .pay-title{font-size:15px;font-weight:700;color:#0a57d3;margin:12px 0 0}
.pay-contents .pay-row{display:flex;flex-direction:column;gap:6px}
.pay-contents .pay-row label{font-size:13px;color:#555}
.pay-contents .pay-row input:not([type="checkbox"]),
.pay-contents .pay-row select{padding:12px 14px;border:1px solid #ddd;border-radius:10px;font-size:14px;background:#fafafa;height:fit-content}
.pay-contents .pay-inline{display:flex;gap:8px}
.pay-contents .pay-btn-search{width:fit-content;padding:0 14px;border-radius:10px;border:1px solid #0a57d3;background:#fff;color:#0a57d3;font-size:13px;font-weight:600;white-space:nowrap}
.pay-contents .pay-toggle{display:flex;gap:8px}
.pay-contents .pay-toggle button{flex:1;padding:10px 0;border-radius:20px;border:1px solid #ddd;background:#fff;font-size:13px;white-space:nowrap}
.pay-contents .pay-toggle .active{border-color:#0a57d3;background:#0a57d3;color:#fff}
.pay-contents .pay-info{background:#eef4ff;color:#0a57d3;font-size:12px;padding:10px 12px;border-radius:10px;margin-bottom:8px;display: flex; justify-content: space-between}
.pay-contents .pay-info-btn{width:100%;border:none;align-items:center;cursor:pointer}
.pay-contents .pay-info-btn span{display:flex;align-items:center;gap:4px}
.pay-contents .pay-card{display:flex;gap:6px}
.pay-contents .pay-card input{text-align:center}
.pay-contents .pay-tab-buttons{display:flex;gap:8px;margin-bottom:14px}
.pay-contents .pay-tab-btn{flex:1;padding:10px 0;border-radius:20px;border:1px solid #ddd;background:#fff;font-size:13px}
.pay-contents .pay-tab-btn.active{background:#0a57d3;border-color:#0a57d3;color:#fff}
.pay-contents .pay-tab-content{display:none}
.pay-contents .pay-tab-content.active{display:flex;flex-direction:column;gap:12px}

.pay-contents .pay-error-msg{display:block;margin-top:2px;font-size:12px;color:#ff4d4f; text-align: center}
.pay-contents .pay-fixed{position:fixed;left:50%;bottom:0;transform:translateX(-50%);max-width:450px;width:100%;box-shadow:0 -6px 20px rgba(0,0,0,.08);background:#fff}
.pay-contents .pay-btn{width:100%;padding:16px;border:none;background:#0a57d3;color:#fff;font-size:16px;font-weight:700;border-radius:0}
.pay-contents .pay-btn:active{background:#0848b3}
.pay-contents .pay-desc{font-size:13px;line-height:1.6;color:#555;background:#f9fafb;padding:14px;border-radius:12px}
.pay-contents .pay-desc strong{display:block;margin-top:6px;color:#0a57d3;font-weight:600}

#productSearchSheet .sheet-body{padding:25px}
#productSearchSheet .sheet-search input{width:100%;height:48px;padding:0 14px;border:1px solid #ddd;border-radius:10px;margin-bottom:14px}
#productSearchSheet .product-list{list-style:none;padding:0;margin:0}
#productSearchSheet .product-item{border-bottom:1px solid #eee}
#productSearchSheet .product-select{width:100%;padding:14px 0;display:flex;align-items:center;gap:12px;background:#fff;border:none;text-align:left}
#productSearchSheet .product-thumb{width:56px;min-width:56px;height:56px;border:1px solid #eee;border-radius:10px;overflow:hidden;background:#f8f8f8}
#productSearchSheet .product-thumb img{width:100%;height:100%;object-fit:cover}
#productSearchSheet .product-info{flex:1;display:flex;flex-direction:column;gap:4px}
#productSearchSheet .product-title-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#productSearchSheet .product-name{font-size:15px;font-weight:600;color:#111}
#productSearchSheet .product-meta{display:flex;align-items:center}
#productSearchSheet .product-code{font-size:12px;font-weight:500;color:#999}
#productSearchSheet .product-price{font-size:14px;font-weight:700;color:#0a57d3}
#productSearchSheet .product-btn{display:inline-flex;align-items:center;justify-content:center;height:34px;padding:0 14px;border:1px solid #0a57d3;border-radius:8px;font-size:13px;font-weight:600;color:#0a57d3;background:#fff}

#partnerSearchSheet .sheet-body {padding: 25px}
#partnerSearchSheet .partner-list{list-style:none;padding:0;margin:0}
#partnerSearchSheet .partner-item{border-bottom:1px solid #eee}
#partnerSearchSheet .partner-select{width:100%;padding:14px 0;display:flex;justify-content:space-between;align-items:center;background:#fff;border:none;text-align:left}
#partnerSearchSheet .partner-name{font-size:15px;font-weight:600}
#partnerSearchSheet .partner-manager{font-size:12px;color:#888}
#partnerSearchSheet .partner-phone{font-size:13px;font-weight:700;color:#0a57d3}
#partnerSearchSheet .sheet-search input{width:100%;padding:12px 14px;border:1px solid #ddd;border-radius:10px;margin-bottom:12px;height: fit-content}

body:has(.pay-sign){display: flex;flex-direction: column;justify-content: center;}
.pay-sign {display:flex;flex-direction:column;background:#f3f4f6}
.pay-sign .pay-section{text-align:center;margin-bottom:24px}
.pay-sign .pay-icon{width:64px;height:64px;margin:0 auto 12px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:28px}
.pay-sign .pay-icon.success{background:#e8f1ff;color:#0a57d3}
.pay-sign .pay-title{font-size:18px;font-weight:700;margin:0 0 6px}
.pay-sign .pay-desc{font-size:13px;color:#666}
.sign-wrap{position:relative;flex:1;margin:16px;background:#fff;border-radius:16px;overflow:hidden; }

#sign-panel { display: none; }
#sign-panel.open { display: block; margin-top: 16px}
#sign-panel .sign-wrap { max-height: 50vh; }
#sign-panel .pay-title { margin-bottom: 16px }
#signCanvas{touch-action:none;width:100%;height:100%}
.sign-guide{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none;opacity:.25}
.sign-guide img{width:500px;margin-bottom:12px; height:100px; object-fit: cover}
.sign-guide p{text-align:center;font-size:14px;color:#999;line-height:1.4}
.pay-sign .sign-fixed{position:fixed;left:50%;bottom:0;transform:translateX(-50%);max-width:450px;width:100%;display:flex;gap:0px;;box-shadow:0 -6px 20px rgba(0,0,0,.08)}
.pay-sign .sign-fixed button{flex:1;padding:14px;border-radius:0px;font-size:15px;font-weight:700;border:none}
.pay-sign .btn-close{background:#fff;color:#333}
.pay-sign .btn-confirm{background:#0a57d3;color:#fff}
.pay-sign .btn-confirm:active{background:#0848b3}

body:has(.pay-done){display: flex;flex-direction: column;justify-content: center;}
.pay-done .done-section{text-align:center;margin-bottom:24px}
.pay-done .done-icon{width:64px;height:64px;margin:0 auto 12px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:28px}
.pay-done .done-icon.success{background:#e8f1ff;color:#0a57d3}
.pay-done .done-icon.fail{background:#fee2e2;color:#dc2626}
.pay-done .done-title{font-size:18px;font-weight:700;margin:0 0 6px}
.pay-done .done-desc{font-size:13px;color:#666}

.pay-done .done-info .pay-row{flex-direction:row;justify-content:space-between;align-items:center}
.pay-done .done-info label{font-size:13px;color:#666}
.pay-done .done-info .pay-value{font-size:14px;color:#111}

.pay-done .done-actions{position:fixed;left:50%;bottom:0;transform:translateX(-50%);max-width:450px;width:100%;display:flex;gap:0px;;box-shadow:0 -6px 20px rgba(0,0,0,.08)}
.pay-done .done-btn{flex:1;padding:14px;border-radius:0px;font-size:15px;font-weight:700;border:none;text-align: center}
.pay-done .done-btn.primary{background:#0a57d3;color:#fff}
.pay-done .done-btn.secondary{background:#fff;color:#333}
.pay-done .done-btn.primary:active{background:#0848b3}


.receipt-view{padding:20px 16px 100px;}
.receipt-paper{background:#fff;border-radius:0px;padding:50px 20px;position:relative}
.receipt-paper:before{content:"";position:absolute;bottom:-6px;left:0;width:100%;height:12px;background:radial-gradient(circle at 10px 6px, #f1f2f4 6px,transparent 6px) repeat-x;background-size:20px 12px}

.receipt-paper .receipt-head{text-align:center;margin-bottom:16px}
.receipt-paper .receipt-date{font-size:12px;color:#888;margin:0 0 6px}
.receipt-paper .receipt-title{font-size:16px;font-weight:700;margin:0 0 8px}
.receipt-paper .receipt-amount{font-size:26px;font-weight:800;color:#0a57d3;margin:0}
.receipt-amount span{font-size:16px;margin-left:2px}
.receipt-paper .receipt-section{display:flex;flex-direction:column;gap:8px;margin-bottom:14px}
.receipt-paper .receipt-row{display:flex;justify-content:space-between;font-size:13px;color:#555}
.receipt-paper .receipt-row strong{color:#111;font-weight:600}
.receipt-paper .receipt-line{border:none;border-top:1px dashed #ddd;margin:16px 0}
.receipt-paper .receipt-subtitle{font-size:14px;font-weight:700;color:#0a57d3;margin:0 0 10px}
.receipt-paper .receipt-link-btn{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border:1px solid #dbe4f0;border-radius:12px;background:#f8fbff;color:#0f172a;font-size:13px;font-weight:600;text-decoration:none}
.receipt-paper .receipt-link-btn i{color:#0a57d3}
.receipt-paper .receipt-link-btn.is-cancel{border-color:#fecaca;background:#fff5f5;color:#dc2626}
.receipt-paper .receipt-link-btn.is-cancel i{color:#dc2626}

.receipt-fixed{position:fixed;left:50%;bottom:0;transform:translateX(-50%);width:100%;max-width:450px;display:flex;gap:0px;box-shadow:0 -6px 20px rgba(0,0,0,.08)}
.receipt-btn{flex:1;padding:14px;border-radius:0px;font-size:14px;font-weight:700;border:none}
.receipt-btn.gray{background:#fff;color: #ba0c0c}
.receipt-btn.dark{background:#374151;color:#fff}
.receipt-btn.primary{background:#0a57d3;color:#fff}
.receipt-btn.primary:active{background:#0848b3}

.receipt-paper .receipt-cancel-info .receipt-subtitle.cancel{color:#dc2626!important;}
.receipt-paper .receipt-cancel-info .txt-red{color:#dc2626!important;font-weight:700}

.receipt-paper.is-cancel{background:#fafafa!important;}
.receipt-paper.is-cancel .receipt-amount{color:#9ca3af!important;}
.receipt-paper.is-cancel .receipt-row strong{color:#6b7280!important;}

.receipt-cancel-mark{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotate(-20deg);font-size:52px;font-weight:900;letter-spacing:6px;color:#dc2626;text-shadow: 1px 1px 0 rgba(220,38,38,.35), -1px -1px 0 rgba(220,38,38,.25);opacity:.85;pointer-events:none;white-space:nowrap;}
.receipt-cancel-mark:before{content:"";position:absolute;inset:-24px -36px;border:4px solid rgba(220,38,38,.85);border-radius:50%;}
.receipt-cancel-mark{filter:contrast(1.1) saturate(1.1);}

#shareConfirmSheet .sheet-body {padding: 25px}

#cancelConfirmSheet .sheet-body {padding: 25px}
#cancelConfirmSheet .cancel-alert{text-align:center;padding:12px 0}
#cancelConfirmSheet .cancel-title{font-size:16px;font-weight:700;margin:0 0 6px}
#cancelConfirmSheet .cancel-desc{font-size:13px;color:#666;line-height:1.5}


.pay-log {padding:20px 16px;}
.pay-log .log-item{background:#fff;border-radius:12px;padding:16px;margin-bottom:12px}
.pay-log .log-item.cancel{background:#fff}

.pay-log .log-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.pay-log .log-title{font-size:15px;font-weight:700;cursor: pointer;}
.pay-log .log-status{font-size:12px;font-weight:700;min-width:44px;text-align:center;font-size:12px;font-weight:700;border-radius:8px;padding:4px 0;background: #f4f4f4;color: #424242}
.pay-log .log-status.success{background:#eef4ff;color:#0a57d3}
.pay-log .log-status.cancel{background: #ffeeee;color:#dc2626}

.pay-log .log-body{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px}
.pay-log .log-col{display:flex;justify-content:space-between;font-size:13px}
.pay-log .log-col .label{color:#777; border-radius: 3px; padding: 2px 4px; background: #f8f8f8; font-size: 11px;}
/*.pay-log .log-item.cancel .log-col .label{background: #fff;}*/
.pay-log .log-col .value{color:#111;font-weight:500}

.pay-log .log-col .price{font-weight:700}
.pay-log .log-col .label.cancel,
.pay-log .log-col .value.cancel{background: #fff6f6;color:#dc2626}

.log-filter-btn{margin-bottom: 15px;width:100%;padding:12px;border-radius:10px;border:1px solid #ddd;background:#fff;font-size:14px;font-weight:600;display:flex;gap:6px;align-items:center;justify-content:center}
.log-filter-tags{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}
.log-filter-tag{display:flex;align-items:center;gap:4px;padding:4px 8px;border-radius:14px;font-size:12px;font-weight:600;background:#eef4ff;color:#0a57d3}
.log-filter-tag .remove{font-size:12px;cursor:pointer;color:#0a57d3}
.log-filter-clear{display:flex;align-items:center;gap:3px;padding:4px 8px;border-radius:14px;font-size:12px;font-weight:600;background:#fee2e2;color:#dc2626;border:none;cursor:pointer}
.pay-log .log-summary{display:grid;grid-template-columns:1fr;gap:8px;margin:14px 0 16px}
.pay-log .log-summary-card{display:flex;flex-direction:column;gap:8px;padding:13px 12px 11px;border-radius:12px;background:#fff;border:1px solid #eef0f4;min-width:0}
.pay-log .log-summary-breakdown{gap:0;padding:10px 0;background:#fff;border-color:#e5e7eb;overflow:hidden}
.pay-log .log-summary-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 14px}
.pay-log .log-summary-row + .log-summary-row{border-top:none}
.pay-log .log-summary-row-label{font-size:13px;font-weight:500;color:#4b5563;white-space:nowrap;border-radius:3px;padding:2px 4px;background:#f8f8f8}
.pay-log .log-summary-row-amount{font-size:15px;line-height:1.2;font-weight:700;letter-spacing:-0.1px;color:#111;text-align:right;white-space:nowrap;border-radius:3px;padding:2px 4px;background:#f8f8f8}
.pay-log .log-summary-row.approved .log-summary-row-label,
.pay-log .log-summary-row.approved .log-summary-row-amount{background:#eef4ff;color:#0a57d3}
.pay-log .log-summary-row.cancel .log-summary-row-label,
.pay-log .log-summary-row.cancel .log-summary-row-amount{background:#fff6f6;color:#dc2626}
.pay-log .log-summary-row.pending .log-summary-row-label,
.pay-log .log-summary-row.pending .log-summary-row-amount{background:#f3f4f6;color:#6b7280}
.pay-log .log-summary-row.total{margin-top:8px;padding-top:11px;border-top:1px solid #edf0f3}
.pay-log .log-summary-row.total .log-summary-row-label,
.pay-log .log-summary-row.total .log-summary-row-amount{background:#f8f8f8;color:#374151}

#logFilterSheet .sheet-body {padding: 25px}

html:has(body.event-wide-page){background:transparent}
body.event-wide-page{max-width:800px;box-shadow:none;background:transparent}
body.event-wide-page header{max-width:800px;left:50%;transform:translateX(-50%)}
body.event-embed-page{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}

.event-page {padding:20px 16px 40px}

.event-page .event-head{position:relative;margin-bottom:16px;padding-top:12px;padding-right:130px}
.event-page .event-month{display:block;font-size:16px;font-weight:800;color:#111;line-height:1.2;margin:0 0 4px}
.event-page .event-title{font-size:18px;font-weight:800;margin:0 0 4px}
.event-page .event-date{font-size:12px;color:#888}
.event-page .event-logo{position:absolute;top:0;right:0;width:118px;height:auto;object-fit:contain;flex-shrink:0}

.event-page .event-summary{background:#eef4ff;border-radius:12px;padding:14px;font-size:14px;line-height:1.6;color:#333;margin-bottom:20px}
.event-page .event-summary--plain{margin:12px 0 0;background:#f9fafb}
.event-page .event-summary strong{color:#0a57d3}

.event-page .event-section{margin-bottom:24px}
.event-page .event-section.notice{background:#fafafa;padding:16px;border-radius:12px}

.event-page .event-subtitle{font-size:15px;font-weight:700;margin:0 0 10px;color:#0a57d3}
.event-page .event-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:3px}
.event-page .event-list li{font-size:13px;line-height:1.45;color:#444;padding-left:12px;position:relative}
.event-page .event-list li:before{content:"•";position:absolute;left:8px;top:calc(2px + .725em);transform:translateY(-50%);color:#0a57d3}
.event-page .event-list li{background:transparent;border-radius:0;padding:2px 0 2px 18px}
.event-page .event-free-grid{display:flex;flex-direction:column;gap:10px}
.event-page .event-free-group{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:14px}
.event-page .event-free-group strong{display:block;margin-bottom:10px;font-size:15px;color:#0a57d3}
.event-page .event-card-icons{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.event-page .event-card-icons img{width:88px;height:24px;object-fit:contain}
.event-page .event-card-badge{display:inline-flex;align-items:center;justify-content:center;height:28px;padding:0 14px;border:1px solid #d9dee7;border-radius:8px;background:#fff;font-size:13px;font-weight:700;color:#333}
.event-page .event-min-amount{margin:10px 0 0;font-size:12px;line-height:1.5;color:#666}
.event-page .event-partial-table{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;margin-bottom:25px}
.event-page .event-partial-row{display:grid;grid-template-columns:68px minmax(0,1fr) minmax(0,.5fr);border-top:1px solid #e5e7eb;font-size:11px;line-height:1.45}
.event-page .event-partial-row:first-child{border-top:none}
.event-page .event-partial-row > div{padding:9px 7px;min-width:0;overflow-wrap:anywhere;word-break:keep-all}
.event-page .event-partial-row .card-name{display:flex;align-items:center;justify-content:center;background:#f8fafc;font-size:11px;font-weight:800;color:#0a57d3;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.event-page .event-partial-row > div:nth-child(2){font-size:12px;font-weight:400;color:#333}
.event-page .event-partial-row > div:nth-child(2) strong{font-weight:800}
.event-page .event-partial-row .installment-line{display:grid;grid-template-columns:54px minmax(0,1fr);column-gap:2px;align-items:baseline}
.event-page .event-partial-row .installment-line > span{white-space:nowrap}
.event-page .event-partial-row > div:nth-child(3){color:#666;background:#fcfcfd;white-space:normal;overflow-wrap:anywhere;word-break:keep-all}
.event-page .card-installment-table{background:#fff;border-radius:12px;overflow:hidden;border:1px solid #e5e7eb; margin-bottom: 25px}
.event-page .card-row{display:grid;grid-template-columns:1fr 150px;align-items:center;padding:12px 14px;border-top:1px solid #e5e7eb;font-size:13px}
.event-page .card-row:first-child{border-top:none}
.event-page .card-row.head{background:#f3f4f6;font-weight:700;color:#555}
.event-page .col-card{display:flex;align-items:center;gap:10px}
.event-page .col-card img{width:100px;height:24px;object-fit:contain}
.event-page .col-card span{display: none}
.event-page .col-month{text-align:center;font-weight:700;color:#0a57d3;border-left: 1px solid #eee}
.event-page .installment-table{display:flex;flex-direction:column;gap:12px;background:transparent;border:none;border-radius:0;overflow:visible}
.event-page .installment-table .head{display:none}
.event-page .installment-table .installment-row{display:block;background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;padding:0}
.event-page .installment-table .installment-row > div{padding:12px 14px;line-height:1.55;font-size:13px}
.event-page .installment-table .installment-row > div:not(:first-child){border-top:1px solid #eef0f3}
.event-page .installment-table .col-card{display:flex;flex-direction:column;align-items:flex-start;gap:6px;background:#f8fafc}
.event-page .installment-table .col-card img{width:100px;height:24px;object-fit:contain}
.event-page .installment-table .col-card strong{font-size:15px;color:#111}
.event-page .installment-table .col-card small{font-size:12px;line-height:1.45;color:#777}
.event-page .installment-table .col-free,
.event-page .installment-table .col-partial,
.event-page .installment-table .col-note{display:grid;grid-template-columns:74px minmax(0,1fr);column-gap:10px;align-items:start;color:#333}
.event-page .installment-table .col-free{font-weight:700;color:#0a57d3}
.event-page .installment-table .col-partial{font-weight:600}
.event-page .installment-table .col-note{font-size:12px;color:#555}
.event-page .installment-table .col-free:before,
.event-page .installment-table .col-partial:before,
.event-page .installment-table .col-note:before{display:block;min-width:0;font-size:12px;font-weight:700;color:#666;white-space:nowrap}
.event-page .installment-table .col-free:before{content:"무이자"}
.event-page .installment-table .col-partial:before{content:"부분무이자"}
.event-page .installment-table .col-note:before{content:"비고"}
.event-page .event-note-group{margin-top:14px}
.event-page .event-note-group:first-of-type{margin-top:0}
.event-page .event-note-group h4{font-size:13px;font-weight:700;margin:0 0 8px;color:#333}

@media (min-width: 451px){
.event-page .event-head{padding-top:16px;padding-right:152px}
.event-page .event-month{font-size:19px}
.event-page .event-logo{width:140px}
.event-page .event-title{font-size:24px}
.event-page .event-date{font-size:14px}
.event-page .event-subtitle{font-size:18px}
.event-page .event-free-group strong{font-size:17px}
.event-page .event-card-icons img{width:112px;height:32px}
.event-page .event-card-badge{font-size:14px}
.event-page .event-min-amount{font-size:14px}
.event-page .event-list li{font-size:15px}
.event-page .event-note-group h4{font-size:15px}
.event-page .event-partial-row{grid-template-columns:minmax(120px,.7fr) minmax(220px,1.5fr) minmax(160px,1fr);font-size:14px}
.event-page .event-partial-row > div{padding:12px clamp(14px, 4vw, 34px)}
.event-page .event-partial-row .card-name{justify-content:flex-start;font-size:18px;text-align:left}
.event-page .event-partial-row > div:nth-child(2),
.event-page .event-partial-row > div:nth-child(3){display:block;font-size:14px;text-align:left}
.event-page .event-partial-row .installment-line{display:grid;grid-template-columns:72px minmax(0,1fr);column-gap:10px;align-items:baseline;width:100%;line-height:1.65;text-align:left}
.event-page .event-partial-row .installment-line strong{margin-right:0}
}

@media (max-width: 364px){
.event-page .event-partial-table{width:333px;max-width:none;zoom:calc((100vw - 32px) / 333)}
.event-page .event-partial-row > div:nth-child(2),
.event-page .event-partial-row .installment-line,
.event-page .event-partial-row .installment-line > span{white-space:nowrap}
}

.event-modal{position:fixed;inset:0;display:none;background:rgba(0,0,0,.5);z-index:1100;opacity:0;transition:opacity .3s}
.event-modal.active{opacity:1}
.event-modal__dialog{position:absolute;left:50%;top:50%;width:calc(100% - 32px);max-width:450px;max-height:85vh;background:#fff;border-radius:24px;overflow:hidden;transform:translate(-50%, calc(-50% + 24px));transition:transform .3s cubic-bezier(.25,.1,.25,1)}
.event-modal--wide .event-modal__dialog{max-width:800px}
.event-modal.active .event-modal__dialog{transform:translate(-50%, -50%)}
.event-modal__body{max-height:calc(85vh - 58px);overflow-y:auto}
body.event-modal-open{overflow:hidden}


.notice-page {padding:20px 16px}
.notice-page .notice-head{margin-bottom:16px}
.notice-page .notice-title{font-size:18px;font-weight:800;margin:0 0 4px}
.notice-page .notice-desc{font-size:13px;color:#666}

.notice-page .notice-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}
.notice-page .notice-item{background:#fff;border-radius:12px;padding:14px;display:flex;gap:12px;align-items:center;cursor:pointer}
.notice-page .notice-item:active{background:#f3f4f6}

.notice-badge{min-width:44px;text-align:center;font-size:12px;font-weight:700;border-radius:8px;padding:4px 0;background:#eef4ff;color:#0a57d3}

.notice-content{flex:1;display:flex;flex-direction:column;gap:4px}
.notice-subject{font-size:14px;font-weight:700;color:#111}
.notice-date{font-size:12px;color:#888}
.notice-view{padding:20px 16px}
.notice-view-head{margin-bottom:20px}
.notice-view-badge{display:inline-block;font-size:12px;font-weight:700;border-radius:8px;padding:4px 8px;background:#eef4ff;color:#0a57d3;margin-bottom:6px}
.notice-view-title{font-size:18px;font-weight:800;margin:6px 0}
.notice-view-meta{display:flex;gap:12px;font-size:12px;color:#888}

.notice-view-body{background:#fff;border-radius:12px;padding:14px;font-size:14px;line-height:1.7;color:#333;white-space:pre-wrap;overflow-wrap:anywhere}
.notice-view-body p{margin:0 0 14px}
.notice-view-body ul{padding-left:18px;margin:0 0 14px}
.notice-view-body li{margin-bottom:6px}

.notice-view-footer{margin-top:30px}
.notice-btn{width:100%;padding:14px;border-radius:10px;border:1px solid #ddd;background:#fff;font-size:14px;font-weight:700}
.notice-btn:active{background:#f3f4f6}

.qna-page {padding:20px 16px}
.qna-page .qna-head{margin-bottom:16px}
.qna-page .qna-title{font-size:18px;font-weight:800;margin:0 0 4px}
.qna-page .qna-desc{font-size:13px;color:#666}

.qna-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}
.qna-item{background:#fff;border-radius:12px;padding:14px;display:flex;gap:12px;align-items:center;cursor:pointer}
.qna-item:active{background:#f3f4f6}

.qna-status{min-width:70px;text-align:center;font-size:12px;font-weight:700;border-radius:8px;padding:6px 0}
.qna-status.done{background:#eef4ff;color:#0a57d3}
.qna-status.wait{background:#fef3c7;color:#b45309}

.qna-content{flex:1;display:flex;flex-direction:column;gap:6px}
.qna-subject{font-size:14px;font-weight:700;color:#111}
.qna-meta{display:flex;gap:10px;font-size:12px;color:#888}

.qna-view{padding:20px 16px}
.qna-view-head{margin-bottom:16px}
.qna-view-status{display:inline-block;font-size:12px;font-weight:700;border-radius:8px;padding:4px 8px;margin-bottom:6px}
.qna-view-status.wait{background:#fef3c7;color:#b45309}
.qna-view-status.done{background:#eef4ff;color:#0a57d3}

.qna-view-title{font-size:18px;font-weight:800;margin:6px 0}
.qna-view-meta{display:flex;gap:12px;font-size:12px;color:#888}

.qna-view-body{margin-bottom:20px}

.qna-answer{margin-top:24px}
.qna-answer-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.qna-answer-date{font-size:12px;color:#888}

.qna-answer-body{background:#f9fafb}

.qna-view-footer{margin-top:30px}
.qna-btn{width:100%;padding:14px;border-radius:10px;border:1px solid #ddd;background:#fff;font-size:14px;font-weight:700}
.qna-page .qna-btn{color:#eef4ff;background:#0a57d3; margin-bottom: 20px}
.qna-btn:active{background:#f3f4f6}

.qna-form{background:#fff;border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:16px}
.qna-form-row{display:flex;flex-direction:column;gap:6px}
.qna-form-row label{font-size:13px;font-weight:600;color:#555}
.qna-form-row input:not([type="checkbox"]),.qna-form-row textarea{height: fit-content;padding:12px 14px;border:1px solid #ddd;border-radius:10px;font-size:14px;background:#fafafa}
.qna-form-row textarea{min-height:160px;resize:none}

.qna-check{display:flex;align-items:center;gap:8px;font-size:13px;color:#555}

.qna-form-actions{display:flex;gap:10px;margin-top:10px}
.qna-btn.primary{background:#0a57d3;border-color:#0a57d3;color:#fff}
.qna-btn.gray{background:#f3f4f6;color:#000}
.qna-btn:active{opacity:.9}


.terms-page{padding:20px 16px}
.terms-title{font-size:18px;font-weight:800;margin:0 0 4px}
.terms-date{font-size:12px;color:#888;margin-bottom:20px}

.terms-box{background:#fff;border-radius:12px;padding:16px;margin-bottom:14px}
.terms-box h3{font-size:15px;font-weight:700;margin:0 0 8px;color:#0a57d3}
.terms-box p{font-size:14px;line-height:1.7;color:#333;margin:0 0 8px}
.terms-box ul{padding-left:18px;margin:0}
.terms-box li{font-size:14px;line-height:1.6;margin-bottom:6px;color:#333}
.pay-fixed,
.receipt-fixed,
.sign-fixed,
.done-actions,
footer {
    padding-bottom: env(safe-area-inset-bottom);
}
