:root{--bg: #f4f6f8;--card: #ffffff;--text: #212121;--sub: #757575;--line: #dddddd;--line2: #f0f0f0;--green: #00cc2f;--green-text: #00851f;--green-dark: #005a14;--font: Pretendard, "Pretendard Variable", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif}*{box-sizing:border-box}html,body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:14px}body{font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased}button,input,select,textarea{font-family:inherit;font-size:14px;color:inherit}a{color:var(--green-text)}a:hover{color:var(--green-dark)}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #7fe39a;outline-offset:2px}h1{margin:0;font-size:26px;letter-spacing:-.02em}h2{margin:0;font-size:17px}h3{margin:0;font-size:15px}.num{font-variant-numeric:tabular-nums}.shell{min-height:100vh;display:flex;flex-wrap:wrap}.side{flex:1 1 220px;max-width:100%;background:#212121;color:#eee;padding:24px 16px;display:flex;flex-direction:column;gap:24px}.side.super{background:#0e0e0e}.side-brand{display:flex;flex-direction:column;gap:4px;padding:0 8px}.side-brand strong{font-size:16px;color:#fff;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.side-brand span{font-size:12px;color:#9e9e9e}.side-nav{display:flex;flex-direction:column;gap:2px}.side-nav a{padding:10px 12px;border-radius:8px;color:#bdbdbd;font-size:14px;text-decoration:none}.side-nav a:hover{background:#ffffff14;color:#fff}.side-nav a.active{background:var(--green);color:#fff;font-weight:600}.side-foot{margin-top:auto;display:flex;flex-direction:column;gap:8px;padding:0 8px;font-size:12px;color:#9e9e9e}.side-foot button{align-self:flex-start;background:transparent;border:1px solid #555;color:#ddd;border-radius:8px;height:36px;padding:0 12px;cursor:pointer}.badge-super{display:inline-block;background:var(--green);color:#fff;font-size:11px;font-weight:700;padding:3px 8px;border-radius:999px}.main{flex:999 1 560px;min-width:0;padding:32px 32px 48px;display:flex;flex-direction:column;gap:20px}.topbar{background:#fff;border-bottom:1px solid var(--line);padding:14px 24px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.topbar-brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:16px}.badge-ins{display:inline-block;background:#e6f9eb;color:#00701a;font-size:12px;font-weight:700;padding:3px 10px;border-radius:999px}.page-narrow{max-width:1080px;margin:0 auto;padding:28px 20px 48px;display:flex;flex-direction:column;gap:20px}@media (max-width: 800px){.side{flex-basis:100%;padding:16px;gap:12px}.side-nav{flex-direction:row;flex-wrap:wrap}.side-foot{margin-top:0;flex-direction:row;align-items:center}.main{padding:20px 16px 40px}h1{font-size:22px}}.page-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px}.page-head>div{display:flex;flex-direction:column;gap:6px}.page-head .desc{font-size:14px;color:var(--sub)}.back{font-size:13px;font-weight:600;text-decoration:none}.row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.row.between{justify-content:space-between}.stack{display:flex;flex-direction:column;gap:12px}.stack.tight{gap:6px}.cols{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start}.cols>.wide{flex:3 1 520px;min-width:0;display:flex;flex-direction:column;gap:20px}.cols>.narrow{flex:2 1 320px;min-width:0;display:flex;flex-direction:column;gap:20px}.muted{color:var(--sub)}.small{font-size:12px}.strong{font-weight:700}.right{text-align:right}.green{color:var(--green-text)}.red{color:#8c1c13}.card{background:var(--card);border:1px solid var(--line);border-radius:20px;display:flex;flex-direction:column;min-width:0}.card-head{padding:18px 20px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--line)}.card-head>div:first-child{display:flex;flex-direction:column;gap:4px}.card-head .desc{font-size:13px;color:var(--sub)}.card-body{padding:18px 20px;display:flex;flex-direction:column;gap:14px}.card-foot{padding:14px 20px 18px;border-top:1px solid var(--line2);display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;align-items:center}.tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.tile{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px;display:flex;flex-direction:column;gap:8px}.tile .label{font-size:13px;color:var(--sub)}.tile .value{font-size:24px;font-weight:700;letter-spacing:-.01em}.tile .hint{font-size:12px;color:var(--sub)}.tile.warn .value{color:#8a4a00}.tile.danger .value{color:#8c1c13}.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}table.t{width:100%;border-collapse:collapse;font-size:14px}table.t th{text-align:left;color:var(--sub);font-size:12px;font-weight:600;padding:12px;white-space:nowrap}table.t td{padding:13px 12px;border-top:1px solid var(--line2);vertical-align:middle}table.t th:first-child,table.t td:first-child{padding-left:20px}table.t th:last-child,table.t td:last-child{padding-right:20px}table.t td.num,table.t th.num{text-align:right;white-space:nowrap}table.t tr.clickable{cursor:pointer}table.t tr.clickable:hover td{background:#fafafa}table.t tr.expanded td{background:#fbfbfb}.cell-title{display:flex;flex-direction:column;gap:2px}.cell-title>:first-child{font-weight:600}.cell-title>:not(:first-child){font-size:12px;color:var(--sub)}.empty{padding:28px 20px;text-align:center;color:var(--sub);font-size:14px}.pill{display:inline-block;font-size:12px;font-weight:700;padding:4px 10px;border-radius:999px;white-space:nowrap}.pill.warn{background:#fff1dc;color:#8a4a00}.pill.ok{background:#e6f9eb;color:#00701a}.pill.danger{background:#fdecea;color:#8c1c13}.pill.info{background:#e8eefb;color:#1e3f8a}.pill.neutral{background:#f0f0f0;color:#363636}.banner{padding:14px 16px;border-radius:16px;font-size:14px;line-height:1.55;border:1px solid transparent;display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;align-items:center}.banner.ok{background:#e6f9eb;border-color:#b8edc5;color:#005a14}.banner.warn{background:#fff1dc;border-color:#f4d6a8;color:#8a4a00}.banner.danger{background:#fdecea;border-color:#f3c1bb;color:#8c1c13}.banner.info{background:#e8eefb;border-color:#c6d4f3;color:#1e3f8a}.banner.neutral{background:#f0f0f0;border-color:#e0e0e0;color:#363636}.btn{height:44px;padding:0 18px;border-radius:30px;border:1px solid #cccccc;background:#fff;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;text-decoration:none;color:var(--text);white-space:nowrap}.btn:hover{background:#f7f7f7;color:var(--text)}.btn.primary{background:var(--green);border-color:var(--green);color:#fff;font-weight:700}.btn.primary:hover{background:#00b829;color:#fff}.btn.danger{border-color:#f3c1bb;color:#8c1c13}.btn.danger:hover{background:#fdecea}.btn.dark{background:#212121;border-color:#212121;color:#fff}.btn.sm{height:34px;padding:0 12px;font-size:13px}.btn.lg{height:52px;font-size:15px}.btn.block{width:100%}.btn:disabled,.btn[aria-disabled=true]{opacity:.45;cursor:not-allowed}.btn.primary:disabled{background:#a9ddb6;border-color:#a9ddb6;opacity:1}.linkbtn{background:none;border:none;color:var(--green-text);font-weight:600;cursor:pointer;padding:0;font-size:13px}.linkbtn:disabled{color:#aaa;cursor:not-allowed}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field>span.lbl{font-size:13px;font-weight:600;color:#363636}.field>span.help{font-size:12px;color:var(--sub)}.input,.select,.textarea{height:44px;padding:0 12px;border-radius:10px;border:1px solid var(--line);background:#fff;width:100%;min-width:0}.textarea{height:auto;min-height:96px;padding:10px 12px;line-height:1.5;resize:vertical}.input:disabled,.select:disabled,.textarea:disabled{background:#f7f7f7;color:#777}.input.amount{text-align:right;font-weight:600}.grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.grid3{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.check{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.5;color:#363636;cursor:pointer}.check input{width:18px;height:18px;margin:1px 0 0;accent-color:var(--green);flex:none}.seg{display:inline-flex;border:1px solid var(--line);border-radius:30px;overflow:hidden;background:#fff;flex-wrap:wrap}.seg button{height:40px;padding:0 14px;background:transparent;border:none;cursor:pointer;font-weight:600;color:#555}.seg button.on{background:#212121;color:#fff}.chips{display:flex;gap:6px;flex-wrap:wrap}.chip{font-size:13px;font-weight:600;padding:6px 12px;border-radius:999px;background:#f0f0f0;color:#363636;border:none;cursor:pointer}.chip.on{background:#212121;color:#fff}.err{padding:12px 14px;border-radius:10px;background:#fdecea;border:1px solid #f3c1bb;color:#8c1c13;font-size:13px;line-height:1.5}.okmsg{padding:12px 14px;border-radius:10px;background:#e6f9eb;border:1px solid #b8edc5;color:#005a14;font-size:13px;line-height:1.5}.calc-line{display:flex;justify-content:space-between;gap:12px;font-size:14px}.calc-line>:first-child{color:var(--sub)}.calc-line>:last-child{font-weight:600;white-space:nowrap}.calc-line.total{padding-top:10px;border-top:1px dashed var(--line)}.calc-line.total>*{font-weight:700;color:var(--text)}.payout-box{padding:18px;border-radius:20px;background:#212121;color:#fff;display:flex;flex-direction:column;gap:6px}.payout-box .l{font-size:13px;color:#bdbdbd}.payout-box .v{font-size:30px;font-weight:700;letter-spacing:-.02em}.ded-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line2)}.ded-row .lbl-in{flex:2 1 220px}.ded-row .amt-in{flex:1 1 160px;display:flex;align-items:center;gap:6px}.iconbtn{width:44px;height:44px;border-radius:10px;border:1px solid var(--line);background:#fff;color:var(--sub);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex:none}.bars{display:flex;align-items:flex-end;gap:6px;height:180px;padding:8px 4px 0}.bar-col{flex:1 1 0;display:flex;flex-direction:column;align-items:center;gap:6px;height:100%;justify-content:flex-end;min-width:0}.bar{width:100%;max-width:36px;background:var(--green);border-radius:6px 6px 2px 2px;min-height:2px}.bar.zero{background:#e0e0e0}.bar-col .d{font-size:11px;color:var(--sub);white-space:nowrap}.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}.step{border:1px solid var(--line);border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:8px;background:#fff}.step.done{border-color:#b8edc5;background:#f6fdf8}.step .n{font-size:12px;color:var(--sub);font-weight:600}.modal-back{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:flex;align-items:center;justify-content:center;padding:16px;z-index:50}.modal{background:#fff;border-radius:20px;width:100%;max-width:460px;padding:22px;display:flex;flex-direction:column;gap:14px;max-height:90vh;overflow:auto}.modal-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}pre.json{margin:0;background:#f7f7f7;border:1px solid var(--line2);border-radius:10px;padding:10px 12px;font-size:12px;max-height:220px;overflow:auto;white-space:pre-wrap;word-break:break-all}.login-wrap{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px}.login-card{width:100%;max-width:400px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:32px 28px;display:flex;flex-direction:column;gap:16px}.loading{padding:40px;text-align:center;color:var(--sub)}.kv{display:grid;grid-template-columns:max-content 1fr;gap:8px 16px;font-size:14px}.kv>:nth-child(odd){color:var(--sub)}table.t td.nw,table.t th.nw{white-space:nowrap}.img-field{display:flex;flex-direction:column;gap:8px}.img-field img,.img-empty{width:100%;max-width:360px;border-radius:10px;object-fit:cover;background:#f4f6f8;border:1px solid #eee}.img-empty{display:flex;align-items:center;justify-content:center;color:#9e9e9e;font-size:13px}.img-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.img-item{display:flex;flex-direction:column;gap:6px}.img-item img{width:100%;height:180px;object-fit:cover;object-position:top;border-radius:8px;border:1px solid #eee;background:#f4f6f8}
