.calc-module__ht5J2W__page{color:#302e2a;background:#faf9f6;min-height:100vh;padding:32px 24px 64px}.calc-module__ht5J2W__header,.calc-module__ht5J2W__workspace{width:100%;max-width:1120px;margin:0 auto}.calc-module__ht5J2W__heading{justify-content:space-between;align-items:flex-end;gap:20px;margin:24px 0 28px;display:flex}.calc-module__ht5J2W__heading h1{letter-spacing:-.04em;margin:0 0 8px;font-size:30px;font-weight:600}.calc-module__ht5J2W__heading p,.calc-module__ht5J2W__heading time{color:#716b63;margin:0;font-size:14px;line-height:1.6}.calc-module__ht5J2W__heading time{flex-shrink:0}.calc-module__ht5J2W__workspace{grid-template-columns:minmax(0,1fr);align-items:start;gap:24px;display:grid}.calc-module__ht5J2W__card{background:#fff;border:1px solid #e7e2da;border-radius:20px;flex-direction:column;gap:16px;min-width:0;padding:24px;display:flex;box-shadow:0 8px 24px -16px #59443130}.calc-module__ht5J2W__workspace button{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:manipulation}.calc-module__ht5J2W__workspace button:focus-visible{outline-offset:4px;outline:3px solid #84715f}.calc-module__ht5J2W__units{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.calc-module__ht5J2W__unitBtn{cursor:pointer;border:1px solid #0000;border-radius:12px;flex-direction:column;align-items:center;gap:4px;min-width:0;padding:12px 4px 8px;transition:transform 80ms,filter .15s;display:flex}.calc-module__ht5J2W__unitBtn:hover{filter:brightness(.97)}.calc-module__ht5J2W__unitBtn:active{transform:scale(.96)}.calc-module__ht5J2W__unit-big{color:#94374c;background:#fae8ed}.calc-module__ht5J2W__unit-small{color:#855527;background:#f9eee1}.calc-module__ht5J2W__unit-redBig{color:#a23c30;background:#fbe7e0}.calc-module__ht5J2W__unit-redSmall{color:#8c4837;background:#f8eae3}.calc-module__ht5J2W__unitEmoji{font-size:23px;line-height:1.2}.calc-module__ht5J2W__unitLabel{font-size:16px;font-weight:600}.calc-module__ht5J2W__unitPrice{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12px}.calc-module__ht5J2W__unitBadge{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;background:#ffffffa6;border-radius:5px;max-width:100%;margin-top:2px;padding:2px 4px;font-size:12px;font-weight:600}.calc-module__ht5J2W__unitHint{text-align:center;color:#716b63;margin:-6px 0 0;font-size:12px;line-height:1.6}.calc-module__ht5J2W__display{color:#fff;background:#302e2a;border-radius:14px;flex-direction:column;gap:8px;min-width:0;padding:20px;display:flex}.calc-module__ht5J2W__displayLabel{color:#d9d2c9;letter-spacing:.1em;font-size:12px}.calc-module__ht5J2W__displayTotal{font-variant-numeric:tabular-nums;letter-spacing:-.035em;overflow-wrap:anywhere;font-size:42px;font-weight:600;line-height:1.2}.calc-module__ht5J2W__displayTotal[data-long=true]{font-size:30px}.calc-module__ht5J2W__displayTotal[data-negative=true]{color:#ffb4a5}.calc-module__ht5J2W__displayInput{color:#e8ded2;align-items:center;min-height:26px;font-size:14px;display:flex}.calc-module__ht5J2W__hint{color:#c9c2b9;font-size:12px;line-height:1.6}.calc-module__ht5J2W__inputNum{color:#ffdab0;font-variant-numeric:tabular-nums;font-size:18px}.calc-module__ht5J2W__keypad{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.calc-module__ht5J2W__key{color:#3d3831;cursor:pointer;background:#fff;border:1px solid #e7e2da;border-radius:10px;min-height:56px;font-size:22px;font-weight:500;transition:transform 80ms,background .15s;box-shadow:0 2px #eeeae4}.calc-module__ht5J2W__key:hover{background:#f7f5f1}.calc-module__ht5J2W__key:active{box-shadow:none;transform:translateY(2px)}.calc-module__ht5J2W__keyFn{color:#786452;background:#f8f6f2;font-size:18px}.calc-module__ht5J2W__keyCaption{font-size:10px;font-weight:400;line-height:1.4;display:block}.calc-module__ht5J2W__actions{gap:10px;display:flex}.calc-module__ht5J2W__saveBtn,.calc-module__ht5J2W__resetBtn{cursor:pointer;border-radius:10px;min-height:48px;padding:12px;font-size:14px;font-weight:600;transition:background .15s}.calc-module__ht5J2W__saveBtn{color:#fff;background:#345d42;border:1px solid #345d42;flex:1}.calc-module__ht5J2W__saveBtn:hover{background:#264a32}.calc-module__ht5J2W__saveBtn:disabled{color:#78736c;cursor:not-allowed;background:#e8e5df;border-color:#e8e5df}.calc-module__ht5J2W__resetBtn{color:#9a4938;background:#fff;border:1px solid #e7d3ca;flex:none}.calc-module__ht5J2W__resetBtn:hover{background:#fbf0eb}.calc-module__ht5J2W__history{background:#fff;border:1px solid #e7e2da;border-radius:20px;min-width:0}.calc-module__ht5J2W__historyHead{border-bottom:1px solid #ece8e1;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;padding:24px;display:flex}.calc-module__ht5J2W__historyHead h2{margin:0;font-size:16px;font-weight:600}.calc-module__ht5J2W__monthTotal{color:#716b63;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;min-width:0;max-width:100%;font-size:12px;line-height:1.7}.calc-module__ht5J2W__monthTotal b{color:#345d42;font-size:21px;font-weight:600;display:block}.calc-module__ht5J2W__monthTotal b[data-negative=true]{color:#a23c30}.calc-module__ht5J2W__empty{text-align:center;color:#716b63;padding:56px 24px;font-size:14px;line-height:1.9}.calc-module__ht5J2W__monthGroup+.calc-module__ht5J2W__monthGroup{border-top:1px solid #ece8e1}.calc-module__ht5J2W__monthHead{color:#716b63;letter-spacing:.04em;padding:24px 24px 8px;font-size:12px;font-weight:600}.calc-module__ht5J2W__recordList{margin:0;padding:0 24px;list-style:none}.calc-module__ht5J2W__recordItem{-moz-column-gap:8px;grid-template-columns:minmax(0,1fr) 44px;gap:6px 8px;padding:16px 0;font-size:14px;display:grid}.calc-module__ht5J2W__recordItem+.calc-module__ht5J2W__recordItem{border-top:1px solid #f1eee8}.calc-module__ht5J2W__recordSummary{justify-content:space-between;align-items:baseline;gap:12px;min-width:0;display:flex}.calc-module__ht5J2W__recordDate{color:#4d473f;font-variant-numeric:tabular-nums;flex-shrink:0;font-size:13px}.calc-module__ht5J2W__recordAmount{font-variant-numeric:tabular-nums;color:#345d42;overflow-wrap:anywhere;text-align:right;min-width:0;font-size:17px;font-weight:600}.calc-module__ht5J2W__recordAmount[data-negative=true]{color:#a23c30}.calc-module__ht5J2W__recordDetail{-moz-column-gap:12px;color:#716b63;overflow-wrap:anywhere;flex-wrap:wrap;grid-column:1;gap:3px 12px;min-width:0;font-size:12px;line-height:1.7;display:flex}.calc-module__ht5J2W__recordDel{color:#8a7663;cursor:pointer;background:0 0;border:none;border-radius:10px;grid-area:1/2/3;align-self:center;width:44px;height:44px;font-size:24px;line-height:1;transition:background .15s,color .15s}.calc-module__ht5J2W__recordDel:hover{color:#a23c30;background:#fbf0eb}.calc-module__ht5J2W__clearBtn{color:#9a4938;cursor:pointer;background:#fff;border:1px solid #e7d3ca;border-radius:10px;width:calc(100% - 48px);min-height:44px;margin:16px 24px 24px;padding:10px;font-size:13px;transition:background .15s;display:block}.calc-module__ht5J2W__clearBtn:hover{background:#fbf0eb}.calc-module__ht5J2W__footNote{text-align:center;color:#716b63;margin:0;font-size:12px;line-height:1.7}@media (min-width:1024px){.calc-module__ht5J2W__workspace{grid-template-columns:430px minmax(0,1fr)}}@media (max-width:1023px){.calc-module__ht5J2W__header,.calc-module__ht5J2W__workspace{max-width:600px}}@media (max-width:480px){.calc-module__ht5J2W__page{padding:16px 16px 40px}.calc-module__ht5J2W__heading{margin:16px 0 24px}.calc-module__ht5J2W__heading h1{font-size:26px}.calc-module__ht5J2W__heading time{display:none}.calc-module__ht5J2W__workspace{gap:20px}.calc-module__ht5J2W__card{border-radius:16px;padding:16px}.calc-module__ht5J2W__display{padding:16px}.calc-module__ht5J2W__displayTotal{font-size:36px}.calc-module__ht5J2W__displayTotal[data-long=true]{font-size:26px}.calc-module__ht5J2W__history{border-radius:16px}.calc-module__ht5J2W__historyHead{padding:20px 16px}.calc-module__ht5J2W__monthHead{padding:20px 16px 8px}.calc-module__ht5J2W__recordList{padding:0 16px}.calc-module__ht5J2W__recordAmount{font-size:16px}.calc-module__ht5J2W__clearBtn{width:calc(100% - 32px);margin:16px}}@media (prefers-reduced-motion:reduce){.calc-module__ht5J2W__workspace button{transition:none}}@media (max-width:360px){.calc-module__ht5J2W__unitBtn{padding-left:0;padding-right:0}.calc-module__ht5J2W__unitBadge{padding:2px;font-size:11px}}
