:root{--ink:#1a302c;--muted:#77817e;--green:#215d4d;--green2:#3f806a;--forest:#14382f;--mint:#e1eee5;--page:#f6f7f4;--border:#e6eae3;--white:#fff;--orange:#c37a35;--red:#c44f4f;--shadow:0 9px 32px rgba(24,53,40,.06)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--page);font-family:-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Malgun Gothic','Noto Sans KR',sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #9cceae;outline-offset:2px}.wrap{width:min(1080px,100% - 38px);margin:0 auto}#app{min-height:100dvh}.boot{min-height:80vh;display:flex;align-items:center;justify-content:center;flex-direction:column;color:var(--muted)}.spinner{width:35px;height:35px;border-radius:50%;border:3px solid #ccdcd0;border-top-color:var(--green);animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.hero{background:radial-gradient(circle at 100% -60%,rgba(157,206,158,.2),transparent 55%),linear-gradient(130deg,#12352c,#20483d);color:#fff;padding:25px 0 86px}.nav{display:flex;align-items:center;justify-content:space-between;gap:15px}.brand{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:800;letter-spacing:-.7px}.brand-logo{display:grid;place-items:center;background:#f2efe2;color:#1c4c3f;width:34px;height:34px;border-radius:12px;font-size:19px}.nav-actions{display:flex;gap:8px;align-items:center}.mode{font-size:11px;font-weight:750;padding:7px 9px;border-radius:12px;background:#ffffff21;color:#d0e4d9}.nav-btn,.outline-light{border:1px solid #ffffff5c;background:#ffffff12;color:#fff;padding:9px 13px;border-radius:12px;font-size:12px;font-weight:700}.outline-light:hover,.nav-btn:hover{background:#ffffff22}.hero-main{padding:45px 0 0;display:flex;align-items:end;justify-content:space-between;gap:18px}.kicker{color:#bfd5c8;font-size:12px;font-weight:750;letter-spacing:1px}.hero h1{font-size:clamp(27px,4vw,42px);letter-spacing:-1.4px;margin:10px 0 9px}.hero-desc{margin:0;color:#c8dcd0;line-height:1.7;font-size:14px}.monthbar{display:flex;gap:5px;align-items:center;white-space:nowrap;border:1px solid #ffffff35;background:#ffffff11;border-radius:16px;padding:5px}.monthbar button{background:transparent;border:0;color:#fff;font-size:21px;width:32px;height:32px;border-radius:10px}.monthbar button:hover{background:#ffffff26}.monthbar span{font-size:14px;font-weight:800;min-width:93px;text-align:center}.month-picker{position:absolute;opacity:0;width:0;height:0}
.dashboard{margin-top:-57px;position:relative}.top-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.stat{background:var(--white);border:1px solid var(--border);border-radius:19px;padding:21px 21px 19px;box-shadow:var(--shadow)}.stat .eyebrow{display:flex;gap:5px;align-items:center;color:#738078;font-size:12px;font-weight:750}.stat strong{display:block;font-size:clamp(23px,2.7vw,34px);letter-spacing:-1px;margin:15px 0 7px;white-space:nowrap;font-variant-numeric:tabular-nums}.stat .sub{font-size:12px;color:var(--muted)}.stat.highlight{background:#e9f3ec;border-color:#d4e7d7}.stat.highlight strong{color:var(--green)}.stat.negative strong{color:var(--red)}
.people{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:17px}.person{background:#fff;border:1px solid var(--border);border-radius:20px;padding:20px 22px;box-shadow:var(--shadow)}.person-top,.person-foot,.section-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.person-avatar{display:inline-grid;place-items:center;width:37px;height:37px;border-radius:13px;font-size:13px;font-weight:900}.person-avatar.s{color:#265342;background:#dbece0}.person-avatar.e{color:#8c5b41;background:#f5e7d9}.person-name{display:flex;align-items:center;gap:11px;font-size:17px;font-weight:850}.tiny{font-size:11px;color:var(--muted)}.tiny-bold{font-size:11px;color:var(--green);font-weight:800}.person-money{display:flex;align-items:baseline;gap:8px;margin:19px 0 15px;flex-wrap:wrap}.person-money strong{font-size:28px;letter-spacing:-1px}.person-money span{font-size:12px;color:var(--muted)}.person .progress{height:7px;border-radius:20px;background:#edf0ed;overflow:hidden;margin-top:13px}.progress>i{display:block;height:100%;width:0;background:linear-gradient(90deg,#4d9c77,#23644f);border-radius:20px;transition:width .25s}.person-foot{margin-top:12px;font-size:12px;color:var(--muted)}.person-foot b{color:var(--ink)}.negative-text{color:var(--red)!important}
.main{padding:30px 0 80px}.toolrow{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.toolrow h2{font-size:22px;letter-spacing:-1px;margin:0}.toolrow p{margin:6px 0 0;color:var(--muted);font-size:12px}.tool-buttons{display:flex;gap:7px;flex-wrap:wrap}.button{padding:10px 13px;border-radius:11px;font-weight:800;font-size:12px;border:1px solid var(--border);background:#fff;color:var(--ink)}.button:hover{background:#f8faf7}.button.primary{background:var(--green);border-color:var(--green);color:#fff}.button.primary:hover{background:#174d3e}.button.danger{color:var(--red);border-color:#f0d1d1}.filterbar{display:flex;gap:7px;overflow-x:auto;padding:20px 1px 17px;scrollbar-width:none}.filterbar::-webkit-scrollbar{display:none}.chip{white-space:nowrap;background:#fff;border:1px solid var(--border);border-radius:100px;padding:9px 14px;font-weight:750;font-size:12px;color:#65746d}.chip.active{background:#204f40;border-color:#204f40;color:white}.select-filter{background:#fff;border:1px solid var(--border);border-radius:11px;padding:8px 11px;color:var(--ink);font-size:12px}
.list-panel{background:#fff;border:1px solid var(--border);border-radius:20px;overflow:hidden;box-shadow:var(--shadow)}.group-title{background:#fbfcf9;display:flex;align-items:center;justify-content:space-between;padding:16px 19px;border-bottom:1px solid var(--border);font-weight:850;font-size:13px}.group-title span+span{font-size:12px;font-weight:700;color:var(--muted)}.item{display:flex;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid #eff1ee}.item:last-child{border-bottom:0}.item:hover{background:#fcfdfb}.check{width:26px;height:26px;border-radius:9px;border:2px solid #cbd5cc;color:transparent;background:#fff;display:grid;place-items:center;flex-shrink:0;font-weight:900;font-size:15px;padding:0;transition:all .15s}.check.checked{background:#2d7a5a;border-color:#2d7a5a;color:white}.check:disabled{border-color:#e3e6e2;background:#f2f3f1;cursor:not-allowed}.item-content{flex:1;min-width:0}.item-title{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-weight:800;font-size:13px;line-height:1.35}.item.done .item-title{text-decoration:line-through;color:#8da099}.item.inactive{opacity:.58}.tag{display:inline-block;background:#f3efe8;color:#8b6a4b;border-radius:6px;padding:3px 5px;font-size:10px;font-weight:800}.item-info{display:flex;flex-wrap:wrap;gap:7px;align-items:center;color:#929c97;font-size:11px;margin-top:5px}.dot{width:3px;height:3px;border-radius:50%;background:#b5c1b9}.item-price{font-weight:850;font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap}.item.done .item-price{color:#8faaa0}.edit-button{background:transparent;border:0;color:#a8b4ac;font-size:19px;padding:6px;border-radius:9px;line-height:1}.edit-button:hover{background:#edf4ed;color:var(--green)}.empty{text-align:center;padding:45px 20px;color:var(--muted)}.empty strong{display:block;font-size:16px;color:var(--ink);margin:8px 0}.footnote{font-size:12px;color:#85918a;line-height:1.8;margin:20px 3px}.note-box{border:1px solid #e5dfcb;background:#fbf7ee;border-radius:16px;padding:17px 19px;margin-top:18px;color:#725e37;line-height:1.7;font-size:12px}.note-box b{display:block;margin-bottom:3px;color:#6b582e}.foot{border-top:1px solid #e6eae3;padding:24px 0;text-align:center;color:#9da9a2;font-size:11px}
.modal-backdrop{position:fixed;inset:0;z-index:20;background:#10261ec2;display:grid;place-items:center;padding:16px;overflow-y:auto}.modal{background:#fff;width:min(490px,100%);border-radius:24px;padding:23px;max-height:min(93dvh,850px);overflow-y:auto;box-shadow:0 30px 120px #0003}.modal.wide{width:min(540px,100%)}.modal-header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:17px}.modal h2{font-size:20px;margin:0;letter-spacing:-.6px}.modal-close{border:0;background:#f1f4ef;border-radius:10px;width:34px;height:34px;font-size:20px}.field{margin-bottom:15px}.field label{display:block;font-weight:800;font-size:12px;margin-bottom:7px}.input{border:1px solid #d9e1da;background:#fff;padding:12px 13px;border-radius:11px;width:100%;min-width:0;color:var(--ink);font-size:14px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.checkline{display:flex;gap:10px;align-items:center;margin:9px 0;color:var(--ink);font-size:13px}.checkline input{width:17px;height:17px;accent-color:var(--green)}.form-footer{display:flex;justify-content:flex-end;gap:8px;margin-top:20px;flex-wrap:wrap}.hint{color:var(--muted);font-size:11px;line-height:1.65;margin:4px 0 10px}.divider{height:1px;background:var(--border);margin:17px 0}.notice{padding:12px;border-radius:12px;background:#f1f7f1;color:#49705a;font-size:12px;line-height:1.65}.label-kicker{text-transform:uppercase;letter-spacing:1.2px;font-size:11px;color:var(--green);font-weight:900}
.auth-wrap{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.auth-left{background:radial-gradient(ellipse at 50% 80%,#275948,transparent 65%),#12392e;color:#fff;padding:clamp(30px,6vw,90px);display:flex;flex-direction:column;justify-content:center}.auth-left h1{font-size:clamp(35px,4.7vw,60px);letter-spacing:-2px;line-height:1.2;margin:29px 0 20px}.auth-left p{color:#c2d6c9;font-size:15px;line-height:1.9}.auth-art{margin:40px 0 0;display:flex;gap:12px;max-width:370px}.auth-art div{flex:1;background:#ffffff1b;border:1px solid #ffffff30;border-radius:16px;padding:18px;min-height:122px}.auth-art strong{font-size:23px;display:block;margin-top:17px}.auth-right{padding:28px;display:flex;align-items:center;justify-content:center}.auth-card{max-width:375px;width:100%}.auth-card h2{font-size:27px;letter-spacing:-.8px;margin:10px 0}.auth-card p{color:var(--muted);line-height:1.7}.auth-card .button{width:100%;padding:13px}.auth-tab{display:flex;margin:25px 0 21px;background:#f0f3ef;padding:4px;border-radius:13px}.auth-tab button{flex:1;border:0;background:transparent;padding:11px;border-radius:10px;color:#89978d;font-weight:800}.auth-tab button.active{background:white;color:var(--green);box-shadow:0 2px 5px #0001}.center-page{min-height:100dvh;background:#f6f7f4;display:grid;place-items:center;padding:25px}.setup-card{width:min(490px,100%);background:white;border:1px solid var(--border);border-radius:24px;padding:32px;box-shadow:var(--shadow)}.setup-card h1{font-size:26px;letter-spacing:-.8px;margin:15px 0 7px}.setup-card p{line-height:1.7;color:var(--muted)}.setup-option{border:1px solid var(--border);border-radius:15px;padding:18px;margin:12px 0;display:flex;gap:14px;align-items:center;width:100%;background:white;text-align:left}.setup-option:hover{border-color:#a4c4af;background:#f8fbf7}.setup-option strong{display:block;font-size:15px}.setup-option small{display:block;color:#859189;margin-top:5px}.setup-option .big{font-size:27px}.request{margin-top:16px;border:1px solid #d6e6d8;padding:15px;background:#f3faf3;border-radius:13px}.request-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:11px;flex-wrap:wrap}.code{font-family:ui-monospace,Menlo,monospace;font-size:11px;background:#f0f4ef;word-break:break-all;padding:10px 12px;border-radius:10px;color:#536b5b}.status-pill{background:#eef4f0;color:var(--green);font-size:12px;font-weight:800;padding:9px 12px;border-radius:99px}
@media(max-width:720px){.wrap{width:min(100% - 28px,1080px)}.hero{padding:18px 0 81px}.brand{font-size:15px}.nav-btn{padding:7px 9px;font-size:11px}.mode{font-size:10px;padding:6px}.hero-main{padding-top:34px;display:block}.hero h1{font-size:30px}.hero-desc{font-size:12px}.monthbar{margin-top:20px;width:max-content}.top-stats{grid-template-columns:repeat(2,1fr);gap:9px}.stat{padding:16px}.stat strong{font-size:23px;margin-top:12px}.stat:first-child{grid-column:1/-1}.stat:first-child strong{font-size:28px}.people{grid-template-columns:1fr;gap:10px}.person{padding:17px}.person-money{margin:13px 0}.person-money strong{font-size:26px}.main{padding-top:26px}.toolrow h2{font-size:20px}.tool-buttons{width:100%}.item{padding:13px 12px;gap:9px}.item-title{font-size:12px}.item-price{font-size:13px}.edit-button{padding:4px}.auth-wrap{display:block}.auth-left{min-height:280px;padding:30px}.auth-left h1{font-size:33px;margin:14px 0 10px}.auth-art{display:none}.auth-right{padding:34px 22px}.auth-card{max-width:480px}.form-grid{grid-template-columns:1fr}.setup-card{padding:24px}.note-box{font-size:11px}}
@media(max-width:380px){.nav-actions .mode{display:none}.stat strong{font-size:20px}.tool-buttons .button{padding:9px}}
