/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.fixed{position:fixed}.static{position:static}.block{display:block}.hidden{display:none}.inline{display:inline}.table{display:table}.border-collapse{border-collapse:collapse}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.border{border-style:var(--tw-border-style);border-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--ink:#1d2d28;--muted:#63736d;--muted-2:#778680;--line:#dce4e0;--line-soft:#edf1ef;--canvas:#f7f8f7;--paper:#fff;--green:#1b554a;--green-2:#23685a;--green-soft:#e7f1ed;--mint:#e3f0ea;--amber:#b68132;--amber-soft:#f8f1e5;--blue:#4778a9;--blue-soft:#e8f0f7;--rose:#b35f64;--rose-soft:#f8e9ea;--shadow:none}*{box-sizing:border-box}html{background:var(--canvas);min-height:100%}body{min-height:100%;color:var(--ink);background:var(--canvas);-webkit-font-smoothing:antialiased;margin:0;font-family:Aptos,Segoe UI,Inter,ui-sans-serif,system-ui,sans-serif;font-size:14px}button,input,select,textarea{color:inherit;font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}svg{display:block}.app-frame{min-height:100vh}.sidebar{z-index:50;width:232px;color:var(--ink);background:var(--paper);border-right:1px solid var(--line-soft);flex-direction:column;padding:14px 14px 16px;display:flex;position:fixed;top:0;bottom:0;left:0}.brand{border-bottom:1px solid var(--line-soft);align-items:center;gap:11px;height:56px;padding:0 8px 12px;display:flex}.brand-mark{border:1px solid var(--line);width:38px;height:38px;color:var(--green);background:var(--green-soft);border-radius:10px;flex:none;place-items:center;display:grid}.brand-mark svg,.brand-mark img{object-fit:contain;width:22px;height:22px}.brand>span:nth-child(2),.login-brand>span:nth-child(2){flex-direction:column;display:flex}.brand strong{color:var(--ink);letter-spacing:-.015em;font-family:inherit;font-size:17px;font-weight:700}.brand small{color:var(--muted-2);letter-spacing:.12em;text-transform:uppercase;margin-top:2px;font-size:9px}.login-brand strong{color:#fff;letter-spacing:-.015em;font-family:inherit;font-size:17px;font-weight:700}.login-brand small{color:#ffffffb8;letter-spacing:.12em;text-transform:uppercase;margin-top:2px;font-size:9px}.login-brand .brand-mark{background:#ffffffeb;border-color:#ffffff40}.sidebar-section-label{color:var(--muted-2);letter-spacing:.14em;text-transform:uppercase;margin:16px 8px 8px;font-size:9px;font-weight:700}.sidebar-nav{flex-direction:column;gap:3px;display:flex}.nav-item{height:42px;color:var(--muted);border-radius:9px;align-items:center;gap:10px;padding:0 10px;font-size:13px;font-weight:550;transition:all .14s;display:flex;position:relative}.nav-item:hover{color:var(--ink);background:#f3f6f4}.nav-item.active{color:var(--green);background:var(--green-soft);font-weight:650;box-shadow:inset 0 0 0 1px #cfe1d8}.nav-item.active:before{content:none}.nav-icon{width:27px;height:27px;color:var(--muted);background:#f0f4f2;border-radius:7px;flex:none;place-items:center;transition:all .14s;display:grid}.nav-item:hover .nav-icon{color:var(--green-2);background:#e2ece6}.nav-item.active .nav-icon{color:#fff;background:var(--green)}.nav-icon svg{width:15px;height:15px}.sidebar-card{border:1px solid var(--line);background:var(--paper);border-radius:12px;margin-top:auto;padding:15px}.sidebar-card-icon{color:#ba7b20;background:var(--amber-soft);border-radius:8px;place-items:center;width:29px;height:29px;margin-bottom:11px;display:grid}.sidebar-card-icon svg{width:16px}.sidebar-card strong{color:var(--ink);font-size:12px;display:block}.sidebar-card p{color:var(--muted);margin:5px 0 10px;font-size:11px;line-height:1.5}.sidebar-card a{color:var(--amber);font-size:11px;font-weight:650}.sidebar-user{border-top:1px solid var(--line-soft);align-items:center;gap:10px;margin-top:auto;padding:12px 8px 0;display:flex}.avatar,.topbar-avatar{color:#fff;background:var(--green);border-radius:50%;flex:none;place-items:center;font-size:11px;font-weight:750;display:grid}.avatar{width:34px;height:34px}.sidebar-user-copy{text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1;min-width:0;padding:0;display:flex}.sidebar-user-copy strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.sidebar-user-copy small{color:var(--muted-2);margin-top:2px;font-size:10px}.logout-link{width:30px;height:30px;color:var(--muted-2);background:0 0;border:0;border-radius:7px;place-items:center;padding:0;transition:all .14s;display:grid}.logout-link:hover{color:var(--rose);background:var(--rose-soft)}.logout-link svg{width:15px}.logout-link:disabled{opacity:.45;cursor:wait}.main-column{min-height:100vh;margin-left:232px}.topbar{z-index:30;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff0;justify-content:space-between;align-items:center;height:58px;padding:0 28px;display:flex;position:sticky;top:0}.topbar-search{border:1px solid var(--line);width:min(460px,48vw);height:38px;color:var(--muted-2);background:#f4f7f5;border-radius:999px;align-items:center;gap:9px;padding:0 12px;transition:all .14s;display:flex}.topbar-search:hover{background:#eef2f0;border-color:#cfd9d4}.topbar-search:focus-within{border-color:var(--green-2);background:#fff;box-shadow:0 0 0 3px #2e68521f}.topbar-search svg{width:15px;color:var(--muted-2);flex:none}.topbar-search input{min-width:0;color:var(--ink);background:0 0;border:0;outline:0;flex:1;font-size:12px}.topbar-search input::placeholder{color:#97a49e}.topbar-search kbd{color:#76837d;letter-spacing:.02em;background:#fff;border:1px solid #d6ded9;border-radius:5px;padding:3px 7px;font-family:inherit;font-size:10px;font-weight:600}.topbar-actions{align-items:center;gap:13px;display:flex}.sync-state{color:var(--muted);align-items:center;gap:7px;font-size:11px;display:flex}.sync-state i{background:#4a9b75;border-radius:50%;width:6px;height:6px;box-shadow:0 0 0 3px #e3f2eb}.icon-button,.mobile-menu,.sidebar-close,.more-button{background:0 0;border:0;place-items:center;padding:0;display:grid}.icon-button{border:1px solid var(--line-soft);width:34px;height:34px;color:var(--muted);border-radius:9px;position:relative}.icon-button svg{width:17px}.notification-dot{background:#d77456;border:1px solid #fff;border-radius:50%;width:5px;height:5px;position:absolute;top:7px;right:7px}.topbar-avatar{width:33px;height:33px}.mobile-menu,.sidebar-close{display:none}.page-content{width:min(1220px,100%);margin:0 auto;padding:28px 30px 46px}.page-header{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:24px;display:flex}.eyebrow{letter-spacing:.13em;text-transform:uppercase;font-weight:750;color:#8f6a2e!important;margin:0 0 7px!important;font-size:10px!important}.page-header h1{color:#18332d;letter-spacing:-.04em;margin:0;font-family:inherit;font-size:clamp(26px,2.2vw,32px);font-weight:700}.page-header p{color:var(--muted);margin:8px 0 0;font-size:13px;line-height:1.45}.page-actions{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.reports-page-header .page-actions{flex-wrap:wrap;justify-content:flex-end;align-items:flex-end}.report-actions-divider{background:var(--line);flex:none;width:1px;height:24px;margin:0 4px 7px}.button{letter-spacing:-.005em;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:8px;height:38px;padding:0 14px;font-size:12px;font-weight:650;transition:all .14s;display:inline-flex}.button svg{width:16px;height:16px}.button:disabled{cursor:not-allowed;opacity:.55;box-shadow:none;transform:none}.button:disabled:hover{transform:none}.button-primary{color:#fff;border-color:var(--green);background:var(--green);box-shadow:0 1px 2px #17483f14,0 4px 12px #17483f29}.button-primary:hover{border-color:var(--green-2);background:var(--green-2);transform:translateY(-1px);box-shadow:0 2px 4px #17483f1a,0 6px 16px #17483f33}.button-primary svg{width:17px;height:17px}.button-secondary{color:#42534e;border-color:var(--line);background:var(--paper)}.button-secondary:hover{background:#fbfcfb;border-color:#cbd6d1}.button-quiet{min-height:34px;color:var(--green);border-color:var(--line);background:#fff}.dashboard-date-button input{background:0 0;border:0;outline:0;width:108px;padding:0;font-size:10px;font-weight:650}.panel{border:1px solid var(--line);background:var(--paper);box-shadow:var(--shadow);border-radius:10px}.panel-heading{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.panel-heading h2,.form-section-title h2{color:#233a34;margin:0;font-family:inherit;font-size:16px;font-weight:700}.panel-heading p,.form-section-title p{color:var(--muted-2);margin:5px 0 0;font-size:11px}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px;display:grid}.metric-card{border:1px solid var(--line);background:var(--paper);box-shadow:var(--shadow);border-radius:10px;padding:17px 18px}.metric-top{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.metric-icon{border-radius:9px;place-items:center;width:33px;height:33px;display:grid}.metric-icon svg{width:16px}.metric-green{color:#367b64;background:var(--green-soft)}.metric-amber{color:#ba7b20;background:var(--amber-soft)}.metric-blue{color:#527fa7;background:var(--blue-soft)}.metric-rose{color:#a85a60;background:var(--rose-soft)}.metric-volume{letter-spacing:-.005em;font-variant-numeric:tabular-nums;margin-top:2px;font-size:15px;font-weight:600;display:block}.metric-volume-green{color:#2e6852}.metric-volume-amber{color:#96641a}.metric-volume-blue{color:#416a91}.metric-volume-rose{color:#a85a60}.trend{border-radius:5px;padding:3px 6px;font-size:9px;font-weight:700}.trend-up{color:#34775f;background:#e8f4ef}.trend-neutral{color:#887346;background:#f6f1e7}.trend-due{color:#9a585c;background:#f8ebec}.metric-card>p{color:var(--muted);margin:0 0 10px;font-size:11px;font-weight:550}.metric-card>strong{color:#1c342e;letter-spacing:-.015em;margin-bottom:6px;font-family:inherit;font-size:21px;font-weight:700;display:block}.metric-card>small{color:#8a9791;font-size:10px}.dashboard-grid{grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);gap:16px;margin-bottom:16px;display:grid}.chart-panel{min-height:280px;margin-bottom:16px;padding:20px 22px 18px;position:relative}.chart-empty-block{padding:24px 0 8px}.chart-controls{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.chart-toggle{border:1px solid var(--line);background:#fafbfa;border-radius:999px;gap:2px;padding:2px;display:flex}.chart-toggle button{height:24px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:999px;padding:0 10px;font-size:10.5px;font-weight:650;transition:all .14s}.chart-toggle button:hover{color:var(--ink)}.chart-toggle button.active{color:#fff;background:var(--green);box-shadow:0 1px 3px #1b554a40}.chart-summary{gap:22px;margin-left:auto;display:flex}.chart-summary-item{border-left:1px solid var(--line-soft);flex-direction:column;align-items:flex-end;gap:3px;min-width:80px;padding-left:14px;display:flex}.chart-summary-item>span{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;align-items:center;gap:6px;font-size:9.5px;font-weight:600;display:flex}.chart-summary-item i{border-radius:2.5px;width:8px;height:8px}.chart-summary-item strong{color:var(--ink);font-variant-numeric:tabular-nums;font-feature-settings:"tnum";letter-spacing:-.01em;white-space:nowrap;text-align:right;font-size:14px;font-weight:700}.legend-sales{background:var(--green-2)}.legend-purchases{background:#e4b05e}.bar-chart-wrap{gap:10px;margin-top:18px;display:flex;position:relative}.bar-chart-yaxis{width:62px;color:var(--muted-2);font-variant-numeric:tabular-nums;text-align:right;letter-spacing:0;-webkit-user-select:none;user-select:none;pointer-events:none;flex-direction:column;flex:none;justify-content:space-between;padding:26px 0 38px;font-size:9px;font-weight:600;display:flex}.bar-chart-yaxis span{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.bar-chart{border:1px solid var(--line-soft);background:#fbfdfc repeating-linear-gradient(#0000,#0000 43px,#eef2ef 44px);border-radius:10px;flex:1;justify-content:space-between;align-items:stretch;gap:6px;height:220px;padding:26px 4px 0;display:flex;position:relative}.bar-group{cursor:pointer;background:0 0;border:0;border-radius:6px;flex-direction:column;flex:1;justify-content:flex-end;align-items:center;min-width:0;height:100%;padding:0;transition:background .15s;display:flex;position:relative}.bar-group:hover,.bar-group-hover{background:#1b554a0d}.bar-group:focus-visible{outline:2px solid var(--green);outline-offset:2px}.bar-group-active{background:linear-gradient(#1b554a05,#1b554a17)}.bar-group-active:before{content:"";background:var(--green);border-radius:999px;width:4px;height:4px;position:absolute;top:4px;left:50%;transform:translate(-50%)}.bar-group-active:after{content:"";pointer-events:none;background:#1b554a33;width:1px;position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%)}.bars{z-index:1;justify-content:center;align-items:flex-end;gap:5px;width:100%;height:calc(100% - 38px);display:flex;position:relative;overflow:visible}.bar{border-radius:4px 4px 0 0;width:14px;min-height:3px;transition:height .5s cubic-bezier(.22,1,.36,1),filter .16s;display:block;position:relative}.bar-chart-days-15 .bar{width:10px}.bar-chart-days-30 .bar{border-radius:3px 3px 0 0;width:6px}.bar-chart-days-30 .bars{gap:3px}.bar:hover{filter:brightness(1.08)}.bar:after{content:attr(data-value);z-index:20;border:1px solid var(--line);color:var(--ink);font-variant-numeric:tabular-nums;letter-spacing:0;opacity:0;pointer-events:none;white-space:nowrap;background:#fff;border-radius:6px;padding:3px 7px;font-size:9.5px;font-weight:700;transition:opacity .16s,transform .16s;position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%,3px);box-shadow:0 4px 12px #172d281f}.bar-group:first-child .bar:after{left:0;transform:translateY(3px)}.bar-group:first-child:hover .bar:after,.bar-group:first-child.bar-group-hover .bar:after{transform:translate(0)}.bar-group:last-child .bar:after{left:auto;right:0;transform:translateY(3px)}.bar-group:last-child:hover .bar:after,.bar-group:last-child.bar-group-hover .bar:after{transform:translate(0)}.bar-group:hover .bar:after,.bar-group-hover .bar:after{opacity:1;transform:translate(-50%)}.bar-empty-dot{background:#d4dcd8;border-radius:999px;align-self:center;width:5px;height:5px;margin-bottom:6px}.bar-sales{background:linear-gradient(180deg, #2a7a66, var(--green-2))}.bar-purchases{background:linear-gradient(#f0c078,#e5b15e)}.bar-label-day{z-index:1;color:var(--ink);letter-spacing:.01em;margin-top:7px;font-size:9.5px;font-weight:650;position:relative}.bar-label-empty{height:12px;display:block}.bar-label-date{z-index:1;color:#9aa69f;font-variant-numeric:tabular-nums;letter-spacing:0;margin-top:1px;font-size:8.5px;position:relative}.bar-group-active .bar-label-day{color:var(--green)}.bar-group-active .bar{filter:saturate(1.25)brightness(1.06)}.chart-tooltip-strip{border:1px solid var(--line-soft);color:var(--muted);font-variant-numeric:tabular-nums;background:linear-gradient(90deg,#f2f8f5,#fafcfb);border-radius:8px;align-items:center;gap:18px;margin-top:16px;padding:10px 14px;font-size:11px;display:flex}.chart-tooltip-strip strong{color:var(--ink);margin-right:4px;font-weight:700}.chart-tooltip-strip span{color:var(--ink);align-items:center;gap:6px;font-weight:600;display:flex}.chart-tooltip-strip i{border-radius:2px;width:7px;height:7px}.chart-tooltip-hint{color:var(--muted);font-style:italic;font-weight:500!important}.chart-empty{color:var(--muted-2);align-self:center;margin:auto;font-size:10px}.recent-doc-id{color:var(--muted-2);margin-top:3px;font-size:9px;display:block}.empty-link{color:var(--green);text-underline-offset:2px;font-weight:700;text-decoration:underline}.reports-link-panel{margin-top:16px;padding:0;overflow:hidden}.reports-link{color:var(--ink);align-items:center;gap:14px;padding:18px 20px;transition:background .15s;display:flex}.reports-link:hover{background:#fafcfb}.reports-link-copy{flex-direction:column;flex:1;gap:2px;display:flex}.reports-link-copy strong{font-size:13px}.reports-link-copy small{color:var(--muted-2);font-size:10px}.reports-link-arrow{color:var(--green);font-size:18px;font-weight:700}.milk-roundel{width:34px;height:34px;color:var(--green);background:var(--green-soft);border-radius:9px;place-items:center;display:grid}.milk-roundel svg{width:18px}.milk-balance{background:#f7faf8;border-radius:10px;grid-template-columns:1fr auto 1fr;align-items:center;margin:25px 0 20px;padding:18px 12px;display:grid}.milk-balance div:not(.milk-arrow){text-align:center}.milk-balance span{color:var(--muted);text-transform:uppercase;margin-bottom:6px;font-size:9px;display:block}.milk-balance strong{font-family:inherit;font-size:18px;display:block}.milk-balance small{color:var(--muted-2);white-space:nowrap;margin-top:5px;font-size:8px;display:block}.milk-balance .milk-total{color:var(--ink);font-size:10px;font-weight:700}.milk-arrow{color:#a8b4b0}.shift-row{grid-template-columns:1fr 1fr;gap:9px;display:grid}.shift-row>div{border:1px solid var(--line-soft);border-radius:9px;align-items:center;gap:9px;padding:10px;display:flex}.shift-row>div>span:first-child{border-radius:7px;place-items:center;width:27px;height:27px;font-size:13px;display:grid}.shift-sun{color:#b97b1f;background:var(--amber-soft)}.shift-moon{color:#577aa0;background:var(--blue-soft)}.shift-row small,.shift-row strong{display:block}.shift-row small{color:var(--muted-2);margin-bottom:2px;font-size:8px}.shift-row strong{font-size:11px}.text-link{color:var(--green);justify-content:space-between;margin-top:15px;font-size:10px;font-weight:700;display:flex}.table-panel{overflow:hidden}.table-panel>.panel-heading{padding:18px 20px 15px}.table-scroll{overflow-x:auto}.table-scroll:focus-visible,.daily-ledger-scroll:focus-visible{outline-offset:-2px;outline:2px solid #6f9c8c}table{border-collapse:collapse;width:100%}th{color:#82908b;letter-spacing:.045em;text-align:left;text-transform:uppercase;white-space:nowrap;background:#fafbfa;padding:10px 15px;font-size:9px;font-weight:700}td{border-top:1px solid var(--line-soft);color:#596963;white-space:nowrap;padding:12px 15px;font-size:11px}td strong{color:#2a3f39;font-weight:650}td small{color:#9aa6a2;margin-top:3px;font-size:8px;display:block}tbody tr:hover{background:#fcfdfc}.recent-row{cursor:pointer;outline:none;transition:background .12s}.recent-row:hover{background:var(--green-soft)!important}.recent-row:focus-visible{outline:2px solid var(--green-2);outline-offset:-2px}.recent-row:active{background:#1b554a17}.recent-row .recent-row-caret{color:var(--muted-2);opacity:0;margin-left:6px;font-size:10px;transition:opacity .13s,transform .13s;display:inline-block;transform:translate(-3px)}.recent-row:hover .recent-row-caret,.recent-row:focus-visible .recent-row-caret{opacity:1;transform:translate(0)}.recent-totals-row td{border-top:1.5px solid var(--line);color:var(--muted);letter-spacing:.05em;text-transform:uppercase;background:#fafcfb;padding:11px 15px;font-size:9.5px;font-weight:600}.recent-totals-row td strong{color:var(--ink);letter-spacing:-.005em;text-transform:none;font-size:12px;font-weight:750}.type-mark{align-items:center;gap:6px;font-weight:600;display:inline-flex}.type-mark svg{width:12px;height:12px}.recent-date{color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums;align-items:center;gap:7px;font-size:10.5px;font-weight:600;display:inline-flex}.recent-date svg{width:13px;height:13px;color:var(--muted-2);flex:none}.table-panel th.num,.table-panel td.num{text-align:right;font-variant-numeric:tabular-nums}.balance-due{color:var(--rose,#a2575c)!important}.balance-advance{color:var(--blue)!important}.balance-settled{color:var(--muted-2)!important}.type-sale{color:#367960}.type-purchase{color:#a97327}.status-pill{border-radius:5px;padding:4px 7px;font-size:8px;font-weight:700;display:inline-flex}.status-paid{color:#39755f;background:#e8f3ee}.status-partial{color:#967024;background:#fff3dc}.status-due{color:#a2575c;background:#f8e9ea}.status-advance{color:#416a91;background:#e8f1f8}.recent-balance strong,.recent-balance small,.report-balance-cell strong,.report-balance-cell small{display:block}.recent-balance small,.report-balance-cell small{color:var(--muted-2);margin-top:3px;font-size:7px}.more-button{color:#98a39f;border-radius:6px;width:26px;height:26px}.more-button:hover{background:#f2f5f3}.more-button svg{width:16px}.next-number{color:var(--muted-2);flex-direction:column;align-items:flex-end;font-size:9px;display:flex}.next-number strong{color:var(--green);margin-top:3px;font-size:13px}.ledger-panel{overflow:hidden}.ledger-toolbar{border-bottom:1px solid var(--line);background:#fbfcfb;align-items:center;gap:20px;min-height:67px;padding:13px 16px;display:flex}.ledger-type-tabs{background:#edf2ef;border-radius:8px;gap:3px;padding:3px;display:flex}.ledger-type-tabs button{color:#76847f;background:0 0;border:0;border-radius:6px;align-items:center;gap:7px;height:34px;padding:0 13px;font-size:10px;font-weight:700;display:flex}.ledger-type-tabs button span{font-size:14px}.ledger-type-tabs button.selected{background:#fff;box-shadow:0 1px 4px #1d3a311a}.dashboard-date-navigation{border:1px solid var(--line);background:#fff;border-radius:999px;align-items:stretch;gap:2px;height:38px;margin:0;padding:3px;display:flex;box-shadow:0 1px 2px #172d280a}.ledger-day-step{width:32px;color:var(--muted);background:0 0;border:0;border-radius:999px;flex:0 0 32px;place-items:center;padding:0;font-size:11px;font-weight:700;transition:all .13s;display:grid}.ledger-day-step:hover{color:var(--green);background:var(--green-soft)}.ledger-day-step:disabled{color:var(--line);cursor:default}.ledger-day-step:disabled:hover{color:var(--line);background:0 0}.ledger-day-step svg{width:15px;height:15px}.ledger-today-button{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;background:0 0;border:0;border-radius:999px;place-items:center;padding:0 13px;font-size:10px;font-weight:700;transition:all .13s;display:grid}.ledger-today-button:hover:not(:disabled){color:var(--green);background:var(--green-soft)}.ledger-today-button:disabled{cursor:default;color:var(--muted-2);background:0 0}.dashboard-date-display{border:0;border-left:1px solid var(--line-soft);border-right:1px solid var(--line-soft);color:var(--ink);letter-spacing:-.005em;cursor:pointer;background:0 0;border-radius:0;align-items:center;gap:7px;padding:0 12px;font-size:12px;font-weight:650;display:flex;position:relative}.dashboard-date-display svg{width:15px;height:15px;color:var(--green);flex:none}.dashboard-date-display input{opacity:0;cursor:pointer;border:0;padding:0;position:absolute;inset:0}.dashboard-date-button{display:none}.ledger-type-tabs .sale-tab{color:#35765e}.ledger-type-tabs .purchase-tab{color:#a36d21}.ledger-date{border:1px solid var(--line);height:39px;color:var(--muted);background:#fff;border-radius:7px;align-items:center;gap:8px;padding:0 10px;display:flex}.ledger-date-navigation{border:1px solid var(--line);background:#fff;border-radius:8px;align-items:stretch;min-width:0;height:39px;margin:0;padding:0;display:flex;overflow:hidden}.ledger-date-navigation .ledger-date{border:0;border-radius:0;height:37px}.ledger-date-navigation .ledger-day-step,.ledger-date-navigation .ledger-today-button{border:0;border-right:1px solid var(--line);color:var(--green);text-transform:none;letter-spacing:0;background:#fff;border-radius:0;padding:0;font-size:11px;font-weight:700;display:block}.ledger-date-navigation .ledger-day-step{flex:0 0 34px;width:34px}.ledger-date-navigation .ledger-today-button{border-left:1px solid var(--line);padding:0 10px;font-size:9px}.ledger-date-navigation .ledger-day-step:last-child{border-right:0}.ledger-date-navigation .ledger-day-step:hover,.ledger-date-navigation .ledger-today-button:hover:not(:disabled){background:var(--green-soft)}.ledger-date-navigation .ledger-today-button:disabled{cursor:default;color:var(--muted-2);background:#f5f7f6}.ledger-date svg{width:15px;color:var(--green)}.ledger-date>span{font-size:9px;font-weight:650}.ledger-date input{background:0 0;border:0;outline:0;padding:0;font-size:10px}.daily-rate-control{border:1px solid var(--line);background:#fff;border-radius:7px;align-items:center;height:39px;display:flex;overflow:hidden}.daily-rate-control>span{color:var(--muted);padding:0 9px;font-size:9px;font-weight:650}.daily-rate-control b{height:100%;color:var(--green);border-left:1px solid var(--line);background:#f4f7f5;place-items:center;padding:0 8px;font-size:9px;display:grid}.daily-rate-control input{border:0;outline:0;width:54px;height:100%;padding:0 7px;font-size:10px;font-weight:700}.daily-rate-control small{color:var(--muted-2);white-space:nowrap;padding-right:9px;font-size:8px}.ledger-delete-all{color:#a14f56;background:#fff;border-color:#e7cfd2;margin-left:auto}.ledger-delete-all:hover:not(:disabled){background:#fff7f7;border-color:#d7aeb3}.ledger-delete-all:disabled,.entry-delete-button:disabled{cursor:wait;opacity:.6}.party-entry-table{table-layout:fixed;min-width:1110px}.party-entry-table .party-name-column{text-align:left;width:208px}.party-entry-table .milk-entry-column{width:126px}.party-entry-table .rate-entry-column{width:136px}.party-entry-table .payment-entry-column{width:150px}.party-entry-table th{z-index:2;color:#82908b;border-bottom:1px solid var(--line);letter-spacing:.045em;text-align:center;background:#fafbfa;padding:12px 16px;font-size:10px;position:sticky;top:0}.party-entry-table td{border-bottom:1px solid var(--line-soft);color:#596963;text-align:center;height:82px;padding:12px 16px}.party-entry-table th:first-child,.party-entry-table td:first-child{z-index:1;background:inherit;box-shadow:1px 0 0 var(--line);text-align:left;position:sticky;left:0}.party-entry-table th:first-child{z-index:3;background:#fafbfa}.party-entry-table .amount-column{text-align:right;width:140px}.party-entry-table .entry-action-column{text-align:center;width:110px;padding-left:12px;padding-right:12px}.entry-delete-button,.entry-clear-button{border:1px solid var(--line);white-space:nowrap;background:#fff;border-radius:7px;justify-content:center;align-items:center;gap:5px;min-height:32px;padding:0 10px;font-size:9px;font-weight:700;display:inline-flex}.entry-delete-button{color:#a14f56;border-color:#e7cfd2}.entry-delete-button:hover:not(:disabled){background:#fff7f7;border-color:#d7aeb3}.entry-delete-button svg{width:13px;height:13px}.entry-clear-button{color:var(--muted)}.entry-clear-button:hover{color:var(--green);background:#fbfcfb;border-color:#cbd6d1}.entry-no-action{color:#b1bbb7;font-size:12px}.party-entry-table tbody tr{transition:background .14s,box-shadow .14s}.party-entry-table tbody tr:hover{background:#fcfdfc}.party-entry-table tbody tr.ledger-row-saved{box-shadow:inset 3px 0 #4f8c76}.party-entry-table tbody tr.ledger-row-draft{background:#fffaf1;box-shadow:inset 3px 0 #c79442}.automatic-party{align-items:center;gap:11px;display:flex}.automatic-party>div{min-width:0}.automatic-party>span{width:38px;height:38px;color:var(--green);background:var(--green-soft);letter-spacing:.02em;border-radius:10px;flex:none;place-items:center;font-size:10px;font-weight:750;display:grid}.automatic-party strong,.automatic-party small{display:block}.automatic-party strong{color:#223a33;letter-spacing:-.005em;margin-bottom:3px;font-size:12px;font-weight:650}.automatic-party small{color:var(--muted-2);font-size:10px}.ledger-row-state{letter-spacing:.03em;text-transform:uppercase;border-radius:999px;align-items:center;margin-top:6px;padding:3px 8px;font-size:8px;font-weight:700;line-height:1.3;display:inline-flex}.ledger-row-state.saved{color:#34745d;background:#e7f2ed}.ledger-row-state.draft{color:#94651f;background:#fff0d4}.ledger-row-state.empty{color:#87948f;background:#f0f3f2}.table-number-input{background:#fff;border:1px solid #cfdad5;border-radius:8px;width:100%;max-width:118px;height:42px;margin:auto;transition:border-color .12s,box-shadow .12s;display:flex;overflow:hidden;box-shadow:0 1px 2px #183a300a}.table-number-input:hover{border-color:#a9bcb4}.table-number-input:focus-within{border-color:#4f8c76;box-shadow:0 0 0 3px #e4f0eb}.table-number-input input{color:#223a33;font-variant-numeric:tabular-nums;text-align:right;background:0 0;border:0;outline:0;width:100%;min-width:0;padding:0 10px;font-size:13px;font-weight:650}.table-number-input input::placeholder{color:#b3beb9;font-weight:500}.table-number-input span{color:#778680;border-left:1px solid var(--line-soft);letter-spacing:.02em;background:#fafbfa;place-items:center;min-width:32px;font-size:9px;font-weight:700;display:grid}.money-table-input{max-width:134px}.money-table-input span{border-right:1px solid var(--line);border-left:0;order:-1}.party-entry-table .amount-column>strong{color:#1e332d;font-variant-numeric:tabular-nums;letter-spacing:-.01em;font-family:inherit;font-size:14px;font-weight:700}.party-entry-table .amount-column>small{color:#8a9791;margin-top:3px;font-size:9px}.party-entry-table tfoot td{color:#294039;border-top:1.5px solid var(--line);font-variant-numeric:tabular-nums;background:#fafcfb;border-bottom:0;height:54px;font-size:11px;font-weight:750}.party-entry-table tfoot td:first-child{z-index:1;background:#fafcfb}.party-entry-table tfoot small{color:#8a9791;margin-top:3px;font-size:9px;font-weight:500;display:block}.ledger-day-summary{color:var(--muted);align-items:center;gap:13px;margin-left:auto;font-size:9px;display:flex}.ledger-day-summary strong{color:#314a43;font-size:10px}.ledger-day-summary i{background:var(--line);width:1px;height:18px}.daily-ledger-scroll{scrollbar-color:#bdcbc5 #f3f6f4;scrollbar-width:thin;background:#fff;overflow-x:auto}.daily-ledger-table{table-layout:fixed;min-width:1420px}.daily-ledger-table .document-col{width:94px}.daily-ledger-table .party-col{width:190px}.daily-ledger-table .actions-col{width:112px}.daily-ledger-table th{color:#66756f;text-align:center;background:#f6f8f7;border-right:1px solid #edf1ef;padding:10px 11px 5px;font-size:8px}.daily-ledger-table th:first-child,.daily-ledger-table th:nth-child(2){text-align:left}.daily-ledger-table .unit-heading th{color:#9ba6a2;letter-spacing:0;text-transform:none;border-top:0;padding:0 11px 8px;font-size:7px;font-weight:550}.daily-ledger-table td{text-align:center;border-right:1px solid #f0f3f1;height:59px;padding:9px 11px}.daily-ledger-table td:first-child,.daily-ledger-table td:nth-child(2),.daily-ledger-table td:nth-child(9){text-align:left}.daily-ledger-table .amount-column{text-align:right}.daily-ledger-table .ledger-edit-row{background:#f5faf7;box-shadow:inset 3px 0 #4f8a75}.daily-ledger-table .ledger-edit-row:hover{background:#f5faf7}.ledger-edit-row input,.ledger-edit-row select{background:#fff;border:1px solid #d3dfda;border-radius:6px;outline:0;width:100%;height:34px;padding:0 8px;font-size:10px}.ledger-edit-row input:focus,.ledger-edit-row select:focus{border-color:#6f9c8c;box-shadow:0 0 0 2px #dfede7}.ledger-edit-row td>small{color:#719184;text-align:right;margin-top:3px}.new-document-number{color:var(--green)!important}.draft-label{color:#61716b;background:#e7ece9;border-radius:5px;padding:4px 7px;font-size:8px;font-weight:700;display:inline-flex}.ledger-row-actions{justify-content:center;gap:5px;display:flex}.ledger-row-actions button,.ledger-view{border-radius:5px;height:29px;padding:0 9px;font-size:8px;font-weight:700}.ledger-save,.ledger-view{color:#5c6c66;border:1px solid var(--line);background:#fff}.ledger-post{color:#fff;border:1px solid var(--green);background:var(--green)}.muted-cell{color:#a6b0ac}.daily-ledger-table tfoot td{color:#2b423b;background:#edf3f0;border-top:1px solid #cfdbd6;height:43px;font-size:9px;font-weight:750}.daily-ledger-table tfoot td:first-child{text-transform:uppercase;letter-spacing:.05em}.ledger-help{border-top:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;gap:20px;min-height:64px;padding:13px 18px;display:flex}.ledger-help>div{align-items:center;gap:11px;display:flex}.ledger-help svg{width:20px;color:var(--green)}.ledger-help span{flex-direction:column;display:flex}.ledger-help strong{color:#2a3f39;margin-bottom:4px;font-size:11px;font-weight:700}.ledger-help small,.ledger-help p{color:var(--muted);font-size:9.5px;line-height:1.55}.ledger-help kbd{border:1px solid var(--line);color:#4a5a54;text-align:center;background:#f7f9f8;border-bottom-width:2px;border-radius:4px;min-width:17px;margin:0 1px;padding:1px 5px;font-family:inherit;font-size:8.5px;font-weight:650;line-height:1.5;display:inline-block}.ledger-help p{margin:0}.toast-message{z-index:100;color:#2f7259;box-shadow:var(--shadow);background:#edf8f3;border:1px solid #cfe5da;border-radius:8px;padding:11px 15px;font-size:11px;font-weight:650;position:fixed;top:80px;right:28px}.ledger-error{color:#9b4f55;background:#fff4f4;border-bottom:1px solid #f0d4d6;padding:10px 16px;font-size:10px;font-weight:600}.entry-layout{grid-template-columns:minmax(0,1fr) 285px;align-items:start;gap:17px;display:grid}.form-panel{overflow:hidden}.entry-type-switch{border-bottom:1px solid var(--line);background:#fafcfa;grid-template-columns:1fr 1fr;gap:9px;padding:17px;display:grid}.entry-type-switch button{border:1px solid var(--line);text-align:left;background:#fff;border-radius:9px;align-items:center;gap:11px;padding:12px;display:flex}.entry-type-switch button.selected{background:#f4faf7;border-color:#759e90;box-shadow:inset 0 0 0 1px #759e90}.switch-icon{border-radius:8px;flex:none;place-items:center;width:31px;height:31px;font-weight:700;display:grid}.sale-switch{color:#37795f;background:var(--green-soft)}.purchase-switch{color:#a56e1d;background:var(--amber-soft)}.entry-type-switch strong,.entry-type-switch small{display:block}.entry-type-switch strong{color:#2a3e38;margin-bottom:3px;font-size:11px}.entry-type-switch small{color:var(--muted-2);font-size:9px}.form-section{border-bottom:1px solid var(--line);padding:22px}.form-section-title{align-items:flex-start;gap:11px;margin-bottom:18px;display:flex}.form-section-title>span{width:27px;height:27px;color:var(--green);background:var(--green-soft);border-radius:50%;flex:none;place-items:center;font-size:9px;font-weight:750;display:grid}.form-grid{gap:13px;display:grid}.two-columns{grid-template-columns:1fr 1fr}.field{flex-direction:column;gap:7px;display:flex;position:relative}.field>span{color:#52635d;font-size:10px;font-weight:650}.field input,.field select,.field textarea{background:#fff;border:1px solid #dbe3df;border-radius:7px;outline:0;width:100%;min-height:39px;font-size:11px;transition:all .15s}.field input,.field select{padding:0 11px}.field textarea{resize:vertical;min-height:76px;padding:10px 11px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#6f9c8c;box-shadow:0 0 0 3px #e9f3ef}.field input[readonly]{color:#52635d;background:#f8faf9}.input-with-icon svg{z-index:2;color:#87958f;pointer-events:none;width:15px;position:absolute;bottom:11px;right:11px}.milk-entry-table-wrap{border:1px solid var(--line);border-radius:10px;overflow-x:auto}.milk-entry-table{table-layout:fixed;min-width:610px}.milk-entry-table th:first-child{width:29%}.milk-entry-table th{background:#f7f9f8;padding:11px 14px}.milk-entry-table td{vertical-align:middle;padding:13px 14px}.milk-entry-table tbody tr:nth-child(2){background:#fbfcfe}.milk-entry-table .amount-column{text-align:right}.milk-entry-table .amount-column strong{color:#203a33;font-family:inherit;font-size:14px}.ledger-shift{align-items:center;gap:10px;display:flex}.ledger-shift>span:first-child{border-radius:8px;flex:none;place-items:center;width:31px;height:31px;display:grid}.morning-symbol{color:#b5761c;background:var(--amber-soft)}.evening-symbol{color:#55779b;background:var(--blue-soft)}.ledger-shift strong,.ledger-shift small{display:block}.ledger-shift strong{margin-bottom:3px;font-size:10px}.ledger-shift small{color:var(--muted-2);font-size:8px}.ledger-input{background:#fff;border:1px solid #dbe3df;border-radius:7px;height:37px;display:flex;overflow:hidden}.ledger-input:focus-within{border-color:#6f9c8c;box-shadow:0 0 0 3px #e9f3ef}.ledger-input input{background:0 0;border:0;outline:0;width:100%;min-width:0;padding:0 9px;font-size:11px}.ledger-input>span{color:#7d8c86;border-left:1px solid var(--line);background:#f5f7f6;place-items:center;min-width:34px;font-size:9px;font-weight:650;display:grid}.ledger-rate>span{border-right:1px solid var(--line);border-left:0;order:-1}.milk-entry-table tfoot td{color:#314942;background:#f1f6f3;border-top:1px solid #d5dfda;font-size:10px;font-weight:700}.unit-input{background:#fff;border:1px solid #dbe3df;border-radius:7px;height:39px;display:flex;overflow:hidden}.unit-input:focus-within{border-color:#6f9c8c;box-shadow:0 0 0 3px #e9f3ef}.unit-input input{border:0;border-radius:0;height:37px;min-height:0;box-shadow:none!important}.unit-input b{color:#82908b;background:#f5f7f6;align-items:center;padding:0 10px;font-size:9px;font-weight:600;display:flex}.unit-input.prefix b{border-right:1px solid var(--line);order:-1}.compact-section{border-bottom:0}.form-footer{border-top:1px solid var(--line);background:#fafbfa;justify-content:flex-end;gap:9px;padding:15px 22px;display:flex}.entry-summary{position:sticky;top:83px}.summary-card{color:#e8f2ef;text-align:center;background:radial-gradient(circle at 80% 10%, #ffffff17, transparent 34%), var(--green);border-radius:12px;padding:24px 20px 19px;box-shadow:0 12px 25px #143e3624}.summary-icon{background:#ffffff14;border:1px solid #ffffff21;border-radius:10px;place-items:center;width:38px;height:38px;margin:0 auto 13px;display:grid}.summary-icon svg{width:20px}.summary-card>p{color:#e6f2eea1;margin:0 0 7px;font-size:10px}.summary-card>strong{color:#fff;font-family:inherit;font-size:27px;display:block}.summary-card>span{color:#f3c172;margin-top:6px;font-size:10px;display:block}.summary-breakdown{background:#ffffff1f;border-radius:8px;grid-template-columns:1fr 1fr;gap:1px;margin-top:20px;display:grid;overflow:hidden}.summary-breakdown div{background:#ffffff0f;padding:11px 5px}.summary-breakdown span,.summary-breakdown strong{display:block}.summary-breakdown span{color:#e7f1ee8c;margin-bottom:4px;font-size:8px}.summary-breakdown strong{color:#fff;font-size:10px}.tip-card{background:#fffdf8;border:1px solid #e7e2d6;border-radius:10px;margin-top:12px;padding:15px}.tip-card strong{font-size:10px}.tip-card p{color:#7d837e;margin:6px 0 0;font-size:9px;line-height:1.6}.tip-card code{color:#8d681f;font-size:8px}.entry-history{margin-top:17px}.quick-form{margin-bottom:16px;padding:19px}.party-form-grid{grid-template-columns:repeat(4,1fr);margin-top:17px}.quick-form-actions{justify-content:flex-end;margin-top:14px;display:flex}.user-metric-grid{grid-template-columns:repeat(3,1fr);gap:13px;margin-bottom:16px;display:grid}.user-metric-grid .metric-card{min-height:105px}.users-error{color:#9b4f55;background:#fff4f4;border:1px solid #f0d4d6;border-radius:8px;margin:0 0 15px;padding:11px 13px;font-size:10px;font-weight:650}.user-create-form{margin-bottom:16px}.user-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:17px}.user-create-form .quick-form-actions{justify-content:space-between;align-items:center;gap:15px}.user-create-form .quick-form-actions small{color:var(--muted-2);font-size:9px}.user-reset-form{grid-template-columns:minmax(200px,1.2fr) minmax(170px,.8fr) minmax(170px,.8fr) auto;align-items:end;gap:14px;margin-bottom:16px;padding:18px 20px;display:grid}.user-reset-form h2{color:var(--ink);margin:0;font-size:14px}.user-reset-form p{color:var(--muted-2);margin:6px 0 0;font-size:9px}.user-reset-actions,.user-row-actions{align-items:center;gap:6px;display:flex}.user-reset-actions .button,.user-row-actions .button{white-space:nowrap}.users-table{min-width:930px}.users-table th:last-child,.users-table td:last-child{text-align:right}.user-identity{align-items:center;gap:10px;display:flex}.user-identity>span{width:34px;height:34px;color:var(--green);background:var(--green-soft);border-radius:9px;flex:none;place-items:center;font-size:9px;font-weight:750;display:grid}.user-role{border-radius:6px;padding:5px 8px;font-size:8px;font-weight:750;display:inline-flex}.user-role-admin{color:#5a5791;background:#eeedf8}.user-role-operator{color:#39755f;background:#e8f3ee}.user-role-viewer{color:#6b7471;background:#eef1ef}.user-inline-select{border:1px solid var(--line);background:#fff;border-radius:6px;min-width:120px;height:32px;padding:0 8px;font-size:9px}.user-active-toggle{color:var(--ink);align-items:center;gap:6px;font-size:9px;font-weight:650;display:inline-flex}.role-guide{grid-template-columns:repeat(3,1fr);margin-top:16px;display:grid;overflow:hidden}.role-guide>div{border-right:1px solid var(--line);padding:17px 19px}.role-guide>div:last-child{border-right:0}.role-guide strong{color:var(--ink);font-size:10px}.role-guide p{color:var(--muted-2);margin:5px 0 0;font-size:9px;line-height:1.5}.form-error{color:#a14f56;margin:12px 0 0;font-size:10px;font-weight:600}.settings-layout{grid-template-columns:minmax(0,1fr) 270px;align-items:start;gap:16px;display:grid}.settings-main{gap:16px;display:grid}.settings-panel{padding:22px}.settings-panel-heading{align-items:flex-start;gap:12px;margin-bottom:20px;display:flex}.settings-panel-heading h2,.settings-side-card h2{color:#233a34;margin:0;font-family:inherit;font-size:16px;font-weight:700}.settings-panel-heading p{color:var(--muted-2);margin:5px 0 0;font-size:10.5px;line-height:1.55}.settings-heading-icon{width:35px;height:35px;color:var(--green);background:var(--green-soft);border-radius:9px;flex:none;place-items:center;display:grid}.settings-heading-icon svg{width:18px}.settings-panel-heading .settings-heading-icon.accent-lock{color:#96641a;background:var(--amber-soft)}.settings-readonly-note,.settings-feedback{border-radius:8px;margin:0 0 17px;padding:10px 12px;font-size:10px;line-height:1.55;display:block}.settings-readonly-note{color:#6d5a2a;background:#fffbef;border:1px solid #eadfbf}.settings-feedback.error{color:#9b4f55;background:#fff4f4;border:1px solid #f0d4d6}.settings-feedback.success{color:#2f6d57;background:#f1faf6;border:1px solid #cfe4da}.settings-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;display:grid}.settings-form-grid .field-span-two{grid-column:1/-1}.field input:disabled,.field select:disabled{color:#65736e;cursor:not-allowed;background:#f5f7f6}.settings-money-input{background:#fff;border:1px solid #dbe3df;border-radius:7px;min-height:39px;display:flex;overflow:hidden}.settings-money-input:focus-within{border-color:#6f9c8c;box-shadow:0 0 0 3px #e9f3ef}.settings-money-input>span,.settings-money-input>small{color:#778680;letter-spacing:.02em;background:#fafbfa;flex:none;place-items:center;padding:0 11px;font-size:9.5px;font-weight:700;display:grid}.settings-money-input>span{border-right:1px solid #e2e7e5}.settings-money-input>small{border-left:1px solid #e2e7e5}.field .settings-money-input input{min-width:0;box-shadow:none;border:0;border-radius:0}.settings-money-input:has(input:disabled){background:#f5f7f6}.settings-actions{border-top:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:15px;margin-top:20px;padding-top:17px;display:flex}.settings-actions>small{color:var(--muted-2);font-size:9px}.settings-side{gap:16px;display:grid}.settings-side-card{padding:20px}.settings-side-card>h2{margin-bottom:16px}.settings-side-card:not(.settings-status-card){text-align:center;flex-direction:column;align-items:center;display:flex}.settings-account-avatar{color:#fff;background:var(--green);border-radius:16px;place-items:center;width:58px;height:58px;margin:2px 0 11px;font-size:17px;font-weight:750;display:grid}.settings-side-card>strong{color:var(--ink);font-size:12.5px;font-weight:650}.settings-side-card>span{color:var(--muted-2);overflow-wrap:anywhere;margin-top:4px;font-size:9.5px}.role-badge{letter-spacing:.03em;text-transform:uppercase;border-radius:999px;margin-top:11px;padding:5px 9px;font-size:8.5px;font-weight:750;display:inline-flex}.role-badge.role-admin{color:#5a5791;background:#eeedf8}.role-badge.role-operator{color:#39755f;background:#e8f3ee}.role-badge.role-viewer{color:#6b7471;background:#eef1ef}.settings-status-card ul{gap:15px;margin:0;padding:0;list-style:none;display:grid}.settings-status-card li{align-items:flex-start;gap:9px;display:flex}.settings-status-card li div{flex-direction:column;gap:3px;min-width:0;display:flex}.settings-status-card li strong{color:var(--ink);font-size:10px;font-weight:650}.settings-status-card li small{color:var(--muted-2);font-size:9px;line-height:1.45}.status-dot{box-sizing:content-box;background:#3d9a76;border:2px solid #dceee6;border-radius:50%;flex:none;width:7px;height:7px;margin-top:3px}.positive-text{color:#34765d!important}.negative-text{color:#a45b60!important}.advance-text{color:#52769a!important}.party-list-panel{overflow:hidden}.list-toolbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:13px 16px;display:flex}.inline-search{border:1px solid var(--line);background:#fafbfa;border-radius:8px;align-items:center;gap:8px;width:260px;height:38px;padding:0 12px;transition:border-color .12s,box-shadow .12s;display:flex}.inline-search:focus-within{border-color:#4f8c76;box-shadow:0 0 0 3px #e4f0eb}.inline-search svg{width:15px;height:15px;color:var(--muted-2);flex:none}.inline-search input{color:#223a33;background:0 0;border:0;outline:0;width:100%;min-width:0;padding:0;font-size:11.5px}.inline-search input::placeholder{color:#9aa6a2}.filter-tabs{background:#f2f5f3;border-radius:7px;gap:3px;padding:3px;display:flex}.filter-tabs button{color:var(--muted);background:0 0;border:0;border-radius:5px;padding:7px 13px;font-size:10px;font-weight:650}.filter-tabs button.selected{color:var(--green);background:#fff;box-shadow:0 1px 3px #1e3a3114}.party-row{border-bottom:1px solid var(--line-soft);grid-template-columns:40px minmax(170px,1.5fr) 96px 110px 140px 28px;align-items:center;gap:14px;padding:15px 18px;transition:background .12s;display:grid}.party-row:hover{background:#fcfdfc}.party-row:last-child{border-bottom:0}.party-avatar{width:38px;height:38px;color:var(--green);background:var(--green-soft);letter-spacing:.02em;border-radius:10px;place-items:center;font-size:11px;font-weight:750;display:grid}.party-name,.party-activity,.party-balance{flex-direction:column;display:flex}.party-name strong{color:#223a33;letter-spacing:-.005em;margin-bottom:3px;font-size:12.5px;font-weight:650}.party-name span,.party-activity span,.party-balance span{color:var(--muted-2);font-size:9.5px}.party-activity strong,.party-balance strong{color:#223a33;font-variant-numeric:tabular-nums;margin-top:3px;font-size:12px;font-weight:650}.party-balance strong.positive-text,.party-balance strong.negative-text{font-size:13px;font-weight:700}.party-type{letter-spacing:.04em;text-transform:uppercase;border-radius:999px;width:fit-content;padding:4px 9px;font-size:8.5px;font-weight:700}.party-buyer{color:#34765d;background:var(--green-soft)}.party-supplier{color:#9c6c24;background:var(--amber-soft)}.party-both{color:#5a7191;background:var(--blue-soft)}.empty-state{color:var(--muted);text-align:center;padding:45px}.row-menu-wrap{position:relative}.row-menu{z-index:20;border:1px solid var(--line);background:#fff;border-radius:8px;width:112px;display:grid;position:absolute;top:30px;right:0;overflow:hidden;box-shadow:0 10px 28px #16302824}.row-menu button{color:#40524c;text-align:left;background:#fff;border:0;padding:10px 12px;font-size:10px;font-weight:550}.row-menu button:hover{background:#f5f7f6}.row-menu .danger-action{color:#a14f56;border-top:1px solid var(--line-soft)}.report-date-group{flex-direction:column;gap:6px;display:flex}.report-date-group-label{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;padding-left:13px;font-size:9px;font-weight:650}.report-date-navigation{border:1px solid var(--line);background:#fff;border-radius:999px;align-items:stretch;gap:2px;height:38px;padding:3px;display:flex;box-shadow:0 1px 2px #172d280a}.report-range-presets{flex-wrap:wrap;gap:8px;margin:-10px 0 16px;display:flex}.report-range-preset{border:1px solid var(--line);min-height:30px;color:var(--muted-2);font:inherit;cursor:pointer;background:#f4f7f5;border-radius:999px;padding:0 14px;font-size:11px;font-weight:600;transition:color .14s,background .14s,border-color .14s,box-shadow .14s}.report-range-preset:hover:not(.active){color:var(--ink);background:#fff;border-color:#aac2b8}.report-range-preset:focus-visible{outline:2px solid var(--green);outline-offset:2px}.report-range-preset.active{color:#fff;border-color:var(--green);background:var(--green);box-shadow:0 1px 3px #1b554a40}.report-type-panel{justify-content:space-between;align-items:center;gap:24px;margin-bottom:16px;padding:16px 18px;display:flex}.report-type-copy{min-width:190px}.report-section-eyebrow{color:var(--green);letter-spacing:.08em;text-transform:uppercase;font-size:9px;font-weight:750}.report-type-copy h2{margin:5px 0 3px;font-size:14px}.report-type-copy p{color:var(--muted-2);margin:0;font-size:10px}.report-type-options{flex:1;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;max-width:640px;display:grid}.report-type-option{border:1px solid var(--line);min-height:62px;color:var(--ink);text-align:left;cursor:pointer;background:#fff;border-radius:9px;align-items:center;gap:10px;padding:10px 12px;transition:border-color .15s,background .15s,box-shadow .15s;display:flex}.report-type-option:hover{background:#fafcfb;border-color:#aac2b8}.report-type-option.active{border-color:var(--green);background:#f2f8f5;box-shadow:0 0 0 2px #1b554a17}.report-type-purchase.active{background:#fffaf1;border-color:#c38b3d;box-shadow:0 0 0 2px #c38b3d1a}.report-type-both.active{background:#f3f9fc;border-color:#4d7f99;box-shadow:0 0 0 2px #4d7f991a}.report-type-option:focus-visible{outline:2px solid var(--green);outline-offset:2px}.report-type-icon{width:30px;height:30px;color:var(--green);background:var(--green-soft);border-radius:8px;flex:none;place-items:center;display:grid}.report-type-purchase .report-type-icon{color:#b27a2d;background:#fff1d8}.report-type-both .report-type-icon{color:#3a6a82;background:#e2eff5}.report-type-icon svg{width:16px}.report-type-option>span:nth-child(2){flex-direction:column;gap:3px;min-width:0;display:flex}.report-type-option strong{font-size:11px}.report-type-option small{color:var(--muted-2);font-size:9px}.report-type-option b{color:var(--green);margin-left:auto;font-size:14px}.report-type-purchase b{color:#b27a2d}.report-type-both b{color:#3a6a82}.report-view-tabs{border:1px solid var(--line);background:#f4f7f5;border-radius:9px;gap:2px;padding:3px;display:flex}.report-view-tabs button{min-height:32px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:0 14px;font-size:11px;font-weight:600;transition:color .14s,background .14s,box-shadow .14s}.report-view-tabs button:hover:not(.active){color:var(--ink)}.report-view-tabs button:focus-visible{outline:2px solid var(--green);outline-offset:2px}.report-view-tabs button.active{color:#fff;background:var(--green);box-shadow:0 1px 3px #1b554a40}.report-person-filter{align-items:flex-end;gap:16px;margin-bottom:16px;padding:14px 16px;display:flex;position:relative;overflow:visible}.report-party-picker{width:min(420px,100%);position:relative}.report-party-picker-label{color:var(--muted);margin-bottom:6px;font-size:9px;font-weight:650;display:block}.report-party-trigger{border:1px solid var(--line);width:100%;min-height:48px;color:var(--ink);text-align:left;background:#fff;border-radius:10px;align-items:center;gap:11px;padding:7px 11px;transition:border-color .16s,box-shadow .16s;display:flex}.report-party-trigger:hover,.report-party-trigger:focus-visible{border-color:#9db5ac;outline:none;box-shadow:0 0 0 3px #1c654f14}.report-party-trigger[aria-expanded=true]{border-color:var(--green);box-shadow:0 0 0 3px #1c654f1f}.report-party-trigger>.report-party-avatar{border-radius:9px;flex:none;width:32px;height:32px}.report-party-trigger-text{flex:auto;min-width:0}.report-party-trigger strong,.report-party-trigger small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.report-party-trigger strong{font-size:11px}.report-party-trigger small{color:var(--muted-2);margin-top:3px;font-size:8px}.report-party-trigger>svg{width:15px;color:var(--green);flex:none;margin-left:auto;transition:transform .16s}.report-party-trigger[aria-expanded=true] svg{transform:rotate(180deg)}.report-party-menu{z-index:40;border:1px solid var(--line);background:#fff;border-radius:10px;width:100%;position:absolute;top:calc(100% + 6px);left:0;overflow:hidden;box-shadow:0 18px 45px #16372d29}.report-party-search{border-bottom:1px solid var(--line-soft);background:#fafcfb;align-items:center;gap:8px;height:44px;padding:0 11px;display:flex}.report-party-search svg{width:15px;color:var(--green);flex:none}.report-party-search input{min-width:0;color:var(--ink);background:0 0;border:0;outline:0;flex:1;font-size:10px}.report-party-search input::-webkit-search-cancel-button{display:none}.report-party-clear{width:20px;height:20px;color:var(--muted-2);background:0 0;border:0;border-radius:999px;flex:none;place-items:center;font-size:13px;line-height:1;transition:background .12s,color .12s;display:grid}.report-party-clear:hover,.report-party-clear:focus-visible{color:var(--ink);background:var(--line-soft);outline:none}.report-party-type-tabs{border-bottom:1px solid var(--line-soft);background:#fafcfb;gap:6px;padding:9px 11px;display:flex;overflow-x:auto}.report-party-type-tabs>button{border:1px solid var(--line);color:var(--muted);white-space:nowrap;background:#fff;border-radius:999px;align-items:center;gap:5px;padding:4px 9px;font-size:9px;font-weight:650;transition:border-color .12s,background .12s,color .12s;display:flex}.report-party-type-tabs>button:hover{color:var(--ink);border-color:#9db5ac}.report-party-type-tabs>button.selected{border-color:var(--green);color:var(--green);background:var(--mint)}.report-party-type-tabs>button em{color:var(--muted-2);background:var(--line-soft);border-radius:999px;padding:0 5px;font-size:8px;font-style:normal;font-weight:700;line-height:14px}.report-party-type-tabs>button.selected em{color:var(--green);background:#fff}.report-party-options{max-height:280px;padding:5px;overflow-y:auto}.report-party-options>button{width:100%;color:var(--ink);text-align:left;background:#fff;border:0;border-radius:7px;grid-template-columns:34px minmax(0,1fr) 18px;align-items:center;gap:9px;padding:8px;display:grid}.report-party-options>button:hover,.report-party-options>button:focus-visible,.report-party-options>button.active{background:#f3f8f6;outline:none}.report-party-options>button.selected{background:var(--mint)}.report-party-options>button.selected:hover,.report-party-options>button.selected.active{background:var(--mint);box-shadow:inset 0 0 0 1px #1c654f40}.report-party-options>button>span:nth-child(2){min-width:0}.report-party-options strong,.report-party-options small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.report-party-options strong{font-size:10px}.report-party-options small{color:var(--muted-2);text-transform:capitalize;margin-top:3px;font-size:8px}.report-party-options b{color:var(--green);text-align:center;font-size:12px}.report-party-options>button>svg{width:14px;color:var(--green);flex:none}.report-party-menu-footer{border-top:1px solid var(--line-soft);color:var(--muted-2);text-align:right;background:#fafcfb;margin:0;padding:7px 13px;font-size:8.5px}.report-party-avatar{width:34px;height:34px;color:var(--green);background:var(--mint);border-radius:9px;place-items:center;font-size:9px;font-weight:750;display:grid}.report-party-avatar svg{width:15px}.report-party-avatar.all{color:#8a6121;background:#fff4df;font-size:8px}.report-party-empty{text-align:center;color:var(--muted-2)!important;margin:0!important;padding:18px 10px!important}.report-person-filter p{color:var(--muted);margin:0 0 10px;font-size:10px}.report-person-filter p strong{color:var(--ink)}.payments-layout{grid-template-columns:minmax(0,1fr) 285px;align-items:start;gap:17px;margin-bottom:17px;display:grid}.payment-form-panel{padding:20px}.direction-switch{grid-template-columns:1fr 1fr;gap:9px;margin:19px 0;display:grid}.direction-switch button{border:1px solid var(--line);height:45px;color:var(--muted);background:#fff;border-radius:8px;justify-content:center;align-items:center;gap:8px;font-size:10px;font-weight:650;display:flex}.direction-switch button span{font-size:16px}.direction-switch .selected.inbound{color:#35765e;background:#f0f8f4;border-color:#8cb4a5;box-shadow:inset 0 0 0 1px #8cb4a5}.direction-switch .selected.outbound{color:#a16c20;background:#fff9ee;border-color:#dcb775;box-shadow:inset 0 0 0 1px #dcb775}.full-field{grid-column:1/-1}.large-money-input{border:1px solid #d7e0dc;border-radius:8px;height:49px;display:flex;overflow:hidden}.large-money-input b{width:50px;color:var(--green);border-right:1px solid var(--line);background:#f5f8f6;place-items:center;font-family:inherit;font-size:16px;display:grid}.large-money-input input{border:0;border-radius:0;height:47px;font-family:inherit;font-size:19px;box-shadow:none!important}.allocation-box{background:#f8fbf9;border:1px dashed #cad8d2;border-radius:9px;grid-template-columns:1fr 220px;align-items:center;gap:15px;margin-top:16px;padding:13px;display:grid}.allocation-box strong{font-size:10px}.allocation-box p{color:var(--muted-2);margin:4px 0 0;font-size:8px}.allocation-box select{border:1px solid var(--line);background:#fff;border-radius:7px;outline:0;height:35px;padding:0 9px;font-size:9px}.payment-submit{width:100%;margin-top:17px}.payments-summary{flex-direction:column;gap:10px;display:flex}.cash-summary-card,.cash-net{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:10px;padding:17px}.cash-summary-card span,.cash-summary-card strong,.cash-summary-card small,.cash-net span,.cash-net strong{display:block}.cash-summary-card span,.cash-net span{color:var(--muted);font-size:9px}.cash-summary-card strong,.cash-net strong{margin:6px 0 3px;font-family:inherit;font-size:20px}.cash-summary-card small{color:var(--muted-2);font-size:8px}.cash-in-card{border-left:3px solid #55917a}.cash-out-card{border-left:3px solid #d4a04c}.cash-net{color:#fff;background:var(--green);border:0}.cash-net span{color:#ecf5f299}.payments-table-heading{align-items:center}.compact-search{width:210px}.payment-direction{gap:4px;font-weight:650;display:inline-flex}.direction-in{color:#39775f}.direction-out{color:#a46e21}.report-summary{grid-template-columns:repeat(3,1fr);gap:13px;margin-bottom:16px;display:grid}.report-summary--four{grid-template-columns:repeat(2,1fr)}.report-summary article{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:10px;padding:17px 19px}.report-summary span,.report-summary strong,.report-summary small{display:block}.report-summary span{color:var(--muted);font-size:9px}.report-summary strong{margin:7px 0 5px;font-family:inherit;font-size:20px}.report-summary small{color:var(--muted-2);font-size:8px}.report-summary .highlight-report{color:#fff;background:var(--green);border:0}.highlight-report span,.highlight-report small{color:#ebf5f19e}.report-table table{min-width:1080px}.report-type-chip{letter-spacing:.02em;white-space:nowrap;border-radius:999px;align-items:center;padding:2px 9px;font-size:9px;font-weight:700;display:inline-flex}.report-type-chip-sale{color:var(--green);background:var(--green-soft)}.report-type-chip-purchase{color:var(--amber);background:var(--amber-soft)}.report-day-cards{display:none}.report-day-card{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:10px;padding:15px 16px}.report-day-card+.report-day-card{margin-top:12px}.report-day-card h3{border-bottom:1px solid var(--line);margin:0 0 12px;padding-bottom:10px;font-size:13px}.report-day-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.report-day-card-side>.report-type-chip{margin-bottom:9px}.report-day-card-side dl{gap:6px;margin:0;display:grid}.report-day-card-side dl>div{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.report-day-card-side dt{color:var(--muted-2);font-size:10px;font-weight:600}.report-day-card-side dd{color:var(--ink);font-variant-numeric:tabular-nums;text-align:right;margin:0;font-size:12px;font-weight:650}.report-day-card-side dd small{color:var(--muted-2);font-size:9px;font-weight:600}.report-chart-panel{margin-bottom:16px;padding:19px 20px}.report-chart-panel .chart-legend{border:1px solid var(--line-soft);color:var(--muted);background:#fafcfb;border-radius:999px;align-items:center;gap:14px;padding:7px 10px;font-size:10px;font-weight:650;display:flex}.report-chart-panel .chart-legend span{white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.report-chart-panel .chart-legend i{border-radius:3px;flex:none;width:8px;height:8px;display:block}.report-bars{border-bottom:1px solid var(--line);background:repeating-linear-gradient(#0000,#0000 58px,#eff3f1 59px);justify-content:space-around;align-items:flex-end;gap:8px;height:245px;margin-top:22px;padding:8px 8px 0;display:flex}.report-bar-group{flex-direction:column;justify-content:flex-end;align-items:center;width:42px;height:100%;display:flex}.report-bar-group>span{color:#8e9b96;margin-top:8px;font-size:9px}.report-bars-inner{justify-content:center;align-items:flex-end;gap:3px;width:100%;height:calc(100% - 20px);display:flex;overflow:hidden}.report-bars-inner .bar{width:9px}.report-table tfoot td{color:#263d36;background:#f5f8f6;font-weight:750}.print-report-header,.print-report-footer{display:none}.login-page{background:#fff;grid-template-columns:minmax(380px,1fr) minmax(440px,1fr);min-height:100vh;display:grid}.login-story{color:#fff;background:radial-gradient(circle at 80% 8%,#efb95e24,#0000 30%),radial-gradient(circle at 8% 92%,#6fb39a2e,#0000 40%),linear-gradient(155deg,#0e332c,#16453c 60%,#1d554a);flex-direction:column;justify-content:space-between;padding:48px 6vw 52px;display:flex;position:relative;overflow:hidden}.login-story:after{content:"";border:1px solid #ffffff0f;border-radius:50%;width:420px;height:420px;position:absolute;bottom:-160px;right:-140px}.login-brand{align-items:center;gap:11px;display:flex}.story-copy{z-index:2;max-width:460px;margin:88px 0 72px;position:relative}.story-copy .eyebrow{color:#efb95eeb!important}.story-copy h1{letter-spacing:-.032em;margin:0;font-family:inherit;font-size:clamp(36px,3.9vw,56px);font-weight:700;line-height:1.1}.story-copy>p:last-child{color:#ebf5f1a8;max-width:420px;margin:20px 0 0;font-size:14px;line-height:1.72}.story-list{z-index:2;max-width:400px;margin:0;list-style:none;position:relative}.story-list li{align-items:flex-start;gap:14px;margin-bottom:26px;display:flex}.story-list li:last-child{margin-bottom:0}.story-list li>span{color:#efb95e;letter-spacing:.04em;border:1px solid #efb95e42;border-radius:9px;flex:none;place-items:center;width:34px;height:34px;font-size:10px;font-weight:750;display:grid}.story-list li strong{color:#fff;letter-spacing:-.005em;margin-bottom:4px;font-size:14px;font-weight:650;display:block}.story-list li p{color:#ebf5f199;max-width:320px;margin:0;font-size:12px;line-height:1.62}.story-drop{border:1px solid #ffffff0d;border-radius:50%;position:absolute}.story-drop-one{width:120px;height:120px;top:18%;right:10%}.story-drop-two{width:54px;height:54px;bottom:20%;right:26%}.login-form-side{background:#fff;place-items:center;padding:48px 5vw;display:grid}.login-form{width:min(400px,100%)}.login-form .eyebrow{margin-bottom:9px!important}.login-form h2{color:#19362f;letter-spacing:-.028em;margin:0;font-family:inherit;font-size:27px;font-weight:700}.login-form>p:not(.eyebrow){color:var(--muted);margin:10px 0 30px;font-size:13px;line-height:1.6}.login-form .field{margin-bottom:15px}.login-form .field>span{font-size:11px}.login-form .field input{min-height:46px;font-size:12px}.password-field button{min-width:36px;min-height:32px;color:var(--green);cursor:pointer;background:0 0;border:0;padding:0 6px;font-size:10px;font-weight:700;position:absolute;bottom:8px;right:11px}.field-with-icon .field-icon{z-index:2;color:#8fa099;pointer-events:none;width:15px;height:15px;position:absolute;bottom:13px;left:12px}.field-with-icon input{padding-left:36px!important}.password-field.field-with-icon input{padding-right:58px}.login-options{color:var(--muted);justify-content:space-between;align-items:center;margin:4px 0 24px;font-size:11px;display:flex}.login-options label{align-items:center;gap:6px;display:flex}.login-options input[type=checkbox]{width:16px;height:16px;margin:0}.login-options button{min-height:28px;color:var(--green);cursor:pointer;background:0 0;border:0;padding:3px 0;font-weight:650}.login-button{width:100%;min-height:46px;font-size:13px}.login-feedback{background:#eef6f2;border-radius:8px;padding:10px 12px;color:#426e60!important;margin:-10px 0 15px!important;font-size:11px!important}.login-feedback.error{background:#fff0f1;color:#9b4f55!important}.notifications-panel{z-index:80;border:1px solid var(--line);background:#fff;border-radius:11px;width:min(330px,100vw - 28px);padding:14px;position:absolute;top:56px;right:34px;box-shadow:0 16px 44px #13342b29}.notifications-panel>div{justify-content:space-between;align-items:center;padding:1px 2px 10px;display:flex}.notifications-panel>div strong{font-family:inherit;font-size:14px}.notifications-panel>div button{color:var(--muted);background:0 0;border:0;padding:0;font-size:9px}.notifications-panel article{border-top:1px solid var(--line-soft);align-items:flex-start;gap:10px;padding:11px 4px;display:flex}.notification-icon{color:#34765d;background:var(--green-soft);border-radius:7px;flex:none;place-items:center;width:25px;height:25px;font-size:10px;font-weight:800;display:grid}.notification-amber{color:#9c6c24;background:var(--amber-soft)}.notifications-panel article p,.notifications-panel article strong,.notifications-panel article small{margin:0;display:block}.notifications-panel article strong{font-size:10px}.notifications-panel article small{color:var(--muted);margin-top:4px;font-size:8px;line-height:1.5}.notifications-panel>a{color:var(--green);border-top:1px solid var(--line-soft);padding:9px 4px 1px;font-size:9px;font-weight:700;display:block}.command-overlay{z-index:150;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0c1e1980;place-items:start center;padding:11vh 18px 30px;display:grid;position:fixed;inset:0}.command-palette{z-index:1;background:#fff;border:1px solid #ffffff59;border-radius:14px;width:min(610px,100%);max-height:72vh;position:relative;overflow:hidden;box-shadow:0 25px 70px #091b1647}.command-backdrop{background:0 0;border:0;padding:0;position:absolute;inset:0}.command-search{border-bottom:1px solid var(--line);align-items:center;gap:11px;height:58px;padding:0 16px;display:flex}.command-search svg{width:19px;color:var(--green)}.command-search input{background:0 0;border:0;outline:0;flex:1;min-width:0;font-size:13px}.command-search kbd{border:1px solid var(--line);color:var(--muted);background:#f7f9f8;border-radius:5px;padding:4px 7px;font-family:inherit;font-size:8px}.command-results{max-height:calc(72vh - 58px);padding:10px;overflow-y:auto}.command-results>div>small{color:var(--muted-2);letter-spacing:.1em;text-transform:uppercase;padding:8px 9px 5px;font-size:8px;font-weight:700;display:block}.command-results a{color:#31463f;border-radius:8px;align-items:center;gap:10px;min-height:43px;padding:7px 9px;display:flex}.command-results a:hover{background:#f2f6f4}.command-results a>svg{width:17px;color:var(--green)}.command-results a>span:not(.command-avatar){flex-direction:column;flex:1;min-width:0;display:flex}.command-results a strong{font-size:10px}.command-results a em{color:var(--muted);margin-top:2px;font-size:8px;font-style:normal}.command-results a b{color:var(--muted-2);margin-left:auto;font-size:11px}.command-avatar{width:27px;height:27px;color:var(--green);background:var(--green-soft);border-radius:7px;place-items:center;font-size:8px;font-weight:750;display:grid}.command-empty{color:var(--muted);text-align:center;margin:0;padding:38px 16px}.not-found{text-align:center;max-width:610px;margin:9vh auto 0;padding:34px}.not-found .page-header{margin-bottom:24px;display:block}.not-found .page-actions{justify-content:center}.login-security{color:var(--muted-2);text-align:center;margin-top:20px;font-size:10px;line-height:1.6;display:block}.login-button:disabled{opacity:.72;cursor:wait}.auth-dialog-layer{z-index:110;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.auth-dialog-backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0b231d8a;border:0;position:absolute;inset:0}.auth-dialog{border:1px solid var(--line);background:#fff;border-radius:14px;width:min(440px,100%);padding:24px;position:relative;box-shadow:0 24px 70px #0a261f3d}.auth-dialog-heading{justify-content:space-between;align-items:flex-start;margin-bottom:22px;display:flex}.auth-dialog-heading h2{color:#19362f;margin:4px 0 0;font-size:21px}.auth-dialog-heading>button{border:1px solid var(--line);width:31px;height:31px;color:var(--muted);background:#fff;border-radius:7px;place-items:center;padding:0;display:grid}.auth-dialog-heading svg{width:15px}.auth-dialog .field{margin-bottom:15px}.auth-dialog .field input{min-height:42px}.auth-dialog .login-feedback{display:block;margin:0 0 15px!important}.auth-dialog-actions{justify-content:flex-end;gap:8px;margin-top:21px;display:flex}.mobile-login-brand,.sidebar-scrim{display:none}@media (width<=1100px){.metric-grid,.report-summary{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.milk-panel{min-height:auto}.party-form-grid,.user-reset-form{grid-template-columns:1fr 1fr}.settings-layout{grid-template-columns:minmax(0,1fr) 235px}}@media (width<=850px){.sidebar{transition:transform .19s;transform:translate(-100%)}.sidebar.sidebar-open{transform:translate(0)}.sidebar-scrim{z-index:45;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0a1c176b;border:0;display:block;position:fixed;inset:0}.sidebar-close{color:#ffffffa6;width:30px;height:30px;margin-left:auto;display:grid}.sidebar-close svg{width:18px}.main-column{margin-left:0}.topbar{padding:0 20px}.mobile-menu{width:34px;height:34px;color:var(--green);margin-right:10px;display:grid}.mobile-menu svg{width:20px}.sync-state,.topbar-search kbd{display:none}.page-content{padding:27px 20px 45px}.entry-layout,.payments-layout,.settings-layout{grid-template-columns:1fr}.settings-side{grid-template-columns:1fr 1fr}.ledger-toolbar{flex-wrap:wrap}.ledger-day-summary{width:100%;margin-left:0;padding-top:2px}.entry-summary{grid-template-columns:1fr 1fr;gap:12px;display:grid;position:static}.tip-card{margin-top:0}.party-row{grid-template-columns:38px minmax(150px,1fr) 80px 110px 28px}.party-activity{display:none}.login-page{grid-template-columns:1fr}.login-story{display:none}.mobile-login-brand{justify-content:center;align-items:center;gap:10px;margin-bottom:44px;display:flex}.mobile-login-brand span{flex-direction:column;display:flex}.mobile-login-brand strong{color:var(--green);letter-spacing:-.015em;font-size:20px;font-weight:700}.mobile-login-brand small{color:var(--muted-2);letter-spacing:.12em;text-transform:uppercase;margin-top:2px;font-size:9px}.mobile-login-brand svg,.mobile-login-brand img{object-fit:contain;width:34px;height:34px}}@media (width<=620px){.user-metric-grid,.role-guide,.user-form-grid,.user-reset-form,.settings-form-grid,.settings-side{grid-template-columns:1fr}.settings-form-grid .field-span-two{grid-column:auto}.role-guide>div{border-right:0;border-bottom:1px solid var(--line)}.role-guide>div:last-child{border-bottom:0}.topbar{height:58px;padding:0 14px}.topbar-search{flex:1;width:auto}.topbar-actions{gap:6px}.notifications-panel{top:51px;right:10px}.topbar-avatar{display:none}.page-content{padding:22px 14px 38px}.page-header{flex-direction:column;align-items:flex-start;margin-bottom:22px}.page-actions{flex-wrap:wrap;gap:8px;width:100%}.reports-page-header .page-actions{flex-wrap:wrap;align-items:stretch}.report-actions-divider{display:none}.report-view-tabs{flex:auto}.report-view-tabs button{flex:1}.report-type-panel{flex-direction:column;align-items:stretch;gap:14px;padding:15px}.report-type-options{grid-template-columns:1fr;max-width:none}.dashboard-date-navigation{flex:1 0 100%;width:100%}.page-actions .button{flex:1}.metric-grid,.report-summary{grid-template-columns:1fr}.chart-panel{min-height:285px;padding:16px}.chart-controls{gap:8px;width:100%}.chart-summary{justify-content:space-between;width:100%;margin-left:0}.chart-summary-item{align-items:flex-start}.bar-chart-yaxis{display:none}.bar-chart{gap:4px;padding:20px 0 0}.bar{width:10px}.bars{gap:3px}.bar-label-date{display:none}.chart-tooltip-strip{flex-wrap:wrap;gap:12px;padding:8px 10px;font-size:10.5px}.entry-type-switch,.two-columns,.shift-fields,.party-form-grid,.direction-switch{grid-template-columns:1fr}.ledger-toolbar{flex-direction:column;align-items:stretch;gap:9px}.ledger-type-tabs button{flex:1;justify-content:center}.ledger-date{justify-content:space-between}.ledger-date-navigation{width:100%}.ledger-date-navigation .ledger-date,.ledger-date-navigation .ledger-date input{flex:1;min-width:0}.daily-rate-control{width:100%}.daily-rate-control input{text-align:right;flex:1}.ledger-save-all,.ledger-delete-all{width:100%;margin-left:0}.ledger-day-summary{white-space:nowrap;justify-content:space-between;overflow-x:auto}.ledger-help{flex-direction:column;align-items:flex-start}.entry-summary{grid-template-columns:1fr}.form-section{padding:17px}.form-footer{padding:14px 17px}.form-footer .button{flex:1}.list-toolbar{flex-direction:column;align-items:stretch}.inline-search{width:100%}.filter-tabs{overflow-x:auto}.filter-tabs button{flex:1}.party-row{grid-template-columns:38px 1fr 28px}.party-type,.party-balance{grid-column:2}.party-type{grid-row:2}.party-balance{grid-row:3}.party-row .more-button,.row-menu-wrap{grid-area:1/3}.report-date-group,.report-date-navigation{width:100%}.report-date-navigation .dashboard-date-display{flex:auto;justify-content:center}.report-range-presets{flex:auto}.report-range-preset{flex:auto;min-height:34px}.report-period-table{display:none}.report-day-cards{margin-top:14px;display:block}.report-day-card-grid{grid-template-columns:1fr}.report-person-filter{flex-direction:column;align-items:stretch}.report-party-picker{width:100%}.allocation-box{grid-template-columns:1fr}.payments-table-heading{flex-direction:column;align-items:stretch}.report-bars{justify-content:flex-start;overflow-x:auto}.report-bar-group{min-width:34px}.login-form-side{padding:30px 22px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}@page{size:A4 landscape;margin:10mm}@media print{:root{--ink:#17241f;--muted:#52615b;--line:#cbd3cf;--line-soft:#e3e8e5}html,body{color:#17241f;-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#fff;min-height:auto;font-size:10pt}.sidebar,.topbar,.page-header,.report-range-presets,.report-person-filter,.report-chart-panel,.report-day-cards{display:none!important}.main-column{margin:0}.page-content{width:100%;max-width:none;margin:0;padding:0}.print-report-header{border-bottom:2px solid #1b554a;grid-template-columns:1fr auto;align-items:start;gap:3mm 10mm;margin-bottom:7mm;padding-bottom:4mm;display:grid}.print-report-brand{align-items:baseline;gap:2.5mm;display:flex}.print-report-brand strong{color:#1b554a;letter-spacing:-.03em;font-size:17pt}.print-report-brand span,.print-report-date{color:#65736d;font-size:8pt}.print-report-title{grid-column:1}.print-party-details{background:#f4f8f6;border:1px solid #cbd8d2;grid-column:1/-1;grid-template-columns:auto 1fr;align-items:baseline;gap:1mm 3mm;margin-top:1mm;padding:3mm;display:grid}.print-party-details span{color:#65736d;text-transform:uppercase;grid-row:1/3;font-size:7pt}.print-party-details strong{font-size:11pt}.print-party-details small{color:#596862;font-size:7.5pt}.print-report-title h1{margin:0 0 1mm;font-size:15pt}.print-report-title p,.print-report-date{margin:0}.print-report-date{text-align:right;grid-area:1/2}.report-summary{break-inside:avoid;grid-template-columns:repeat(3,1fr);gap:2.5mm;margin-bottom:5mm}.report-summary article{box-shadow:none;border-radius:2mm;padding:3mm}.report-summary span{font-size:7pt}.report-summary strong{margin:1.5mm 0 1mm;font-size:12pt}.report-summary small{font-size:6.5pt}.report-table{box-shadow:none;border:0}.report-table>.panel-heading{border:0;padding:0 0 2.5mm}.report-table .panel-heading h2{font-size:11pt}.report-table .panel-heading p,.empty-state{font-size:7.5pt}.table-scroll{overflow:visible}.report-table table{table-layout:fixed;width:100%;min-width:0}.report-table th,.report-table td{padding:1.7mm 1.2mm;font-size:6.8pt}.report-table th{color:#263d36;white-space:normal;background:#edf3f0;line-height:1.15}.report-table td{white-space:nowrap}.report-table tfoot{display:table-row-group}.report-table .report-balance-cell small{font-size:5.8pt}.report-table tr{break-inside:avoid}.print-report-footer{color:#63706a;break-inside:avoid;margin-top:10mm;font-size:7pt;display:block}.print-report-footer>p{margin:0 0 13mm}.print-report-footer>div{grid-template-columns:45mm 55mm;justify-content:space-between;gap:20mm;display:grid}.print-report-footer span{border-top:1px solid #7d8883;padding-top:2mm}}.loading-hint{color:var(--muted);align-items:center;gap:9px;display:inline-flex}.loading-spinner{border:2px solid var(--line);border-top-color:var(--green-2);border-radius:50%;flex:none;width:15px;height:15px;animation:.7s linear infinite loading-spin}@keyframes loading-spin{to{transform:rotate(360deg)}}.coming-soon-hero{background:linear-gradient(135deg, var(--green-soft) 0%, var(--paper) 70%);justify-content:space-between;align-items:center;gap:30px;margin-bottom:16px;padding:30px 32px;display:flex}.coming-soon-hero-copy{max-width:560px}.coming-soon-badge{color:#96641a;background:var(--amber-soft);letter-spacing:.12em;text-transform:uppercase;border-radius:999px;margin-bottom:14px;padding:5px 10px;font-size:9px;font-weight:750;display:inline-flex}.coming-soon-hero h2{color:#18332d;letter-spacing:-.03em;margin:0 0 10px;font-size:clamp(22px,2vw,28px);font-weight:700}.coming-soon-hero p{color:var(--muted);margin:0 0 20px;font-size:13px;line-height:1.55}.coming-soon-hero-actions{flex-wrap:wrap;gap:9px;display:flex}.coming-soon-hero-icon{width:120px;height:120px;color:var(--green);opacity:.16;flex:none}.coming-soon-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px;display:grid}.coming-soon-feature{min-height:0}.coming-soon-feature .metric-icon{color:#ba7b20;background:var(--amber-soft)}.coming-soon-feature small{color:var(--muted-2);font-size:10px;line-height:1.5;display:block}.coming-soon-quiet{color:var(--muted-2);background:var(--line-soft);letter-spacing:.06em;text-transform:uppercase;border-radius:5px;flex:none;padding:4px 8px;font-size:9px;font-weight:700}.coming-soon-preview-table{opacity:.65;filter:grayscale(.25)}.coming-soon-chip{color:#96641a;background:var(--amber-soft);border-radius:5px;padding:4px 8px;font-size:9px;font-weight:700;display:inline-flex}@media (width<=1100px){.coming-soon-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=850px){.coming-soon-hero{flex-direction:column;align-items:flex-start;padding:24px 22px}.coming-soon-hero-icon{width:84px;height:84px}}@media (width<=620px){.coming-soon-grid{grid-template-columns:1fr}}.expenses-metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.expenses-history-heading{align-items:center}.expenses-date-range{flex-direction:row;align-items:end;gap:10px}.expenses-date-range .field{min-width:126px}.expenses-history-empty .empty-state,.expenses-breakdown-empty{padding:28px 20px 32px}.expenses-breakdown-panel>.panel-heading{padding:18px 20px 0}.expenses-breakdown-panel{margin-top:16px}@media (width<=1100px){.expenses-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=620px){.expenses-metric-grid{grid-template-columns:1fr}.expenses-history-heading{flex-direction:column;align-items:stretch}.expenses-date-range{flex-wrap:wrap;width:100%}.expenses-date-range .field{flex:130px}}.expense-chip{white-space:nowrap;border-radius:5px;padding:4px 9px;font-size:9px;font-weight:700;display:inline-flex}.expense-chip-green{color:var(--green);background:var(--green-soft)}.expense-chip-amber{color:#96641a;background:var(--amber-soft)}.expense-chip-blue{color:var(--blue);background:var(--blue-soft)}.expense-chip-rose{color:var(--rose);background:var(--rose-soft)}.expense-chip-neutral{color:var(--muted);background:var(--line-soft)}.expense-breakdown-list{flex-direction:column;padding:4px 20px 16px;display:flex}.expense-breakdown-row{grid-template-columns:130px minmax(0,1fr) auto;align-items:center;gap:14px;padding:8px 0;display:grid}.expense-breakdown-name{color:#3c5048;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:650;overflow:hidden}.expense-breakdown-bar{background:#eef2f0;border-radius:999px;height:8px;display:block;overflow:hidden}.expense-breakdown-fill{background:var(--green);border-radius:999px;height:100%;display:block}.expense-breakdown-amount{color:#223a33;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:11px;font-weight:700}.expense-breakdown-amount em{color:var(--muted-2);margin-left:6px;font-size:9.5px;font-style:normal;font-weight:600}@media (width<=620px){.expense-breakdown-row{grid-template-columns:96px minmax(0,1fr) auto;gap:10px}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
