@charset "UTF-8";
:root{font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;color:#293d35;background:#f7f9f7;font-size:16px;font-synthesis:none;--accent:#376950;--tint:#e7f1e9;--soft:#b8d8c4;--line:#e5ebe6;--muted:#68776e}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{opacity:.5;cursor:wait}button,a,input,select{touch-action:manipulation}button:focus-visible,a:focus-visible{outline:3px solid #508baf;outline-offset:4px}button{border:0;background:none}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.loading{text-align:center;margin:25vh 20px}.shell{max-width:1120px;margin:auto;padding:30px 44px 130px}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:35px;gap:14px}.brand{display:flex;align-items:center;gap:11px;font-weight:750;font-size:21px;letter-spacing:.04em}.brand img{width:42px;height:42px;border-radius:13px}.account{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:14px}.icon-button{width:44px;height:44px;display:inline-grid;place-items:center;border-radius:50%;background:white;border:1px solid var(--line)}.demo-note{background:#edf2ef;color:#52665a;padding:10px 16px;border-radius:12px;font-size:13px;margin-bottom:22px;display:flex;align-items:center;justify-content:space-between;gap:10px}.demo-note button{text-decoration:underline;white-space:nowrap;font-size:13px}.workspace{display:grid;grid-template-columns:1fr 1fr;gap:30px}.wide{grid-column:1/-1}.people{display:flex;border-radius:18px;padding:5px;background:#eaf0eb;gap:5px;max-width:430px;margin-bottom:28px}.people button{flex:1;border-radius:13px;display:flex;align-items:center;justify-content:center;gap:10px;min-height:49px;font-weight:650;font-size:15px}.people button.active{background:white;box-shadow:0 3px 9px #293d350a}.avatar{width:30px;height:30px;border-radius:50%;display:inline-grid;place-items:center;background:#d7e9dd;color:#376950;font-size:13px;font-weight:700}.avatar.blue{background:#dceef5;color:#386e89}.eyebrow{font-size:13px;letter-spacing:.12em;color:var(--muted);margin:0 0 9px;font-weight:600}.page-title{font-size:27px;line-height:1.5;letter-spacing:.02em;margin:0 0 24px;font-weight:720}.month-control{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;gap:10px}.month-control h2{font-size:17px;margin:0}.month-control button{width:36px;height:36px;display:grid;place-items:center}.month-control div{display:flex;align-items:center;gap:8px}.balance{border-radius:27px;background:var(--tint);padding:29px 30px 25px;position:relative;overflow:hidden;border:1px solid #ffffff}.balance-head{display:flex;align-items:center;justify-content:space-between;font-size:15px;font-weight:600}.balance-head svg{width:29px;height:29px;color:var(--accent)}.money{font-size:58px;letter-spacing:-.04em;font-weight:720;font-variant-numeric:tabular-nums;margin:14px 0 22px;line-height:1.2}.money small{font-size:21px;margin-left:7px;font-weight:500;letter-spacing:0}.balance-foot{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #ffffffb3;padding-top:19px;font-size:14px;color:#4c6457}.pending{background:#fff;border:1px solid var(--line);border-radius:20px;padding:19px 22px;display:flex;justify-content:space-between;align-items:center;margin-top:13px;gap:10px}.pending span{font-size:14px;color:var(--muted)}.pending strong{font-size:25px;font-variant-numeric:tabular-nums}.pending small{font-size:14px;margin-left:4px}.primary{background:var(--accent);color:white;border-radius:16px;min-height:54px;padding:14px 22px;display:flex;align-items:center;justify-content:center;gap:9px;font-weight:650;width:100%;transition:transform .16s,background .16s}.primary:active{transform:scale(.98)}.record-cta{margin-top:23px}.muted{color:var(--muted);font-size:14px;line-height:1.8}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 16px;gap:12px}.section-heading h2{font-size:18px;margin:0}.text-button{color:var(--accent);font-size:14px;padding:8px 0;font-weight:600}.activity{background:white;border:1px solid var(--line);border-radius:24px;padding:4px 20px}.entry{display:flex;gap:13px;align-items:center;padding:18px 0;border-bottom:1px solid #eef1ee}.entry:last-child{border:0}.entry-icon,.menu-icon{width:45px;height:45px;border-radius:15px;display:grid;place-items:center;background:#f2f5f1;color:var(--accent);flex-shrink:0}.entry-body{flex:1;min-width:0}.entry-title{font-size:15px;line-height:1.5;font-weight:600;overflow-wrap:anywhere}.entry-meta{font-size:13px;color:var(--muted);margin-top:5px}.entry-right{text-align:right;white-space:nowrap}.entry-price{font-weight:650;font-size:16px}.badge{display:inline-block;padding:4px 8px;border-radius:7px;font-size:12px;margin-top:6px;background:#f7efdd;color:#85672e}.badge.paid{background:#edf3ee;color:#567561}.empty{text-align:center;padding:37px 18px;color:var(--muted);font-size:14px;line-height:1.9}.empty svg{width:36px;height:36px;display:block;margin:0 auto 13px;color:var(--accent)}.bottom-nav{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);display:flex;width:420px;max-width:calc(100% - 32px);border:1px solid #e0e7e1;border-radius:24px;background:#fffffff2;backdrop-filter:blur(20px);box-shadow:0 8px 40px #263e3510;z-index:5;padding:7px 10px}.bottom-nav button{flex:1;display:flex;flex-direction:column;align-items:center;gap:5px;padding:9px 4px;color:#7b8980;font-size:12px;border-radius:16px}.bottom-nav button.active{color:var(--accent);background:var(--tint);font-weight:700}.menu-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.menu-card{background:white;border:1px solid var(--line);border-radius:22px;padding:22px;text-align:left;min-height:158px;transition:transform .15s,border .15s}.menu-card:hover{border-color:var(--soft);transform:translateY(-2px)}.menu-card .menu-icon{margin-bottom:16px;background:var(--tint)}.menu-card strong{display:block;font-size:15px;margin-bottom:8px}.menu-price{font-size:22px;font-weight:650;color:var(--accent)}.menu-price small{font-size:13px;margin-left:3px}.filters{display:flex;gap:8px;margin:0 0 22px;flex-wrap:wrap}.chip{padding:10px 17px;background:white;border:1px solid var(--line);border-radius:100px;font-size:14px}.chip.active{background:var(--accent);color:white;border-color:var(--accent)}.history-list{max-width:760px}.notice{background:var(--tint);color:var(--accent);border-radius:14px;padding:15px 18px;font-size:14px;line-height:1.8;margin-bottom:20px}.pay-bar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:20px 0;padding:20px;background:var(--tint);border-radius:18px}.pay-bar .primary{width:auto}.pay-bar strong{font-size:24px}.check{width:21px;height:21px;accent-color:var(--accent);flex-shrink:0}.cancel{font-size:13px;color:#99604e;text-decoration:underline;padding:6px 0 0 8px}.settings-menu{margin-bottom:20px}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:16px 0}.settings-row strong{font-size:15px}.settings-row span{font-size:14px;color:var(--muted)}dialog{width:430px;max-width:calc(100% - 28px);max-height:90dvh;border:0;border-radius:26px;padding:30px;color:#293d35;box-shadow:0 25px 100px #152b3533}dialog::backdrop{background:#23372e55;backdrop-filter:blur(5px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.dialog-header h2{font-size:21px;margin:0}.dialog-header button{padding:4px;display:grid;place-items:center}.form-group{display:block;margin:17px 0;font-size:14px;font-weight:600}.form-group input,.form-group select{width:100%;display:block;margin-top:9px;border:1px solid #d9e2da;background:#f9fbf9;padding:14px;border-radius:12px;color:#293d35;min-width:0}.form-group input:focus{outline:2px solid var(--soft)}.form-error{color:#aa4536;font-size:14px;line-height:1.6}.dialog-price{font-size:38px;font-weight:700;color:var(--accent);margin:20px 0}.dialog-price small{font-size:18px;margin-left:5px}.secondary{border:1px solid var(--line);border-radius:14px;padding:13px 20px;width:100%;margin-top:12px;background:white}.auth{max-width:440px;margin:9vh auto;padding:28px}.auth .brand{margin-bottom:44px}.auth h1{font-size:27px}.auth .people{margin:25px 0}.auth .primary{margin-top:25px}#toast{position:fixed;left:50%;bottom:110px;transform:translate(-50%,15px);background:#293d35;color:white;max-width:calc(100% - 30px);padding:14px 23px;border-radius:16px;opacity:0;pointer-events:none;transition:.2s;z-index:20;font-size:14px;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}.success-icon{display:grid;place-items:center;background:var(--tint);color:var(--accent);width:68px;height:68px;border-radius:50%;margin:0 auto 18px;animation:pop .35s ease}.success-icon svg{width:36px;height:36px}@keyframes pop{from{transform:scale(.6);opacity:0}to{transform:scale(1);opacity:1}}.success{text-align:center}.success h2{font-size:23px}.login-switch{margin-top:24px;text-align:center}.role-picker{display:grid;gap:10px}.role-picker button{padding:17px;border-radius:14px;background:#f1f5f1;text-align:left}.role-picker button:nth-child(2){background:#edf5f9}.footer-note{font-size:13px;color:var(--muted);margin-top:16px;line-height:1.8}.date-heading{font-size:14px;color:var(--muted);margin:25px 0 10px}.viewing{font-size:13px;color:var(--muted);margin:-14px 0 23px}
@media(min-width:800px){.right-panel{padding-top:0}.history-list{margin:0 auto}.mobile-only{display:none}.bottom-nav{bottom:24px}.section-heading{min-height:36px}}@media(max-width:700px){.shell{padding:20px 21px calc(115px + env(safe-area-inset-bottom))}.topbar{margin-bottom:25px}.brand{font-size:19px}.brand img{width:36px;height:36px;border-radius:11px}.account{font-size:13px}.workspace{grid-template-columns:1fr;gap:28px}.people{max-width:none;margin-bottom:24px}.page-title{font-size:24px;margin-bottom:20px}.balance{padding:25px 25px 22px;border-radius:25px}.money{font-size:55px}.pending{padding:17px 20px}.menu-grid{grid-template-columns:repeat(2,1fr);gap:12px}.menu-card{padding:18px;min-height:160px}.bottom-nav{bottom:0;max-width:none;width:100%;border-radius:22px 22px 0 0;padding:8px 14px calc(9px + env(safe-area-inset-bottom));border-bottom:0}.demo-note{font-size:12px;padding:9px 12px}.demo-note button{font-size:12px}.activity{padding:0 16px}.entry{gap:10px}.entry-title{font-size:14px}.entry-icon{width:40px;height:40px;border-radius:13px}.entry-meta{font-size:12px}.pay-bar{padding:16px;gap:12px}.pay-bar .primary{font-size:14px;padding:13px}.pay-bar strong{font-size:21px}.page-title + .muted{margin-top:-9px}dialog{padding:25px}.auth{margin:4vh auto}.account>span{max-width:92px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#toast{bottom:100px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}} 
