/* Small colour accents; typography, dimensions and behaviour stay unchanged. */
:root{--club-accent:#526247;--club-accent-soft:#dce5d3;--club-accent-pale:#f0f4eb;--club-accent-line:#a7b798}
button.primary,.actions .primary,.personal-payment-actions .cash-pay{background:var(--club-accent);border-color:var(--club-accent);color:#fff}
#nav,.drink-modes{background:#e8ede1}
#nav button.active,.drink-modes button.active{background:var(--club-accent-soft);border-color:var(--club-accent-line);color:#26351f}
.selected,.account-balance,.booking-receipt,.cart-summary{background:#e7efdc}
.tag,.team-badge,.account-badge,.mj-kind{background:var(--club-accent-soft);color:#394c2e}
.complimentary-launch,.invite-new-person{background:#e2ead9;border-color:var(--club-accent-line);color:#394c2e}
.stat-card{border-top-color:#8c9a7e}.stat-card.stat-attention{border-top-color:#b18b4d}
.account-list>summary{background:var(--club-accent);border-color:var(--club-accent);color:white}
.account-list>summary #account-result-count{background:#e2ead9;color:#394c2e}
.account-card-actions .primary,.member-journal-team-buttons button[aria-pressed=true],.member-journal-panel .mj-actions .mj-primary{background:var(--club-accent);border-color:var(--club-accent);color:white}
.mj-filter button[aria-pressed=true]{background:var(--club-accent-soft);border-color:var(--club-accent-line);color:#26351f}
.account-permissions>summary,.account-collapsible>details>summary,.role-settings>summary,.mj-archive>summary{background:var(--club-accent-pale);color:#394c2e}
.team.shared-fridge{background:#f4f7f0}.shared-fridge-note{background:var(--club-accent-soft);color:#394c2e}
.fridge-view-switch button[aria-pressed=true]{background:var(--club-accent-soft);color:#26351f}
.summary-grid .metric,.metric-grid .metric{background:var(--club-accent-pale);border-color:#d8e1ce}
@media(hover:hover) and (pointer:fine){button.primary:hover,.account-card-actions .primary:hover,.member-journal-panel .mj-actions .mj-primary:hover{background:#3f4f36;border-color:#3f4f36;color:white}}


.member-meta{display:flex!important;align-items:center;gap:6px;flex-wrap:wrap;letter-spacing:0!important;font-size:11px!important;line-height:1.6}.person-activity{color:#6c7166;font-weight:500}.person-status-separator{color:#c2c9ba}.person-membership-badge{display:inline-block;padding:3px 8px;border-radius:12px;line-height:1.4;font-size:10px;font-weight:750;white-space:nowrap;letter-spacing:0}.badge-member{background:#e2edd8;color:#456239}.badge-guest{background:#f8ead1;color:#875d20}.badge-member-guest{background:#e9e5f5;color:#625080}.person-nickname{color:#6c7166}.team-membership-control{margin:15px 0;padding:12px 14px;border:1px solid #dce4d3;border-radius:13px;background:#f6f8f1}.team-membership-control>small{display:block;color:#6c7166;font-size:11px;letter-spacing:0;margin-bottom:9px}.team-membership-control button{font-size:12px;padding:10px 13px;min-height:40px;border-radius:10px;background:#e4ecd9;color:#456239;border-color:#c9d7bb}

.badge-pending{background:#fff0d1;color:#8a682a}

/* Logo spacing also works on older Safari without flex gap support. */
header>a{gap:0;align-items:center}
header>a>img,header .app-brand>img{display:block;flex-shrink:0;margin-right:16px}
header>a>span{display:block;min-width:0}
header .app-brand{display:flex;align-items:center;gap:0}
header>img{display:block;flex-shrink:0;margin-right:16px}
header{column-gap:0}

/* Compact single-purpose refrigerator tablet controls. */
html.kiosk-mode #nav,html.kiosk-mode .drink-modes{display:inline-flex;width:auto;max-width:100%;padding:5px;border-radius:14px}
html.kiosk-mode #nav button,html.kiosk-mode .drink-modes button{flex:0 0 auto;min-height:44px;padding:10px 20px}
html.kiosk-mode .search-dialog[open]{top:calc(var(--visible-top,0px) + 56px);width:420px;max-width:calc(100vw - 24px);max-height:calc(var(--visible-height,100vh) - 76px)}
html.kiosk-mode .search-results{max-height:220px}

#tablet-fridge-switch{display:block;margin:7px 0 0 auto;padding:7px 10px;min-height:32px;font-size:12px;line-height:1.2;border-radius:9px;background:#fff;color:#111;border:1px solid #ddd;letter-spacing:0}

.tablet-payment-results{max-height:260px;overflow:auto}.tablet-pay-quick,.tablet-pay-recipients{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tablet-pay-recipients button[aria-pressed=true]{background:#526247;color:#fff}.tablet-payment-dialog h2{padding-right:25px}.tablet-payment-dialog .dialog-close:disabled{visibility:hidden}

/* Larger touch keypad for the fixed refrigerator tablets, including old Safari. */
html.kiosk-mode .pin-dialog{width:420px;max-width:94vw;max-height:calc(100vh - 24px);padding:24px 22px 20px;overflow:hidden}
html.kiosk-mode .pin-dialog h2{font-size:23px;line-height:29px;padding:0 20px;margin:0 0 10px}
html.kiosk-mode .pin-dialog p{font-size:16px;line-height:22px;margin:10px 0}
html.kiosk-mode .pin-dialog .dialog-close{width:36px;height:36px;font-size:30px;top:8px;right:8px}
html.kiosk-mode .pin-dialog .pin-dots{margin:18px 0 14px;gap:16px}
html.kiosk-mode .pin-dialog .pin-dots span{width:16px;height:16px;margin:0 8px}
html.kiosk-mode .pin-dialog .pin-keys{gap:10px}
html.kiosk-mode .pin-dialog .pin-keys button{width:76px;height:76px;min-height:76px;font-size:32px;padding:0}
@media(max-height:600px){html.kiosk-mode .pin-dialog{padding:16px 20px}html.kiosk-mode .pin-dialog h2{font-size:20px;line-height:24px}html.kiosk-mode .pin-dialog p{font-size:14px;line-height:18px;margin:6px 0}html.kiosk-mode .pin-dialog .pin-dots{margin:10px 0}html.kiosk-mode .pin-dialog .pin-keys{gap:8px}html.kiosk-mode .pin-dialog .pin-keys button{width:62px;height:62px;min-height:62px;font-size:28px}}

.payment-review-alert{background:#fff4d5;border:2px solid #b48a38;border-radius:18px;padding:18px;margin:16px 0;color:#252014}.payment-review-alert h2{margin-top:0}.payment-review-alert button,.payment-review-alert .button{margin-top:10px}#pending-payment-banner{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}#payment-reports{scroll-margin-top:24px}

#history-navigation{display:flex;justify-content:center;margin:14px 0 24px}#history-navigation .history-navigation-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;width:280px;max-width:100%;padding:12px 24px;border:1px solid #d3d8cc;border-radius:15px;background:#edf0e9;color:#111;font-weight:750;font-size:17px}#history-navigation .history-navigation-button.active{background:#111;color:white;border-color:#111}.team-history-panel{padding:24px;border-radius:22px;background:white}.history-totals{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.history-totals>span{background:#edf0e9;padding:12px 16px;border-radius:12px;font-size:14px}.history-totals b{font-size:20px}.team-history-card h3 small{font-weight:500;color:#657365;font-size:14px}.history-actor{font-size:13px;color:#66705d;margin-bottom:0}.history-kind{border-radius:18px;padding:5px 10px;background:#edf0e9}.history-kind.history-free{background:#fff1cf;color:#755815}.history-archive{margin-top:22px;border:1px solid #dfe3d9;border-radius:18px;background:white}.history-archive>summary{padding:18px;font-weight:700;cursor:pointer}.history-archive .journal-panel{margin:0;border:0}.team-history-card{margin-top:14px}@media(max-width:540px){.team-history-panel{padding:18px}.team-history-card .journal-booking-meta{gap:8px}.team-history-card h3{overflow-wrap:anywhere}}

/* Roomier history heading, summary and entry layout. */
.team-history-panel{padding:26px}.team-history-panel>.journal-heading{margin-bottom:24px}.team-history-panel .journal-heading>.tag{display:inline-block;line-height:1.45;padding:8px 12px;margin:0 0 16px;border-radius:10px}.team-history-panel .journal-heading>h2{margin:0 0 12px;line-height:1.2}.team-history-panel .journal-heading>p{margin:0;line-height:1.65;font-size:14px}.team-history-panel .history-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 28px}.team-history-panel .history-totals>span{display:block;box-sizing:border-box;min-height:105px;padding:17px 16px;border-radius:15px;line-height:1.5;font-size:13px}.team-history-panel .history-totals b{display:block;margin-bottom:7px;font-size:28px;line-height:1.1}.team-history-list{display:grid;gap:18px}.team-history-list>.team-history-card{margin:0;padding:22px;border-radius:18px}.team-history-card .journal-booking-meta{margin-bottom:17px;gap:14px}.team-history-card>h3{margin:0 0 12px;line-height:1.4}.team-history-card .journal-booking-description{margin:0 0 18px;line-height:1.65}.team-history-card .history-actor{margin:0;padding-top:14px;border-top:1px solid #edf0e9;line-height:1.6}.team-history-card .journal-booking-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.team-history-card .journal-booking-actions button{min-height:46px;padding:12px 10px;font-size:14px}@media(max-width:540px){.team-history-panel{padding:22px 18px}.team-history-panel .history-totals{gap:12px}.team-history-panel .history-totals>span{padding:16px 13px}.team-history-list>.team-history-card{padding:20px 17px}.team-history-card .journal-booking-meta{gap:10px;font-size:12px}.team-history-card .journal-booking-meta time{font-size:11px}}

.history-person-membership{margin:0 0 12px}.history-person-membership .person-membership-badge{font-size:12px;padding:5px 10px}

.export-image-view{margin:0;border:1px solid #dce1d6;border-radius:16px;overflow:hidden;background:#f3f5ef}.export-image-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;background:white;flex-wrap:wrap}.export-image-toolbar>div{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.export-image-toolbar button{min-height:44px;min-width:44px;padding:8px 12px;border-radius:11px;margin:0;font-size:17px}.export-image-toolbar output{font-size:13px;min-width:48px;text-align:center;font-variant-numeric:tabular-nums}.export-image-hint{margin:0!important;padding:8px 14px!important;font-size:12px!important;color:#657365}.export-image-viewport{position:relative;height:65vh;min-height:280px;max-height:720px;overflow:hidden;background:#dfe3da;touch-action:none;overscroll-behavior:contain;cursor:grab}.export-image-viewport:active{cursor:grabbing}.export-image-viewport .export-zoom-image{position:absolute;top:0;left:0;display:block;max-width:none!important;max-height:none!important;transform-origin:0 0;user-select:none;-webkit-user-select:none;-webkit-user-drag:none;pointer-events:none}.export-image-viewport:focus-visible{outline:3px solid #526247;outline-offset:-3px}

.history-range-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:18px 0 22px}.history-range-buttons button{margin:0;padding:12px 8px;min-height:46px;font-size:14px;font-weight:700;border-radius:12px;background:#f1f3ed;border:1px solid #dce1d6;color:#526247}.history-range-buttons button[aria-pressed="true"]{background:#111;color:#fff;border-color:#111}.team-history-card .journal-booking-meta{flex-wrap:wrap;row-gap:8px}

.darts-quarter-panel .darts-quarter-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 20px;padding:0;background:none;color:inherit}.darts-quarter-eyebrow{display:block;font-size:11px;font-weight:800;letter-spacing:.13em;color:#657365;margin-bottom:7px}.darts-quarter-panel .darts-quarter-heading h2{margin:0;font-size:24px;line-height:1.25}.darts-quarter-period{display:inline-block;flex-shrink:0;background:#edf0e9;color:#526247;border-radius:10px;padding:8px 11px;font-size:12px;font-weight:750;white-space:nowrap}.darts-quarter-total{display:flex;flex-direction:column;gap:10px;background:#edf0e9;border:1px solid #dce3d3;border-radius:18px;padding:20px;margin-bottom:24px}.darts-quarter-total>span{font-size:14px;font-weight:650;color:#526247}.darts-quarter-total strong{font-size:32px;line-height:1.15;letter-spacing:-.025em;white-space:nowrap;font-variant-numeric:tabular-nums}.darts-quarter-total small{font-size:12px;color:#657365;line-height:1.5}.darts-quarter-subheading{font-size:15px!important;margin:0 0 8px!important}.darts-quarter-packages{display:grid;grid-template-columns:minmax(0,1fr);gap:0}.darts-quarter-package{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #e7eae1;min-width:0}.darts-quarter-package>div{min-width:0}.darts-quarter-package b,.darts-quarter-glasses b{display:block;font-size:14px;line-height:1.4}.darts-quarter-package small,.darts-quarter-glasses small{display:block;font-size:12px;color:#657365;margin-top:5px;line-height:1.4}.darts-package-count{display:block;flex-shrink:0;padding:9px 12px;min-width:44px;max-width:50%;text-align:center;background:#f3f5ef;border-radius:11px;font-size:21px;font-weight:800;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.darts-quarter-glasses{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:20px 0;padding:17px;background:#f3f5ef;border-radius:15px}.darts-quarter-glasses strong{font-size:29px;line-height:1.1;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.darts-quarter-explanation{border-top:1px solid #e7eae1;padding-top:16px}.darts-quarter-explanation summary{font-size:13px;font-weight:700;color:#526247;cursor:pointer;padding:6px 0}.darts-quarter-explanation .receipt-help{font-size:12px;line-height:1.7;margin:12px 0 0}.darts-quarter-pay{display:block;width:100%;margin-top:20px!important}@media(min-width:700px){.darts-quarter-packages{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:25px}.darts-quarter-panel .darts-quarter-heading h2{font-size:27px}}

/* Team-owned assortment and dated purchase */
.new-product-button{margin:0 0 24px;width:100%;min-height:48px}.custom-product-dialog{max-width:580px}.custom-product-dialog form{display:grid;gap:16px}.custom-product-dialog label{display:grid;gap:7px}.product-price-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.product-price-grid>*{min-width:0}.custom-product-dialog input,.custom-product-dialog select{width:100%;box-sizing:border-box}.product-photo-result{display:flex;align-items:center;gap:14px;color:#666;font-size:.9rem}.product-photo-result img{width:64px;height:90px;object-fit:contain}.darts-purchase>label{display:grid;gap:8px;margin:20px 0}.darts-purchase input[type=date]{max-width:280px;min-height:48px}.purchase-recent{display:flex;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid #e8e8e8}.purchase-recent b{white-space:nowrap}@media(max-width:400px){.product-price-grid{grid-template-columns:1fr}.purchase-recent{flex-direction:column;gap:6px}}

/* Clear cash-payment review for team cash leaders. */
.cash-payment-review{margin:24px 0 30px;display:grid;gap:16px}.cash-payment-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.cash-payment-heading h2{margin:0!important;min-width:0;font-size:24px}.cash-payment-heading>span{background:#e8edde;border-radius:16px;padding:6px 12px;white-space:nowrap;font-weight:700}.cash-payment-list{display:grid;gap:18px}.cash-payment-card{display:grid;gap:18px;padding:22px;border:1px solid #ddd;border-radius:20px;background:#fff;color:#171917}.cash-payment-badge{display:inline-block;background:#e8edde;border-radius:9px;padding:7px 11px;font-size:14px;font-weight:700}.cash-payment-title{display:flex;justify-content:space-between;gap:20px;align-items:center}.cash-payment-title h3{margin:0!important;font-size:20px;overflow-wrap:anywhere;min-width:0}.cash-payment-title>strong{font-size:26px;white-space:nowrap;font-variant-numeric:tabular-nums}.cash-payment-details{display:grid;gap:12px;margin:0}.cash-payment-details>div{display:flex;justify-content:space-between;gap:16px;align-items:baseline}.cash-payment-details dt{color:#62695c}.cash-payment-details dd{margin:0;text-align:right;font-weight:600}.cash-payment-confirm{width:100%;min-height:54px;margin:0!important;font-weight:700}.cash-payment-options{display:flex;gap:12px;flex-wrap:wrap}.cash-payment-options>button{flex:1;min-height:48px}.cash-payment-reject{color:#963e34}.cash-payment-help,.cash-payment-paypal{padding:16px;border:1px solid #dde1d6;border-radius:16px;background:#f4f6ef}.cash-payment-problem{margin:0!important;border:0!important;padding:0!important;background:transparent!important}.cash-payment-review details>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;font-weight:600;padding:6px 0;min-height:44px}.cash-payment-review details>summary::-webkit-details-marker{display:none}.cash-payment-review details>summary:after{content:'';width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);flex-shrink:0;margin:0 5px 4px 0}.cash-payment-review details[open]>summary:after{transform:rotate(225deg);margin-top:8px}.cash-payment-help ol{padding-left:24px;line-height:1.65}.cash-payment-review details p{margin:12px 0}.cash-payment-feedback{padding:18px 20px;border-radius:16px;background:#e7efdf;color:#244f29}.cash-payment-feedback p{margin:8px 0 0}.cash-payment-paypal .cash-payment-card{margin-top:16px}#pending-payment-banner{background:#e8edde;border:1px solid #d9dfd0;color:#171917}#pending-payment-banner button{margin:0}@media(max-width:420px){.cash-payment-card{padding:17px}.cash-payment-title{gap:12px;align-items:flex-start}.cash-payment-title>strong{font-size:23px}.cash-payment-details>div{flex-wrap:wrap;gap:4px 12px}.cash-payment-details dd{margin-left:auto;max-width:100%;overflow-wrap:anywhere}.cash-payment-options{flex-direction:column}}

#payment-reports{overflow-anchor:none}.cash-payment-card,.paypal-mail-review{scroll-margin-top:20px}

.payment-banner-actions{display:flex;flex-wrap:wrap;gap:10px}

.paypal-match-status{background:#f3f4ed;padding:16px;border-radius:12px}.paypal-match-status p{margin:8px 0 0!important}.paypal-match-details{border-top:1px solid #e1e3dc;padding-top:8px}.paypal-match-details dl{margin-top:14px}.paypal-match-details dd{overflow-wrap:anywhere;max-width:100%}.cash-payment-paypal .cash-payment-details>div{flex-wrap:wrap}

.person-app-badge{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:12px;font-size:10px;font-weight:700;line-height:1.4;white-space:nowrap;letter-spacing:0;vertical-align:middle}.person-app-badge svg{flex-shrink:0}.person-app-badge.app-registered{background:#dfedeb;color:#285d54}.person-app-badge.app-none{background:#f0f0ed;color:#72766c;font-weight:500}.person-app-badge.app-pending{background:#f8edcf;color:#78561c}.person-app-badge.app-blocked{background:#f8e3df;color:#963e34}

.member-data-body{padding:16px;display:grid;gap:12px}.member-data-body h3{font-size:17px;margin:14px 0 0}.member-data-body label{display:grid;gap:8px}.member-data-body form{display:grid;gap:12px}.member-data-body input{width:100%;min-width:0;box-sizing:border-box;font-size:16px}.member-email,.member-paypal-address{overflow-wrap:anywhere;margin:0}.member-email small,.member-paypal-address small{display:block;font-size:12px;color:#68705f;margin-top:5px}.member-paypal-address{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;background:#f1f4eb;border-radius:10px}.member-paypal-address>div{min-width:0}.member-data-check{display:flex!important;align-items:flex-start;font-size:13px;line-height:1.5}.member-data-check input{width:20px;height:20px;flex:0 0 20px;margin-top:2px}.member-pin-current{display:flex;gap:10px}.member-pin-current input{font-variant-numeric:tabular-nums;letter-spacing:5px}.member-pin-current button{flex-shrink:0}.member-data-success{background:#e8efdf;color:#335a31;padding:12px;border-radius:10px;margin:0}.member-data-body .negative{margin:0}@media(max-width:420px){.member-paypal-address{flex-wrap:wrap}.member-data-body{padding:12px}}

/* Compact member details: scoped to the staff popup, including inherited form spacing. */
.member-data .member-data-body{padding:12px;gap:8px;font-size:14px;line-height:1.4}
.member-data .member-data-body h3{font-size:14px;line-height:1.4;margin:10px 0 0}
.member-data .member-data-body h3:first-child{margin-top:0}
.member-data .member-data-body p{margin:0;line-height:1.45}
.member-data .member-data-body label{margin:0;gap:5px;font-size:13px}
.member-data .member-data-body form{gap:8px;margin:0;padding:10px 0 0}
.member-data .member-data-body input:not([type=checkbox]){padding:9px 10px;font-size:16px;min-height:44px}
.member-data .member-data-body button{padding:9px 12px;min-height:44px;font-size:13px;line-height:1.3}
.member-data .member-data-body small{letter-spacing:0;line-height:1.4;font-size:12px}
.member-data .member-data-body .negative:empty{display:none}
.member-data .member-data-edit{margin:0;padding:0;border:0;background:transparent;border-radius:0}
.member-data .member-data-edit>summary{padding:10px 12px;min-height:44px;font-size:13px;line-height:1.4;border:1px solid #dce3d6;border-radius:10px;background:#fff;font-weight:600;cursor:pointer}
.member-data .member-data-check{gap:8px;font-size:12px;line-height:1.4}
.member-data .member-pin-current{gap:8px;min-width:0}
.member-data .member-paypal-address{padding:8px;gap:8px}

/* Shared compact staff forms; keep readable inputs and 44px touch targets. */
dialog.cash-compact{width:min(460px,calc(100vw - 24px));padding:20px 16px 14px;font-size:14px;max-height:calc(100vh - 24px);max-height:calc(var(--visible-height,100dvh) - 24px);overflow-y:auto;overscroll-behavior:contain}
dialog.cash-compact h2{font-size:20px;line-height:1.25;margin:0 32px 10px 0;padding:0;overflow-wrap:anywhere}
dialog.cash-compact p{margin:8px 0;line-height:1.4;font-size:13px}
dialog.cash-compact label{font-size:13px;line-height:1.4;margin:8px 0 5px}
dialog.cash-compact input:not([type=checkbox]):not([type=radio]),dialog.cash-compact select{font-size:16px;padding:9px 10px;min-height:44px;width:100%;min-width:0;box-sizing:border-box}
dialog.cash-compact button:not(.dialog-close){min-height:44px;padding:9px 10px;font-size:13px;line-height:1.3}
dialog.cash-compact small{letter-spacing:0;font-size:12px;line-height:1.4}
dialog.cash-compact .negative:empty,dialog.cash-compact .nickname-status:empty{display:none}
dialog.cash-compact .account-state{margin:0 32px 6px 0}
dialog.cash-compact .account-balance{margin:8px 0;padding:10px 12px;font-size:16px}
dialog.cash-compact .member-push-status{margin:8px 0!important;padding:10px 12px!important;font-size:12px!important;line-height:1.4}
dialog.cash-compact .member-push-status small{font-size:11px}
dialog.cash-compact .nickname-form{margin:10px 0}
dialog.cash-compact .nickname-form>label{margin:0 0 5px}
dialog.cash-compact .nickname-form>small{font-size:11px}
dialog.cash-compact .team-membership-control{padding:10px 12px;margin:8px 0;display:flex;align-items:center;justify-content:space-between;gap:8px}
dialog.cash-compact .team-membership-control small{font-size:11px;max-width:60%}
dialog.cash-compact .account-pay>b{font-size:13px;margin:10px 0 6px}
dialog.cash-compact .quick-grid{gap:6px}
dialog.cash-compact .compact-profile-actions{margin:10px 0;gap:6px}
dialog.cash-compact .collapsed-group{margin:8px 0;border-radius:12px}
dialog.cash-compact .collapsed-group>summary{padding:11px 12px;min-height:44px;font-size:13px;line-height:1.4}
dialog.cash-compact .member-fridges-body,dialog.cash-compact .member-limit-body{padding:10px 12px}
dialog.cash-compact .receipt-help{font-size:12px;line-height:1.4;margin:0 0 8px}
dialog.cash-compact .fridge-access-options{gap:6px;margin:8px 0}
dialog.cash-compact .fridge-access-options label{margin:0;padding:8px;min-height:44px;font-size:12px;min-width:0}
dialog.cash-compact .member-limit-form{gap:8px}
dialog.cash-compact .member-limit-form label{margin:0;display:grid;gap:5px;font-size:12px}
dialog.cash-compact .member-limit-form .limit-unlimited{display:flex;min-height:44px;gap:8px}
dialog.cash-compact .account-bookings>.row{padding:10px 0;gap:5px;font-size:13px}
dialog.cash-compact.payment-dialog{width:min(380px,calc(100vw - 24px))}
dialog.cash-compact.payment-dialog .payment-balance{margin:6px 0 10px}
dialog.cash-compact.payment-dialog .payment-hint{font-size:12px;line-height:1.4;margin:8px 0}
dialog.cash-compact.opening-balance-dialog,dialog.cash-compact.person-create-dialog{width:min(420px,calc(100vw - 24px))}
dialog.cash-compact.opening-balance-dialog select,dialog.cash-compact.opening-balance-dialog input{display:block;margin-top:5px}
dialog.cash-compact.opening-balance-dialog form>.primary,dialog.cash-compact.person-create-dialog form>.primary{width:100%;margin-top:8px}
dialog.cash-compact.search-dialog{padding:0}
dialog.cash-compact.search-dialog .search-head{padding:16px 14px 10px}
dialog.cash-compact.search-dialog .search-results{padding:4px 14px 10px}
dialog.cash-compact.search-dialog .search-hit{padding:10px;min-height:48px}
@media(max-width:360px){dialog.cash-compact{padding:18px 12px 12px}dialog.cash-compact .compact-profile-actions button{font-size:12px}dialog.cash-compact .member-limit-form{grid-template-columns:minmax(0,1fr)}dialog.cash-compact .team-membership-control{flex-wrap:wrap}dialog.cash-compact .team-membership-control small{max-width:100%}}

dialog.cash-compact .member-profile-edit-body{padding:0 12px 10px}dialog.cash-compact.person-create-dialog>button:not(.dialog-close){width:100%;margin-top:8px}

/* Stock entry: one stable list and a compact live summary before saving. */
.stock-panel{padding:20px}.stock-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.stock-heading h2{font-size:23px;margin:0 0 4px}.stock-heading p{font-size:13px;margin:0;line-height:1.4}.stock-heading>button{font-size:13px;min-height:44px;padding:10px 12px}
.stock-mode-nav{display:flex;gap:6px;padding:5px;margin:16px 0 10px;background:#edf0e9;border-radius:13px}.stock-mode-nav button{flex:1;min-height:44px;padding:10px 12px;font-size:14px;font-weight:650;border-color:transparent;background:transparent}.stock-mode-nav button.active{background:white;border-color:#dce3d6;box-shadow:0 2px 6px #11111108}.stock-instruction{font-size:14px;line-height:1.45;margin:10px 0}.stock-help{font-size:13px;color:#58634f;margin:8px 0 14px}.stock-help summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:600}.stock-help ol{margin:0 0 10px;padding-left:22px;line-height:1.5}.stock-help li+li{margin-top:5px}
.stock-panel .stock-row{padding:12px 0;gap:10px}.stock-panel .darts-assortment-description{min-width:0}.stock-panel .darts-assortment-description b{font-size:15px;line-height:1.35;overflow-wrap:anywhere}.stock-panel .darts-assortment-description small{font-size:12px;letter-spacing:0;line-height:1.4}.stock-panel .stock-actions{gap:8px}.stock-panel .stock-actions input{font-size:16px;padding:10px;min-height:44px;width:112px;min-width:0}.stock-panel .stock-actions button{font-size:12px;padding:10px;min-height:44px}
.stock-save-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;box-shadow:0 3px 18px #11111112;border:1px solid #dce3d6;margin-top:12px}.stock-draft-summary{min-width:0}.stock-draft-summary b{display:block;font-size:14px;line-height:1.4}.stock-draft-summary small{display:block;margin-top:3px;font-size:12px;letter-spacing:0;line-height:1.35;color:#63705c}.stock-save-bar button{min-height:44px;font-size:14px;padding:10px 14px;flex-shrink:0}.stock-club-payment{margin-top:16px;font-size:13px}.stock-club-payment summary{min-height:44px;padding:10px 0;cursor:pointer;font-weight:600}.stock-club-payment p{font-size:13px;line-height:1.4}.stock-hidden-list>summary{font-size:14px}
@media(max-width:600px){.stock-panel{padding:16px}.stock-panel .stock-picture-row{grid-template-columns:48px minmax(0,1fr)}.stock-panel .darts-assortment-picture{width:48px;height:64px}.stock-panel .stock-actions{grid-column:2;justify-content:flex-start;display:flex;flex-wrap:wrap}.stock-save-bar{flex-wrap:wrap;bottom:8px}.stock-save-bar button{width:100%}.stock-mode-nav button{font-size:13px;padding:10px 8px}}

.stock-panel .darts-assortment-picture{width:48px;height:64px}.stock-panel .stock-picture-row{min-height:0;grid-template-columns:48px minmax(0,1fr) auto}@media(max-width:600px){.stock-panel .stock-picture-row{grid-template-columns:48px minmax(0,1fr)}}

.stock-product-photo{width:52px;height:82px;display:flex;align-items:center;justify-content:center;background:#fff;grid-row:1/3}.stock-product-photo>img{position:static!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;transform:none!important}.stock-photo-empty{font-size:10px;color:#6c7166;text-align:center}.stock-row-confirmed{display:block;margin-top:5px;color:#347a31;font-weight:650}.stock-hidden-hint{font-size:12px!important;color:#6c7166;margin:14px 0!important}.stock-panel .stock-actions [data-save-stock]{font-size:13px;font-weight:650;background:#e7efdc}.stock-panel .stock-actions [data-save-stock]:disabled{background:#f5f6f2}.stock-visibility-dialog{max-width:440px}.stock-visibility-dialog input{display:block;margin-top:6px}.stock-visibility-dialog form>button{width:100%}.stock-visibility-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-top:1px solid #e4e9df;font-size:13px}.stock-visibility-item span{min-width:0;overflow-wrap:anywhere}.stock-visibility-item button{flex-shrink:0}
.stock-panel .stock-picture-row{grid-template-columns:52px minmax(0,1fr) auto}@media(max-width:600px){.stock-panel .stock-picture-row{grid-template-columns:52px minmax(0,1fr)}.stock-panel .stock-actions input{width:92px}.stock-panel .stock-actions [data-save-stock]{padding:10px 8px}}

.stock-photo-frame{display:block;position:relative;width:52px;height:82px;overflow:hidden}.stock-photo-frame img{position:absolute;max-width:none;max-height:none;object-fit:fill}

.stock-panel .stock-save-bar{position:static;bottom:auto}

/* PayPal worklist: one clear reason and a deliberate checked confirmation. */
.cash-payment-paypal .paypal-review-intro{font-size:13px;line-height:1.45;margin:8px 0 14px}.cash-payment-paypal .paypal-payment-card{gap:8px;padding:18px;border-radius:16px}.paypal-payment-card .paypal-review-badge{justify-self:start;background:#fff5df;color:#79591c;font-size:12px;padding:5px 9px}.paypal-payment-card .cash-payment-title h3{font-size:21px}.paypal-payment-card .cash-payment-title strong{font-size:25px}.cash-payment-paypal .paypal-reported-date{font-size:12px;color:#61695b;margin:0!important;line-height:1.4}.paypal-review-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:20px;margin-top:8px}.paypal-payment-card .paypal-match-status{background:#fff5df;color:#79591c;padding:12px 14px;font-size:13px}.paypal-payment-card .paypal-match-status p{font-size:13px;line-height:1.45;margin-top:5px!important}.paypal-payment-card .paypal-match-details{border-top:0;margin-top:8px;padding:0}.paypal-payment-card .paypal-match-details summary{font-size:13px;line-height:1.4}.paypal-payment-card .cash-payment-details{gap:10px;margin:0 0 10px}.paypal-payment-card .cash-payment-details>div{display:block}.paypal-payment-card .cash-payment-details dt{font-size:12px}.paypal-payment-card .cash-payment-details dd{text-align:left;margin:2px 0 0;font-size:13px}.paypal-payment-card .paypal-view-member{font-size:13px;padding:10px 12px;min-height:44px;margin-top:8px}.paypal-review-actions{display:flex;flex-direction:column;gap:8px}.paypal-review-actions>b{font-size:14px}.cash-payment-paypal .paypal-review-actions p{font-size:13px;color:#61695b;line-height:1.4;margin:0}.paypal-review-actions button{min-height:44px;font-size:13px;padding:10px 12px}.paypal-review-actions>.primary{font-weight:650}.paypal-verified-check{display:flex;align-items:flex-start;gap:10px;padding:8px 0;margin:0;font-size:13px;line-height:1.4;cursor:pointer}.paypal-verified-check input{flex:0 0 20px;width:20px;height:20px;margin:1px 0 0;accent-color:#526247}.paypal-review-problem summary{font-size:13px;line-height:1.4}.paypal-review-problem button{width:100%;margin-top:8px}.paypal-payment-card .paypal-review-no-credit{font-size:13px;line-height:1.4;color:#61695b;margin:4px 0!important}.paypal-recent-confirmed{margin-top:16px;border-top:1px solid #dfe5d8;padding-top:5px}.cash-payment-paypal .paypal-recent-confirmed>p{font-size:12px;line-height:1.4;margin:6px 0 10px}.paypal-confirmed-row{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #dfe5d8;font-size:13px}.paypal-confirmed-row>div{min-width:0;overflow-wrap:anywhere}.paypal-confirmed-row small{display:block;font-size:12px;letter-spacing:0;color:#61695b;margin-top:3px}.paypal-confirmed-row>strong{white-space:nowrap;font-variant-numeric:tabular-nums}
@media(max-width:650px){.paypal-review-grid{grid-template-columns:minmax(0,1fr);gap:16px}.cash-payment-paypal .paypal-payment-card{padding:14px}.cash-payment-paypal{padding:10px}.paypal-payment-card .cash-payment-title{gap:10px}.paypal-payment-card .cash-payment-title h3{font-size:20px}.paypal-payment-card .cash-payment-title strong{font-size:23px}}

/* Compact team reports retain the ledger calculations and all detailed sections. */
.compact-report-panel{padding:20px}.compact-report-heading{margin-bottom:16px}.compact-report-heading h2{font-size:24px;margin:0 0 5px;line-height:1.25}.compact-report-heading p{font-size:13px;color:#62695d;margin:0;line-height:1.4}.report-main-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}.report-main-metric{padding:15px;display:flex;flex-direction:column;align-items:flex-start;text-align:left;border:1px solid #dfe5d8;border-radius:14px;background:#fff;min-width:0;gap:4px;font:inherit}.report-main-metric>span{font-size:13px;color:#62695d}.report-main-metric>strong{font-size:27px;font-variant-numeric:tabular-nums;line-height:1.25;max-width:100%;overflow-wrap:anywhere}.report-main-metric>small{font-size:12px;color:#62695d;letter-spacing:0;line-height:1.4}.report-main-metric.report-debt>strong{color:#a33328}.report-main-metric.report-credit>strong{color:#347a31}.report-export-actions{margin:12px 0}.report-export-actions>button{width:100%;min-height:44px;font-size:14px;font-weight:650;padding:11px 14px}.report-fold{border-top:1px solid #dfe5d8;margin-top:10px;padding-top:3px}.report-fold>summary,.report-counts>summary{font-size:14px;font-weight:650;min-height:44px;padding:10px 0;line-height:1.4;cursor:pointer}.report-fold-content{padding:4px 0 10px}.report-value-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #edf0e9;font-size:13px;line-height:1.4}.report-value-row>b{font-variant-numeric:tabular-nums;text-align:right;flex-shrink:0}.report-note{font-size:12px;color:#62695d;margin:10px 0 0;line-height:1.45}.report-count-row{padding:10px 0;border-top:1px solid #edf0e9;font-size:13px}.report-count-row>small{display:block;font-size:12px;color:#62695d;letter-spacing:0;margin:3px 0}.report-count-row>p{font-size:13px;margin:5px 0;line-height:1.4}.report-fold-content>.report-panel,.report-fold-content>.membership-review{padding:12px;margin:0;border-radius:12px}.report-fold-content>.report-panel>h2{display:none}.report-fold-content .stats-grid{gap:8px;margin:8px 0}.report-fold-content .stat-card{padding:12px;min-height:0;margin:0}.report-fold-content .metric{font-size:22px;margin-top:8px}.report-fold-content .stat-card small{letter-spacing:0;font-size:12px}.report-fold-content>.report-panel>p{font-size:13px;line-height:1.45}.report-accounts-panel{padding:14px;border:1px solid #dfe5d8;border-radius:13px;margin:10px 0;background:#f5f7f1}.report-accounts-panel h3{font-size:16px;margin:0 0 8px}.report-accounts-panel h4{font-size:13px;margin:12px 0 5px;color:#62695d}.report-person-row{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:56px;text-align:left;padding:10px 0;border:0;border-top:1px solid #dfe5d8;border-radius:0;background:transparent;font-size:13px}.report-person-row>span{min-width:0;overflow-wrap:anywhere}.report-person-row small{display:block;letter-spacing:0;font-size:11px;color:#62695d;margin-top:3px;line-height:1.4}.report-person-row>strong{text-align:right;font-size:14px;font-variant-numeric:tabular-nums;flex-shrink:0;line-height:1.4}.report-guest-export{min-height:44px;padding:10px 12px;font-size:13px;margin-top:10px}.report-accounts-panel[hidden]{display:none}
.compact-team-history{padding:20px}.compact-team-history .journal-heading{margin-bottom:12px}.compact-team-history .journal-heading h2{font-size:24px;line-height:1.25;margin:0 0 5px}.compact-team-history .journal-heading>p{font-size:13px;line-height:1.4;margin:0}.compact-team-history .history-range-buttons{margin:14px 0 0;gap:6px}.compact-team-history .history-range-buttons button{min-height:44px;font-size:13px;padding:10px 12px}.compact-team-history .compact-history-summary{font-size:13px;color:#62695d;line-height:1.4;margin:0 0 12px}.compact-team-history .team-history-list{gap:10px}.compact-team-history .team-history-card{padding:16px;border:1px solid #dfe5d8;border-radius:14px;box-shadow:none;margin:0}.compact-team-history .journal-booking-meta{font-size:12px;margin:0 0 8px;line-height:1.4}.compact-team-history .history-kind{font-size:11px;padding:4px 8px}.compact-team-history .compact-history-person{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:7px}.compact-team-history .compact-history-person h3{font-size:17px;margin:0;line-height:1.3}.compact-team-history .compact-history-person h3 small{font-size:12px;letter-spacing:0}.compact-team-history .history-person-membership{margin:0}.compact-team-history .journal-booking-description{font-size:14px;line-height:1.4;margin:4px 0}.compact-team-history .history-actor{font-size:12px;margin:8px 0 0;line-height:1.4}.compact-team-history .journal-booking-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 0}.compact-team-history .journal-booking-actions button{font-size:13px;padding:10px;min-height:44px}.history-archive>summary{font-size:14px!important;min-height:44px}.outstanding-dialog .outstanding-back{margin-bottom:10px}
@media(max-width:600px){.compact-report-panel,.compact-team-history{padding:16px}.compact-report-heading h2,.compact-team-history .journal-heading h2{font-size:22px}.report-main-metric{padding:12px}.report-main-metric>strong{font-size:clamp(18px,5.6vw,25px)}.report-value-row{flex-wrap:wrap;gap:4px 10px}.report-value-row>b{margin-left:auto;max-width:100%;overflow-wrap:anywhere}.report-person-row{flex-wrap:wrap;gap:6px}.report-person-row>strong{margin-left:auto}.report-fold-content .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-fold-content .metric{font-size:20px}}

.staff-help-link{text-align:right;margin:2px 0 8px;font-size:13px}.staff-help-link a{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;border:1px solid #dfe5d8;border-radius:10px;background:#fff;color:#394c2e;text-decoration:none}.staff-help-link a:focus-visible{outline:2px solid #526247;outline-offset:3px}
.stock-expected{display:block;margin-top:7px;color:#394c2e;font-size:13px;line-height:1.4}.stock-expected b{font-size:inherit}
/* Explicit purpose classification for the shared PayPal team accounts. */
.paypal-purpose-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.paypal-purpose-choices button{min-width:0;min-height:46px;padding:10px 8px;font-size:13px;line-height:1.3;overflow-wrap:anywhere}.paypal-purpose-person{display:grid;gap:8px}.paypal-purpose-person[hidden]{display:none}.paypal-purpose-person .search-launch{margin:0;font-size:14px;min-height:46px}.paypal-purpose-credited{padding:12px 14px;background:#f7f1e5;border-radius:12px;color:#73582e;font-size:13px;line-height:1.5;margin:0}.paypal-purpose-person-dialog{width:420px;max-width:94vw;max-height:76dvh;overflow:auto}.paypal-purpose-person-dialog h2{font-size:20px;padding-right:26px}.paypal-purpose-person-dialog input{width:100%}.paypal-purpose-search-results{max-height:320px;overflow:auto;margin-top:14px}.paypal-purpose-search-results button{width:100%}.paypal-purpose-history{margin-top:14px}.paypal-purpose-action{min-height:46px}@media(max-width:400px){.paypal-purpose-choices{grid-template-columns:1fr}.paypal-purpose-choices button{min-height:44px}.paypal-purpose-person-dialog{padding:18px}}

/* Separate all-time non-beverage PayPal totals; entries remain readable on phones. */
.paypal-purpose-totals{margin-top:22px}.paypal-purpose-totals-heading{margin-bottom:16px}.paypal-purpose-totals-heading h3{margin:0 0 8px;font-size:22px;line-height:1.25}.paypal-purpose-totals-heading p{margin:0;color:#697164;font-size:14px}.paypal-purpose-totals-heading>span{display:inline-block;margin-top:12px;padding:6px 10px;border-radius:7px;background:#e9eee2;color:#4d5c40;font-size:12px;font-weight:700}.paypal-purpose-totals-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.paypal-purpose-total-group{min-width:0;margin:0;background:#fff;border:1px solid #e0e4d9;border-radius:20px;overflow:hidden}.paypal-purpose-total-group>summary{display:block;cursor:pointer;list-style:none;padding:20px;min-height:44px;background:#fff}.paypal-purpose-total-group>summary::-webkit-details-marker{display:none}.paypal-purpose-total-group>summary::before,.paypal-purpose-total-group>summary::after{display:none}.paypal-purpose-total-title{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:700}.paypal-purpose-total-symbol{width:32px;height:32px;flex-shrink:0;display:inline-grid;place-items:center;border-radius:10px;background:#f6ead6;color:#806137}.paypal-purpose-total-group[data-purpose-history=team_contribution] .paypal-purpose-total-symbol{background:#e6eddd;color:#526641}.paypal-purpose-total-chevron{margin-left:auto;font-size:15px;color:#5e6856}.paypal-purpose-total-group:not([open]) .paypal-purpose-total-chevron{transform:rotate(-90deg)}.paypal-purpose-total-amount{display:block;margin:12px 0 2px;font-size:32px;letter-spacing:-1px;line-height:1.3}.paypal-purpose-total-count{font-size:12px;color:#68725f;font-weight:400}.paypal-purpose-total-entries{border-top:1px solid #e7eae1;padding:0 18px}.paypal-purpose-total-entry{padding:15px 0;border-bottom:1px solid #e8ebe2}.paypal-purpose-total-entry:last-child{border-bottom:0}.paypal-purpose-total-entry>div{display:flex;justify-content:space-between;align-items:baseline;gap:10px}.paypal-purpose-total-entry b{font-size:14px;overflow-wrap:anywhere}.paypal-purpose-total-entry strong{font-size:16px;white-space:nowrap}.paypal-purpose-total-entry time{display:block;font-size:12px;color:#697164;margin-top:5px}.paypal-purpose-total-entry small{display:block;font-size:11px;color:#7c8375;margin-top:3px;overflow-wrap:anywhere}@media(max-width:650px){.paypal-purpose-totals-grid{grid-template-columns:1fr}.paypal-purpose-total-group>summary{padding:18px}.paypal-purpose-totals-heading h3{font-size:21px}}

.paypal-purpose-entry-tools{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.paypal-purpose-entry-tools>button{font-size:12px;min-height:44px;padding:9px 12px;border-radius:10px}.paypal-purpose-correction-history{width:100%;font-size:12px;margin:0}.paypal-purpose-correction-history>summary{padding:10px;min-height:44px}.paypal-purpose-correction-history p{margin:10px;font-size:12px}.paypal-purpose-correction-history small{display:block;margin-top:4px}.paypal-purpose-correction-dialog{width:460px;max-width:94vw;max-height:88dvh;overflow:auto;padding:22px}.paypal-purpose-correction-dialog h2{font-size:21px;margin:0 30px 16px 0}.paypal-correction-payment{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;background:#edf0e7;padding:14px;border-radius:12px;margin-bottom:16px}.paypal-correction-payment b{overflow-wrap:anywhere}.paypal-correction-payment small{grid-column:1/-1;color:#65705a;font-size:12px}.paypal-purpose-correction-dialog article{display:grid;gap:14px}.paypal-purpose-correction-dialog>label{display:grid;gap:7px;font-size:13px;margin-top:14px}.paypal-purpose-correction-dialog>label[hidden]{display:none}.paypal-purpose-correction-dialog input{width:100%;min-height:44px}.paypal-purpose-correction-dialog label small{font-size:11px;color:#697164}.paypal-correction-effect{padding:12px;background:#f4f5f0;border-radius:10px;font-size:13px;line-height:1.5}.paypal-correction-actions{display:grid;grid-template-columns:1fr 1.4fr;gap:10px;margin-top:18px}.paypal-correction-actions button{min-height:46px;font-size:13px;padding:10px}.paypal-correction-error{color:#a3372d;font-size:13px}@media(max-width:400px){.paypal-purpose-correction-dialog{padding:18px}.paypal-correction-actions{grid-template-columns:1fr}.paypal-correction-actions .primary{grid-row:1}}

/* Isolate these nested summaries from the general flex summary in payment review. */
.cash-payment-review .paypal-purpose-total-group>summary{display:block!important;min-width:0;padding:18px!important;gap:0!important;overflow:visible;list-style:none}.cash-payment-review .paypal-purpose-total-group>summary:after{display:none!important}.paypal-purpose-total-title{display:grid;grid-template-columns:28px minmax(0,1fr) 10px;gap:9px;align-items:center;font-size:16px}.paypal-purpose-total-title .paypal-purpose-total-symbol{width:28px;height:28px}.paypal-purpose-category-name{min-width:0;overflow-wrap:normal;hyphens:auto;line-height:1.35}.paypal-purpose-total-amount{margin-top:12px!important;font-size:29px;white-space:nowrap}.paypal-purpose-total-count{display:block;margin-top:5px;line-height:1.4}.paypal-purpose-totals-grid{grid-template-columns:1fr}.paypal-purpose-total-entry small{letter-spacing:0}.paypal-purpose-total-entries>p{font-size:13px;line-height:1.45}.paypal-part-label{color:#526247!important;font-weight:600}.paypal-purpose-entry-tools{display:grid;grid-template-columns:1fr;gap:7px}.paypal-purpose-entry-tools>button{width:100%;font-size:12px;min-height:44px}.paypal-purpose-choices{gap:8px}.paypal-purpose-choices button{overflow-wrap:normal;word-break:normal;hyphens:manual;min-height:46px}.cash-payment-paypal .paypal-payment-card{min-width:0}.paypal-payment-card .cash-payment-title{flex-wrap:wrap;gap:6px 12px}.paypal-payment-card .cash-payment-title h3{font-size:20px;flex:1 1 180px;line-height:1.3;overflow-wrap:normal}.paypal-payment-card .cash-payment-title strong{font-size:24px}.paypal-payment-card .paypal-match-status{background:#f4f5f0;color:#526247;padding:10px 12px}.paypal-payment-card .paypal-match-status>b{font-size:13px}.paypal-split-launch{width:100%;min-height:44px;padding:10px 12px;font-size:13px;font-weight:650;border:1px solid #b9c5aa;background:#edf1e6;border-radius:11px;color:#394b2c;margin:3px 0}.paypal-allocation-dialog{width:460px;max-width:94vw;max-height:88dvh;overflow:auto;box-sizing:border-box;padding:22px}.paypal-allocation-dialog h2{font-size:22px;line-height:1.25;margin:0 30px 16px 0}.paypal-allocation-payment{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding:14px;background:#edf0e7;border-radius:12px}.paypal-allocation-payment>b{font-size:15px;line-height:1.35;overflow-wrap:anywhere}.paypal-allocation-payment>strong{font-size:20px;white-space:nowrap}.paypal-allocation-payment>small{grid-column:1/-1;font-size:11px;letter-spacing:0;color:#65705a}.paypal-allocation-intro{font-size:13px;margin:16px 0 10px}.paypal-allocation-fields{display:grid;gap:10px}.paypal-allocation-fields>label{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:12px;align-items:center;margin:0;font-size:14px;line-height:1.3}.paypal-allocation-input{display:flex;align-items:center;gap:7px}.paypal-allocation-input input{width:100%;min-width:0;min-height:44px;padding:10px;font-size:16px;text-align:right;margin:0}.paypal-allocation-input>span{font-size:14px;color:#697164}.paypal-allocation-sum{padding:11px 12px;background:#fff4dc;color:#7e5b18;border-radius:10px;font-size:13px;margin:16px 0 12px}.paypal-allocation-sum.is-complete{background:#e8f0df;color:#36552b}.paypal-allocation-effect{font-size:12px;line-height:1.45;margin:12px 0;color:#5d6754}.paypal-allocation-pin,.paypal-allocation-reason{display:grid;gap:6px;font-size:12px;margin-top:12px}.paypal-allocation-reason small{font-size:11px;color:#65705a}.paypal-allocation-pin[hidden]{display:none}.paypal-allocation-pin input,.paypal-allocation-reason input{width:100%;min-height:44px;font-size:14px}.paypal-allocation-error{font-size:13px;color:#a33328}.paypal-allocation-dialog .paypal-verified-check{font-size:12px}.paypal-allocation-dialog article{padding:0;border:0;background:none}.payment-review-overview.payment-review-alert{background:#fff;border:1px solid #dce2d5;border-radius:20px;padding:20px!important}.payment-review-overview h2{font-size:22px;margin:0 0 8px!important}.payment-review-overview>p{font-size:13px;line-height:1.5;color:#63705b;margin:0 0 16px!important}.payment-review-team-list{display:grid;gap:9px}.payment-review-team-link{display:grid;grid-template-columns:minmax(0,1fr) auto 10px;gap:12px;align-items:center;text-decoration:none;color:#192015;background:#f1f4ec;border:1px solid #dce3d3;border-radius:12px;min-height:54px;padding:12px 14px;font-size:15px;font-weight:650}.payment-review-team-link>b{white-space:nowrap;border-radius:20px;padding:5px 10px;background:#e1e9d5;color:#526247;font-size:12px}.payment-review-team-link>span:last-child{font-size:23px;font-weight:400;color:#6b775f}@media(max-width:650px){.paypal-purpose-choices{grid-template-columns:1fr!important}.cash-payment-review .cash-payment-paypal{padding:12px}.cash-payment-paypal .paypal-payment-card{padding:14px}.paypal-allocation-dialog{padding:18px}.paypal-purpose-total-amount{font-size:28px}.paypal-purpose-total-title{font-size:15px}.paypal-purpose-totals-heading h3{font-size:20px}.payment-review-overview.payment-review-alert{padding:18px!important}.paypal-allocation-fields>label{font-size:13px;grid-template-columns:minmax(0,1fr) 112px}}@media(min-width:1100px){.paypal-purpose-totals-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.paypal-purpose-entry-tools{grid-template-columns:1fr 1fr}.payment-review-team-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Approved staff workflow: focused member actions, amount suggestions and compact allocations. */
dialog.cash-compact .account-pay{margin:14px 0 16px}
dialog.cash-compact .member-more-body{padding:0 10px 8px}
dialog.cash-compact .member-more .collapsed-group{background:#fafbf7;border:1px solid #dfe5d7}
dialog.cash-compact .member-danger{background:#fff8f4;border-color:#ead9d1;color:#934a3c}
dialog.cash-compact .member-danger>.compact-profile-actions{padding:0 10px;margin:0 0 10px}
dialog.cash-compact .member-danger button{background:#fff;color:#9b4438}
dialog.payment-redesign{width:min(430px,calc(100vw - 24px))}
dialog.payment-redesign .payment-recipient{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px;background:#edf1e7;border-radius:12px;font-size:13px;margin-bottom:12px}
.payment-recipient>b{min-width:0;overflow-wrap:anywhere}.payment-recipient>span{white-space:nowrap}
dialog.payment-redesign .payment-method-buttons,.payment-amount-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:9px 0 14px}
dialog.payment-redesign .payment-method-buttons{grid-template-columns:repeat(2,minmax(0,1fr));padding:4px;background:#eef1e9;border-radius:12px}
dialog.payment-redesign .payment-method-buttons button{border-color:transparent;background:transparent}
dialog.payment-redesign button[aria-pressed=true]{border-color:#7c8c6d;background:#e4ebd9;font-weight:700}
dialog.payment-redesign .payment-prompt{font-weight:650;margin-top:14px}
dialog.payment-redesign .payment-amount-field{display:flex;align-items:center;border:1px solid #cbd4c2;border-radius:12px;padding-right:12px;gap:8px}
dialog.payment-redesign .payment-amount-field input{border:0;background:transparent;font-size:25px;font-weight:650;padding:11px 12px;box-shadow:none}
dialog.payment-redesign .payment-amount-field>span{font-size:22px;color:#617054}
dialog.payment-redesign .payment-result{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px;background:#edf2e7;border-radius:12px;margin:12px 0;font-size:12px}
dialog.payment-redesign .payment-result strong{font-size:18px;text-align:right;line-height:1.35}
dialog.payment-redesign .payment-save-footer{position:sticky;bottom:-14px;background:#fff;padding:10px 0 0;display:flex;flex-direction:column;gap:5px;z-index:1}
dialog.payment-redesign .payment-save-footer button{width:100%}
dialog.payment-redesign [data-cancel-payment]{border:0;background:transparent;color:#616e55}
.paypal-allocation-dialog{max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);padding:18px;overscroll-behavior:contain}
.allocation-mode-buttons{display:flex;gap:4px;border-radius:12px;padding:4px;background:#edf1e7;margin:12px 0}.allocation-mode-buttons button{flex:1;min-height:44px;font-size:13px;font-weight:650;background:transparent;border-color:transparent;padding:8px}.allocation-mode-buttons button[aria-pressed=true]{background:#fff;box-shadow:0 2px 7px #0001;border-radius:10px}
.paypal-allocation-fields>[data-part-row][hidden],.allocation-whole[hidden],.allocation-split[hidden],.allocation-add[hidden],.allocation-add [hidden]{display:none!important}
.paypal-allocation-fields{gap:8px}.paypal-allocation-fields>[data-part-row]{padding:8px 0;border-bottom:1px solid #edf0e8;grid-template-columns:minmax(0,1fr) 100px}
.paypal-allocation-fields input{min-height:44px;font-size:16px}
.paypal-allocation-dialog .paypal-allocation-intro{margin:12px 0 4px;font-size:13px;font-weight:650}
.allocation-add,.allocation-note{border:1px solid #e1e7d9;background:#f5f7f0;border-radius:11px;margin:9px 0}
.allocation-add>summary,.allocation-note>summary{padding:11px 12px;min-height:44px;font-size:12px;line-height:1.4;font-weight:650;cursor:pointer}
.allocation-add>div,.allocation-whole>div{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:0 9px 9px}.allocation-whole>div{padding:0}
.allocation-whole button,.allocation-add button{min-height:44px;font-size:12px;overflow-wrap:normal;word-break:normal;padding:8px;border-radius:10px}
.allocation-whole button[aria-pressed=true]{background:#e4ecd8;border-color:#8d9e7d;font-weight:650}
.allocation-note .paypal-allocation-reason{padding:0 10px 10px;margin:0}
.paypal-allocation-dialog .paypal-allocation-sum{margin:12px 0 9px;font-size:12px}
.paypal-allocation-dialog .paypal-allocation-effect{margin:9px 0;font-size:12px}
.paypal-allocation-dialog .allocation-save-footer{position:sticky;bottom:-18px;background:#fff;display:flex;flex-direction:column-reverse;gap:5px;margin:6px 0 -4px;padding:10px 0 4px;z-index:2;box-shadow:0 -5px 10px #fff}
.paypal-allocation-dialog .allocation-save-footer button{width:100%;min-height:44px;font-size:13px;padding:10px}
.paypal-allocation-dialog .allocation-save-footer [data-cancel]{border:0;background:transparent;color:#65705a;min-height:32px;padding:5px}
@media(max-width:360px){dialog.payment-redesign .payment-recipient{align-items:flex-start;flex-direction:column;gap:6px}dialog.payment-redesign .payment-result{align-items:flex-start;flex-direction:column;gap:5px}.paypal-allocation-dialog .paypal-allocation-payment{padding:10px;gap:5px}.paypal-allocation-dialog .paypal-allocation-payment>strong{font-size:18px}}
/* Approved compact cash worklist, combined history and per-team role editor. */
.payment-work-heading h2{font-size:24px;margin:0 0 8px}.payment-work-heading p{font-size:13px;color:#68755e;margin:0 0 14px}.payment-work-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:22px}.payment-work-stats button{text-align:left;border:1px solid #dae3ce;border-radius:14px;background:#e9efdf;padding:14px;min-width:0}.payment-work-stats strong{display:block;font-size:29px}.payment-work-stats span{display:block;font-size:13px;font-weight:650;margin:5px 0}.payment-work-stats small{display:block;font-size:11px;letter-spacing:0;color:#69765e}.cash-work-card .cash-review-summary>small{font-size:11px;letter-spacing:0;color:#707c66}.cash-work-card .cash-review-summary>p{font-size:12px;line-height:1.4;margin:10px 0}.cash-summary-actions{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:12px}.cash-summary-actions .cash-payment-badge{font-size:10px;background:#fff3db;color:#886321;padding:6px 8px;border-radius:16px}.cash-summary-actions button{min-height:44px;font-size:13px;padding:10px 14px}.cash-payment-review .cash-work-card{display:block;padding:15px;margin:9px 0}.cash-review-detail[hidden],.cash-review-summary[hidden]{display:none!important}.cash-review-detail .cash-payment-confirm{width:100%;margin-top:12px}.cash-review-close{width:100%;margin-top:8px}.cash-work-card .cash-payment-title{gap:10px}.cash-work-card .cash-payment-title h3{font-size:17px}.cash-work-card .cash-payment-title strong{font-size:21px}.cash-payment-review .cash-payment-heading h2{font-size:18px}.cash-payment-review .cash-payment-heading{margin-top:15px}
.history-search-label{display:block;font-size:12px;font-weight:600;margin:15px 0 10px}.history-search-label input{display:block;width:100%;font-size:16px;min-height:46px;margin-top:6px;border-radius:12px}.history-kind-filters{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}.history-kind-filters button{min-height:42px;font-size:12px;padding:9px 12px;border-radius:22px;background:#fff;border:1px solid #dfe5d6}.history-kind-filters button[aria-pressed=true]{background:#536047;color:#fff;border-color:#536047}.history-timeline-entry .history-payment{background:#e3eedb;color:#3a6632}.history-timeline-entry .history-correction{background:#f2e5d6;color:#85603b}.history-entry-details{border-radius:11px;background:#f4f6ee;border:1px solid #e2e7d9;margin-top:10px}.history-entry-details>summary{font-size:12px;min-height:44px;padding:11px 12px}.history-entry-details>p{font-size:12px;padding:0 12px}.history-entry-details .journal-booking-actions{padding:0 10px 10px}.history-entry-details>button{margin:0 10px 10px;font-size:12px;min-height:44px}.history-timeline-entry .history-actor{font-size:12px}.compact-team-history .compact-history-summary{font-size:12px;line-height:1.5}.compact-team-history #history-result-count{font-size:11px;margin-bottom:12px}
.account-device-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0 16px}.account-device-summary>div{background:#edf2e6;border-radius:12px;padding:11px;min-width:0}.account-device-summary b{font-size:12px;line-height:1.4;display:block}.account-device-summary small{font-size:11px!important;margin-top:5px;letter-spacing:0;overflow-wrap:anywhere}.team-role-editor{margin:8px 0 14px}.team-role-editor .global-role-label{font-size:12px;margin:0 0 14px}.team-role-editor [data-global-role]{font-size:14px;min-height:44px;margin-top:6px}.team-role-selections>h3{font-size:16px;margin:15px 0 5px}.team-role-selections>.muted{font-size:12px;line-height:1.4}.team-role-list{border:1px solid #dfe5d7;border-radius:13px;overflow:hidden}.team-role-list .team-role-row{margin:0;padding:12px;display:grid;grid-template-columns:minmax(0,1fr) 120px;align-items:center;gap:10px;border-bottom:1px solid #e6ebde;background:#fff}.team-role-row:last-child{border-bottom:0}.team-role-row>span{min-width:0}.team-role-row b{font-size:14px;line-height:1.3;display:block}.team-role-row small{font-size:10px!important;letter-spacing:0;line-height:1.4}.team-role-row select{width:100%;font-size:14px;min-height:44px;margin:0;padding:8px;background:#f2f6e9;border:1px solid #cbd6bf;border-radius:10px}.team-role-more{border:1px solid #dfe6d5;border-radius:12px;overflow:hidden}.team-role-more>summary{font-size:12px;min-height:44px;padding:12px}.team-role-more>.team-role-list{border:0;border-top:1px solid #dfe5d7;border-radius:0}.team-role-effect,.team-role-super-note{font-size:12px!important;line-height:1.45;padding:12px;background:#edf2e3;border-radius:11px}.team-role-selections[hidden],.team-role-super-note[hidden]{display:none!important}.account-permissions-body .account-card-actions{position:sticky;bottom:0;background:#fff;padding:10px 0 4px;z-index:1}.team-role-editor+ .muted{font-size:11px!important}
@media(max-width:360px){.team-role-list .team-role-row{grid-template-columns:minmax(0,1fr) 105px;gap:7px;padding:10px}.team-role-row b{font-size:13px}.cash-summary-actions .cash-payment-badge{max-width:150px;white-space:normal}.payment-work-stats button{padding:11px}}
@media(min-width:1000px){#history-timeline{display:grid;grid-template-columns:1fr 1fr;gap:12px}#history-timeline .history-timeline-entry{margin:0}.team-role-list .team-role-row{grid-template-columns:minmax(0,1fr) 180px}.cash-payment-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}.cash-payment-list .cash-work-card{margin:0}}

.cash-payment-review{gap:10px}.cash-payment-review>.muted{margin:0;font-size:12px;line-height:1.4}.cash-payment-review .payment-work-stats{margin-bottom:2px}.cash-payment-review .payment-work-member{margin:0;min-height:44px;font-size:13px}.cash-payment-review .cash-payment-list{gap:10px}.cash-payment-review .cash-work-card{margin:0}.cash-payment-review .cash-payment-heading{margin-top:10px}.history-kind-filters{gap:5px}.history-kind-filters button{font-size:11px;padding:8px 9px}.per-team-account .account-card-actions{display:flex;flex-direction:column;gap:7px}.per-team-account .account-card-actions>button{width:100%;min-height:44px}.per-team-account .account-card-actions>.danger{font-size:12px;background:#fff9f6}

/* Approved saldo preview and invitation review, November 2026. */
.opening-sign-buttons,.invite-step-actions{display:flex;gap:8px}.opening-sign-buttons button,.invite-step-actions button{flex:1;min-width:0;min-height:44px}.opening-sign-buttons [aria-pressed="true"]{background:#536047;color:#fff;border-color:#536047}.opening-preview{background:#edf0e8;padding:14px;border-radius:14px;margin:14px 0}.opening-preview h3{font-size:15px;margin:0 0 10px}.opening-preview>div{display:flex;justify-content:space-between;align-items:start;gap:12px;padding:7px 0;border-bottom:1px solid #dce1d6;font-size:12px}.opening-preview>div b{text-align:right}.opening-preview>small{display:block;font-size:12px;line-height:1.4;margin-top:9px}.opening-preview>strong{display:block;font-size:22px;margin:6px 0}.opening-balance-dialog .muted{font-size:12px;line-height:1.4}.opening-balance-dialog form>[type=submit]{width:100%}.opening-balance-dialog select[hidden]{display:none!important}
.invite-steps{display:flex;gap:6px;margin:14px 0 20px}.invite-steps span{flex:1;min-width:0;padding:10px 4px;border-radius:10px;text-align:center;background:#eef1e9;font-size:12px}.invite-steps .current{background:#536047;color:#fff}.invite-step-actions{margin:16px 0}.invite-review{background:#edf0e8;border-radius:14px;padding:16px;margin:12px 0}.invite-review-identity{margin-bottom:18px}.invite-review-identity>b,.invite-review-identity>small{display:block;overflow-wrap:anywhere}.invite-review-identity>span{display:inline-block;background:#e4ecd8;border-radius:15px;padding:6px 9px;font-size:12px;margin-top:8px}.invite-review h3{font-size:16px;margin:0 0 8px}.invite-review-team{display:flex;gap:12px;justify-content:space-between;padding:10px 0;border-bottom:1px solid #dce1d6}.invite-review small{display:block;line-height:1.45;font-size:12px}.invite-review button{margin-top:14px;width:100%}#invitation-form>[type=submit]{width:100%}#invitation-form [data-invite-step][hidden],#invitation-form button[hidden]{display:none!important}@media(min-width:700px){#invitation-form{max-width:650px}}@media(max-width:350px){.opening-sign-buttons button{font-size:12px;padding:10px 7px}.opening-preview{padding:12px}.opening-preview>div{font-size:11px}}

/* Registration: make the required person selection unmistakable. */
.registration-person-results{border:2px solid #899674;border-radius:16px;padding:12px;background:#edf2e4;margin:12px 0 18px}.registration-pick-help{margin:0 0 10px!important;color:#27351e}.registration-pick-help strong{display:block;font-size:15px}.registration-pick-help span{display:block;font-size:12px;line-height:1.4;margin-top:4px}.registration-person-results .registration-person-option{display:flex!important;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:60px!important;text-align:left;background:#fff;border:1px solid #aab798!important;border-radius:12px;padding:13px!important;box-shadow:0 2px 5px #26351f0b}.registration-person-option>span:first-child{min-width:0;overflow-wrap:anywhere}.registration-person-option b{display:block;font-size:16px}.registration-person-option small{display:block}.registration-person-option .registration-pick-action{flex:none;background:#536047;color:#fff;font-size:12px;font-weight:700;padding:9px 11px;border-radius:9px}.registration-person-option:focus-visible{outline:3px solid #536047;outline-offset:3px}#selected-person .selected-person{padding:12px 14px;border:1px solid #aab798;background:#e7efdb;border-radius:12px;color:#27351e;font-weight:700}@media(max-width:350px){.registration-person-option .registration-pick-action{padding:9px 7px;font-size:11px}.registration-person-results{padding:9px}.registration-person-option b{font-size:15px}}

/* Approved registration name-search guide. */
.registration-identity-guide{background:#edf2e4;border:2px solid #899674;border-radius:16px;padding:16px;margin:20px 0}.registration-identity-guide h2{font-size:22px;margin:0 0 12px;color:#1e2918}.registration-identity-guide .search-steps{display:grid;grid-template-columns:1fr;gap:9px;margin-bottom:16px}.registration-identity-guide .search-steps>div{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:bold}.registration-identity-guide .step-number{flex:none;width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#dde5d2;color:#344329}.registration-identity-guide .current .step-number{background:#536047;color:#fff}.registration-identity-guide label{font-size:13px}.registration-identity-guide input{background:#fff!important;border:2px solid #899674!important;min-height:52px!important;font-size:16px!important}.registration-identity-guide .registration-person-results{border:0;background:none;padding:0;margin:14px 0 0}.registration-identity-guide .registration-pick-help>span{display:none}.registration-identity-guide .registration-pick-help strong{font-size:13px}.registration-identity-guide #selected-person .selected-person{margin-bottom:0}@media(min-width:700px){.registration-identity-guide{max-width:650px}.registration-identity-guide .search-steps{grid-template-columns:1fr 1fr}}

/* Super-admin entry for incoming Kühlhaus deliveries. */
.purchase-import-link{display:flex;align-items:center;justify-content:center;min-height:48px;padding:12px 18px;border-radius:14px;text-decoration:none;margin:0 0 20px;box-sizing:border-box;text-align:center;font-weight:700}

.product-appearance-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #e6e9e1}.product-appearance-row>div{min-width:0}.product-appearance-row small{display:block;color:#66705f;margin-top:4px}.product-appearance-row button{flex-shrink:0}.custom-product-dialog{max-height:85vh;overflow:auto}.custom-product-dialog input[type=file]{font-size:14px;padding:10px}.product-photo-result img{width:100px;height:100px;object-fit:contain}.product-category{display:inline-block;background:#edf0e9;border-radius:8px;padding:2px 8px;color:#526247}@media(max-width:420px){.product-appearance-row{align-items:flex-start;flex-direction:column}.product-appearance-row button{width:100%}}

.darts-stock-navigation{display:flex;gap:10px;margin:0 0 20px;flex-wrap:wrap}.darts-stock-navigation button{flex:1;min-width:110px;min-height:44px}.darts-purchase h3{font-size:17px;margin:22px 0 8px}.darts-purchase .stock-row{gap:12px;align-items:center}.darts-purchase .stock-row>span{min-width:0;overflow-wrap:anywhere}.darts-purchase input[data-package]{flex:0 0 90px;max-width:90px}

/* Compact Darts purchasing: isolated from inventory and member forms. */
.darts-purchase{background:#fff;border:0;padding:0;margin:0}.darts-purchase .purchase-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 22px}.darts-purchase .purchase-kicker{font-size:11px;letter-spacing:1px;font-weight:700;color:#737e68}.darts-purchase .purchase-heading h2{font-size:25px;line-height:1.2;margin:5px 0 0}.darts-purchase .purchase-date{display:flex;flex-direction:column;gap:5px;margin:0;font-size:12px;color:#626b5b}.darts-purchase .purchase-date input{width:165px;max-width:165px;min-height:42px;margin:0;border:1px solid #e1e5dc;border-radius:10px;background:#f7f8f5;padding:9px 10px;font-size:14px;color:#252c1f}.darts-purchase .purchase-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}.darts-purchase .purchase-group+.purchase-group{margin-top:22px}.darts-purchase .purchase-group h3{font-size:12px;letter-spacing:.6px;text-transform:uppercase;color:#647056;margin:0 0 9px}.darts-purchase .purchase-products{border:1px solid #e3e7dd;border-radius:13px;overflow:hidden}.darts-purchase .purchase-product{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 13px;background:#fff}.darts-purchase .purchase-product+.purchase-product{border-top:1px solid #edf0e8}.darts-purchase .purchase-description{min-width:0}.darts-purchase .purchase-description strong{display:block;font-size:14px;line-height:1.3}.darts-purchase .purchase-description small{display:block;font-size:11px;line-height:1.4;letter-spacing:0;color:#75806b;margin-top:4px}.darts-purchase .purchase-stepper{display:flex;flex:0 0 auto;align-items:center;border:1px solid #dfe5d7;border-radius:10px;background:#f7f9f3;padding:2px}.darts-purchase .purchase-stepper button{height:44px;width:35px;min-height:44px;padding:0;margin:0;border:0;background:transparent;font-size:22px;color:#536245;box-shadow:none}.darts-purchase .purchase-stepper input[data-package]{height:44px;width:32px;max-width:32px;min-width:0;flex:none;margin:0;border:0;text-align:center;padding:0;background:transparent;font-size:16px;font-weight:700;appearance:textfield}.purchase-stepper input::-webkit-inner-spin-button{appearance:none}.darts-purchase .purchase-more{margin-top:18px;padding:0;background:#f7f8f4;border:1px solid #e7eadf;border-radius:11px;font-size:13px;color:#5d6851}.darts-purchase .purchase-more>summary{padding:12px 14px;min-height:44px;font-size:13px}.darts-purchase .purchase-more>.purchase-group{margin:14px}.darts-purchase .purchase-checkout{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#edf2e3;border:1px solid #e0e7d5;border-radius:14px;padding:16px 18px;margin-top:22px}.darts-purchase .purchase-checkout small{display:block;font-size:11px;letter-spacing:0;color:#637153}.darts-purchase .purchase-checkout strong{display:block;font-size:24px;white-space:nowrap;margin-top:2px}.darts-purchase .purchase-checkout button{min-height:48px;margin:0;padding:13px 22px;border-radius:11px;font-size:14px;font-weight:700}.darts-purchase .purchase-note{font-size:11px;color:#78816e;margin:10px 2px 0}
@media(max-width:760px){.darts-purchase .purchase-grid{display:block}.darts-purchase .purchase-grid>div+div{margin-top:18px}.darts-purchase .purchase-heading{gap:12px;margin-bottom:19px}.darts-purchase .purchase-heading h2{font-size:22px}.darts-purchase .purchase-date{font-size:10px}.darts-purchase .purchase-date input{font-size:13px;width:141px;max-width:141px;min-height:40px}.darts-purchase .purchase-product{padding:12px 10px;gap:9px}.darts-purchase .purchase-description strong{font-size:13px}.darts-purchase .purchase-description small{font-size:10px}.darts-purchase .purchase-checkout{padding:13px 12px;gap:12px;margin-top:18px}.darts-purchase .purchase-checkout strong{font-size:23px}.darts-purchase .purchase-checkout button{font-size:12px;padding:12px 15px}.darts-purchase .purchase-note{font-size:10px}}

.paypal-beneficiaries{border:0;padding:0;margin:14px 0;min-width:0}.paypal-beneficiaries legend{font-weight:700;margin-bottom:8px}.paypal-beneficiary{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #e1e5da;border-radius:12px;margin:8px 0;background:#f5f7f1}.paypal-beneficiary input,.paypal-credit-confirm input{flex:0 0 20px;width:20px;height:20px;margin:0}.paypal-beneficiary span{min-width:0;overflow-wrap:anywhere}.paypal-beneficiary small{display:block;font-size:12px;color:#65715b;margin-top:3px}.paypal-credit-confirm{display:flex;align-items:center;gap:10px}.paypal-verified-credit [data-credit-receipt]{width:100%;min-height:46px}.paypal-verified-credit [data-credit-search] button{display:block;width:100%;text-align:left;margin:6px 0}.paypal-verified-credit .cash-payment-title{flex-wrap:wrap}

/* Inventory: counted reality, reconstructed comparison and financial result. */
.stock-row-confirmed{line-height:1.5!important;margin-top:8px!important}.stock-expected span{font-size:.85em;font-weight:400}.inventory-result-panel{margin:18px 0;padding:18px;border:1px solid #dce2d8;border-radius:18px;background:#f1f4ed;display:grid;gap:8px}.inventory-result-panel>strong{font-size:1.7rem}.inventory-result-panel small{color:#65705f;line-height:1.5}.inventory-count-title{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.inventory-count-title>b{min-width:0;overflow-wrap:anywhere}.inventory-count-title>strong{white-space:nowrap}.inventory-count-values{display:flex;flex-wrap:wrap;gap:12px;margin:10px 0}.inventory-count-values span{background:#eef2e9;padding:8px 10px;border-radius:10px}.report-count-row>small{display:block;line-height:1.5;margin-top:5px}.report-count-row{padding:14px 0!important}.stock-picture-row .darts-assortment-description{min-width:0}

.team-sale-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0}.team-sale-choices button{min-width:0;white-space:normal;padding:12px 6px;font-size:14px}.team-sale-info{background:#edf1e6;padding:16px;border-radius:12px;margin:14px 0;font-size:14px;line-height:1.5}.team-sale-dialog{width:560px;max-width:94vw;max-height:88vh;overflow:auto;padding:22px;border-radius:20px;box-sizing:border-box}.team-sale-dialog h2{padding-right:28px}.team-sale-dialog label{display:block;font-size:14px;margin:14px 0}.team-sale-dialog input,.team-sale-dialog select{min-width:0;max-width:100%;box-sizing:border-box}.team-sale-dialog label>input:not([type=checkbox]),.team-sale-dialog label>select{width:100%;margin-top:6px}.team-sale-dialog [hidden]{display:none!important}.team-sale-product{display:grid;grid-template-columns:minmax(0,1fr) 38px 25px 38px;align-items:center;gap:5px;margin:10px 0}.team-sale-product select{width:100%;padding:10px 5px;font-size:13px}.team-sale-product button{padding:8px 2px}.team-sale-product output{text-align:center;font-weight:bold}.team-sale-sum{background:#edf1e6;padding:12px;border-radius:10px;font-size:14px}.team-sale-check{display:flex!important;align-items:flex-start;gap:10px;line-height:1.5}.team-sale-check input{width:22px;height:22px;flex-shrink:0}.team-sale-actions{display:grid;gap:10px;grid-template-columns:1fr 1fr}.team-sale-actions button{white-space:normal;font-size:14px}.team-sale-history{margin:18px 0;padding:16px;background:#f2f4ed;border-radius:14px}.team-sale-history summary{cursor:pointer;font-weight:bold}.team-sale-record{padding:14px;background:white;border:1px solid #e3e7df;border-radius:12px;margin-top:12px}.team-sale-record p{font-size:13px}@media(max-width:400px){.team-sale-dialog{padding:16px}.team-sale-actions{grid-template-columns:1fr}}

/* Product wizard and read-only purchase overview. */
.product-wizard{width:min(580px,calc(100vw - 24px));max-height:85vh;box-sizing:border-box;padding:22px}.product-wizard [hidden]{display:none!important}.product-wizard h2{padding-right:34px;margin:4px 0 8px}.product-wizard-intro{font-size:13px;margin:8px 0}.product-wizard form{display:block;margin:0}.product-wizard-pane{display:grid;gap:12px}.product-wizard-pane>label{margin:0;font-size:14px}.product-wizard input,.product-wizard select{font-size:16px;padding:11px;min-height:44px}.product-wizard .product-price-grid{gap:12px}.product-wizard .product-price-grid label{margin:0;font-size:14px}.product-wizard-steps{display:flex;justify-content:space-between;gap:8px;border-bottom:1px solid #dee3d6;padding:12px 0;margin:0 0 16px;font-size:12px;color:#68715e}.product-wizard-steps .is-current{color:#111;font-weight:800}.product-wizard-mini,.product-wizard-calculation{background:#edf1e6;border-radius:12px;padding:12px}.product-wizard-mini{display:grid;gap:6px}.product-wizard-mini small,.product-wizard-calculation small{font-size:12px;color:#68715e;line-height:1.4}.product-wizard-mini button{padding:0;border:0;min-height:32px;justify-self:start;background:transparent;text-decoration:underline;font-size:13px}.product-wizard-calculation>div{display:flex;justify-content:space-between;gap:10px;padding:8px 0;font-size:14px}.product-wizard-margin{border-top:1px solid #d9e0ce;color:#496338}.product-wizard-nav{display:flex;gap:10px;margin-top:16px}.product-wizard-nav button{flex:1;min-width:0;min-height:44px;padding:11px 12px;font-size:14px}.product-wizard-review h3{margin:0}.product-wizard-review>p{font-size:14px;line-height:1.5;margin:0}.product-wizard-review dl{margin:0;background:#edf1e6;border-radius:12px;padding:12px}.product-wizard-review dl>div{display:flex;justify-content:space-between;gap:14px;padding:8px 0;font-size:14px}.product-wizard-review dd{margin:0;font-weight:700}.product-wizard-review>img{height:90px;width:100px;object-fit:contain;justify-self:center}.product-wizard .receipt-help{margin:0;font-size:12px}.product-wizard .product-photo-result:empty{display:none}
.recent-purchases-body{padding:16px}.purchase-list-heading{display:flex;justify-content:space-between;align-items:start;gap:12px}.purchase-list-heading small{font-size:11px;letter-spacing:.06em;color:#68715e}.purchase-list-heading h3{margin:8px 0 16px;font-size:20px}.purchase-list-heading>span{font-size:12px;background:#edf1e6;border-radius:20px;padding:6px 10px;white-space:nowrap}.purchase-list-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}.purchase-list-filters button{flex:1;min-width:110px;min-height:44px;padding:10px;font-size:14px}.purchase-list-filters button[aria-pressed=true]{background:#526247;color:white}.purchase-list-total{display:grid;gap:8px;background:#edf1e6;padding:14px;border-radius:14px;margin-bottom:14px}.purchase-list-total>strong{font-size:28px}.purchase-list-total>small{font-size:12px;line-height:1.4;color:#68715e}.purchase-list-card{background:#fff;border:1px solid #dfe4d8;border-radius:14px;padding:14px;margin-top:12px}.purchase-list-card>div{display:flex;justify-content:space-between;align-items:start;gap:12px}.purchase-list-card h4{margin:0;font-size:16px}.purchase-list-card>div>strong{white-space:nowrap;font-size:18px}.purchase-list-card>p{font-size:14px;margin:10px 0}.purchase-list-card>small{font-size:12px;color:#68715e;display:block;overflow-wrap:anywhere}.purchase-list-card details{margin:12px 0 0}.purchase-list-card details summary{font-size:13px;background:#f1f4eb;padding:10px;border-radius:9px}.purchase-list-card details p{font-size:13px}.purchase-list-more{width:100%;margin-top:14px}
@media(max-width:540px){.product-wizard{padding:18px}.product-wizard .product-price-grid{grid-template-columns:1fr 1fr;gap:8px}.product-wizard-steps{font-size:11px;gap:5px}.recent-purchases-body{padding:12px}.purchase-list-card>div{flex-wrap:wrap}.purchase-list-card>div>strong{margin-left:auto}.purchase-list-filters button{min-width:90px;font-size:13px}}@media(max-width:340px){.product-wizard .product-price-grid{grid-template-columns:1fr}}

.product-wizard-quantity{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:8px}.product-wizard-quantity input{text-align:center;min-width:0}.product-wizard-quantity button{font-size:20px;padding:8px;min-height:44px}

.product-wizard-margin.negative{color:#a3332b}

.complimentary-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px}.complimentary-metrics>div{display:grid;align-content:start;gap:10px;min-width:0;background:#edf1e6;border-radius:14px;padding:16px}.complimentary-metrics small{font-size:13px;color:#68715e}.complimentary-metrics strong{font-size:25px}.complimentary-metrics span{font-size:12px;line-height:1.4;color:#65705b}.complimentary-note{font-size:13px;line-height:1.5;margin:16px 0}.complimentary-report>details>summary{font-size:14px;font-weight:700;background:#f1f4eb;border-radius:10px;padding:12px}.complimentary-entry{border:1px solid #dfe4d7;border-radius:14px;padding:14px;margin-top:12px}.complimentary-entry>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:12px;color:#68715e}.complimentary-entry>div>span{background:#edf1e6;border-radius:16px;padding:4px 9px}.complimentary-entry h3{font-size:16px;margin:12px 0 8px}.complimentary-entry p{font-size:14px;margin:8px 0}.complimentary-entry>small{font-size:12px;color:#68715e}.complimentary-footnote{font-size:12px;color:#68715e;line-height:1.5;margin-bottom:0}@media(max-width:540px){.complimentary-metrics{gap:8px}.complimentary-metrics>div{padding:12px}.complimentary-metrics strong{font-size:21px}}

/* Compact crate exchange and settlement; scoped to these dialogs. */
dialog.crate-compact{box-sizing:border-box;width:min(580px,calc(100vw - 24px));max-height:88vh;padding:22px;overflow:auto;border-radius:20px}.crate-compact h2{margin:8px 28px 12px 0}.crate-compact h3{font-size:14px;margin:14px 0 8px}.crate-compact>small{font-size:11px;color:#66715e}.crate-compact>p{font-size:12px;line-height:1.5}.crate-summary{display:grid;gap:10px;background:#edf1e6;border-radius:12px;padding:14px;font-size:14px}.crate-summary progress{width:100%;height:8px}.crate-drink-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px}.crate-drink-choices button{display:flex;align-items:center;gap:8px;min-width:0;padding:8px;text-align:left;background:white}.crate-drink-choices b{font-size:12px;overflow-wrap:anywhere}.crate-drink-choices small{display:block;font-size:10px;color:#66715e}.crate-thumb{width:28px;height:48px;overflow:hidden;flex-shrink:0;position:relative}.crate-thumb>.bottle-stage{position:absolute;left:50%;top:0;transform:translateX(-50%) scale(.26);transform-origin:top center;width:110px;height:180px;display:block}.crate-to{max-height:205px;overflow:auto;margin-top:8px;grid-template-columns:repeat(3,minmax(0,1fr))}.crate-to button{flex-direction:column;text-align:center}.crate-compact button[aria-pressed="true"]{border:2px solid #526247;background:#edf1e6}.crate-compact input[type="search"]{min-height:38px;font-size:14px;margin:0;padding:9px}.crate-quantity{display:grid;grid-template-columns:44px 1fr 44px;gap:8px;text-align:center;align-items:center}.crate-quantity button{font-size:20px;padding:8px}.crate-quantity output{font-size:20px;font-weight:700}.crate-calculation{background:#f1f4eb;border-radius:12px;padding:12px;margin:14px 0}.crate-calculation>div{display:flex;justify-content:space-between;gap:12px;font-size:13px;padding:6px 0}.crate-calculation b,.crate-calculation strong{text-align:right}.crate-calculation small{display:block;font-size:11px;line-height:1.45;color:#66715e;margin-top:8px}.crate-compact button[type="submit"],.crate-cancel{width:100%;min-height:44px;font-size:14px;padding:11px}.crate-cancel{margin-top:8px}.crate-options button{display:flex;justify-content:space-between;gap:12px;text-align:left;width:100%;padding:14px;margin:8px 0}.crate-options b{font-size:14px}.crate-options strong{font-size:21px;white-space:nowrap}.crate-options small{display:block;font-size:12px;line-height:1.4;margin-top:6px;color:#66715e}@media(max-width:540px){dialog.crate-compact{padding:16px}.crate-compact h2{font-size:21px}.crate-calculation>div{font-size:12px}}

.transfer-item{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid #e3e6df;font-size:14px}.transfer-item b{white-space:nowrap}

.sponsor-entry{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px;background:#edf1e6;border-radius:16px;margin-bottom:18px}.sponsor-entry small{display:block;margin-top:6px;font-size:12px}.sponsor-dialog{box-sizing:border-box;width:min(640px,calc(100vw - 24px));max-height:88vh;overflow:auto;padding:22px}.sponsor-dialog h2{padding-right:25px;margin:8px 0 12px}.sponsor-dialog p{font-size:13px;line-height:1.5}.sponsor-dialog small{font-size:11px;display:block;line-height:1.5;color:#65705e}.sponsor-dialog h3{font-size:15px;margin:20px 0 10px}.sponsor-metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.sponsor-metrics>div{padding:12px;background:#edf1e6;border-radius:12px;display:grid;gap:8px;min-width:0}.sponsor-metrics strong{font-size:20px}.sponsor-full{width:100%;min-height:44px}.sponsor-products{max-height:290px;overflow:auto;margin:12px 0}.sponsor-products>label{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #e2e6dc;padding:8px 0;font-size:13px}.sponsor-stepper{display:flex;align-items:center;flex-shrink:0;gap:5px}.sponsor-stepper button{padding:6px;width:34px;min-height:36px;font-size:18px}.sponsor-stepper input{width:42px;min-height:36px;padding:5px;text-align:center;margin:0;font-size:14px}.sponsor-log{padding:10px 0;border-bottom:1px solid #e2e6dc;font-size:12px}.sponsor-log b{display:block;margin-top:5px}.sponsor-funding article{padding:12px 0;border-bottom:1px solid #ddd}.sponsor-funding button{margin-top:8px;font-size:13px}@media(max-width:540px){.sponsor-entry{align-items:stretch;flex-direction:column}.sponsor-dialog{padding:16px}.sponsor-metrics strong{font-size:18px}}

.sponsor-dialog small,.sponsor-report small{letter-spacing:normal}.sponsor-open-crate>small,.sponsor-open-crate>form,.sponsor-open-crate>.sponsor-log,.sponsor-funding>p,.sponsor-funding>article{margin-left:12px;margin-right:12px}.sponsor-products button{min-height:40px;width:38px}.sponsor-products input{min-height:40px}
/* Approved correction preview and paged image export, scoped to these dialogs. */
dialog.receipt-preview-dialog,dialog.export-paged-dialog{box-sizing:border-box;width:min(660px,calc(100vw - 24px));max-height:90vh;overflow:auto;padding:22px;border-radius:20px}.receipt-preview-dialog h2,.export-paged-dialog h2{font-size:22px;line-height:1.25;margin:8px 28px 14px 0}.receipt-preview-dialog small,.export-paged-dialog small{letter-spacing:normal;font-size:12px;line-height:1.45;color:#65705e}.receipt-preview-dialog .receipt-person-box{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;background:#f5f6f2;padding:12px;border-radius:12px;font-size:14px}.receipt-person-box>span>small,.receipt-person-box>span>b{display:block}.receipt-preview-dialog [hidden]{display:none!important}.receipt-person-box>label{width:100%}.receipt-person-box>button{padding:7px 10px;min-height:36px;font-size:12px}.receipt-preview-dialog .receipt-items{margin-top:8px}.receipt-preview-dialog .receipt-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;margin:0;border-bottom:1px solid #e5e7e0}.receipt-preview-dialog .receipt-sort{min-width:0}.receipt-sort>b,.receipt-sort>small{display:block}.receipt-sort>b{font-size:14px;overflow-wrap:anywhere}.receipt-sort>small{font-size:11px;margin-top:4px}.receipt-sort>[data-sort-change]{display:block;border:0;background:transparent;color:#526247;font-size:11px;padding:4px 0;min-height:28px}.receipt-sort select{width:100%;font-size:13px;min-height:38px}.receipt-preview-dialog .receipt-quantity{display:flex;align-items:center;gap:5px;flex-shrink:0}.receipt-preview-dialog .receipt-quantity button{width:38px;min-height:40px;padding:7px;font-size:18px}.receipt-preview-dialog .receipt-quantity input{width:42px;min-height:40px;padding:5px;margin:0;text-align:center;font-weight:700;font-size:14px}.receipt-totals,.export-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;background:#edf1e6;padding:14px;border-radius:12px;margin:12px 0}.receipt-totals strong,.export-summary strong{display:block;font-size:22px;margin-top:5px;overflow-wrap:anywhere}.receipt-difference{padding:13px;border-radius:12px;background:#e6efd9;font-size:13px;line-height:1.5;margin:12px 0}.receipt-difference>small{display:block;margin-top:8px;color:inherit}.receipt-preview-dialog .receipt-help{font-size:12px;line-height:1.5;margin:10px 0}.receipt-preview-dialog .receipt-actions{display:grid;grid-template-columns:1fr;gap:8px}.receipt-preview-dialog .receipt-actions button{width:100%;min-height:44px;font-size:14px;padding:11px}.receipt-preview-dialog [role=status]:empty{display:none}.export-group-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.export-group-tabs button{min-height:44px;padding:10px;font-size:14px}.export-group-tabs button[aria-pressed=true]{background:#526247;color:white}.export-zero-label{display:flex;align-items:center;gap:8px;font-size:12px;margin:10px 0}.export-zero-label input{width:18px;min-height:18px;margin:0}.export-paged-dialog .export-status,.export-paged-dialog .export-note{font-size:12px;line-height:1.5;margin:10px 0}.export-page-nav{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:12px 0;font-size:14px}.export-page-nav button{min-height:40px;padding:8px 12px;font-size:13px}.export-paged-dialog .export-image-viewport{height:235px;max-height:235px}.export-paged-dialog .export-image-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;padding:8px;font-size:12px}.export-paged-dialog .export-image-toolbar button{min-height:34px;padding:5px 9px;font-size:12px}.export-paged-dialog .export-image-hint{font-size:11px;margin:5px 8px}.export-paged-dialog .export-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.export-paged-dialog .export-actions a,.export-paged-dialog .export-actions button{min-height:44px;padding:11px;font-size:14px;text-align:center;text-decoration:none}.export-paged-dialog .export-actions>:only-child{grid-column:1/-1}@media(max-width:540px){dialog.receipt-preview-dialog,dialog.export-paged-dialog{padding:18px}.receipt-preview-dialog h2,.export-paged-dialog h2{font-size:21px}.export-paged-dialog .export-image-viewport{height:200px;max-height:200px}.receipt-preview-dialog .receipt-item{gap:8px}.receipt-preview-dialog .receipt-quantity{gap:4px}.receipt-preview-dialog .receipt-quantity button{width:34px}.receipt-preview-dialog .receipt-quantity input{width:36px}}
/* Approved team transfer and payment journal previews. */
dialog.team-transfer-dialog,dialog.journal-payment-dialog{box-sizing:border-box;width:min(590px,calc(100vw - 24px));max-height:90vh;overflow:auto;padding:22px;border-radius:20px}.team-transfer-dialog h2,.journal-payment-dialog h2{font-size:22px;line-height:1.25;margin:8px 28px 12px 0}.team-transfer-dialog>p,.journal-payment-help{font-size:13px;line-height:1.5;margin:10px 0}.team-transfer-dialog small,.journal-payment-dialog small{font-size:12px;letter-spacing:normal;color:#65705e;line-height:1.45}.transfer-context,.journal-payment-person{background:#f2f4ec;padding:12px;border-radius:12px;margin:12px 0;font-size:14px}.transfer-context>small,.journal-payment-person>b,.journal-payment-person>small{display:block;margin-top:4px}.transfer-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}.transfer-choices button{font-size:13px;min-height:44px;padding:10px}.transfer-choices button[aria-pressed=true]{background:#526247;color:white}.team-transfer-dialog [hidden],.journal-payment-dialog [hidden]{display:none!important}.team-transfer-dialog label,.journal-payment-dialog label{font-size:13px}.team-transfer-dialog input[name=amount],.journal-payment-dialog input[name=amount]{width:100%;min-height:44px;padding:11px;font-size:18px;margin:6px 0 10px}.transfer-totals,.journal-payment-totals{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;background:#edf1e6;padding:14px;border-radius:12px;margin:12px 0}.transfer-totals strong,.journal-payment-totals strong{display:block;font-size:23px;margin-top:6px;overflow-wrap:anywhere}.transfer-result,.journal-payment-result{background:#e6efd9;padding:14px;border-radius:12px;margin:12px 0}.transfer-result strong,.journal-payment-result strong{display:block;font-size:23px;margin-top:7px;overflow-wrap:anywhere}.transfer-result small,.journal-payment-result small{display:block;margin-top:7px}.transfer-check{display:flex;align-items:flex-start;gap:10px;font-size:12px!important;line-height:1.5;margin:12px 0}.transfer-check input{width:20px;min-height:20px;margin:0;flex-shrink:0}.team-transfer-dialog button[type=submit],.team-transfer-dialog .transfer-cancel,.journal-payment-dialog button[type=submit],.journal-payment-dialog .journal-payment-cancel{width:100%;min-height:44px;font-size:14px;padding:11px}.transfer-cancel,.journal-payment-cancel{margin-top:8px}.journal-payment-change{background:#f6f1e5;padding:12px;border-radius:12px;font-size:13px;line-height:1.5;margin:12px 0}.journal-payment-change p{font-size:13px;margin:8px 0 0}.journal-payment-person>[data-change-person]{float:right;font-size:11px;padding:7px 9px;min-height:34px;margin-left:8px}.journal-payment-person label{clear:both;margin-top:10px}.journal-payment-dialog [role=status]:empty,.team-transfer-dialog [role=status]:empty{display:none}@media(max-width:540px){dialog.team-transfer-dialog,dialog.journal-payment-dialog{padding:18px}.team-transfer-dialog h2,.journal-payment-dialog h2{font-size:21px}}
/* Approved deletion review and complete history, separate from PIN verification. */
dialog.journal-delete-preview-dialog,dialog.journal-history-dialog{box-sizing:border-box;width:min(600px,calc(100vw - 24px));max-height:90vh;overflow:auto;padding:22px;border-radius:20px}.journal-delete-preview-dialog [hidden],.journal-delete-pin-dialog [hidden]{display:none!important}.journal-delete-preview-dialog h2,.journal-history-dialog h2{font-size:22px;line-height:1.25;margin:8px 28px 12px 0}.journal-delete-preview-dialog small,.journal-history-dialog small{font-size:12px;letter-spacing:normal;color:#65705e;line-height:1.45}.delete-entry-person,.journal-history-person{padding:13px;background:#f2f4ec;border-radius:12px;margin:12px 0;font-size:14px;overflow-wrap:anywhere}.delete-entry-person>b,.delete-entry-person>small,.journal-history-person>b,.journal-history-person>small{display:block;margin:4px 0}.delete-account-preview,.journal-history-values{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;background:#edf1e6;padding:14px;border-radius:12px;margin:12px 0}.delete-account-preview strong{display:block;font-size:21px;margin-top:7px;overflow-wrap:anywhere}.delete-stock-preview{background:#e6efd9;border-radius:12px;padding:14px;margin:12px 0;font-size:14px;line-height:1.5}.delete-stock-preview>small{display:block;margin-top:8px}.delete-journal-note{background:#f7eee9;padding:12px;border-radius:12px;margin:12px 0;font-size:13px;line-height:1.5}.delete-pin-note,.delete-review-status{font-size:13px;line-height:1.5}.delete-review-status:empty{display:none}.delete-pin-next,.delete-cancel,.journal-history-close{width:100%;min-height:44px;padding:11px;font-size:14px}.delete-pin-next{background:#8c3c30;color:white}.delete-cancel{margin-top:8px}.journal-delete-pin-dialog .delete-pin-back{width:100%;margin-top:12px;padding:10px;font-size:13px;min-height:42px}.journal-delete-pin-dialog .delete-pin-step>p{font-size:13px;line-height:1.5}.journal-history-count{display:inline-block;background:#edf1e6;border-radius:16px;padding:7px 10px;font-size:12px;color:#526247}.journal-history-change{border:1px solid #dde2d6;border-radius:14px;padding:14px;margin:12px 0}.journal-history-heading{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;align-items:center;font-size:12px}.journal-history-change>p{font-size:13px;line-height:1.5;margin:8px 0 0}.journal-history-values{background:transparent;padding:0;gap:8px}.journal-history-values>div{padding:10px;background:#f2f4ec;border-radius:10px;min-width:0}.journal-history-values strong{display:block;font-size:19px;margin-top:7px;line-height:1.35;overflow-wrap:anywhere}.journal-history-note{border-top:1px solid #e5e7df;padding-top:10px;font-size:12px;line-height:1.4}@media(max-width:540px){dialog.journal-delete-preview-dialog,dialog.journal-history-dialog{padding:18px}.journal-delete-preview-dialog h2,.journal-history-dialog h2{font-size:21px}.delete-account-preview strong{font-size:19px}}

/* Member access and personal limit: read-only effects before saving. */
.member-access-current,.member-access-diff,.member-limit-stats>div,.member-limit-explanation{padding:13px 14px;border-radius:12px;background:#f0f3ea;margin:12px 0;font-size:13px;line-height:1.5}
.member-access-current p,.member-access-diff p{margin:6px 0}.member-access-diff{background:#fff;border:1px solid #dfe3d8}.member-access-diff small{display:block;margin-top:10px;font-size:12px;letter-spacing:normal;color:#65705f}
.member-fridges-body .fridge-access-options{gap:9px}.member-fridges-body .fridge-access-options label{min-height:46px;border:1px solid #dfe3d8;border-radius:12px;padding:11px;display:flex;align-items:center;gap:9px}.member-fridges-body .fridge-access-options label:has(input:checked){background:#e7eedc;border-color:#879675}
.member-limit-stats{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px}.member-limit-stats>div{margin:8px 0}.member-limit-stats span{display:block;font-size:12px;color:#65705f}.member-limit-stats strong{display:block;font-size:23px;margin-top:6px;overflow-wrap:anywhere}.member-limit-explanation{grid-column:1/-1;background:#fff4dc;margin:4px 0}
.member-limit-form>.receipt-help,.member-limit-form>.limit-error,.member-limit-form>.member-settings-cancel{grid-column:1/-1}.member-settings-cancel{width:100%;margin-top:8px;min-height:44px}.member-fridges-body button[type=submit]{width:100%}

.journal-restore-info,.journal-restore-warning{padding:13px;border-radius:12px;margin:14px 0;font-size:13px;line-height:1.6}.journal-restore-info{background:#e7eedc}.journal-restore-warning{background:#fff4dc}.journal-review-check{display:flex;align-items:center;gap:10px;font-size:13px!important;line-height:1.5;margin:14px 0}.journal-review-check input{width:22px!important;height:22px;flex:none;margin:0!important}.journal-review-cancel{width:100%;min-height:44px;margin-top:8px;font-size:14px}.journal-count-dialog form>label{display:block;font-size:14px}.journal-count-dialog input[name=actual]{width:100%;box-sizing:border-box;margin-top:6px;padding:12px;font-size:17px}.journal-count-dialog form>.primary,.journal-restore-dialog form>.primary{width:100%;min-height:44px;font-size:14px}
