:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#202a27;background:#f5f6f8;font-synthesis:none;--green:#176348;--green-dark:#104e39;--lime:#d7ed9a;--muted:#69746e;--line:#e5e9e6;--surface:#fff;--orange:#9b4b18}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button{color:inherit}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #69a589;outline-offset:3px}button{touch-action:manipulation}.icon{width:21px;height:21px;flex-shrink:0;vertical-align:middle}h1,h2,h3,p{margin:0}h1{font-size:2rem;letter-spacing:-1px;line-height:1.25;overflow-wrap:anywhere}h2{font-size:1.15rem;letter-spacing:-.25px}h3{font-size:1rem}button span{pointer-events:none}[hidden]{display:none!important}.shell{min-height:100vh;display:flex}.sidebar{width:230px;position:fixed;inset:0 auto 0 0;background:white;border-right:1px solid var(--line);padding:37px 22px 25px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;gap:10px;align-items:center;font-size:1.12rem;font-weight:750;letter-spacing:-.6px}.brand-icon{display:grid;place-items:center;flex-shrink:0;width:37px;height:41px;border-radius:11px;background:var(--green);color:var(--lime);font-size:29px}.brand-caption{display:block;font-size:.75rem;font-weight:400;letter-spacing:0;color:var(--muted);margin-top:4px}.navigation{display:flex;flex-direction:column;gap:9px;margin-top:48px}.nav-item{display:flex;align-items:center;gap:13px;border:0;border-radius:9px;background:transparent;padding:13px 15px;font-weight:550;text-align:left;font-size:.9375rem;min-height:49px;color:#626f67}.nav-item.active{background:#eaf3ed;color:var(--green)}.nav-item:hover{background:#f0f4f1}.side-footer{margin-top:auto;padding:28px 8px 0;font-size:.875rem;color:var(--muted)}.side-footer p{line-height:1.7;margin:12px 0 17px}.device-label{display:flex;gap:7px;align-items:center;font-weight:600;color:#42564b}.side-footer .text-button{font-size:.875rem;padding:0}.workspace{margin-left:230px;width:calc(100% - 230px);min-width:0}.topbar{height:77px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 44px;background:#fff}.breadcrumb{font-size:.875rem;color:var(--muted)}.breadcrumb span{margin:0 12px;color:#b9c0bb}.breadcrumb strong{color:#46564d;font-weight:500}.local-label{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:.75rem}.local-label .icon{width:16px;height:16px}main{max-width:1350px;padding:38px 44px 30px;margin:auto;min-height:calc(100vh - 147px)}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px}.eyebrow{font-size:.75rem;letter-spacing:1.25px;text-transform:uppercase;color:var(--muted);font-weight:550;margin-bottom:11px;line-height:1.5}.heading-actions{flex-shrink:0}.title-edit{vertical-align:middle}.title-edit.icon-button{color:#8c9790}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:1px solid var(--line);background:white;border-radius:9px;padding:11px 17px;font-size:.875rem;font-weight:600;white-space:nowrap;transition:background .15s,transform .15s}.button:hover:not(:disabled){background:#eff3ef}.button.primary{background:var(--green);border-color:var(--green);color:#fff;box-shadow:0 2px 2px #0b3b1610}.button.primary:hover:not(:disabled){background:var(--green-dark)}.button.primary:active{transform:translateY(1px)}.button.secondary{background:white}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;color:var(--green);background:none;border:0;font-size:.875rem;font-weight:550;padding:10px 0}.icon-button{display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;min-width:40px;min-height:40px;color:#79867e;border-radius:8px;padding:8px;font-size:0}.icon-button span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.icon-button:hover{background:#eef2ef}.summary{background:var(--green);color:#fff;border-radius:15px;display:grid;grid-template-columns:1.45fr 1fr 2fr;align-items:center;padding:29px 30px;gap:24px;position:relative}.summary-total{display:flex;flex-direction:column;gap:7px}.summary-label{font-size:.875rem;color:#d0e1d7}.summary-total>strong{font-size:2.5rem;line-height:1.1;font-weight:650;letter-spacing:-1px}.summary-sub{font-size:.75rem;color:#b9d2c4;margin-top:3px}.summary-metric{padding-left:23px;border-left:1px solid #ffffff26;display:flex;flex-direction:column;gap:10px;min-width:0}.summary-metric>span{color:#d0e1d7;font-size:.75rem;line-height:1.5}.summary-metric>strong{font-size:1.28rem;font-weight:550;letter-spacing:-.4px;overflow-wrap:anywhere}.summary-metric.has-over>strong{color:#ffe2a9}.purchase-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:28px 0 33px}.mode-control{display:flex;align-items:center;gap:12px}.mode-control label{font-weight:600;font-size:.875rem;cursor:pointer;display:flex;align-items:center;gap:7px}.mode-control label .icon{width:16px;color:var(--green)}.mode-control p{font-size:.75rem;color:var(--muted);margin-top:5px;line-height:1.5}.switch{border:0;background:#c2cac4;width:42px;height:25px;border-radius:25px;padding:3px;display:flex;align-items:center;flex-shrink:0;position:relative}.switch:before{content:'';position:absolute;inset:-10px 0}.switch.on{background:var(--green)}.switch span{width:19px;height:19px;display:block;border-radius:50%;background:white;box-shadow:0 1px 3px #0002;transition:transform .2s}.switch.on span{transform:translateX(17px)}.section-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 16px}.section-title h2{display:flex;align-items:center;gap:8px;font-size:1rem}.section-title h2 span{font-size:.75rem;display:grid;place-items:center;color:#718076;background:#e8ece9;min-width:24px;height:23px;border-radius:6px;font-weight:500}.desktop-hint{font-size:.75rem;color:#7a867e}.basket-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}.panel{background:white;border:1px solid var(--line);border-radius:13px}.basket{overflow:hidden;--accent:#257857;--pale:#eaf2e9;transition:box-shadow .15s,border-color .15s;min-width:0}.basket.color-1{--accent:#526bbb;--pale:#edf0fb}.basket.color-2{--accent:#986222;--pale:#faf1df}.basket.color-3{--accent:#855b9e;--pale:#f3edf6}.basket-header{display:flex;align-items:center;gap:11px;padding:20px 19px 12px}.basket-number{background:var(--pale);color:var(--accent);width:39px;height:42px;border-radius:9px;display:grid;place-items:center;font-size:.875rem;font-weight:650;font-variant-numeric:tabular-nums;flex-shrink:0}.basket-title{flex:1;min-width:0}.basket-title h3{font-size:.9375rem;font-weight:600;overflow-wrap:anywhere}.limit-label{border:0;background:none;padding:5px 0;margin-bottom:-5px;color:#6a786e;font-size:.75rem;display:inline-flex;align-items:center;gap:5px;min-height:31px}.limit-label .icon{width:12px;height:12px}.basket-amount{padding:8px 20px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.basket-amount strong{font-size:1.6rem;letter-spacing:-.6px;font-weight:600;overflow-wrap:anywhere}.basket-amount>span{font-size:.75rem;color:#65756b;line-height:1.4;text-align:right}.basket-amount .over-tag{color:var(--orange);background:#fff1df;padding:5px 7px;border-radius:5px}.meter{height:4px;background:#eff1ef;margin:0 20px 19px;border-radius:4px;overflow:hidden}.meter span{background:var(--accent);display:block;height:100%;border-radius:4px;transition:width .3s}.over-limit .meter span{background:#cb8b47}.product-list{border-top:1px solid #edf0ed;min-height:162px}.product{display:flex;gap:10px;align-items:center;padding:13px 13px 13px 8px;position:relative;min-height:76px;border-bottom:1px solid #f0f2ef;background:white}.product:last-child{border-bottom:0}.drag-handle{flex-shrink:0;background:none;border:0;padding:6px 0;width:25px;height:44px;color:#a9b1aa;cursor:grab;touch-action:none;user-select:none}.drag-handle:active{cursor:grabbing}.drag-handle .icon{width:16px;stroke-width:3}.product-symbol{width:34px;height:36px;background:#f4f6f3;border-radius:8px;display:grid;place-items:center;color:#728071;flex-shrink:0}.product-symbol .icon{width:18px;height:18px}.product-info{display:flex;flex-direction:column;min-width:0;flex:1;gap:5px}.product-name{font-size:.875rem;line-height:1.35;font-weight:500;overflow-wrap:anywhere}.product-meta{font-size:.75rem;color:#7c867e;line-height:1.4}.product-price{font-size:.875rem;white-space:nowrap;letter-spacing:-.1px;font-weight:600}.product .item-menu{min-width:30px;width:30px;padding:4px}.product .item-menu .icon{width:18px}.basket-empty{height:162px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#7e8d81;gap:7px;padding:20px;text-align:center}.basket-empty>.icon{width:32px;height:32px;color:#bdc9bc;margin-bottom:2px}.basket-empty>span{font-size:.875rem;font-weight:500}.basket-empty>p{font-size:.75rem;color:#929c94;line-height:1.5}.basket-footer{display:flex;justify-content:space-between;gap:10px;background:#fafbf9;border-top:1px solid #eff1ed;padding:12px 19px;font-size:.75rem;color:#889187;line-height:1.5}.basket-footer .icon{width:13px;height:13px}.purchase-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:24px;gap:16px}.purchase-bottom>p{font-size:.75rem;color:#8a958c;display:flex;gap:7px;align-items:center}.purchase-bottom>p .icon{width:15px;height:15px}.add-product{min-width:195px}.workspace-footer{max-width:1350px;margin:auto;padding:17px 44px 24px;display:flex;justify-content:space-between;color:#8b958f;font-size:.75rem;gap:20px}.empty-state{text-align:center;padding:70px 25px;display:flex;flex-direction:column;align-items:center;gap:18px}.empty-state .empty-icon{width:40px;height:40px;color:var(--green);margin-bottom:5px}.empty-state p{color:var(--muted);font-size:.9375rem;line-height:1.7;max-width:410px}.history-list{display:flex;flex-direction:column;gap:14px}.history-card{display:flex;gap:18px;align-items:center;text-align:left;padding:23px}.history-card:hover{border-color:#a8c6b1}.history-symbol{display:grid;place-items:center;background:#edf4ec;color:var(--green);width:49px;height:52px;border-radius:10px;flex-shrink:0}.history-info{flex:1;display:flex;flex-direction:column;gap:7px;min-width:0}.history-info strong{font-size:1rem;overflow-wrap:anywhere}.history-info>span{font-size:.75rem;color:var(--muted);line-height:1.4}.history-amount{text-align:right;display:flex;flex-direction:column;gap:9px}.history-amount strong{font-size:1.2rem}.history-amount span{font-size:.75rem;color:var(--muted)}.history-card>.icon{color:#8b9a8f}.back-link{margin-bottom:15px}.saved-label{display:inline-flex;align-items:center;gap:6px;font-size:.875rem;color:var(--green);line-height:1.5}.saved-label .icon{width:17px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.settings-panel{padding:27px}.settings-icon{background:#edf4ec;color:var(--green);width:43px;height:43px;border-radius:11px;display:grid;place-items:center;margin-bottom:20px}.settings-panel h2{margin-bottom:11px}.settings-panel p{color:var(--muted);font-size:.875rem;line-height:1.75;margin:10px 0 20px}.settings-panel .note{font-size:.75rem;margin-bottom:0}.settings-panel form{margin-top:24px}.setting-input{display:flex;gap:10px;margin-top:9px}.setting-input input{min-width:0;width:100%}.settings-divider{height:1px;background:var(--line);margin:27px 0}.settings-panel #offline-status{font-size:.75rem}.settings-panel h3{font-weight:600;font-size:.9375rem}input,select{width:100%;min-height:47px;border:1px solid #dce2dc;border-radius:8px;padding:11px 12px;background:white;color:#26352a;transition:border .15s;font-size:1rem}input:focus,select:focus{outline:2px solid #81af93;outline-offset:1px;border-color:#81af93}input::placeholder{color:#b0b8af}label{font-size:.875rem;font-weight:500;display:block}dialog{width:min(470px,calc(100% - 30px));border:1px solid #e2e8df;border-radius:19px;padding:26px;box-shadow:0 25px 100px #183b2a2b;max-height:calc(100dvh - 40px);overflow-y:auto;color:#202a27}dialog::backdrop{background:#12251f70;backdrop-filter:blur(3px)}.dialog-header{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:20px}.dialog-header h2{font-size:1.3rem;font-weight:650;overflow-wrap:anywhere}.dialog-header>.icon-button{margin:-8px -9px -8px 0}.dialog-description{font-size:.9375rem;line-height:1.7;color:#657369;margin-bottom:20px}dialog label{margin:17px 0 8px}.dialog-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.dialog-footer .primary{flex:1}.dialog-footer .secondary{flex:0.7}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.note{color:var(--muted);font-size:.875rem;line-height:1.65;margin-top:15px}.note .icon{width:16px;height:16px;margin-right:4px}.form-error{color:#ac3f32;font-size:.875rem;line-height:1.6;margin-top:12px}.form-error:empty{display:none}.item-preview{background:#f1f5ef;border:1px solid #e7ece3;color:#577053;font-size:.875rem;padding:13px;border-radius:8px;margin-top:17px;line-height:1.6}.segmented{display:flex;background:#eff2ed;border-radius:9px;padding:4px;gap:4px}.segmented button{flex:1;min-height:41px;display:flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:6px;background:transparent;font-size:.875rem;color:#6e7b6e;font-weight:550}.segmented button.selected{background:#fff;box-shadow:0 1px 4px #0000000d;color:var(--green)}.segmented .icon{width:18px}.menu-actions{display:flex;flex-direction:column;gap:4px}.menu-button{padding:14px 10px;display:flex;align-items:center;gap:12px;border:0;background:transparent;border-radius:7px;text-align:left;font-size:.9375rem;min-height:48px}.menu-button:hover{background:#f1f4ef}.danger{color:#ae4a37}.welcome-symbol{display:grid;place-items:center;width:59px;height:60px;background:var(--green);color:var(--lime);border-radius:15px;margin:0 0 17px}.welcome-symbol .icon{width:34px;height:34px}.install-instructions h3{margin:19px 0 7px}.install-instructions p{font-size:.9375rem;color:var(--muted);line-height:1.7}#toast{position:fixed;bottom:25px;left:calc(50% + 100px);transform:translate(-50%,20px);background:#23392b;color:white;padding:14px 20px;border-radius:11px;box-shadow:0 4px 22px #183b2a22;z-index:10000;opacity:0;pointer-events:none;max-width:calc(100vw - 32px);font-size:.875rem;line-height:1.5;transition:opacity .2s,transform .2s}#toast.visible{opacity:1;transform:translate(-50%,0)}.error-banner{background:#fff1e4;color:#824118;border:1px solid #f1cda3;padding:16px;border-radius:10px;margin-bottom:22px;font-size:.875rem;line-height:1.6}.basket.drop-target{border-color:#2e8151;box-shadow:0 0 0 3px #77b3966b}.drag-ghost{position:fixed;pointer-events:none;z-index:1000;box-shadow:0 12px 32px #19382535;border-radius:11px;border:1px solid #a6c3ad;opacity:.96;transform:rotate(-1deg);max-width:calc(100vw - 25px)}.drag-source{opacity:.3}.is-dragging{user-select:none;cursor:grabbing}
@media(min-width:1600px){.basket-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.summary{padding:32px 36px}.summary-total>strong{font-size:2.7rem}}
@media(max-width:1150px){.sidebar{width:205px;padding-left:17px;padding-right:17px}.brand{font-size:1rem}.brand-icon{width:33px}.workspace{margin-left:205px;width:calc(100% - 205px)}main{padding:30px}.topbar{padding:0 30px}.summary{gap:16px;padding:25px 22px}.summary-metric{padding-left:15px}.summary-total>strong{font-size:2rem}.summary-metric>strong{font-size:1.1rem}.basket-grid{gap:15px}.product-symbol{display:none}.desktop-hint{display:none}.workspace-footer{padding-left:30px;padding-right:30px}}
@media(max-width:850px) and (min-width:701px){.sidebar{width:180px;padding:30px 12px}.brand{font-size:.9375rem;gap:7px}.brand-icon{width:30px}.workspace{margin-left:180px;width:calc(100% - 180px)}main{padding:24px}.nav-item{padding:12px;gap:8px}.summary{grid-template-columns:1.4fr 1fr;gap:23px}.summary-balance .summary-metric{padding-left:0;border:0}.basket-grid{grid-template-columns:1fr}.settings-grid{grid-template-columns:1fr}.side-footer{padding-left:4px}.topbar{padding:0 24px}.local-label{display:none}}
@media(max-width:700px){body{background:#f5f6f8}.sidebar{position:fixed;inset:auto 0 0;width:100%;height:calc(65px + env(safe-area-inset-bottom));padding:0 10px env(safe-area-inset-bottom);border-right:0;border-top:1px solid #e0e6df;background:#fffffff5;backdrop-filter:blur(16px)}.sidebar>.brand,.side-footer{display:none}.navigation{margin:0;flex-direction:row;gap:0;height:65px}.nav-item{flex:1;flex-direction:column;justify-content:center;gap:4px;font-size:.75rem;padding:7px 3px;border-radius:0;background:none;min-height:0}.nav-item.active{background:transparent;color:var(--green)}.nav-item.active>span:first-child{background:#e8f2e9;border-radius:12px;padding:2px 17px}.nav-item>span:first-child{padding:2px 17px}.nav-item .icon{width:20px;height:20px}.workspace{margin:0;width:100%;padding-bottom:calc(70px + env(safe-area-inset-bottom))}.topbar{height:calc(63px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 20px 0;border:0;background:#f5f6f8}.breadcrumb{font-size:1.02rem;font-weight:700;letter-spacing:-.6px;color:var(--green)}.breadcrumb span,.breadcrumb strong{display:none}.local-label{font-size:.75rem}.local-label .icon{width:14px;height:14px}main{padding:13px 18px 25px;min-height:calc(100dvh - 200px)}h1{font-size:1.65rem;letter-spacing:-.7px}.page-heading{gap:10px;margin-bottom:22px}.eyebrow{font-size:.75rem;letter-spacing:.9px;margin-bottom:7px}.heading-actions .button{padding:8px 10px;font-size:.75rem;gap:5px;min-height:39px}.heading-actions .icon{width:15px;height:15px}.title-edit.icon-button{width:28px;min-width:28px;min-height:30px;padding:5px}.title-edit .icon{width:15px;height:15px}.summary{padding:24px 21px 22px;gap:21px 16px;grid-template-columns:1fr 1fr;border-radius:15px}.summary-total{grid-column:1 / -1}.summary-total>strong{font-size:2.45rem;letter-spacing:-1.1px}.summary-label{font-size:.875rem}.summary-sub{font-size:.75rem}.summary-metric{padding:0;border:0;gap:5px}.summary-limit{grid-column:1 / -1;flex-direction:row;align-items:baseline;justify-content:space-between;padding-bottom:14px;border-bottom:1px solid #ffffff26}.summary-metric>span{font-size:.75rem}.summary-metric>strong{font-size:1.25rem}.purchase-toolbar{gap:12px;margin:23px 0 27px;align-items:center}.mode-control{gap:10px}.mode-control label{font-size:.875rem;gap:4px}.mode-control p{font-size:.75rem;line-height:1.4;max-width:155px}.mode-control label .icon{display:none}.purchase-toolbar>.button{font-size:.75rem;padding:8px 10px;gap:5px;min-height:40px}.purchase-toolbar>.button .icon{width:17px;height:17px}.switch{width:37px;height:23px;padding:3px}.switch span{width:17px;height:17px}.switch.on span{transform:translateX(14px)}.section-title{margin-bottom:13px}.basket-grid{grid-template-columns:1fr;gap:18px}.basket-header{padding:18px 17px 10px}.basket-amount{padding:8px 18px 12px}.basket-number{width:36px;height:39px}.basket-title h3{font-size:.9375rem}.basket-amount strong{font-size:1.6rem}.basket-amount>span{font-size:.75rem}.meter{margin:0 18px 17px}.product-symbol{display:grid;width:31px;height:34px}.product{padding:12px 10px 12px 6px;gap:8px;min-height:73px}.product-name{font-size:.875rem}.product-price{font-size:.875rem}.product-meta{font-size:.75rem}.product .item-menu{min-width:30px}.basket-footer{padding:11px 17px;font-size:.75rem}.basket-empty{height:155px}.purchase-bottom{padding-bottom:74px;margin-top:18px;justify-content:center}.purchase-bottom p{font-size:.75rem;line-height:1.5}.add-product{position:fixed;bottom:calc(79px + env(safe-area-inset-bottom));left:18px;right:18px;width:calc(100% - 36px);height:50px;border-radius:12px;box-shadow:0 4px 20px #144b3a30!important;z-index:9;font-size:.9375rem}.workspace-footer{display:none}#toast{left:50%;bottom:calc(145px + env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 36px);font-size:.875rem}.settings-grid{grid-template-columns:1fr;gap:17px}.settings-panel{padding:24px 20px}.settings-panel p{font-size:.875rem}.history-card{padding:17px 13px;gap:11px}.history-symbol{width:36px;height:40px}.history-symbol .icon{width:20px;height:20px}.history-info strong{font-size:.875rem}.history-info>span{font-size:.75rem}.history-amount strong{font-size:1rem}.history-amount span{font-size:.75rem}.history-card>.icon{display:none}.empty-state{padding:50px 22px}.empty-state p{font-size:.875rem}dialog{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:100%;max-height:calc(100dvh - env(safe-area-inset-top) - 15px);border-radius:22px 22px 0 0;padding:25px 22px calc(25px + env(safe-area-inset-bottom));border:0}.dialog-header h2{font-size:1.3rem}.dialog-description{font-size:.9375rem}.dialog-footer{margin-top:22px}.dialog-footer .button{min-height:48px}.segmented button{min-height:44px}.setting-input .button{padding:10px 13px}.note{font-size:.875rem}.menu-button{min-height:53px}.saved-label{font-size:.75rem}}
@media(max-width:370px){main{padding-left:13px;padding-right:13px}.topbar{padding-left:15px;padding-right:15px}h1{font-size:1.4rem}.heading-actions .button{font-size:.75rem;padding:8px}.heading-actions .button .icon{display:none}.mode-control p{max-width:133px}.product-symbol{display:none}.basket-footer{font-size:.75rem}.local-label{font-size:.75rem}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}
@media(min-width:701px){.product-list .product:first-child:last-child{border-bottom:1px solid #edf0ed}}

.product-name,.product-price{font-size:1rem}.purchase-toolbar{flex-wrap:wrap}.product-list .product{min-height:78px}
/* Purchase identity stays readable when a generated title wraps on a phone. */
.purchase-identity{display:flex;align-items:center;gap:12px;min-width:0}.purchase-title-text{min-width:0;overflow-wrap:anywhere}.purchase-avatar{width:54px;height:56px;display:grid;place-items:center;flex-shrink:0;background:#eaf2e9;border:1px solid #dce7d9;border-radius:14px;padding:6px;transition:background .15s}.purchase-avatar:hover{background:#ddebdc}.animal-emoji{font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:31px;line-height:1.2;font-weight:400;letter-spacing:0}.history-symbol .animal-emoji{font-size:28px}.animal-picker{border:0;padding:0;margin:19px 0 0;min-width:0}.animal-picker legend{font-size:.875rem;font-weight:500;margin-bottom:10px}.animal-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.animal-choice{position:relative;margin:0;display:block;cursor:pointer}.animal-choice input{position:absolute;opacity:0;width:1px;height:1px;min-height:0;padding:0;margin:0}.animal-choice>span:first-of-type{display:grid;place-items:center;min-height:47px;border:2px solid transparent;background:#f4f6f1;border-radius:10px;font-size:27px;line-height:1;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;transition:background .15s}.animal-choice input:checked+span{background:#e7f1df;border-color:var(--green)}.animal-choice input:focus-visible+span{outline:3px solid #69a589;outline-offset:2px}.animal-choice:hover>span:first-of-type{background:#e9efe4}.random-name{margin-top:5px;min-height:44px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.page-heading>div:first-child{min-width:0}
@media(max-width:700px){.page-heading:has(.purchase-identity){flex-wrap:wrap;align-items:flex-start}.page-heading:has(.purchase-identity)>div:first-child{flex:1 1 100%}.page-heading:has(.purchase-identity) .heading-actions{margin-left:auto}.purchase-avatar{width:45px;height:48px;border-radius:12px}.purchase-avatar .animal-emoji{font-size:28px}.purchase-identity{gap:10px}.purchase-title-text{font-size:1.4rem;line-height:1.35}.animal-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.history-symbol .animal-emoji{font-size:25px}}

.summary-single{grid-template-columns:1.45fr 1fr 1.2fr}.summary-balance{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-width:0}.summary-single .summary-balance{grid-template-columns:minmax(0,1fr)}.summary-exact strong{color:var(--lime);font-size:1rem}.summary-exact{justify-content:center;min-height:52px}
@media(max-width:850px){.summary,.summary-single{grid-template-columns:1fr 1fr}.summary-balance{grid-column:1 / -1}.summary-balance .summary-metric{border:0;padding-left:0}.summary-balance .summary-metric:last-child:not(:first-child){text-align:right}}
