/* PetaUita: two distinct money records, open paper and a plum set-aside field. */
.reading.savings-page{max-width:1240px;padding-top:42px}.saving-tool{--sheet-border:#9f8590;--sheet-error:#9b314a;color:var(--ink)}.saving-tool [hidden]{display:none!important}.sheet-intro{display:grid;grid-template-columns:1.1fr 1fr;gap:48px;align-items:center;margin-bottom:32px}.savings-page .sheet-intro h1{font-size:42px;line-height:1.4;font-weight:650;letter-spacing:-.025em;margin:0}.sheet-intro>div{font-size:16px;color:var(--muted);line-height:1.85}.saving-tool h2{font-size:22px;font-weight:650;line-height:1.5;letter-spacing:-.01em;margin:0}.saving-tool p{max-width:none;line-height:1.8}.saving-tool p+p{margin-top:10px}.saving-tool :is(button,input,textarea){font:inherit;color:inherit;accent-color:var(--plum)}.saving-tool :is(button,a,input,textarea,summary):focus-visible{outline:3px solid var(--plum);outline-offset:4px}.saving-tool button,.saving-tool a.sheet-primary{min-height:46px;min-width:44px;cursor:pointer;font-size:14px;line-height:1.5;font-weight:650}.saving-tool button:disabled{cursor:default;opacity:.5}.saving-tool input[type=text],.saving-tool textarea{width:100%;min-width:0;min-height:46px;border:1px solid var(--sheet-border);border-radius:10px;background:var(--white);font-size:16px;line-height:1.5;padding:10px 12px;caret-color:var(--plum)}.saving-tool input::placeholder{color:var(--muted);opacity:1}.saving-tool textarea{resize:vertical;min-height:100px}.saving-tool input[aria-invalid=true]{border-color:var(--sheet-error)}.sheet-field{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:650;min-width:0}.saving-tool>#sheet-workspace>.sheet-field{max-width:520px}.sheet-facts{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin-top:24px;align-items:stretch}.sheet-facts>section{min-width:0;padding:30px 32px}.sheet-facts .estimate-fact{padding-left:0;border-block:1px solid var(--line)}.actual-fact{background:var(--wash);border-radius:16px}.sheet-facts h2{font-size:17px}.sheet-facts output{display:block;font-size:48px;font-weight:650;line-height:1.35;letter-spacing:-.035em;margin:14px 0 16px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.sheet-facts output.is-empty{font-size:29px;letter-spacing:-.015em}.sheet-facts output.long-amount{font-size:36px}.actual-fact output{color:var(--plum)}.sheet-facts p{font-size:14px;color:var(--muted)}.actual-fact .sheet-field{margin-top:22px}.saving-tool .sheet-small{font-size:12px;line-height:1.85;color:var(--muted);margin:10px 0 0}.saving-tool .sheet-error{font-size:12px;line-height:1.7;color:var(--sheet-error);margin:7px 0 0}.choices-editor{margin-top:38px}.sheet-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.sheet-text-button{background:transparent;border:0;padding:10px 6px;color:var(--plum)!important;text-decoration:underline;text-underline-offset:4px}.sheet-text-button:hover:not(:disabled){color:#603046!important}.choice-row{display:grid;grid-template-columns:minmax(140px,1.5fr) minmax(108px,1fr) minmax(108px,1fr) minmax(76px,.65fr) minmax(130px,1.1fr) 44px;gap:12px;padding:22px 0;border-top:1px solid var(--line);align-items:end}.choice-result{font-size:17px;line-height:1.55;font-weight:650;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;min-height:46px;display:flex;flex-direction:column;justify-content:center}.choice-result small{display:block;font-size:11px;color:var(--muted);font-weight:400;margin-top:4px}.choice-result.negative{color:var(--sheet-error)}.choice-row>.sheet-error{grid-column:1/-1;margin:0}.choice-delete{font-size:12px!important;padding-inline:0}.choice-row .sheet-field{font-size:11px}.choice-row input[data-column=usual],.choice-row input[data-column=cost],.choice-row input[data-column=qty]{font-variant-numeric:tabular-nums}.sheet-row-actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin-top:18px}.sheet-primary,.sheet-secondary{display:inline-flex;justify-content:center;align-items:center;text-align:center;border-radius:12px;padding:12px 20px;text-decoration:none;font-size:14px;line-height:1.5}.sheet-primary{background:var(--plum);border:1px solid var(--plum);color:var(--white)!important}.sheet-primary:hover{background:#603046}.sheet-secondary{background:var(--white);border:1px solid var(--sheet-border)}.sheet-secondary:hover:not(:disabled){background:#f0e9ed}.sheet-confirm{padding:20px;background:var(--wash);border-radius:12px;margin-top:16px}.sheet-confirm p{font-size:14px;margin:0 0 12px}.sheet-goal{margin-top:34px;border-block:1px solid var(--line);padding:18px 0 22px}.sheet-goal summary{font-size:16px;font-weight:650;line-height:1.6;min-height:46px;padding-block:10px;cursor:pointer}.sheet-goal-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:720px;margin-top:16px}#goal-result{font-size:18px;color:var(--plum);line-height:1.7;margin-top:14px;font-weight:650;overflow-wrap:anywhere}.saving-tool #sheet-status{font-size:14px;min-height:1.8em;color:var(--plum);margin-top:18px}.saving-tool #sheet-status[data-error=true]{color:var(--sheet-error)}.sheet-export{margin-top:24px;padding:30px 0;border-block:1px solid var(--line)}.sheet-export h2{font-size:25px}.sheet-export>p{font-size:14px;color:var(--muted);margin-top:12px}.sheet-export-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}#sheet-image-result{margin:28px 0 0}#sheet-image-mount img{width:min(620px,100%);height:auto;display:block;border-radius:12px}#sheet-image-result figcaption{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:16px}#sheet-image-result figcaption span{font-size:12px;color:var(--muted)}#sheet-copy-fallback{margin-top:20px;max-width:850px}.sheet-storage{margin-top:24px}.sheet-storage>.sheet-small{max-width:68ch}.sheet-check{display:flex;align-items:center;gap:10px;min-height:46px;font-size:14px;cursor:pointer}.sheet-check input{width:18px;height:18px;flex:none}.sheet-storage>.sheet-text-button{margin-top:10px}.sheet-app-next{display:grid;grid-template-columns:1fr 1.2fr;gap:36px;background:var(--wash);padding:30px;border-radius:16px;margin-top:28px}.sheet-app-next h2{font-size:25px}.sheet-app-next p{font-size:14px}.sheet-app-next .sheet-primary{margin-top:20px}.sheet-guide-intro{margin-top:64px;border-top:1px solid var(--line);padding-top:32px}.savings-page .sheet-guide-intro h2{font-size:25px;margin:0 0 14px}.sheet-guide-intro p{color:var(--muted)}#saving-print-root{display:none}
@media(max-width:1000px){.sheet-intro{gap:28px}.savings-page .sheet-intro h1{font-size:36px}.sheet-facts{gap:24px}.sheet-facts>section{padding:26px 24px}.sheet-facts .estimate-fact{padding-left:0}.sheet-facts output{font-size:41px}.sheet-facts output.long-amount{font-size:29px}.choice-row{grid-template-columns:minmax(118px,1.3fr) minmax(95px,1fr) minmax(95px,1fr) 66px minmax(104px,1fr) 44px;gap:8px}.choice-row input{padding-inline:9px}.choice-result{font-size:15px}}
@media(max-width:760px){.reading.savings-page{padding-top:28px}.sheet-intro{grid-template-columns:1fr;gap:20px;margin-bottom:26px}.savings-page .sheet-intro h1{font-size:34px}.sheet-intro>div{font-size:14px}.sheet-facts{grid-template-columns:1fr;gap:22px;margin-top:22px}.sheet-facts>section{padding:24px}.sheet-facts .estimate-fact{padding:24px 0}.sheet-facts output{font-size:42px}.sheet-facts output.long-amount{font-size:32px}.sheet-facts output.is-empty{font-size:28px}.actual-fact .sheet-field{margin-top:18px}.choices-editor{margin-top:30px}.sheet-section-heading{align-items:start;gap:14px}.sheet-section-heading h2{font-size:21px}.sheet-section-heading>button{font-size:12px;max-width:110px}.choice-row{grid-template-columns:1fr 1fr;gap:14px 16px;padding:22px 0}.choice-row .sheet-field{font-size:12px}.choice-row .choice-label{grid-column:1/-1;padding-right:54px}.choice-row{position:relative}.choice-delete{position:absolute;right:0;top:42px;width:44px;min-height:46px}.choice-result{font-size:19px;min-height:70px;align-self:end}.choice-result small{font-size:11px}.choice-row>.sheet-error{grid-column:1/-1}.sheet-goal-fields{grid-template-columns:1fr;gap:16px}.sheet-goal{margin-top:28px}.sheet-export h2{font-size:23px}.sheet-export-actions{display:flex;flex-direction:column;align-items:stretch}.sheet-app-next{grid-template-columns:1fr;gap:18px;padding:24px}.sheet-app-next h2{font-size:23px}.sheet-guide-intro{margin-top:44px}}
@media(max-width:360px){.savings-page .sheet-intro h1{font-size:29px}.sheet-facts output{font-size:36px}.sheet-facts output.long-amount{font-size:26px}.sheet-facts>section{padding:22px 18px}.sheet-facts .estimate-fact{padding-inline:0}.sheet-section-heading{gap:8px}.sheet-section-heading h2{font-size:20px}.choice-row{gap:14px 12px}.sheet-app-next{padding:22px 18px}}
@media(prefers-reduced-motion:reduce){.saving-tool *{scroll-behavior:auto!important;transition:none!important}}
@page{size:A4 portrait;margin:12mm}
@media print{body.saving-tool-ready>*:not(#saving-print-root){display:none!important}:root,body{background:white}body.saving-tool-ready #saving-print-root{display:block!important;color:#33272e;font:10pt/1.6 "Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif}#saving-print-root h1{font:650 21pt/1.4 "Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;margin:0 0 3mm;overflow-wrap:anywhere}#saving-print-root .print-meta{font-size:9pt;color:#705e67;margin:0 0 5mm}#saving-print-root .print-facts{display:grid;grid-template-columns:1fr 1fr;gap:7mm;padding:5mm 0;border-block:1px solid #b4a0a9;margin-bottom:5mm}#saving-print-root .print-facts h2{font-size:10pt;line-height:1.6;margin:0 0 2mm}#saving-print-root .print-facts strong{display:block;font-size:21pt;line-height:1.4;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}#saving-print-root .print-goal{font-size:10pt;margin:3mm 0 5mm;overflow-wrap:anywhere}#saving-print-root table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:9pt}#saving-print-root th,#saving-print-root td{border-bottom:1px solid #c4b3bc;padding:2.5mm 1.5mm;text-align:left;vertical-align:top;overflow-wrap:anywhere}#saving-print-root th:nth-child(1){width:30%}#saving-print-root th:nth-child(2),#saving-print-root th:nth-child(3){width:18%}#saving-print-root th:nth-child(4){width:9%}#saving-print-root th:nth-child(5){width:25%}#saving-print-root tr{break-inside:avoid}#saving-print-root .print-note{font-size:8pt;color:#705e67;line-height:1.8;margin-top:5mm}#saving-print-root .print-formula{font-size:9pt;margin:3mm 0}#saving-print-root .print-empty{font-size:10pt}}

.choice-result.long-amount{font-size:15px}
@media(max-width:760px){.saving-tool-page .site-header{flex-direction:column;align-items:flex-start;gap:12px}.saving-tool-page .site-header nav{width:100%;flex-wrap:wrap;gap:8px 18px}.saving-tool-page .site-header nav a{white-space:nowrap}.saving-tool-page .site-header .language{padding:7px 12px}}
@media(max-width:360px){.choice-result.long-amount{font-size:14px}}
