.local-ledger-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:20px;padding:22px 24px;border:1px dashed #a89b82;border-radius:8px;background:#eee9dc;color:#344a5b}
.local-ledger-bar strong{font-size:16px}.local-ledger-bar p{font-size:14px;line-height:1.8;margin:6px 0 0}.local-ledger-bar a{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 20px;color:#fff9ef;background:#993d31;border-radius:8px;text-decoration:none;font-weight:600;box-shadow:3px 4px 0 #d3c6b0}.local-ledger-bar a:focus-visible{outline:3px solid #344a5b;outline-offset:4px}.ledger-preview-notice p a{color:#993d31;font-weight:bold}.ledger-receipt-status[data-error=true]{color:#993d31}
@media(max-width:600px){.local-ledger-bar{flex-direction:column;align-items:stretch;padding:18px;gap:14px}.local-ledger-bar a{font-size:16px}.local-ledger-bar p{font-size:15px}}
@media print{.local-ledger-bar{display:none!important}}
/* A clothesline of real local records. Blank cards below are decorative only. */
.ledger-record-top{align-items:flex-end}.clothesline-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px;color:#5d655f}.clothesline-tools p{font-size:15px;margin:0}.clothesline-tools>div{display:flex;gap:10px}.clothesline-tools button{width:46px;height:46px;border:1px solid #9e947f;border-radius:50%;background:#faf5e9;color:#344a5b;display:grid;place-items:center;cursor:pointer}.clothesline-tools button svg{height:20px;width:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.clothesline-tools button:disabled{opacity:.38;cursor:default}.clothesline-tools button:focus-visible,.paper-open:focus-visible,.paper-empty-add:focus-visible{outline:3px solid #344a5b;outline-offset:5px}
.clothesline-stage{position:relative;margin:20px -14px 0}.clothesline-rope{position:absolute;top:33px;left:0;right:0;height:19px;border-top:2px solid #98876c;border-radius:50%;transform:rotate(-.35deg);filter:drop-shadow(0 2px 0 #fff9ef)}
.ledger-list.paper-track{display:flex;gap:30px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding:20px;padding:52px 22px 34px;margin:0;list-style:none;border:0;scrollbar-color:#a79072 #e9e0cc;scrollbar-width:thin;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;min-height:0}
.paper-track:empty{padding:0}.paper-track:empty+.none{display:none}.paper-record{position:relative;flex:0 0 calc((100% - 60px)/3);min-width:250px;scroll-snap-align:start;transform:rotate(-1deg);transform-origin:50% 0;align-self:stretch;transition:transform .2s ease}.paper-record:nth-child(3n+2){transform:rotate(1.3deg)}.paper-record:nth-child(3n){transform:rotate(-.6deg)}
.paper-peg{position:absolute;top:-27px;left:50%;width:17px;height:40px;z-index:1;border-radius:3px;background:linear-gradient(90deg,#b49468,#dfc79f 38%,#bb9869 45%,#e1cba8 52%,#b6976b);box-shadow:2px 3px 3px #5b49283d;transform:translateX(-50%) rotate(3deg);pointer-events:none}.paper-peg:after{content:'';position:absolute;top:17px;left:2px;right:2px;height:3px;border-top:1px solid #8b7658;border-bottom:1px solid #8b7658}
.paper-open{width:100%;height:100%;text-align:left;display:flex;flex-direction:column;gap:0;padding:25px 20px 18px;border:1px solid #c7bca6;border-radius:2px 2px 8px 3px;background:#fffaf0;color:#37352f;box-shadow:5px 7px 0 #c7bba433,0 6px 18px #65563f0b;cursor:pointer;font:inherit;min-height:480px}.paper-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:14px}.paper-kind{font-weight:600;color:#4c624e;background:#edf0e3;padding:4px 10px;border-radius:5px}.paper-record[data-type=expense] .paper-kind{color:#994737;background:#f6e9dc}.paper-date{font-size:13px;color:#6a6357;letter-spacing:.04em}.paper-picture{display:grid;place-items:center;background:#ece9df;border:1px solid #dbd1be;aspect-ratio:1.2;margin:19px 0 17px;overflow:hidden;position:relative;padding:10px}.paper-picture canvas{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;filter:none}.paper-picture:has(canvas){padding:8px;background:#f3eee5}.paper-picture-empty{font-family:var(--sketch-hand,'Klee One',serif);font-size:23px;text-align:center;color:#6a6357;line-height:1.7}.paper-picture-empty span{display:block;font-family:inherit;font-size:15px}.paper-open h3{font-family:var(--sketch-hand,'Klee One',serif);font-size:24px;line-height:1.45;margin:0 0 12px;overflow-wrap:anywhere;font-weight:500}.paper-amount{font:500 30px/1.2 Georgia,serif;margin:auto 0 12px;padding-top:8px;letter-spacing:.02em}.paper-amount small{font:12px sans-serif;margin-right:8px;color:#6a6357}.paper-open .paper-detail{font-size:14px;color:#344a5b;border-top:1px dashed #c6bda9;padding-top:13px;display:flex;justify-content:space-between;gap:8px}.paper-picture-label{font-size:12px;color:#756c60;position:absolute;bottom:7px;right:10px;background:#fffaf0ed;padding:2px 6px;border-radius:3px}
.paper-empty-scene{display:flex;gap:35px;justify-content:center;position:relative;padding:58px 22px 28px;margin:22px 0;overflow:hidden}.paper-empty-scene:before{content:'';position:absolute;top:30px;left:0;right:0;border-top:2px solid #a79779;border-radius:50%;height:24px}.paper-placeholder{position:relative;flex:0 0 300px;max-width:42%;padding:24px 20px;border:1px solid #c9bfae;background:#fffaf0;text-align:left;transform:rotate(-2deg);box-shadow:4px 7px 0 #d7cdbb66}.paper-placeholder:nth-child(2){transform:rotate(2deg)}.paper-placeholder small{color:#4c624e;font-size:15px}.paper-placeholder:nth-child(2) small{color:#994737}.paper-placeholder-picture{aspect-ratio:1.2;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#eeeadf;margin:16px 0;color:#7d715a}.paper-placeholder-picture svg{width:58px;height:58px;stroke:currentColor;fill:none;stroke-width:1.4}.paper-placeholder-picture em{font-style:normal;font-size:14px;margin-top:10px}.paper-placeholder strong{display:block;font-family:var(--sketch-hand,'Klee One',serif);font-size:23px;font-weight:400}.paper-placeholder b{display:block;font-size:13px;font-weight:400;color:#6a6357;margin-top:12px}.paper-empty-add{display:inline-flex;min-height:48px;align-items:center;justify-content:center;padding:10px 24px;background:#993d31;color:#fffaf0;text-decoration:none;border-radius:6px;box-shadow:3px 4px 0 #d0c0a5}.ledger-empty:has(.paper-empty-scene){padding-left:0;padding-right:0;background:transparent;border:0}.ledger-empty>span{display:block}.ledger-records{overflow:visible}
@media(hover:hover) and (pointer:fine){.paper-record:hover{transform:rotate(0) translateY(-4px)}.clothesline-tools button:not(:disabled):hover{background:#eae2cf}}
@media(max-width:1000px){.paper-record{flex-basis:calc((100% - 30px)/2)}}
@media(max-width:600px){.clothesline-tools p{font-size:14px;max-width:200px;line-height:1.7}.ledger-list.paper-track{gap:24px;padding:50px 16px 28px;scroll-padding:16px}.clothesline-stage{margin-left:-10px;margin-right:-10px}.paper-record{flex-basis:86%;min-width:242px}.paper-open{min-height:440px;padding:23px 18px 16px}.paper-open h3{font-size:24px}.paper-date{font-size:13px}.paper-picture{margin:17px 0}.paper-placeholder{flex-basis:245px;max-width:none;padding:20px 17px}.paper-empty-scene{justify-content:flex-start;gap:22px;overflow-x:auto;scroll-snap-type:x mandatory;padding-left:16px;padding-right:20px}.paper-placeholder{scroll-snap-align:center}.paper-placeholder-picture em{font-size:14px}.paper-empty-add{font-size:16px}.ledger-records h2{font-size:29px}.paper-amount{font-size:30px}}
@media(prefers-reduced-motion:reduce){.paper-record{transition:none}.paper-track{scroll-behavior:auto}}
