:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--coffee:#3b2f2f;--cream:#f6f2ec;--sage:#4a6b5a;--sage-dark:#365242;--line:#ded5c8;--muted:#766e65;--button-radius:999px;--font-brand:-apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*{box-sizing:border-box}body{background:var(--cream);color:var(--coffee);font-family:var(--font-brand);margin:0;font-size:16px}a{color:var(--sage-dark)}button,input,textarea,select{font:inherit}button,.button{background:var(--sage);border-radius:var(--button-radius);color:#fff;cursor:pointer;border:0;padding:.7rem 1.1rem;text-decoration:none;transition:background .15s,transform .15s}button:hover,.button:hover{background:var(--sage-dark);transform:translateY(-1px)}button:disabled{cursor:wait;opacity:.65}button:focus-visible,.button:focus-visible{outline-offset:2px;outline:3px solid #4a6b5a3d}input,textarea,select{border:1px solid var(--line);background:#fff;border-radius:6px;width:100%;padding:.7rem .8rem}input:focus,textarea:focus,select:focus{border-color:var(--sage);outline:3px solid #4a6b5a26}label{margin:.85rem 0 .4rem;display:block}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.025em;font-size:clamp(1.8rem,4vw,2.5rem)}h2{font-size:1.4rem}h3{font-size:1.15rem}.app-shell{max-width:1180px;margin:0 auto;padding:1.25rem 1.25rem 3rem}.shell{max-width:1100px;margin:0 auto;padding:2rem 1.25rem}.brand-header{flex-direction:column;align-items:center;padding:.5rem 0 1rem;display:flex}.brand-logo{object-fit:contain;width:150px;height:150px;display:block}.nav-bar{border-bottom:1px solid var(--line);border-top:1px solid var(--line);flex-wrap:wrap;justify-content:center;align-items:center;gap:.35rem;margin-bottom:2rem;padding:.6rem 0;display:flex}.nav-link{color:var(--coffee);border-radius:7px;padding:.65rem 1rem;text-decoration:none}.nav-link:hover,.nav-link[aria-current=page]{color:var(--sage-dark);background:#fff}.nav-dropdown{position:relative}.nav-dropdown-trigger{color:var(--coffee);cursor:pointer;font:inherit;background:0 0;border:0;padding:.65rem 1rem}.nav-dropdown-trigger:hover,.nav-dropdown-trigger[aria-current=page]{color:var(--sage-dark);background:#fff;transform:none}.dropdown-menu{border:1px solid var(--line);z-index:5;background:#fff;border-radius:9px;min-width:150px;padding:.35rem;display:grid;position:absolute;top:100%;left:0;box-shadow:0 8px 22px #3b2f2f1f}.dropdown-link{color:var(--coffee);border-radius:6px;padding:.65rem .8rem;text-decoration:none}.dropdown-link:hover,.dropdown-link[aria-current=page]{background:var(--cream);color:var(--sage-dark)}.account-bar{color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin:-1rem 0 1.5rem;font-size:.9rem;display:flex}.account-bar form{margin:0}.account-profile-link{color:inherit;text-decoration:none}.account-profile-link:hover{color:var(--sage-dark);text-decoration:underline}.account-bar button{padding:.5rem .85rem}.page-intro{margin-bottom:1.5rem}.page-intro p{color:var(--muted);margin-bottom:0}.card{border:1px solid var(--line);background:#fff;border-radius:12px;margin:1rem 0;padding:1.35rem;box-shadow:0 3px 12px #3b2f2f0a}.grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem;display:grid}.section-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1.25rem;display:grid}.wholesale-completed-orders{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1rem;display:grid}.wholesale-order-card{margin:0 0 1rem}.wholesale-completed-orders .wholesale-order-card{margin:0}.wholesale-order-card h2{margin-bottom:.2rem}.wholesale-order-account{background:var(--cream);border-radius:6px;padding:.5rem .7rem}.wholesale-order-lines h3{margin-bottom:.35rem}.wholesale-order-lines ul{margin:0;padding:0;list-style:none}.wholesale-order-lines li{border-bottom:1px solid var(--line);justify-content:space-between;align-items:baseline;gap:1rem;padding:.45rem 0;display:flex}.wholesale-order-total{text-align:right;margin:.75rem 0}.wholesale-order-actions{flex-wrap:wrap;align-items:flex-start;gap:.55rem;margin-top:1rem;display:flex}.wholesale-order-actions form,.wholesale-order-actions .task-edit,.wholesale-order-actions .task-edit>summary{margin:0}.wholesale-order-actions .task-edit[open]{flex-basis:100%}.wholesale-order-editor{gap:.5rem;max-width:760px;margin-top:.75rem;display:grid}.wholesale-order-items{border:1px solid var(--line);border-radius:8px;gap:.75rem;min-width:0;padding:.75rem;display:grid}.wholesale-order-items legend{padding:0 .35rem;font-weight:600}.wholesale-order-item-editor{border-bottom:1px solid var(--line);grid-template-columns:2fr 1fr 1fr 1fr auto;align-items:end;gap:.5rem;padding-bottom:.75rem;display:grid}.wholesale-order-item-editor label{margin:0}.wholesale-order-item-editor input{min-width:0}@media (max-width:700px){.wholesale-order-item-editor{grid-template-columns:repeat(2,minmax(0,1fr))}.wholesale-order-item-editor button{justify-self:start}}.muted{color:var(--muted)}.error{color:#a12d25}.row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.inline{display:inline}.section-card{color:inherit;min-height:190px;text-decoration:none;display:block}.section-card-title{margin-top:.9rem}.section-card:hover{border-color:#a9b7a8;box-shadow:0 8px 22px #3b2f2f14}.section-card p{color:var(--muted);line-height:1.5}.status-pill{color:var(--sage-dark);text-transform:uppercase;background:#e7efe9;border-radius:999px;padding:.3rem .7rem;font-size:.8rem;display:inline-block}.status-pill.complete,.status-pill.purchased{background:#e7efe9}.status-pill.open,.status-pill.paused,.status-pill.pending{color:#775624;background:#f5ead7}.priority-pill{text-transform:uppercase;border-radius:999px;padding:.3rem .7rem;font-size:.8rem;display:inline-block}.priority-pill.low{color:var(--sage-dark);background:#e7efe9}.priority-pill.medium{color:#3d5d7a;background:#e8eef5}.priority-pill.high{color:#775624;background:#f5ead7}.priority-pill.severe{color:#9a2c25;background:#f9dfdc}.empty-state{border:1px dashed var(--line);color:var(--muted);text-align:center;background:#ffffff8c;border-radius:10px;padding:1.5rem}.form-stack{max-width:700px}.admin-section{border-top:1px solid var(--line);margin-top:1.5rem;padding-top:1.5rem}.accounts-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.accounts-toolbar>h2{margin:0}.profile-card{margin-bottom:1rem}.profile-details{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.75rem;margin:0;display:grid}.profile-details dt{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;font-size:.75rem}.profile-details dd{overflow-wrap:anywhere;margin:.2rem 0 0}.profile-tasks{margin-top:2rem}.profile-tasks h2{margin:0}.record-create-toolbar{justify-content:flex-end}.accounts-grid{grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:1rem;display:grid}.account-card{margin:0}.account-card>summary{cursor:pointer;list-style:none}.account-card>summary::-webkit-details-marker{display:none}.account-summary{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.account-summary strong{font-size:1.1rem;display:block}.account-summary small{color:var(--muted);margin-top:.2rem;font-size:.9rem;display:block}.account-expand{color:var(--coffee);background:#fff;border:1px solid #dfe4e9;border-radius:999px;flex:none;align-items:center;gap:.35rem;padding:.45rem .8rem;font-size:.9rem;line-height:1.2;text-decoration:none;transition:background .15s,border-color .15s;display:inline-flex}.account-summary:hover .account-expand{background:#f8fafb;border-color:#b9c4cc}.account-summary:focus-visible .account-expand{outline-offset:2px;outline:3px solid #4a6b5a33}.account-expanded{border-top:1px solid var(--line);margin-top:1rem;padding-top:1rem}.account-contact{color:var(--muted);margin-bottom:1rem}.account-details{gap:.9rem;display:grid}.account-detail-label{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;margin-bottom:.15rem;font-size:.75rem;display:block}.account-detail-value{overflow-wrap:anywhere;white-space:pre-line;line-height:1.45}.account-edit{margin-bottom:1.25rem}.account-edit>summary{cursor:pointer;margin-bottom:.75rem}.account-edit-form{background:var(--cream);border:1px solid var(--line);border-radius:8px;margin-bottom:1.25rem;padding:1rem}.customer-email-layout{grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);align-items:start;gap:1rem;display:grid}.customer-email-card{margin-top:1rem}.customer-email-card form{display:grid}.suggested-email-panel{margin-top:1rem}.suggested-email-panel h2{font-size:1.15rem}.suggested-email-option{background:var(--cream);border:1px solid var(--line);border-radius:8px;padding:1rem}.suggested-email-option>summary{cursor:pointer;font-weight:600}.suggested-email-option[open]>summary{margin-bottom:.75rem}.suggested-email-option p{overflow-wrap:anywhere;line-height:1.5}.suggested-email-body{white-space:pre-line}.suggested-email-use{margin-top:.5rem}.email-note{margin:1rem 0 0}.success-message{color:var(--sage-dark)}.subscription-details{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.75rem;margin:1rem 0;display:grid}.subscription-details dt{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;font-size:.75rem}.subscription-details dd{overflow-wrap:anywhere;margin:.2rem 0 0}.subscription-id{font-size:.8rem}.subscription-groups{gap:2rem;display:grid}.subscription-group>h2{border-bottom:1px solid var(--line);margin-bottom:1rem;padding-bottom:.65rem}.checklist-sections{gap:1rem;display:grid}.operations-checklist-section{margin:0;padding:1rem 1.25rem 1.25rem}.operations-checklist-section>summary{cursor:pointer;justify-content:space-between;align-items:center;list-style:none;display:flex}.operations-checklist-section>summary::-webkit-details-marker{display:none}.operations-checklist-section>summary h2{margin:0}.operations-checklist-section>.empty-state{margin:1rem 0 0}.checklist-card{margin:0}.checklist-card h3{margin-bottom:.45rem}.checklist-card p{margin-bottom:0}.checklist-card-items{margin:1rem 0 0;padding-left:1.25rem;line-height:1.45}.checklist-card-items li+li{margin-top:.35rem}.subscription-card{margin:0}.subscription-card .account-summary{min-height:48px}.subscription-card .account-expand{cursor:pointer;font:inherit}.dashboard-modal{border:1px solid var(--line);color:var(--coffee);background:#fff;border-radius:12px;width:100%;max-width:min(760px,100vw - 2rem);max-height:min(90vh,900px);margin:auto;padding:1.5rem;overflow-y:auto;box-shadow:0 16px 48px #3b2f2f3d}.dashboard-modal[open]:has(.task-modal-content,.purchase-request-modal-content){flex-direction:column;display:flex;overflow:hidden}.dashboard-modal::backdrop{background:#221d1b8c}.dashboard-modal-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:1rem;padding-bottom:.75rem;display:flex}.dashboard-modal-header h2{overflow-wrap:anywhere;margin:0}.dashboard-modal form{gap:.5rem;display:grid}.dashboard-modal form button{justify-self:start}.dashboard-modal .account-expanded{border-top:0}.dashboard-modal .account-expanded:has(.account-edit[open]){flex-direction:column;gap:.75rem;display:flex}.dashboard-modal:has(.account-edit[open]){width:fit-content}.dashboard-modal .account-expanded:has(.account-edit[open]) .account-details{display:none}.dashboard-modal .account-details{grid-area:3/1/auto/-1}details[open]>summary.action-chip{display:none}.checklist-dashboard-modal:has(.account-edit[open]){width:100%}.checklist-dashboard-modal:has(.account-edit[open]) .checklist-modal-content{display:none}.wholesale-account-modal:has(.account-edit[open]){width:100%}.account-edit-fields,.receipt-edit-fields,.roast-recipe-fields{gap:.5rem;display:grid}.edit-details-footer{border-top:1px solid var(--line);flex-wrap:nowrap;justify-content:flex-start;align-items:center;gap:.5rem;margin-top:1rem;padding-top:.75rem;display:flex;overflow-x:auto}.edit-details-footer form{display:contents}.edit-details-footer .action-chip-destructive,.edit-details-footer .task-delete-button{order:1}.edit-details-footer button{white-space:nowrap;flex:none;justify-content:center;min-width:6rem;padding:.3rem .6rem;font-size:.85rem}.dashboard-modal:has(.record-modal-content .account-edit[open]){width:fit-content}.record-modal-content:has(.account-edit[open]){width:min(30rem,100vw - 5rem)}.record-modal-content:has(.account-edit[open]) .roast-recipe-details{display:none}.task-modal-content{flex:1;min-height:0;overflow-y:auto}.dashboard-modal.is-editing .task-readonly,.task-edit-form{display:none}.dashboard-modal.is-editing .task-edit-form{display:block}.task-modal-footer{border-top:1px solid var(--line);flex-wrap:nowrap;justify-content:flex-start;align-items:center;gap:.5rem;margin-top:1rem;padding-top:.75rem;display:flex;overflow-x:auto}.task-modal-footer form,.task-modal-view-actions,.task-modal-edit-actions{display:contents}.task-modal-edit-title,.task-modal-edit-actions,.dashboard-modal.is-editing .task-modal-title,.dashboard-modal.is-editing .task-modal-view-actions{display:none}.dashboard-modal.is-editing .task-modal-edit-title{display:inline}.dashboard-modal.is-editing .task-modal-edit-actions{display:contents}.task-modal-action{white-space:nowrap;flex:none;justify-content:center;padding:.3rem .6rem;font-size:.85rem}.task-modal-footer .task-modal-action{min-width:6rem}.task-edit-form .task-form{gap:.25rem;max-width:none;display:grid}.dashboard-modal.is-editing:has(.purchase-request-modal-content){width:fit-content}.purchase-request-modal-content{flex:1;min-height:0;overflow-y:auto}.dashboard-modal.is-editing .purchase-request-readonly,.purchase-request-edit-form{display:none}.dashboard-modal.is-editing .purchase-request-edit-form{display:block}.purchase-request-edit-fields{width:min(30rem,100vw - 5rem);max-width:min(30rem,100vw - 5rem)}.purchase-request-footer{border-top:1px solid var(--line);flex-wrap:nowrap;flex:none;justify-content:flex-start;align-items:center;gap:.5rem;margin-top:1rem;padding-top:.75rem;display:flex;overflow-x:auto}.purchase-request-footer form,.purchase-request-view-actions,.purchase-request-edit-actions{display:contents}.purchase-request-edit-title,.purchase-request-edit-actions,.dashboard-modal.is-editing .purchase-request-title,.dashboard-modal.is-editing .purchase-request-view-actions{display:none}.dashboard-modal.is-editing .purchase-request-edit-title{display:inline}.dashboard-modal.is-editing .purchase-request-edit-actions{display:contents}.purchase-request-footer button,.compact-modal-action{white-space:nowrap;flex:none;justify-content:center;min-width:6rem;padding:.3rem .6rem;font-size:.85rem}.purchase-request-details{margin-top:1rem}.purchase-request-detail-heading{flex-wrap:wrap;align-items:center;gap:.75rem;margin-bottom:1rem;display:flex}.record-modal-content{margin-top:1rem}:is(.record-modal-content:has(.account-edit[open]) .roast-recipe-details,.record-modal-content:has(.task-edit[open]) .roast-record-details){display:none}.roast-record-details{gap:.9rem;margin:0 0 1rem;display:grid}.roast-record-details dt{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;font-size:.75rem}.roast-record-details dd{overflow-wrap:anywhere;margin:.2rem 0 0;line-height:1.45}.subscription-customer-name{color:#000;font-size:1.25rem!important}.dashboard-tasks{margin-top:2rem}.task-section-heading{margin-bottom:.75rem}.task-section-heading h2{margin:0}.task-section-actions{flex-wrap:wrap;align-items:center;gap:1rem;display:flex}.task-section-actions .button{display:inline-flex}.task-form{gap:.25rem;max-width:800px;display:grid}.task-form-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.75rem;display:grid}.task-form-grid>.action-chip{place-self:end start}.task-form-hint{margin:.2rem 0 .75rem;font-size:.85rem}.task-list{gap:.75rem;display:grid}.task-details{white-space:pre-line;line-height:1.5}.task-completion{margin-bottom:.75rem}.task-actions{flex-wrap:wrap;align-items:flex-start;gap:.55rem;margin-top:1rem;display:flex}.task-actions form{margin:0}.task-readonly-actions{display:contents}.task-actions .task-edit,.task-actions .task-edit>summary{margin:0}.task-actions .task-edit[open]{flex-basis:100%}.task-edit{margin-top:1rem}.task-edit>summary{cursor:pointer;margin-bottom:.75rem}.task-delete{margin:0}.inventory-item-actions{flex-wrap:wrap;align-items:flex-start;gap:.55rem;margin-top:1rem;display:flex}.inventory-item-actions .task-edit{margin-top:0}.inventory-item-actions .task-delete{order:2;padding-top:0}.checklist-modal-content{gap:1.25rem;margin-top:1rem;display:grid}.checklist-section{border-bottom:1px solid var(--line);padding-bottom:1rem}.checklist-section h3{margin-bottom:.65rem;font-size:1rem}.checklist-items{gap:.45rem;display:grid}.checklist-items form{display:block}.checklist-item{background:var(--cream);border:1px solid var(--line);cursor:pointer;border-radius:8px;align-items:center;gap:.65rem;padding:.65rem .75rem;line-height:1.4;display:flex}.checklist-item input{accent-color:var(--sage-dark);flex:none;width:auto;margin:0}.checklist-item.is-checked{color:var(--muted);text-decoration:line-through}.checklist-actions{border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:1rem;padding-top:1rem;display:flex}.checklist-title{flex-wrap:wrap;align-items:baseline;gap:.65rem;display:flex}.checklist-completion{font-size:.85rem}.checklist-editor-items{border:1px solid var(--line);gap:.75rem;margin:1rem 0 0;padding:.75rem;display:grid}.checklist-editor-item{background:var(--cream);border:1px solid var(--line);border-radius:8px;gap:.5rem;padding:.75rem;display:grid}.checklist-editor-item .task-delete-button{justify-self:start}.checklist-reset-button{margin-top:0}.checklist-reset-dialog{max-width:min(32rem,100vw - 2rem)}.checklist-reset-dialog form{flex-wrap:wrap;gap:.5rem;display:flex}.action-chip{box-shadow:none;color:var(--coffee);cursor:pointer;font:inherit;background:#fff;border:1px solid #dfe4e9;border-radius:999px;align-items:center;gap:.35rem;padding:.45rem .8rem;font-size:.9rem;line-height:1.2;text-decoration:none;list-style:none;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.action-chip::-webkit-details-marker{display:none}.action-chip:hover{box-shadow:none;color:var(--coffee);background:#f8fafb;border-color:#b9c4cc;text-decoration:none;transform:none}.action-chip:focus-visible{outline-offset:2px;outline:3px solid #4a6b5a33}.action-chip-destructive{color:#a12d25}.action-chip-destructive:hover{color:#81221c;background:#fff8f7;border-color:#e7b6b1}.action-chip-confirm{color:#2d6a27}.action-chip-confirm:hover{color:#1f4d1a;background:#f1faf0;border-color:#a8d5a0}.task-delete-button{box-shadow:none;color:#a12d25;cursor:pointer;font:inherit;background:#fff;border:1px solid #dfe4e9;border-radius:999px;padding:.45rem .8rem;font-size:.9rem;line-height:1.2;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.task-delete-button:hover{box-shadow:none;color:#81221c;background:#fff8f7;border-color:#e7b6b1;text-decoration:none;transform:none}.shipment-tracking{border-top:1px solid var(--line);margin-top:1rem;padding-top:1rem}.shipment-tracking h3{margin-bottom:.65rem}.shipment-tracking form{margin:.6rem 0 0}.subscription-shipping-address{border-top:1px solid var(--line);margin-top:1rem;padding-top:1rem}.subscription-shipping-address h3{margin-bottom:.5rem}.subscription-shipping-address p{margin-bottom:.75rem}.subscription-shipping-address .shipping-address-value{overflow-wrap:anywhere;white-space:pre-wrap}.subscription-shipping-address:has(.task-edit[open]) .shipping-address-value{display:none}.subscription-shipping-address .subscription-address-field textarea{width:100%}.shipment-record{color:var(--sage-dark);margin-bottom:.5rem}.shipment-history{margin-top:.65rem}.shipment-history>summary{color:var(--sage-dark);cursor:pointer}.shipment-history ul{margin-bottom:0;padding-left:1.4rem;line-height:1.6}.receipt-folders{gap:1rem;display:grid}.receipt-folder{margin:0}.receipt-folder-summary{cursor:pointer;justify-content:space-between;align-items:center;gap:1rem;list-style:none;display:flex}.receipt-folder-summary::-webkit-details-marker{display:none}.receipt-folder-summary strong{font-size:1.2rem}.receipt-folder-admin{border-bottom:1px solid var(--line);margin-top:1rem;padding-bottom:1rem}.receipt-folder-actions{flex-wrap:wrap;align-items:end;gap:.9rem;display:flex}.receipt-folder-rename-form{align-items:end;gap:.75rem;margin:0;display:flex}.receipt-folder-rename-form label{flex:0 280px;margin:0}.receipt-folder-action{flex:none}.save-folder-name,.save-folder-name:hover{color:var(--sage-dark)!important}.receipt-add{background:var(--cream);border-radius:8px;margin:1rem 0;padding:1rem}.receipt-form-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem;display:grid}.receipt-entry{border-top:1px solid var(--line);padding:1.1rem 0}.receipt-entry h3{margin-bottom:0}.receipt-entry>p{margin:.4rem 0}.finance-actions{flex-wrap:wrap;align-items:center;gap:.75rem;margin-bottom:1.25rem;display:flex}.finance-actions .button:first-child{background:var(--sage-dark)}.finance-actions .button:last-child{background:var(--coffee)}.finance-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin:0 0 1rem;display:flex}.finance-toolbar p{margin:.2rem 0 0}.finance-period-select{align-items:center;gap:.5rem;margin:0;display:flex}.finance-period-select select{min-width:150px}.finance-summary-grid{grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:1rem;display:grid}.finance-stat{margin:0}.finance-stat strong{margin:.35rem 0;font-size:clamp(1.5rem,3vw,2rem);display:block}.finance-stat small{color:var(--muted)}.finance-stat-label{color:var(--muted);text-transform:uppercase;font-size:.85rem}.finance-stat.is-positive{border-color:#b7d4be}.finance-stat.is-negative{border-color:#e7b6b1}.finance-statement{margin:0 0 1rem}.finance-statement-table{margin-top:1.25rem;overflow-x:auto}.finance-statement-row{border-top:1px solid var(--line);grid-template-columns:minmax(180px,2fr) repeat(3,minmax(100px,1fr));align-items:center;gap:.75rem;min-width:620px;padding:.65rem 0;display:grid}.finance-statement-heading{color:var(--muted);text-transform:uppercase;border-top:0;font-size:.75rem}.finance-statement-heading span:not(:first-child),.finance-statement-row span:not(:first-child),.finance-statement-row strong:not(:first-child){text-align:right}.finance-statement-group h3{margin:1rem 0 .25rem;font-size:.95rem}.finance-statement-group h3,.finance-statement-subtotal{color:var(--sage-dark)}.finance-statement-subtotal{border-top:1px solid var(--line);grid-template-columns:minmax(180px,2fr) repeat(3,minmax(100px,1fr));gap:.75rem;min-width:620px;padding:.65rem 0;display:grid}.finance-statement-subtotal strong:not(:first-child){text-align:right}.finance-statement-net{border-top:2px solid var(--coffee);margin-top:.75rem;padding-top:.85rem}.finance-report-grid{grid-template-columns:2fr 1fr 1fr;gap:1rem;margin-bottom:1rem;display:grid}.finance-chart-card,.finance-report-section{min-width:0;margin:0}.finance-chart-card h2,.finance-report-section h2{margin-bottom:.2rem}.finance-report-badge{background:var(--cream);color:var(--muted);border-radius:999px;padding:.3rem .6rem;font-size:.75rem}.finance-report-actions{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.finance-bars{justify-content:space-around;align-items:end;gap:.75rem;height:190px;margin:1.5rem 0 .75rem;display:flex}.finance-bar-group{flex-direction:column;flex:1;justify-content:end;align-items:center;gap:.5rem;height:100%;display:flex}.finance-bar-pair{justify-content:center;align-items:end;gap:.25rem;width:100%;height:100%;display:flex}.finance-bar{border-radius:5px 5px 0 0;width:35%;max-width:22px;min-height:4px;display:block}.finance-bar.income,.finance-legend-dot.income,.finance-category-track span.income{background:var(--sage)}.finance-bar.expense,.finance-legend-dot.expense,.finance-category-track span.expense{background:#d38b6d}.finance-bar-group small{color:var(--muted);text-align:center;font-size:.7rem}.finance-legend{color:var(--muted);gap:1rem;font-size:.8rem;display:flex}.finance-legend span{align-items:center;gap:.35rem;display:inline-flex}.finance-legend-dot{border-radius:50%;width:.6rem;height:.6rem;display:inline-block}.finance-category-list{gap:.9rem;margin-top:1.5rem;display:grid}.finance-category-row .row{font-size:.85rem}.finance-category-row small{color:var(--muted);margin-top:.2rem;font-size:.75rem;display:block}.finance-category-track{background:var(--cream);border-radius:999px;height:.5rem;margin-top:.4rem;overflow:hidden}.finance-category-track span{border-radius:inherit;height:100%;display:block}.finance-month-table{overflow-x:auto}.finance-table-row{border-top:1px solid var(--line);grid-template-columns:1.5fr repeat(4,1fr);align-items:center;gap:.75rem;min-width:620px;padding:.8rem 0;display:grid}.finance-table-heading{color:var(--muted);text-transform:uppercase;border-top:0;font-size:.75rem}.finance-report-section{margin-bottom:1rem}.finance-transaction-list{margin-top:1rem}.finance-transaction{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:1rem;padding:1rem 0;display:flex}.finance-transaction-main{align-items:flex-start;gap:.75rem;min-width:0;display:flex}.finance-transaction-main p{color:var(--muted);overflow-wrap:anywhere;margin:.25rem 0}.finance-transaction-main small{color:var(--muted)}.finance-transaction-main a{margin-left:.5rem}.finance-type-dot{border-radius:50%;flex:none;width:.75rem;height:.75rem;margin-top:.3rem}.finance-type-dot.income{background:var(--sage)}.finance-type-dot.expense{background:#d38b6d}.finance-transaction-actions{flex-direction:column;flex:none;align-items:end;gap:.4rem;display:flex}.positive{color:var(--sage-dark)}.negative{color:#a12d25}.finance-print-report{display:none}@media (max-width:850px){.finance-report-grid{grid-template-columns:1fr 1fr}.finance-trend-card{grid-column:1/-1}}@media print{body.finance-print-month>:not(main),body.finance-print-year>:not(main),body.finance-print-month main>:not(.finance-print-month-report),body.finance-print-year main>:not(.finance-print-year-report){display:none!important}body.finance-print-month .finance-print-month-report,body.finance-print-year .finance-print-year-report{color:#000;margin:0;padding:1rem;display:block!important}.finance-print-report h1{font-size:1.8rem}.finance-print-table{margin-top:2rem}.finance-print-row{border-bottom:1px solid #bbb;grid-template-columns:2fr repeat(3,1fr);gap:1rem;padding:.7rem 0;display:grid}.finance-print-row>:not(:first-child){text-align:right}.finance-print-heading{text-transform:uppercase;border-bottom:2px solid #000;font-size:.75rem}}@media (max-width:600px){.finance-summary-grid,.finance-report-grid{grid-template-columns:1fr}.finance-trend-card{grid-column:auto}.finance-toolbar{align-items:stretch}.finance-period-select{justify-content:space-between}.finance-transaction{align-items:flex-start}.finance-transaction-actions{align-items:end}}.receipt-edit{margin-top:.75rem}.receipt-edit>summary{cursor:pointer;margin-bottom:.75rem}.receipt-entry:has(.receipt-edit[open])>.row{display:none}.receipt-entry:has(.receipt-edit[open])>p{display:none}.receipt-delete-form{display:contents}.receipt-delete-form>button{grid-area:3/2;margin:0}.button-danger{background:#a12d25}.button-danger:hover{background:#81221c}.roast-recipe-list{margin-bottom:1rem}.roast-recipe-form{max-width:900px}.roast-recipe-details{gap:1rem;display:grid}.roast-profile-details{white-space:pre-line;margin:.25rem 0 0;line-height:1.5}.roast-list{margin:.35rem 0 0;padding-left:1.4rem;line-height:1.6}.roast-recipe-actions{flex-wrap:wrap;align-items:flex-start;gap:.55rem;margin-top:1rem;display:flex}.roast-recipe-actions .account-edit{margin:0}.confirm-overlay{z-index:20;background:#1814127a;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.confirm-dialog{border:1px solid var(--line);background:#fff;border-radius:12px;width:100%;max-width:420px;padding:1.5rem;box-shadow:0 12px 36px #00000038}.confirm-dialog h2{margin-bottom:.6rem}.confirm-dialog p{color:var(--muted);line-height:1.5}.confirm-actions{justify-content:flex-end;align-items:center;gap:.75rem;display:flex}.confirm-actions form{margin:0}.button-secondary{background:var(--cream);color:var(--coffee)}.button-secondary:hover{background:var(--line)}.login-form>button[type=submit]{margin-top:1rem}.login-page{background-image:url(/images/brand/kismet-login-background.jpg);background-position:50%;background-size:cover;flex-direction:column;min-height:100vh;display:flex}.login-content{flex:1;width:100%}.login-page .dashboard-footer{background:var(--cream)}.login-prompt,.login-mode-switch{text-align:center}.login-mode-switch{margin-bottom:0}.clock-content{flex-direction:column;justify-content:center;max-width:600px;display:flex}.clock-current{text-align:center;margin:1.5rem 0}.clock-current-label{color:var(--muted);margin-bottom:.2rem}.clock-current-time{font-variant-numeric:tabular-nums;font-size:clamp(4rem,18vw,7rem);font-weight:700;line-height:1.1;display:block}.clock-form{gap:.75rem;display:grid}.clock-actions{flex-wrap:wrap;gap:.75rem;display:flex}.dashboard-footer{border-top:1px solid var(--line);color:var(--muted);margin-top:3rem;padding:1.5rem 1.25rem}.dashboard-footer-content{justify-content:space-between;align-items:center;max-width:1100px;margin:0 auto;display:flex}.dashboard-footer-content img{opacity:.7;width:64px;height:auto}.dashboard-footer-note{text-align:right;font-size:.875rem}.dashboard-footer-note a{text-decoration:underline}.dashboard-footer-version{letter-spacing:.2em;text-transform:uppercase;margin-top:.25rem;font-size:.75rem;display:block}@media (max-width:520px){.customer-email-layout{grid-template-columns:1fr}.receipt-folder-rename-form{flex-wrap:wrap}.receipt-folder-rename-form label{flex-basis:100%}.dashboard-footer-content{align-items:flex-start}.dashboard-footer-content img{width:56px}.dashboard-footer-note{font-size:.75rem}}pre{overflow-wrap:anywhere;white-space:pre-wrap}@media (max-width:520px){.app-shell{padding-inline:.9rem}.nav-bar{gap:.1rem}.nav-link{padding:.6rem .65rem}}
