:root{color-scheme:light;--paper:#f7f6f2;--ink:#192823;--muted:#54655c;--green:#143d34;--lime:#d9f694;--line:#d9dfd4;--orange:#ffab83;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea,a{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{opacity:.6;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #618c16;outline-offset:3px}#app{max-width:680px;min-height:100dvh;margin:auto;padding: max(24px,env(safe-area-inset-top)) 24px calc(105px + env(safe-area-inset-bottom))}.loading{margin:35vh auto;text-align:center}.mast,.row,.top,.nav,.brand,.action,.actrow,.person,.sheetheader{display:flex;align-items:center}.mast,.top,.sheetheader{justify-content:space-between}.mast{height:42px;margin-bottom:32px}.brand{gap:9px;font-size:23px;font-weight:760;letter-spacing:-1.6px}.brand img{width:33px;height:33px;border-radius:10px}.pill{border:1px solid #c9d3c5;border-radius:100px;padding:6px 10px;letter-spacing:.025em;font-weight:650;font-size:11px;color:#3a5847;display:inline-flex;align-items:center;gap:6px}.pill:before{content:'';width:6px;height:6px;border-radius:50%;background:#618749}.homeart,.balance{background:var(--green);color:#f5f7e9;isolation:isolate;position:relative;overflow:hidden;border-radius:28px}.homeart{height:clamp(205px,31dvh,315px);display:grid;place-items:center}.homeart:before,.balance:before{content:'';position:absolute;inset:-100%;z-index:-1;background:repeating-linear-gradient(135deg,transparent 0 28px,#dfefae0b 29px 30px,transparent 31px 55px);transform:rotate(-12deg)}.tiles{position:relative;width:220px;height:175px;transform:rotate(-8deg)}.tile{position:absolute;width:145px;height:111px;border-radius:20px;display:grid;place-items:center;box-shadow:0 14px 30px #0a282a40}.tile.one{left:10px;top:8px;background:#d8f296;transform:rotate(-11deg);color:#1b4435}.tile.two{right:1px;bottom:2px;background:#ffb18d;transform:rotate(13deg);color:#563a2d}.tile .ico{width:61px;height:61px;stroke-width:2.3}.tile:after{content:'';position:absolute;left:12px;right:12px;top:12px;bottom:12px;border:1px solid currentColor;opacity:.18;border-radius:12px}.hero h1{font-size:clamp(48px,8vw,70px);letter-spacing:-.073em;line-height:.96;margin:29px 0 17px;max-width:8em}.hero p,.sub{color:var(--muted);font-size:16px;line-height:1.5;margin:0 0 22px}.primary,.secondary,.danger,.ghost{border:0;border-radius:15px;display:flex;justify-content:center;align-items:center;gap:12px;text-decoration:none;font-weight:650;padding:15px 17px;min-height:50px}.primary{background:var(--green);color:white}.hero .primary{justify-content:space-between}.secondary{background:#e6ebdf}.danger{background:#f9e4dc;color:#813e2e}.ghost{background:transparent;color:var(--muted)}.wide{width:100%}.ico{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.subtle{font-size:13px;color:var(--muted);line-height:1.5}.signininfo{text-align:center;margin:12px 0}.avatar{width:40px;height:40px;border:0;border-radius:50%;background:#e1eacb;color:#30482e;display:grid;place-items:center;font-weight:700}.title{font-size:clamp(32px,6vw,45px);letter-spacing:-.056em;line-height:1.08;margin:4px 0 22px}.balance{padding:24px}.balance small{font-size:13px;letter-spacing:.02em;color:#e4edcd}.amount{margin:12px 0 23px;font-size:clamp(42px,8vw,61px);letter-spacing:-.07em;line-height:1}.amount span{font-size:.48em;letter-spacing:-.04em;margin-left:4px}.balance .pill{border-color:#65856d;color:#e3f3c8}.balance .pill:before{background:var(--lime)}.actrow{gap:10px;margin:14px 0 30px}.action{flex:1;flex-direction:column;justify-content:center;gap:9px;background:#e9eee2;border:0;border-radius:19px;padding:16px 4px;font-size:14px;font-weight:650}.action:first-child{background:var(--lime)}.action:nth-child(2){background:#f9dccb}.top{gap:10px;margin:22px 0 11px}.top h2,.sheetheader h2,.profilebox h2{margin:0;font-size:21px;letter-spacing:-.045em}.textbtn{border:0;background:transparent;font-size:14px;text-decoration:underline;text-underline-offset:3px}.entry{width:100%;border:0;border-bottom:1px solid var(--line);display:flex;align-items:center;text-align:left;gap:12px;padding:15px 0;background:transparent}.entry .meta{flex:1;min-width:0}.entry strong,.entry small{display:block}.meta strong,.meta small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.meta small,.num small{font-size:12px;color:var(--muted);margin-top:4px}.num{text-align:right;font-size:16px}.pos{color:#386c36}.symbol{width:40px;height:40px;display:grid;place-items:center;border-radius:14px;background:#e2ead7}.symbol.out{background:#f3dccc}.empty,.profilebox{border:1px solid var(--line);border-radius:22px;padding:23px;background:#ffffff60}.empty p,.profilebox p{margin:7px 0 0}.empty strong{font-size:16px}.nav{gap:4px;justify-content:space-around;background:#fcfcf7f5;border:1px solid var(--line);border-radius:22px;padding:6px;position:fixed;z-index:2;bottom:max(12px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(calc(100% - 32px),480px);box-shadow:0 4px 22px #23382b14}.nav button{flex:1;display:grid;justify-items:center;gap:3px;border:0;border-radius:17px;background:transparent;font-size:11px;font-weight:600;padding:7px}.nav button[aria-current=page]{background:#e6eddb;color:#274b2e}.tabs{display:flex;gap:7px;margin-bottom:14px;flex-wrap:wrap}.tabs button{background:transparent;border:1px solid var(--line);border-radius:30px;padding:9px 13px}.tabs button[aria-pressed=true]{background:var(--ink);color:white}.stack{display:grid;gap:12px}.profilebox .avatar{margin-bottom:11px}.id{font-family:ui-monospace,monospace;letter-spacing:.08em}.qr{background:white;padding:6px;width:min(210px,90%);margin:8px auto;border-radius:18px}.qr svg{width:100%;display:block}.center{text-align:center}.center .person{justify-content:center}.sheetheader{gap:14px;margin-bottom:19px}.close{width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:50%;background:#e8ebe1}.close .ico{width:17px}dialog{color:var(--ink);border:1px solid var(--line);background:var(--paper);width:min(460px,calc(100% - 24px));border-radius:25px;padding:24px;max-height:88dvh;overflow-y:auto}dialog::backdrop{background:#11282080;backdrop-filter:blur(3px)}body:has(dialog[open]){overflow:hidden}.field{display:grid;gap:6px;font-size:14px;font-weight:650}.field input,.field textarea{min-width:0;width:100%;padding:13px;border:1px solid #bdc9ba;background:#fff;border-radius:12px;font-size:16px;color:var(--ink)}.field textarea{resize:vertical;min-height:64px}.person{gap:10px}.reviewamount{font-size:38px;letter-spacing:-.06em;margin:13px 0}.dl{padding:0;margin:8px 0 16px}.dl div{display:flex;justify-content:space-between;align-items:baseline;gap:13px;padding:10px 0;border-bottom:1px solid var(--line)}.dl dt{color:var(--muted)}.dl dd{margin:0;text-align:right;overflow-wrap:anywhere}.error{color:#873b2d;background:#f9e2d7;border-radius:12px;padding:10px 14px;font-size:14px}.error:empty{display:none}#notice:not(:empty){position:fixed;bottom:95px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:10px 17px;border-radius:16px;z-index:10;width:max-content;max-width:90%}.wrap{overflow-wrap:anywhere}
@media(min-width:760px){#app{padding-top:48px}.guest{min-height:80vh;display:flex;flex-direction:column;justify-content:center}.guest .mast{margin-bottom:26px}.guest .hero{display:grid;grid-template-columns:1fr 1fr;gap:10px 26px;align-items:center}.hero .homeart{grid-column:1/-1;height:245px}.hero h1{grid-row:2/5}.hero p{margin:23px 0 0}.hero .signininfo{margin:0}.guest .hero .error{grid-column:1/-1}}
@media(max-width:460px){#app{padding-left:19px;padding-right:19px}dialog{position:fixed;inset:auto 0 0;width:100%;max-width:none;margin:0;border-radius:23px 23px 0 0;padding-bottom:max(24px,env(safe-area-inset-bottom))}}
.people{display:flex;flex-wrap:wrap;gap:8px}.personchip{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:18px;padding:6px 12px 6px 6px;background:#f1f3eb;max-width:100%}.personchip>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.personchip .avatar{width:32px;height:32px;font-size:12px;flex:none}.searchfield{margin-bottom:15px}#camera{width:100%;aspect-ratio:1;object-fit:cover;background:#142b23;border-radius:20px}.swipe{position:relative;border-radius:16px;background:var(--green);color:white;height:60px;display:grid;place-items:center;font-weight:650;overflow:hidden}.swipe span{padding-left:27px}.swipe input{position:absolute;inset:0;margin:0;width:100%;height:100%;appearance:none;background:transparent;cursor:ew-resize;padding:6px}.swipe input::-webkit-slider-thumb{appearance:none;width:48px;height:48px;border:0;border-radius:12px;background:var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='25' viewBox='0 0 24 24'%3E%3Cpath d='m9 5 7 7-7 7' fill='none' stroke='%23143d34' stroke-width='2.5'/%3E%3C/svg%3E") center no-repeat}.swipe input::-moz-range-thumb{width:48px;height:48px;border:0;border-radius:12px;background:var(--lime)}.altconfirm{color:var(--muted);min-height:32px}
.lockview{max-width:375px;margin:11vh auto 0;text-align:center}.lockview .avatar{margin:0 auto;width:64px;height:64px;font-size:20px}.lockview .title{margin:7px 0 0}.lockview .field{margin:12px 0}.lockview a{color:var(--green);font-size:14px;padding:10px}.pin{letter-spacing:.65em;text-align:center}
