:root{font-family:system-ui,-apple-system,"Noto Sans CJK SC",sans-serif;font-synthesis:none;color:#292b2b;background:#f4f2ed;--ink:#292b2b;--muted:#76766e;--gold:#927143;--line:#e8e4db}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{touch-action:manipulation;cursor:pointer;border:0;border-radius:14px;background:#eeeae2;color:var(--ink);min-height:48px;padding:12px 15px;transition:background .15s,transform .15s}button:active{transform:scale(.985)}button:disabled{opacity:.45;cursor:default}input,select{color:var(--ink);border:1px solid var(--line);border-radius:13px;background:#fffefa;padding:12px;min-height:48px;max-width:100%;font-size:16px}input:focus,select:focus{outline:2px solid #b4925e;outline-offset:2px}button:focus-visible{outline:2px solid #b4925e;outline-offset:2px}h1,h2,h3,p{margin:0}h1{font-size:27px;font-weight:650;letter-spacing:2px;margin-top:9px}h2{font-size:19px;font-weight:650;letter-spacing:.2px}h3{font-size:14px;font-weight:600;margin:28px 0 14px;color:#62635e}small{font-size:11px;color:var(--muted)}main{max-width:680px;margin:auto;padding:24px 20px 120px}header{position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:29px 23px 30px;background:linear-gradient(125deg,#363d3a,#242b28);border:1px solid #454c43;border-radius:25px;color:#fffdf6;box-shadow:0 14px 30px #25312714;overflow:hidden}header:before{position:absolute;content:"";width:70px;height:3px;top:0;left:25px;border-radius:0 0 3px 3px;background:#c8ae7d}header small{color:#c7c9bd;font-size:10px;letter-spacing:1px}.brand-kicker{display:block;color:#c8ae7d;font-size:9px;letter-spacing:2.5px;font-weight:650;margin-bottom:12px}.total{min-width:0;text-align:right;max-width:52%}.total strong{display:block;margin-top:8px;font-size:31px;line-height:1.2;color:#e6cf9f;font-weight:600;letter-spacing:-1px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.sectionhead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:29px 2px 17px}.sectionhead p{color:var(--muted);font-size:11px;line-height:1.7;margin-top:6px}.badge{white-space:nowrap;border:1px solid #dbdfd3;border-radius:20px;padding:6px 10px;color:#647059;background:#eef0e7;font-size:10px}.entrybox{background:#fffefa;border:1px solid var(--line);padding:22px;border-radius:22px;box-shadow:0 5px 16px #51463304}.entrybox>label{font-size:13px;font-weight:650;color:#666b5e;letter-spacing:1px}.entrybox .entry{display:flex;align-items:center;gap:12px;margin:12px 0 18px;padding:8px 0 15px;border-bottom:1px solid #e5dfd3}.currency{font-size:27px;color:#a0865d;font-weight:400}.entrybox input{width:100%;min-width:0;flex:1;border:0;background:transparent;padding:10px 4px;font-size:38px;font-weight:550;letter-spacing:.5px;border-radius:6px}.entrybox input::placeholder{font-size:20px;font-weight:400;letter-spacing:0;color:#a4a39a}.primary{background:linear-gradient(115deg,#b29a6d,#957948);color:#fffdf6;font-weight:600;box-shadow:0 5px 13px #9271431a}.wide{width:100%;margin-top:16px;min-height:52px}.entrybox .wide{margin-top:0}.hint{margin-top:12px;font-size:11px;line-height:1.9;color:var(--muted);text-align:center}.left{text-align:left}.sheet{overflow:hidden;background:#fffefa;border:1px solid var(--line);border-radius:20px}.hint+.sheet{margin-top:23px}.tablehead,.order{display:grid;grid-template-columns:minmax(70px,1fr) minmax(120px,2fr);align-items:center;gap:12px;padding:17px 20px}.tablehead{background:#eeece5;font-size:11px;letter-spacing:.5px;color:#72766c}.tablehead span:last-child,.order .amount{text-align:right}.order{border-bottom:1px solid #efede6;border-radius:0;width:100%;min-height:70px;text-align:left;background:#fffefa}.order:last-child{border-bottom:0}.order .number{color:#72766c;font-size:13px}.order .amount{font-size:24px;font-weight:600;letter-spacing:-.4px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.order:first-child{background:#faf8f1}#todayRows .order:first-child .number:after{content:"最新";display:inline-block;margin-left:7px;padding:2px 5px;background:#eee7d7;color:#8b7146;font-size:9px;border-radius:5px}.empty{padding:34px 15px;text-align:center;color:#919187;font-size:12px;line-height:1.8}nav{position:fixed;z-index:3;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:8px;padding:10px 16px max(12px,env(safe-area-inset-bottom));background:#fcfbf7f5;border-top:1px solid var(--line);backdrop-filter:blur(16px)}nav button{flex:1;max-width:205px;color:#888b80;background:none;border-radius:14px;font-size:10px;padding:9px 5px;letter-spacing:.3px}nav button span{display:block;margin-bottom:4px}nav svg{width:22px;height:22px;display:block;margin:auto;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}nav .active{background:#eee8d9;color:#8b7044;font-weight:650}.datebar{display:flex;gap:10px}.datebar input{flex:1;min-width:0;text-align:center}.datebar button{font-size:25px;background:#e9e6de}.summary{padding:22px 1px 16px;font-size:14px;font-weight:550;color:#4c5549;line-height:1.8}.dayitem{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:left;background:#fffefa;border-radius:0;border-bottom:1px solid #efede6;padding:18px 20px}.dayitem:last-child{border-bottom:0}.dayitem>span{font-size:15px;letter-spacing:.5px;flex-shrink:0}.dayitem small{display:block;margin-top:6px;font-size:10px;letter-spacing:.5px}.dayitem strong{font-size:22px;letter-spacing:-.3px;overflow-wrap:anywhere;text-align:right;font-variant-numeric:tabular-nums;font-weight:600}.receivable{border:1px solid #ded6c5;border-radius:23px;overflow:hidden;background:#fffefa;box-shadow:0 7px 22px #51463306;margin-bottom:28px}.receivablehead{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:25px 20px;background:linear-gradient(120deg,#eae3d3,#f3eddf);border-bottom:1px solid #e2dac9}.receivablehead>div:last-child{text-align:right;min-width:0;max-width:55%}.receivablehead strong{display:block;font-size:31px;line-height:1.2;margin-top:9px;color:#806234;overflow-wrap:anywhere;font-weight:600;letter-spacing:-1px}.receivablehead h2{font-size:18px}.receivablehead p{margin-top:8px;font-size:11px;color:#827253}.receivablehead small{color:#827253}#unpaidList .dayitem small{color:#9b793f}#dayList small{color:#647e65}.daycontrols{display:flex;gap:12px;align-items:end}.daycontrols>button,.daycontrols>label{flex:1;min-width:0}.daycontrols>button{font-size:13px}.daycontrols label{font-size:11px;color:var(--muted)}.daycontrols select{display:block;width:100%;margin-top:7px}#totalBasis{margin-bottom:17px}.statcard{margin-top:17px;border:1px solid var(--line);border-radius:22px;background:#fffefa;padding:25px}.statcard p{font-size:12px;letter-spacing:1px;color:#74766d}.statcard strong{display:block;font-size:37px;font-weight:550;letter-spacing:-1px;margin:17px 0;overflow-wrap:anywhere;line-height:1.25;font-variant-numeric:tabular-nums}.statcard small{font-size:11px;line-height:1.8}.statcard.featured{background:linear-gradient(120deg,#374039,#252e28);border-color:#374039;color:#e6cf9f;box-shadow:0 10px 25px #25312712}.statcard.featured p,.statcard.featured small{color:#c4cbbd}.backup{display:flex;gap:12px;margin-top:17px}.backup button{flex:1;font-size:13px}dialog{color:var(--ink);border:1px solid #e9e4d7;border-radius:25px;padding:24px;max-width:480px;width:calc(100% - 28px);max-height:88dvh;background:#fffefa;box-shadow:0 20px 90px #242b2830}dialog::backdrop{background:#242b2885;backdrop-filter:blur(4px)}dialog label{display:block;font-size:12px;color:var(--muted);margin:20px 0}dialog input{width:100%;margin-top:10px;font-size:27px}dialog h2{font-size:18px}.modalhead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.modalhead button{flex-shrink:0;background:#eeece5;font-size:22px;width:48px}.danger{background:#f6eae5;color:#a15f4b}.warning{background:#f8edda;padding:15px;color:#886121;margin-top:16px;font-size:13px;border-radius:14px}#toast{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);max-width:90%;padding:13px 21px;border-radius:13px;background:#30372fee;color:#fffcf4;font-size:12px;line-height:1.8;z-index:10;pointer-events:none;display:none}[hidden]{display:none!important}@media(max-width:370px){main{padding:18px 13px 115px}header{padding:24px 17px;gap:10px}h1{font-size:24px}.total strong{font-size:27px}.entrybox{padding:18px}.receivablehead{padding:22px 16px}.receivablehead h2{font-size:16px}.receivablehead strong{font-size:26px}.tablehead,.order{padding:16px}.dayitem{padding:17px 16px}#todayRows .order:first-child .number:after{display:block;width:max-content;margin:5px 0 0}.entrybox input{font-size:32px}}@media(prefers-reduced-motion:reduce){button{transition:none}}

/* 1.4 — soft sage accents and small animal companions. */
:root{background:#f3f3eb}header{background:linear-gradient(130deg,#3e4b40,#28382e);box-shadow:0 16px 34px #263a2817;border-color:#4b5c46}.entrybox,.sheet,.receivable,.statcard{box-shadow:0 6px 24px #56644408}.entrybox{border-color:#dee3d3;background:linear-gradient(140deg,#fffef9,#f9faf3)}.entrybox .entry{border-color:#e0e4d5}.primary{background:linear-gradient(110deg,#9aab86,#647f61);box-shadow:0 5px 14px #536b471c}.badge{background:#e9eedf;border-color:#d5dfc7}.companion-card{display:flex;align-items:center;justify-content:space-between;gap:4px;margin:16px 2px 2px;padding:8px 10px 5px 12px;border-bottom:1px solid #e0e4d6;min-height:101px}.companion-card>div{min-width:0;flex:1}.companion-tag{font-size:9px;letter-spacing:2px;color:#8c987c}.companion-card p{font-size:14px;font-weight:600;color:#59634f;line-height:1.7;margin:5px 0}.companion-card small{font-size:10px;color:#8b907f;line-height:1.7}.cat-art{flex-shrink:0;width:110px;height:85px}.bunny-note{display:flex;gap:12px;align-items:center;margin-top:27px;border:1px solid #e2e5d8;border-radius:20px;padding:7px 15px;background:#eeefe4}.bunny-note svg{width:66px;height:72px;flex-shrink:0}.bunny-note strong{font-size:12px;letter-spacing:.5px;color:#5b6753}.bunny-note p{font-size:10px;color:#7b8471;line-height:1.9;margin-top:6px}.order-time-card{padding:18px;background:linear-gradient(120deg,#edf1e4,#f4f2e8);border:1px solid #dfe4d2;border-radius:17px;margin:4px 0 22px}.order-time-card>span{display:block;font-size:11px;color:#768267;letter-spacing:1px}.order-time-card time{display:block;font-size:18px;line-height:1.8;font-weight:600;letter-spacing:.3px;color:#41543e;margin:7px 0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.order-time-card small{font-size:10px;color:#858e7a}.receivablehead{background:linear-gradient(125deg,#e7ebdc,#f1ecde)}nav .active{background:#e5ebdb;color:#637c57}@media(max-width:370px){.companion-card{padding-left:6px}.cat-art{width:88px}.companion-card p{font-size:12px}.companion-card small{font-size:9px}.order-time-card{padding:15px}.order-time-card time{font-size:16px}}
