@import"https://fonts.googleapis.com/css2?family=Lato:wght@400;500;600;700;800;900&display=swap";:root{--bg-main: #f5f1e8;--panel: #fffdfa;--border: #e4dbcc;--sidebar: #263247;--sidebar-dark: #1b2433;--sidebar-active: #1f7a52;--text-main: #202734;--text-soft: #667085;--brand: #1f7a52;--brand-strong: #1c714c;--brand-strong-hover: #175d3e;--success: #2c8a5e;--warning: #bf7f18;--danger: #ce4a3a;--input-bg: #fbf8f3;--input-border: #ddd3c2;--input-border-focus: #1f7a52;--input-height: 42px;--input-radius: 14px;--btn-height: 40px;--btn-radius: 14px;--sidebar-rail-width: 64px;--sidebar-panel-width: 280px}*{box-sizing:border-box}html,body,#root{margin:0;width:100%;min-height:100%;font-family:Lato,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;-webkit-font-smoothing:antialiased;background:radial-gradient(circle at 12% -10%,rgb(255 255 255 / 84%) 0,transparent 30%),radial-gradient(circle at 88% 0%,rgb(230 244 237 / 70%) 0,transparent 28%),linear-gradient(180deg,#faf7f0 0%,var(--bg-main) 100%);color:var(--text-main)}body{display:block!important}#root{max-width:none!important;padding:0!important}a{color:inherit}button,input,select{font:inherit}.splash{min-height:100vh;display:grid;place-items:center}.app-shell{min-height:100vh;display:flex;width:100vw}.sidebar{position:fixed;top:0;left:0;width:var(--sidebar-rail-width);height:100vh;background:linear-gradient(180deg,#263247,#192232);color:#f6f1eb;border-right:1px solid rgb(255 255 255 / 8%);z-index:20}.sidebar-backdrop{display:none}.brand{height:64px;display:flex;align-items:center;justify-content:center;padding:0 12px;font-size:22px;font-weight:700;letter-spacing:.3px;border-bottom:1px solid rgb(255 255 255 / 8%);background:linear-gradient(180deg,#1b2433,#202b3d)}.brand-compact{font-size:20px}.brand-logo{width:40px;height:40px;object-fit:contain;display:block}.menu{padding:0;overflow-y:auto;height:calc(100vh - 64px)}.menu-item{width:100%;border:none;background:transparent;color:#d9ece4;min-height:64px;display:flex;align-items:center;justify-content:center;padding:0 10px;text-decoration:none;cursor:pointer;transition:background-color .2s ease}.menu-icon-only{width:100%;margin:0;border-radius:0;border-bottom:1px solid rgb(255 255 255 / 6%);background:transparent}.menu-icon-badge{width:40px;height:40px;border-radius:12px;border:1px solid transparent;background:transparent;color:#f2f4fa;font-size:14px;font-weight:700;display:inline-grid;place-items:center;flex-shrink:0}.menu-item:hover{background:#ffffff0d}.menu-item.active{background:linear-gradient(90deg,#1f7a52,#196442);color:#fff}.menu-item.active .menu-icon-badge{color:#fff}.caret{margin-left:auto;transition:transform .2s ease}.caret.open{transform:rotate(180deg)}.sidebar-panel{position:fixed;top:0;left:var(--sidebar-rail-width);width:var(--sidebar-panel-width);height:100vh;background:#202b3d;border-right:1px solid rgb(255 255 255 / 9%);box-shadow:18px 0 36px #0f172a3d;display:flex;flex-direction:column;z-index:19}.sidebar-panel-header{height:64px;border-bottom:1px solid rgb(255 255 255 / 8%);padding:0 16px;display:flex;align-items:center;justify-content:space-between}.sidebar-panel-header strong{font-size:18px;color:#eefaf4}.sidebar-panel-close{border:1px solid rgb(255 255 255 / 12%);background:#ffffff14;color:#d8efe6;border-radius:8px;width:30px;height:30px;min-height:30px;display:grid;place-items:center;padding:0;cursor:pointer}.sidebar-panel-body{padding:10px 8px 14px;overflow-y:auto}.panel-group{margin-bottom:4px}.panel-item{width:100%;border:none;background:transparent;color:#d6ebe3;min-height:42px;border-radius:12px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;text-align:left;cursor:pointer}.panel-item:hover{background:#ffffff0f}.panel-item.active{background:#1f7a5240;color:#fff}.panel-item-label{flex:1;line-height:1.2}.panel-level-1{padding-left:24px}.panel-level-2{padding-left:36px}.panel-submenu{padding-top:4px}.content-shell{flex:1;margin-left:var(--sidebar-rail-width);width:calc(100vw - var(--sidebar-rail-width));min-height:100vh}.topbar{height:78px;background:#ffffffd1;border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:space-between;padding:0 24px;position:sticky;top:0;z-index:5}.topbar-leading{display:flex;align-items:center;gap:14px}.topbar-menu-btn{display:none;width:40px;height:40px;min-height:40px;border-radius:12px;border:1px solid var(--border);background:#fff;color:var(--text-main);padding:0;place-items:center;cursor:pointer;flex-shrink:0}.topbar-menu-btn:hover{background:#e8f5ee}.page-title{margin:0;font-size:24px;font-weight:600}.breadcrumb{font-size:12px;color:var(--text-soft);margin-bottom:2px}.topbar-user{display:flex;align-items:center;gap:12px;position:relative}.user-meta{text-align:left}.user-meta span{display:block;color:var(--text-soft);font-size:12px}.avatar{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#34a56f,#1f7a52);color:#fff;display:grid;place-items:center;font-weight:700}.user-menu{position:relative}.topbar-profile-btn{border:none;background:transparent;display:flex;align-items:center;gap:10px;color:var(--text-main);cursor:pointer}.topbar-profile-btn svg{color:#9a8f87}.user-dropdown{position:absolute;right:0;top:calc(100% + 8px);min-width:170px;background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:0 18px 30px #14120f1a;padding:6px;display:grid;gap:4px}.user-dropdown button{border:none;background:transparent;text-align:left;padding:10px;border-radius:8px}.user-dropdown button:hover{background:#e8f5ee}.content-area{padding:24px;width:100%}.content-area>section{width:100%;max-width:none}.title-xl{margin:0;font-size:36px}.subtitle{margin-top:6px;color:var(--text-soft)}.stats-grid{margin-top:20px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.stat-card,.panel{background:var(--panel);border:1px solid var(--border);border-radius:20px;padding:18px;box-shadow:0 6px 16px #19140f0a}.stat-card h3{margin:0;font-size:24px}.stat-card strong{display:block;margin-top:8px;font-size:44px;color:var(--brand)}.stat-card.accent-green strong{color:var(--success)}.stat-card.accent-orange strong{color:var(--warning)}.welcome-box{margin-top:20px;color:var(--text-soft)}.dashboard-cards-grid{margin-top:20px;display:grid;gap:16px;grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard-card{background:var(--panel);border:1px solid var(--border);border-radius:28px;box-shadow:0 8px 18px #0d1f350f;padding:24px;min-height:220px;display:flex;flex-direction:column}.dashboard-card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.dashboard-card-header h3{margin:0;font-size:20px;font-weight:500;letter-spacing:-.01em}.dashboard-card-header svg{color:#141b22;flex-shrink:0}.dashboard-card-value{font-size:46px;line-height:1;font-weight:700}.dashboard-card-caption{margin:10px 0 0;font-size:16px;color:#2a353f}.dashboard-card-next-birth{margin-top:4px;display:flex;align-items:center;gap:16px;font-size:14px}.dashboard-card-next-birth .name{max-width:72%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboard-card-next-birth .date{font-weight:500}.api-preview{margin:0;background:#f4faf7;border:1px solid var(--border);border-radius:10px;padding:14px;overflow-x:auto}.login-page{min-height:100vh;display:grid;place-items:center;padding:20px;background:#dff3ea}.login-card{width:min(410px,100%);background:#fff;border:1px solid var(--border);border-radius:18px;padding:26px 22px 20px;box-shadow:0 12px 28px #1549341a}.login-brand-logo{margin:0 auto 10px;width:86px;height:86px;object-fit:contain;display:block}.login-brand-name{margin:0;font-size:42px;line-height:1;text-align:center;color:#146f45;letter-spacing:.02em}.login-brand-subtitle{margin:8px 0 14px;color:#4f7063;text-align:center;font-size:16px}.login-form{display:grid;gap:12px}.login-form label{font-size:15px;font-weight:600;color:#2f4d42}.login-form .primary-btn{margin-top:6px}.login-link-btn{border:none;background:transparent!important;color:#2f4d42;font-weight:500;font-size:14px;min-height:auto!important;padding:4px 0!important;width:fit-content;margin:0 auto}.login-link-btn:hover{background:transparent!important;text-decoration:underline;filter:none!important}input:not([type=checkbox]),select,textarea{width:100%;min-height:var(--input-height);border:1px solid var(--input-border);border-radius:var(--input-radius);padding:0 14px;background:var(--input-bg);color:var(--text-main);transition:border-color .2s ease,box-shadow .2s ease;font-size:15px}textarea{min-height:104px;padding:10px 16px;border-radius:16px;resize:vertical}input:not([type=checkbox])::placeholder,textarea::placeholder{color:#7e8897}input:not([type=checkbox]):focus,select:focus,textarea:focus{outline:none;border-color:var(--input-border-focus);box-shadow:0 0 0 3px #1f7a5224}.primary-btn,.secondary-btn,.danger-btn,.login-card button,.modal-card button,.panel button,.pagination-actions button,.list-tools button{border:none;border-radius:var(--btn-radius);min-height:var(--btn-height);padding:0 14px;cursor:pointer;background:#f0ece5;color:#3f352f;font-weight:600;font-size:14px;transition:filter .2s ease,transform .02s ease}.primary-btn,.secondary-btn,.danger-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px}.primary-btn:hover,.secondary-btn:hover,.danger-btn:hover,.login-card button:hover,.modal-card button:hover,.panel button:hover,.pagination-actions button:hover,.list-tools button:hover{filter:brightness(.97)}.primary-btn:active,.secondary-btn:active,.danger-btn:active,.login-card button:active,.modal-card button:active,.panel button:active,.pagination-actions button:active,.list-tools button:active{transform:translateY(1px)}button:disabled,.primary-btn:disabled,.danger-btn:disabled{opacity:.6;cursor:not-allowed}.primary-btn{background:linear-gradient(135deg,#1f7a52,#16603f);color:#fff}.secondary-btn{background:#f3ede5;color:#4b3f37;border:1px solid rgba(206,192,170,.9)}.panel .primary-btn,.modal-card .primary-btn,.login-card .primary-btn{background:var(--brand-strong);color:#fff}.panel .secondary-btn,.modal-card .secondary-btn,.login-card .secondary-btn{background:#f3ede5;color:#4b3f37}.primary-btn:hover,.panel .primary-btn:hover,.modal-card .primary-btn:hover,.login-card .primary-btn:hover{background:var(--brand-strong-hover);filter:none}.danger-btn{background:var(--danger);color:#fff}.panel{margin-top:16px;width:100%}.list-page-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.list-page-heading h2,.list-page-heading h3{margin:0;font-weight:700;letter-spacing:-.03em}.list-toolbar-card,.list-table-card{background:var(--panel);border:1px solid var(--border);border-radius:24px;box-shadow:0 6px 16px #19140f0a}.list-toolbar-card{padding:14px;margin-bottom:16px}.list-table-card{overflow:visible}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.panel-header h2,.panel-header h3{margin:0}.list-tools{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;margin:0;padding:0;border-radius:0;border:none;background:transparent;box-shadow:none;align-items:center}.list-tools-search{display:flex;align-items:center;gap:10px;background:#f6f3ee;border:1px solid #eee7db;border-radius:14px;padding:0 14px}.list-tools-search svg,.list-tools-select svg{color:#9d9288;flex-shrink:0}.list-tools-search input{border:none!important;background:transparent!important;box-shadow:none!important;padding:0}.list-tools-submit{display:inline-flex;align-items:center;gap:8px;justify-content:center}.list-tools-select{display:inline-flex;align-items:center;gap:8px;background:#f6f3ee;border:1px solid #eee7db;border-radius:14px;padding:0 12px}.list-tools-select select{border:none!important;background:transparent!important;box-shadow:none!important;padding:0;min-width:128px}.form-grid{display:grid;gap:10px}.field{display:grid;gap:6px;width:100%}.remote-select{position:relative}.remote-select input{padding-right:62px}.remote-select:after{content:"";position:absolute;right:14px;top:50%;width:8px;height:8px;border-right:2px solid #6a8379;border-bottom:2px solid #6a8379;transform:translateY(-70%) rotate(45deg);pointer-events:none;opacity:.9}.remote-select .remote-select-clear{position:absolute;right:34px;top:50%;transform:translateY(-50%);width:20px;height:20px;min-height:20px;border:1px solid transparent;border-radius:999px;background:transparent!important;color:#3f6357;display:grid;place-items:center;cursor:pointer;padding:0;line-height:1;z-index:2}.remote-select .remote-select-clear:hover{background:#e2f0e9!important}.remote-select .remote-select-clear:active{transform:translateY(-50%)!important}.remote-select-dropdown{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:30;border:1px solid var(--border);border-radius:12px;background:#fff;box-shadow:0 10px 20px #0d1f351a;max-height:220px;overflow-y:auto;padding:4px}.remote-select-item{width:100%;border:none;background:transparent;text-align:left;min-height:34px;border-radius:8px;padding:0 10px;color:var(--text-main);cursor:pointer}.remote-select-item:hover{background:#e8f5ee}.remote-select-item.muted{color:var(--text-soft);cursor:default}.field-label{font-size:12px;font-weight:700;color:#5a786d;line-height:1;padding-left:2px}.financial-report-filters .field-label,.statement-filters .field-label,.statement-filters-compact .field-label{display:grid;gap:8px}.form-grid.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid.two-columns .full-width{grid-column:1 / -1}.split-row{display:grid;gap:10px;width:100%}.split-row>*{width:100%}.split-70-30{grid-template-columns:7fr 3fr}.split-80-20{grid-template-columns:8fr 2fr}.split-3-equal{grid-template-columns:1fr 1fr 1fr}.split-3-50-30-20{grid-template-columns:5fr 3fr 2fr}.split-3-60-20-20{grid-template-columns:6fr 2fr 2fr}.split-3-50-25-25{grid-template-columns:2fr 1fr 1fr}.roles-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.role-item{display:flex;align-items:center;gap:8px;padding:8px;border:1px solid var(--border);border-radius:8px;background:#f3faf6}.type-checkbox-group{display:flex;flex-wrap:wrap;gap:10px}.type-checkbox-group-inline{align-items:center;min-height:var(--input-height);padding:2px 0}.type-checkbox-item{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--border);border-radius:999px;padding:6px 12px;background:#f3faf6}.type-checkbox-group-inline .type-checkbox-item{padding:4px 10px}.type-checkbox-item input:disabled+span{opacity:.8}.form-divider{grid-column:1 / -1;margin:12px 0 2px;border-top:1px solid #d3e5dc;position:relative;height:16px}.form-divider span{position:absolute;top:-10px;left:12px;background:#fff;padding:0 8px;font-size:12px;font-weight:700;color:#5c7a6f}.genealogy-panel{margin-top:6px;border:1px solid #d3e5dc;border-radius:12px;background:#f3faf6;padding:12px}.genealogy-panel h4{margin:0 0 10px;font-size:14px;color:#4a5b73}.genealogy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.genealogy-tree{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:14px;align-items:center}.genealogy-column{display:grid;gap:8px;position:relative}.genealogy-column.ancestors{grid-template-rows:repeat(4,minmax(0,1fr))}.genealogy-column.parents{grid-template-rows:repeat(2,minmax(0,1fr))}.genealogy-column.root{grid-template-rows:1fr}.genealogy-link-row{position:relative}.genealogy-column.ancestors .genealogy-link-row:before{content:"";position:absolute;left:-8px;top:50%;width:8px;border-top:1px solid #bfc8d8}.genealogy-column.parents .genealogy-link-row:before{content:"";position:absolute;left:-8px;top:50%;width:8px;border-top:1px solid #bfc8d8}.genealogy-column.parents .genealogy-link-row:after{content:"";position:absolute;right:-7px;top:50%;width:8px;border-top:1px solid #bfc8d8}.genealogy-column.root .genealogy-link-row:after{content:"";position:absolute;right:-7px;top:50%;width:8px;border-top:1px solid #bfc8d8}.genealogy-column.ancestors:before{content:"";position:absolute;left:-8px;top:12.5%;bottom:12.5%;border-left:1px solid #bfc8d8}.genealogy-column.parents:before{content:"";position:absolute;left:-8px;top:25%;bottom:25%;border-left:1px solid #bfc8d8}.genealogy-column.parents:after{content:"";position:absolute;right:-7px;top:25%;bottom:25%;border-left:1px solid #bfc8d8}.genealogy-block{display:grid;gap:4px;padding:8px 10px;border:1px solid #d7deea;border-radius:10px;background:#fff}.genealogy-block strong{font-size:11px;color:#5c6d85;text-transform:uppercase;letter-spacing:.03em}.genealogy-block span{font-size:13px;color:#1f2937}.genealogy-hint{margin-top:6px;color:var(--text-soft);font-size:13px}.dropzone-upload{border:2px dashed #c6cfca;border-radius:18px;background:#f6faf8;min-height:168px;padding:20px 18px;display:grid;align-content:center;justify-items:center;text-align:center;gap:8px;margin-bottom:12px;color:#334640;transition:border-color .2s ease,background-color .2s ease;cursor:pointer}.dropzone-upload.compact{min-height:108px;padding:14px 16px;gap:6px}.dropzone-upload.compact svg{width:28px;height:28px}.dropzone-upload.compact strong{font-size:16px}.dropzone-upload.compact small{font-size:12px}.dropzone-upload.drag-over{border-color:#138c52;background:#edf8f2}.dropzone-upload.disabled{opacity:.75;cursor:not-allowed}.dropzone-upload svg{color:#1f2a26}.dropzone-upload strong{font-size:20px;font-weight:500;color:#1f2a26}.dropzone-upload small{color:#617670}.dropzone-upload input{display:none}.type-chip{display:inline-flex;align-items:center;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:600;background:#e7f6ee;color:#1d7250}.table-chip-list{display:flex;flex-wrap:wrap;gap:6px}.sex-chip.female{background:#fce8f1;color:#9a3f69}.sex-chip.unknown{background:#fee2e2;color:#991b1b}.type-chip.pregnancy-status-in-progress{background:#fef3c7;color:#92400e}.type-chip.pregnancy-status-stillborn,.type-chip.status-inactive{background:#fee2e2;color:#991b1b}.type-chip.status-sold{background:#ede9fe;color:#6d28d9}.type-chip.pregnancy-status-finalized{background:#dcfce7;color:#166534}.type-chip.aspiration-status-in-progress{background:#dbeafe;color:#1e40af}.embryo-result-list{display:grid;gap:8px}.embryo-result-item{border:1px solid #d7deea;border-radius:10px;background:#f8faff;padding:8px 10px;display:grid;gap:3px}.embryo-result-item strong{font-size:12px;color:#2b3c56}.embryo-result-item span{font-size:13px;color:#334155}.sex-chip.male{background:#e3f2ff;color:#2e6289}.users-table{width:100%;border-collapse:separate;border-spacing:0}.table-shell{overflow-x:auto;overflow-y:visible;border-radius:0}.table-feedback{min-height:180px;display:grid;place-items:center;color:var(--text-soft)}.table-empty-cell{padding:36px 18px!important;text-align:center!important;color:var(--text-soft)}.users-table th,.users-table td{border-bottom:1px solid #f0e8de;padding:14px 18px;text-align:left;font-size:14px}.users-table thead tr{background:#faf7f2}.users-table th{font-size:11px;font-weight:700;color:#8b8178;letter-spacing:.14em;text-transform:uppercase}.users-table tbody tr{transition:background-color .2s ease}.users-table tbody tr:hover{background:#faf8f4}.users-table .table-number{text-align:right}.transfers-table th:nth-child(4),.transfers-table td:nth-child(4){text-align:right;min-width:150px;padding-right:18px}.transfers-table th:nth-child(5),.transfers-table td:nth-child(5){min-width:190px;padding-left:18px}.partner-transactions-table th:nth-child(5),.partner-transactions-table td:nth-child(5){text-align:right;min-width:160px;padding-right:20px}.partner-transactions-table th:nth-child(6),.partner-transactions-table td:nth-child(6){min-width:190px;padding-left:20px}.financial-titles-table th:nth-child(3),.financial-titles-table td:nth-child(3){text-align:right;min-width:140px;padding-right:18px}.financial-titles-table th:nth-child(4),.financial-titles-table td:nth-child(4){padding-left:18px}input[inputmode=numeric],input[inputmode=decimal],input[type=number]{text-align:right}.actions-cell{width:92px}.inline-actions{display:inline-flex;align-items:center;gap:6px}.action-inline-btn{width:32px;height:32px;min-height:32px!important;padding:0!important;border:none;border-radius:10px;background:transparent;color:#93887f;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.action-inline-btn svg{width:18px;height:18px}.action-inline-btn:hover{background:#f3eee7;color:#5d544d}.action-inline-btn.danger{color:#b26a60}.action-inline-btn.danger:hover{background:#fbecea;color:#b63d2f}.table-action-menu{display:flex;flex-direction:column;align-items:flex-end}.action-menu-dropdown{position:static;min-width:164px;margin-top:8px;padding:6px;border:1px solid #eadfd2;border-radius:14px;background:#fffdfa;box-shadow:0 14px 28px #251c141a;display:grid;gap:4px}.action-menu-item{width:100%;min-height:36px!important;padding:0 10px!important;border-radius:10px!important;background:transparent!important;color:#4d423b!important;display:inline-flex;align-items:center;gap:8px;justify-content:flex-start}.action-menu-item:hover{background:#f4ede5!important;filter:none!important}.action-menu-item.danger{color:#b63d2f!important}.action-menu-item.danger:hover{background:#fbecea!important}.icon-btn[aria-label]:after{content:attr(aria-label);position:absolute;left:50%;bottom:calc(100% + 8px);transform:translate(-50%);background:#111827;color:#f8fafc;font-size:12px;line-height:1;padding:7px 10px;border-radius:8px;white-space:nowrap;opacity:0;visibility:hidden;transition:opacity .15s ease,visibility .15s ease;pointer-events:none;z-index:30}.icon-btn[aria-label]:before{content:"";position:absolute;left:50%;bottom:calc(100% + 3px);transform:translate(-50%);border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #111827;opacity:0;visibility:hidden;transition:opacity .15s ease,visibility .15s ease;pointer-events:none;z-index:30}.icon-btn[aria-label]:hover:after,.icon-btn[aria-label]:focus-visible:after,.icon-btn[aria-label]:hover:before,.icon-btn[aria-label]:focus-visible:before{opacity:1;visibility:visible}.form-actions{display:flex;gap:8px}.farm-partners{display:grid;gap:8px}.farm-partners-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.farm-partner-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 52px auto;gap:8px;align-items:center}.icon-only-btn{width:48px;min-width:48px;height:48px;padding:0;display:inline-flex;align-items:center;justify-content:center}.payable-items-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,.9fr) minmax(0,1fr) minmax(0,1.2fr) minmax(0,1.4fr) auto;gap:8px;align-items:center}.payable-installments-row{display:grid;grid-template-columns:100px minmax(180px,220px) minmax(160px,220px) 48px;gap:8px;align-items:center}.payable-installments-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}.payable-installments-actions{display:flex;justify-content:flex-end;align-self:end}.payable-installments-head{display:grid;grid-template-columns:100px minmax(180px,220px) minmax(160px,220px) 48px;gap:8px;align-items:center;font-size:12px;font-weight:700;color:#607086;padding:0 2px 4px}.payable-installments-scroll{max-height:280px;overflow-y:auto;display:grid;gap:8px;padding-right:4px}.payable-items-row>*,.payable-installments-row>*{min-width:0}.payable-item-card{border:1px solid var(--border);border-radius:28px;background:#fbfdfc;padding:22px 24px;display:flex;flex-direction:column;gap:18px}.payable-item-card h4{margin:0;font-size:22px}.payable-item-editor{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(180px,.7fr) minmax(220px,.95fr);gap:14px;align-items:start}.payable-item-allocation{border:1px solid #d8dfdb;border-radius:22px;background:#eef2ef;padding:16px 18px;display:flex;flex-direction:column;gap:12px}.payable-item-allocation-search{max-width:520px}.payable-allocation-types{display:flex;flex-wrap:wrap;gap:10px}.payable-allocation-chip{min-height:38px!important;padding:0 16px!important;border-radius:999px!important;border:1px solid #cad3cc!important;background:#fff!important;color:#1f2937!important}.payable-allocation-chip.active{border-color:#9ec7b4!important;background:#dff2e7!important;color:#0f5132!important}.payable-item-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.payable-items-total{display:flex;justify-content:flex-end}.payable-table-scroll{border:1px solid #ece2d6;border-radius:20px;background:#fffdfa;max-height:240px;overflow:auto}.payable-table-scroll .users-table th,.payable-table-scroll .users-table td{padding:10px 14px}.payable-items-table th:nth-child(2),.payable-items-table td:nth-child(2),.payable-items-table th:nth-child(3),.payable-items-table td:nth-child(3),.payable-items-table th:nth-child(4),.payable-items-table td:nth-child(4){text-align:right;white-space:nowrap}.payable-items-table th:nth-child(5),.payable-items-table td:nth-child(5){min-width:280px}.payable-items-table th:nth-child(6),.payable-items-table td:nth-child(6){width:88px;min-width:88px}.farm-partner-remove{min-height:34px!important;padding:0 12px!important}.session-summary{display:flex;flex-wrap:wrap;gap:10px 18px;color:#334155;font-size:13px}.weighing-records-modal{width:min(1120px,96vw);max-height:calc(100vh - 32px);overflow:hidden}.weighing-records-content{padding:18px 20px 20px;display:flex;flex-direction:column;gap:16px;overflow-y:auto}.weighing-summary{grid-template-columns:repeat(5,minmax(0,1fr))}.weighing-records-grid{border:1px solid #ece2d6;border-radius:18px;background:#fffdfa;padding:10px 12px;display:grid;gap:10px}.weighing-records-scroll{max-height:320px;overflow-y:auto}.weighing-records-head{display:grid;grid-template-columns:1fr 140px 56px;gap:8px;font-size:11px;font-weight:700;color:#8b8178;letter-spacing:.14em;text-transform:uppercase;padding:0 2px 4px}.weighing-records-row{display:grid;grid-template-columns:1fr 140px 56px;gap:8px;align-items:center;padding-top:10px;border-top:1px solid #f0e8de}.weighing-animal-name{font-size:14px;color:#1f2937}.weighing-records-empty{color:#6b7280;font-size:13px;padding:10px 2px 2px}.weighing-records-actions{padding-top:10px;border-top:1px solid rgba(210,187,145,.45)}.aspiration-view-modal-content{padding:18px 20px 20px}.batch-move-header{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:12px}.batch-move-grid{display:grid;grid-template-columns:minmax(0,1fr) 190px minmax(0,1fr);gap:12px;align-items:stretch}.batch-move-list{border:1px solid #d7deea;border-radius:12px;background:#fdfefe;padding:10px;display:grid;gap:8px;min-height:420px}.batch-move-list-title{font-size:15px;font-weight:700;color:#1f2937}.batch-move-select-all{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#475569}.batch-move-items{border:1px solid #e6ebf2;border-radius:10px;background:#fff;min-height:280px;max-height:420px;overflow:auto}.batch-move-item{display:flex;gap:8px;align-items:flex-start;padding:8px 10px;border-bottom:1px solid #eef2f7;font-size:13px;color:#1f2937}.batch-move-item:last-child{border-bottom:none}.batch-move-empty{font-size:13px;color:#64748b;padding:10px}.batch-move-actions{display:flex;flex-direction:column;justify-content:center;gap:10px}.form-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}.tab-btn{border:1px solid #cfd6e2!important;background:#eef2f8!important;color:#1b2431!important;min-height:34px!important;padding:0 12px!important}.tab-btn.active{background:#dfe7f6!important;border-color:#b8c6e5!important}.icon-tabs{gap:10px;margin-bottom:12px}.icon-tab-btn{display:inline-flex!important;align-items:center;gap:8px;min-height:42px!important;padding:0 16px!important;border-radius:14px!important;border:1px solid #d9e3d8!important;background:#f7f4ee!important;color:#4f5d51!important;box-shadow:0 4px 12px #19140f0a}.icon-tab-btn:hover{background:#f2eee6!important}.icon-tab-btn.active{background:#1f7a4f!important;border-color:#1f7a4f!important;color:#fff!important}.icon-tab-icon{display:inline-flex;align-items:center;justify-content:center}.form-tab-content{min-height:520px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px;align-content:start;border:0;margin:0;padding:0;min-inline-size:0}.form-tab-content .full-width{grid-column:1 / -1}.form-tab-content .field-label{margin-bottom:2px}.form-tab-content textarea{width:100%;min-height:240px;border:1px solid var(--input-border);border-radius:14px;padding:10px 14px;resize:vertical}.form-tab-content textarea.compact-textarea{min-height:96px}.financial-summary-panel{display:flex;flex-direction:column;gap:18px}.financial-summary-section{display:flex;flex-direction:column;gap:8px}.financial-summary-section h4{margin:0}.financial-summary-table th:nth-child(4),.financial-summary-table td:nth-child(4){text-align:right;min-width:140px;padding-right:18px}.financial-summary-table th:nth-child(5),.financial-summary-table td:nth-child(5){min-width:140px;padding-left:12px}.financial-summary-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.financial-summary-total-card{border:1px solid var(--border);border-radius:16px;background:#f9fbff;padding:16px;display:flex;flex-direction:column;gap:6px}.financial-summary-total-card span{color:var(--text-soft)}.financial-summary-total-card strong{font-size:24px}.financial-summary-positive{color:#244f87}.financial-summary-negative{color:#c64934}.auction-references-panel{border:1px solid var(--border);border-radius:18px;background:#fffdf9;padding:6px 18px}.auction-references-group{padding:14px 0;border-bottom:1px solid var(--border)}.auction-references-group:last-child{border-bottom:0}.auction-references-group header{display:flex;align-items:center;gap:10px;margin-bottom:8px}.auction-references-group h4{margin:0;font-size:16px;color:var(--text)}.auction-references-group header span{min-width:28px;border-radius:999px;background:var(--surface-soft);color:var(--text-soft);font-size:13px;font-weight:800;text-align:center;padding:2px 8px}.auction-references-group ul{display:flex;flex-direction:column;gap:6px;list-style:none;margin:0;padding:0}.auction-references-group li{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:34px;border-radius:10px;background:#f8f5ef;padding:8px 12px}.auction-references-group li span{font-weight:700;color:var(--text)}.auction-references-group small,.auction-references-group p{color:var(--text-soft)}.auction-references-group p{margin:0;padding:6px 0}.muted-text{margin:0;color:var(--text-soft)}.statement-filters{display:grid;grid-template-columns:minmax(260px,2fr) repeat(2,minmax(180px,1fr)) auto;gap:16px;align-items:end;margin-bottom:24px}.statement-filters-compact{grid-template-columns:minmax(260px,1.1fr) minmax(320px,2fr)}.financial-report-panel{display:grid;gap:18px}.financial-report-filter-card{border:1px solid var(--border);border-radius:18px;background:#fbfdfc;padding:18px;display:grid;gap:16px}.financial-report-filter-header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.financial-report-toggle{border:none;background:transparent!important;color:#6b7d74!important;min-height:auto!important;padding:2px 0!important;font-size:13px;font-weight:600}.financial-report-toggle:hover{text-decoration:underline;filter:none!important}.financial-report-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.financial-report-filter-grid.advanced{padding-top:4px}.financial-report-filter-actions{display:flex;justify-content:flex-end;gap:12px}.financial-report-clear-btn{background:#f0ece5;color:#3f352f}.financial-report-clear-btn:hover{background:#e9e2d8}.financial-report-filters{display:grid;gap:16px}.financial-report-summary{margin-top:4px}.financial-report-summary-card{margin-bottom:16px}.financial-report-view-switch{display:flex;gap:12px;padding:14px 14px 0}.financial-report-view-btn{min-height:38px!important;padding:0 16px!important;border-radius:14px!important;border-color:#e5ddd1!important;background:#f7f3ec!important;color:#6d6258!important;font-size:13px;font-weight:700}.financial-report-view-btn.active{background:#efe7db!important;border-color:#d9cdbd!important;color:#2d241d!important}.financial-report-results-card{overflow:visible}.financial-report-empty-card,.reports-info-card{padding:20px 24px}.reports-info-content{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.financial-report-table th:nth-child(5),.financial-report-table td:nth-child(5),.financial-report-table th:nth-child(6),.financial-report-table td:nth-child(6),.financial-report-table th:nth-child(7),.financial-report-table td:nth-child(7),.financial-report-table th:nth-child(8),.financial-report-table td:nth-child(8){text-align:right}.financial-report-table th:last-child,.financial-report-table td:last-child{min-width:120px}.statement-filters .list-tools{margin:0}.statement-table th:nth-child(4),.statement-table td:nth-child(4),.statement-table th:nth-child(5),.statement-table td:nth-child(5),.statement-table th:nth-child(6),.statement-table td:nth-child(6){text-align:right}.statement-table th:nth-child(5){color:#b42318}.statement-table th:nth-child(7),.statement-table td:nth-child(7){padding-left:22px}.statement-negative-row,.statement-negative-balance{color:#b42318}.manual-adjustments-table th:nth-child(4),.manual-adjustments-table td:nth-child(4){text-align:right}@media(max-width:1200px){.statement-filters,.statement-filters-compact,.financial-report-filter-grid{grid-template-columns:1fr}.financial-report-filter-header,.financial-report-filter-actions{flex-direction:column;align-items:stretch}.financial-report-view-switch{padding:14px 14px 0;flex-wrap:wrap}}.stack-list{display:flex;flex-direction:column;gap:10px}.list-row{border:1px solid var(--border);border-radius:14px;background:#f8fcfa;padding:12px 14px}.ancestry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ancestry-card{border:1px solid #d7deea;border-radius:10px;background:#fff;padding:8px 10px;display:grid;gap:4px}.ancestry-card strong{font-size:11px;color:#5c6d85;text-transform:uppercase;letter-spacing:.03em}.ancestry-card span{font-size:13px;color:#1f2937}.animal-images-panel{border:1px solid #d7deea;border-radius:12px;background:#fff;padding:10px;display:grid;gap:10px}.animal-images-toolbar{display:flex;align-items:center;justify-content:flex-start;gap:10px}.animal-upload-input{display:none}.image-upload-trigger{min-height:var(--btn-height)!important;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;text-decoration:none}.image-upload-trigger.disabled{pointer-events:none;opacity:.65}.animal-images-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-height:230px;overflow-y:auto;padding-right:4px}.animal-image-card{border:1px solid #d7deea;border-radius:10px;padding:8px;display:grid;gap:6px;background:#fbfcff}.animal-image-card img{width:100%;height:88px;object-fit:contain;background:#f3f6fb;border-radius:8px;border:1px solid #e2e8f0}.animal-image-meta{display:grid;gap:2px}.animal-image-meta strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.animal-image-meta span{font-size:12px;color:#5c6d85}.animal-image-card button{min-height:30px!important;padding:0 10px!important}.pagination-bar{margin-top:10px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px 16px;border-top:1px solid #f0e8de}.pagination-summary{margin:0;font-size:14px;color:var(--text-soft)}.pagination-summary span{font-weight:600;color:var(--text-main)}.pagination-actions{display:flex;align-items:center;gap:8px}.pagination-actions button{width:34px;height:34px;min-height:34px!important;padding:0!important;border:1px solid var(--border);border-radius:10px;display:inline-flex;align-items:center;justify-content:center}.pagination-pill{min-height:34px;padding:0 12px;border-radius:10px;border:1px solid var(--border);background:#f9f5ef;display:inline-flex;align-items:center;font-size:13px;font-weight:600;color:#5f564f}.modal-overlay{position:fixed;inset:0;background:#27201885;display:grid;place-items:center;z-index:50;padding:16px}.modal-card{width:min(460px,100%);background:#fff;border:1px solid var(--border);border-radius:20px;padding:0;overflow:hidden}.modal-card-wide{width:min(920px,96vw)}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--border);background:#faf7f2}.modal-header h3{margin:0;font-size:18px;font-weight:600}.modal-close-btn{width:34px;height:34px;min-height:34px!important;padding:0!important;border:none;border-radius:10px;background:transparent!important;display:inline-flex;align-items:center;justify-content:center}.modal-close-btn:hover{background:#f0e9e0!important}.modal-card form{padding:18px 20px 20px}@media(max-width:900px){.financial-summary-totals{grid-template-columns:1fr}}.account-payable-modal{width:min(1200px,96vw);max-height:calc(100vh - 32px);overflow:hidden}.account-payable-modal form{display:flex;flex-direction:column;gap:0}.account-payable-modal .form-tab-content{overflow:hidden}.payment-view-overlay{place-items:start center;overflow-y:auto}.payment-view-overlay .payment-view-modal{margin:0 auto}.payment-view-modal{width:min(1120px,96vw);max-height:calc(100vh - 32px);overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;gap:16px}.payment-view-content{display:flex;flex-direction:column;gap:12px;overflow-y:auto;min-height:0;padding:0 20px 4px}.payment-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.summary-card{border:1px solid var(--border);border-radius:16px;background:#fbfdfc;padding:12px 14px;display:flex;flex-direction:column;gap:4px}.summary-label{font-size:12px;color:var(--text-soft)}.payment-installments-list{display:flex;flex-direction:column;gap:12px;padding-bottom:4px}.payment-installment-card{border:1px solid var(--border);border-radius:18px;background:#fff;overflow:hidden}.payment-installment-card.pending{background:#fff}.payment-installment-card.partial{background:#fff8db;border-color:#f2d36b}.payment-installment-card.paid{background:#eaf9ef;border-color:#94d3a2}.payment-installment-header{width:100%;display:flex;justify-content:space-between;gap:16px;align-items:center;padding:14px 16px!important;background:transparent!important;border:0!important;text-align:left}.payment-installment-header>div{display:flex;flex-direction:column;gap:4px}.payment-installment-values{align-items:flex-end;text-align:right}.payment-installment-body{padding:0 16px 16px;display:flex;flex-direction:column;gap:16px}.payment-view-actions{margin:0 20px 20px;padding-top:10px;border-top:1px solid rgba(210,187,145,.45)}.payment-movements{display:flex;flex-direction:column;gap:10px}.payment-movements h4{margin:0}.payment-movements-table{font-size:14px}.payment-movements-table th,.payment-movements-table td{padding:10px 12px}.payment-movements-table th:nth-child(5),.payment-movements-table td:nth-child(5){padding-right:10px}.payment-movements-table th:nth-child(6),.payment-movements-table td:nth-child(6){padding-left:8px;min-width:132px}.payment-movements-table th:nth-child(7),.payment-movements-table td:nth-child(7),.payment-movements-table th:nth-child(8),.payment-movements-table td:nth-child(8){min-width:140px}.movement-badge{display:inline-flex;align-items:center;justify-content:center;min-width:92px;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:700}.movement-badge.payment{background:#e7f6eb;color:#0f6a35}.movement-badge.reversal{background:#fdecec;color:#b42318}.movement-badge.neutral{background:#eef3f1;color:#35584d}.history-view-modal{width:min(1180px,96vw);gap:18px}.history-view-modal>:not(.modal-header){margin-inline:20px}.history-view-modal>.payment-summary{margin-top:4px}.history-view-modal>.payment-installment-card{margin-bottom:20px}.history-card{background:#fffdf4;border-color:#eadfb0}.history-movements{gap:14px}.history-actions{margin-top:12px;padding-top:10px;border-top:1px solid rgba(210,187,145,.45)}.history-table{font-size:14px}.history-table th,.history-table td{padding:12px 14px}.history-table th:nth-child(1),.history-table td:nth-child(1){min-width:168px}.history-table th:nth-child(2),.history-table td:nth-child(2){min-width:116px}.history-table th:nth-child(5),.history-table td:nth-child(5){min-width:160px}.history-table th:nth-child(6),.history-table td:nth-child(6){min-width:220px}.payment-movement-reversal td{color:#b42318}.payment-movement-reversal .actions-cell{color:inherit}.catalog-modal-wide{width:min(600px,96vw)}.modal-card h3{margin-top:0}.confirm-message{margin:0;color:#6f655e;font-size:15px;line-height:1.55}.confirm-dialog-card{width:min(520px,92vw)}.confirm-dialog-header{background:#fff7f5;border-bottom-color:#f0ddd8}.confirm-dialog-title{display:flex;align-items:center;gap:10px}.confirm-dialog-icon{width:34px;height:34px;border-radius:999px;background:#fdecea;color:#c44536;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.confirm-dialog-body{padding:20px 20px 0}.confirm-dialog-actions{padding:16px 20px 20px;margin-top:18px}.finalize-warning{border:1px solid #fecaca;background:#fef2f2;color:#b91c1c;border-radius:10px;padding:10px 12px;font-weight:600;line-height:1.35}.error-box{margin-top:8px;background:#ffe9e8;color:#99261f;border:1px solid #f4b6b2;border-radius:8px;padding:10px}.info-box{margin-top:8px;background:#e8f5ee;color:#1f6b47;border:1px solid #a9d9c0;border-radius:8px;padding:10px}.success-box{margin-top:8px;background:#eaf7ef;color:#146a3b;border:1px solid #a6d5ba;border-radius:8px;padding:10px}@media(max-width:1200px){.sidebar{transform:translate(-100%);transition:transform .2s ease}.sidebar.mobile-open{transform:translate(0)}.sidebar-backdrop{display:block;position:fixed;inset:0;background:#00000052;border:none;z-index:18}.sidebar-panel{box-shadow:8px 0 20px #0d2b2147}.content-shell{margin-left:0;width:100vw}.topbar-menu-btn{display:inline-grid}}@media(max-width:1024px){.list-page-header{align-items:stretch;flex-direction:column}.app-shell,.stats-grid,.dashboard-cards-grid{grid-template-columns:1fr}.dashboard-card-header h3{font-size:18px}.dashboard-card-value{font-size:40px}.dashboard-card-caption,.dashboard-card-next-birth{font-size:14px}.topbar{height:auto;padding:12px;gap:10px;flex-wrap:wrap}.form-grid.two-columns,.list-tools,.farm-partner-row,.payable-items-row,.payable-installments-row,.payable-installments-head,.payable-item-editor,.payable-installments-toolbar,.payment-summary{grid-template-columns:1fr}.payment-installment-header{flex-direction:column;align-items:flex-start}.payment-installment-values{align-items:flex-start;text-align:left}.ancestry-grid,.animal-images-grid,.batch-move-header,.batch-move-grid{grid-template-columns:1fr}.batch-move-list{min-height:auto}.batch-move-actions{flex-direction:row}.genealogy-grid{grid-template-columns:1fr}.genealogy-tree{grid-template-columns:1fr;gap:10px}.genealogy-column,.genealogy-column.ancestors,.genealogy-column.parents,.genealogy-column.root{grid-template-rows:none}.genealogy-column:before,.genealogy-column:after,.genealogy-link-row:before,.genealogy-link-row:after{display:none}}.success-box{padding:.85rem 1rem;border-radius:16px;background:#2a76471f;color:#2a7647;border:1px solid rgba(42,118,71,.18);margin-bottom:1rem}.muted-text{color:var(--color-text-muted, #6b7280)}.financial-settings-page,.financial-settings-form,.financial-settings-section-card{display:grid;gap:1rem}.financial-settings-grid{align-items:start}.financial-settings-field{display:grid;gap:.35rem}.sale-status-pending{background:#facc1529;color:#a15c07}.sales-page-shell{display:grid;gap:1.35rem}.sales-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1rem}.sales-hero-copy{display:grid;gap:.35rem}.sales-hero-kicker{font-size:.76rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#8a6b38}.sales-primary-cta{display:inline-flex;align-items:center;justify-self:center;gap:.55rem;padding:0 18px;box-shadow:none}.sales-filter-card,.sales-table-card{background:#fff;border:1px solid rgba(198,162,97,.18);border-radius:26px;box-shadow:0 16px 34px #0f172a0d}.sales-filter-card{display:grid;gap:1rem;padding:1.2rem}.sales-filter-grid{grid-template-columns:minmax(0,1fr) auto auto;align-items:center}.sales-filter-select,.sales-filter-submit{min-height:var(--btn-height)}.sales-filter-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.sales-filter-summary>div{display:grid;gap:.2rem;padding:1rem 1.05rem;border-radius:20px;background:linear-gradient(180deg,#fffffff2,#f8f4ebeb);border:1px solid rgba(198,162,97,.14)}.sales-filter-summary strong{font-size:1.5rem;line-height:1;letter-spacing:-.03em;color:#231f1a}.sales-table-card{overflow:hidden}.sales-table-shell{overflow-x:auto}.sales-table{width:100%;border-collapse:collapse}.sales-table thead tr{background:#f7f3ec;border-bottom:1px solid rgba(198,162,97,.18)}.sales-table th{padding:.95rem 1.2rem;text-align:left;font-size:.76rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#8e867a}.sales-table tbody tr{border-bottom:1px solid rgba(226,220,207,.78)}.sales-table tbody tr:hover{background:#fbf9f4}.sales-table td{padding:1rem 1.2rem;vertical-align:middle}.sales-doc-cell,.sales-customer-cell{display:flex;align-items:center;gap:1.1rem}.sales-doc-icon,.sales-customer-icon{width:2.45rem;height:2.45rem;border-radius:16px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}.sales-doc-icon{background:linear-gradient(135deg,#3159811f,#27496938);color:#315981}.sales-customer-icon{background:linear-gradient(135deg,#9a8e7a24,#9a8e7a3d);color:#665b4d}.sales-doc-number,.sales-customer-name,.sales-total-cell{font-weight:700;color:#231f1a}.sales-doc-subtitle,.sales-customer-subtitle,.sales-financial-cell small{font-size:.8rem;color:#8e867a}.sales-inline-meta{display:inline-flex;align-items:center;gap:.45rem;color:#665b4d}.sales-financial-cell{display:grid;gap:.15rem}.sales-create-modal .modal-header p{max-width:56ch}.sales-create-modal{width:min(96vw,1640px);max-width:min(96vw,1640px);max-height:92vh;background:#f5f2eb;overflow:hidden}.sales-create-title h3{display:inline-flex;align-items:center;gap:.7rem}.sales-create-subtitle{white-space:nowrap}.sales-create-title h3 svg{color:#129169}.sales-create-form{display:grid;gap:1.3rem;max-height:calc(92vh - 88px);overflow:auto;padding-right:.2rem}.sales-create-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,.95fr);gap:1.35rem;align-items:start}.sales-create-main{display:grid;gap:1.35rem}.sales-create-aside{position:sticky;top:0}.sale-editor-card{display:grid;gap:1rem;padding:1.45rem;border-radius:24px;background:#fff;border:1px solid rgba(198,162,97,.18);box-shadow:0 14px 32px #0f172a0f}.sale-editor-card h4{margin:0;font-size:1.15rem;color:#2a2621}.sale-editor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem 1.2rem}.sale-editor-grid .field.full-width{grid-column:1 / -1}.sale-line-editor{display:grid;gap:.8rem;padding:1rem;border-radius:22px;background:#f7f5ef}.sale-line-editor-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1.6fr) minmax(160px,220px) auto;gap:.9rem;align-items:end}.sale-line-add-btn{width:3.2rem;height:3.2rem;border:none;border-radius:16px;align-self:end;background:linear-gradient(135deg,#8cc6ab,#7ab89b);color:#fff;box-shadow:0 12px 24px #7ab89b47}.sales-summary-card{gap:1.2rem}.sales-summary-list{display:grid;gap:0;margin:0}.sales-summary-list div{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 0;border-bottom:1px solid rgba(226,220,207,.78)}.sales-summary-list dt,.sales-summary-list dd{margin:0}.sales-summary-list dt{color:#6d6558}.sales-summary-list dd{font-weight:700;color:#2a2621}.sales-summary-total{font-size:1.25rem;color:#129169!important}.sales-summary-note{display:grid;gap:.35rem;padding:1rem 1.05rem;border-radius:18px;background:#f5fbf8;border:1px solid rgba(18,145,105,.14)}.sales-summary-note strong{color:#176448}.sales-summary-note span{color:#5f685f;font-size:.92rem}.sales-summary-warning{padding:.9rem 1rem;border-radius:16px;background:#facc151f;color:#9a6409;border:1px solid rgba(250,204,21,.18)}.sales-summary-submit{display:inline-flex;align-items:center;justify-content:center;gap:.7rem;min-height:4.25rem;width:100%;border:none;border-radius:20px;background:linear-gradient(135deg,#1ca471,#159164);color:#fff;font-size:1rem;font-weight:700;box-shadow:0 18px 30px #15916447}.modal-card .sales-summary-submit{background:linear-gradient(135deg,#1ca471,#159164);color:#fff}.modal-card .sales-summary-submit:hover{background:linear-gradient(135deg,#169665,#117f57);filter:none}.sales-summary-submit:disabled{opacity:.65;cursor:not-allowed}.sales-create-footer{justify-content:flex-end}.sale-summary-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem;padding:1.15rem 1.35rem;border-radius:18px;background:linear-gradient(180deg,#ffffffe6,#f4efe5e6);border:1px solid rgba(198,162,97,.18);align-items:center}.sale-summary-strip>div{display:grid;gap:.2rem}.sale-summary-strip .summary-label{font-size:.9rem;line-height:1.2;letter-spacing:.01em;color:var(--color-text-muted, #6b7280)}.sale-summary-strip strong{font-size:1.9rem;line-height:1;letter-spacing:-.03em;color:var(--color-text, #111827);font-weight:700}.sale-item-editor-card,.sale-view-card{display:grid;gap:1rem;padding:1.2rem;border-radius:24px;background:#fff;border:1px solid rgba(198,162,97,.18);box-shadow:0 18px 32px #0f172a0f}.sale-item-editor-grid,.sale-view-top-grid,.sale-preview-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.sale-item-editor-actions{display:flex;justify-content:flex-end;gap:.75rem}.sale-preview-card{display:grid;gap:1rem;padding:1.2rem;border-radius:24px;background:linear-gradient(180deg,#fffffffa,#f8f4ebeb);border:1px solid rgba(198,162,97,.18)}.sale-preview-list{display:grid;gap:.9rem;margin:0}.sale-preview-list div{display:grid;grid-template-columns:minmax(120px,180px) 1fr;gap:.75rem;align-items:start}.sale-preview-list dt{margin:0;color:var(--color-text-muted, #6b7280)}.sale-preview-list dd{margin:0;font-weight:600;color:var(--color-text, #111827)}.payable-batch-preview-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:1.2rem}.payable-batch-preview-list div{display:grid;grid-template-columns:1fr;gap:.25rem;align-items:start}.sale-preview-note{padding:.95rem 1rem;border-radius:18px;border:1px solid rgba(198,162,97,.2);background:#faf8f3f2;color:var(--color-text-muted, #6b7280)}.sale-view-modal{max-width:1280px}.sale-view-top-grid{margin-bottom:1rem}.sale-view-full{margin-top:1rem}.payable-batch-page{display:grid;gap:1.5rem}.payable-batch-filter-card,.payable-batch-list-card,.payable-batch-history-card{border:1px solid rgba(223,213,193,.9);border-radius:32px;background:#fffcf7f5;box-shadow:0 16px 38px #60461f14;padding:1.5rem}.payable-batch-section-title{display:flex;align-items:flex-start;gap:.9rem;margin-bottom:1.5rem}.payable-batch-section-title h1,.payable-batch-list-card h2,.payable-batch-history-card h2{margin:0;font-size:2rem;line-height:1.1;color:#201a14}.payable-batch-section-title p,.payable-batch-list-card p,.payable-batch-history-card p{margin:.4rem 0 0;color:#667085}.payable-batch-icon-wrap{width:2.8rem;height:2.8rem;border-radius:18px;display:inline-flex;align-items:center;justify-content:center;background:#f4eee4f2;color:#1e293b}.payable-batch-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.payable-batch-filter-grid label,.payable-batch-inline-filter,.payable-batch-modal-grid label{display:grid;gap:.45rem}.payable-batch-filter-grid span,.payable-batch-inline-filter span,.payable-batch-modal-grid span{font-weight:700;color:#344054}.payable-batch-input-wrap,.payable-batch-search-wrap{display:flex;align-items:center;gap:.65rem;padding:0 1rem;min-height:3.5rem;border-radius:20px;border:1px solid rgba(223,213,193,.95);background:#fffcf7fa}.payable-batch-input-wrap input,.payable-batch-search-wrap input{border:0;background:transparent;padding:0;width:100%}.payable-batch-search-wrap{margin-top:.35rem}.payable-batch-filter-grid select,.payable-batch-modal-grid select,.payable-batch-modal-grid textarea{width:100%;min-height:3.5rem;border-radius:20px;border:1px solid rgba(223,213,193,.95);background:#fffcf7fa;padding:.9rem 1rem}.payable-batch-modal-grid textarea{min-height:7rem;resize:vertical}.payable-batch-filter-actions{display:flex;gap:1rem;margin-top:1.25rem}.payable-batch-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}.payable-batch-summary-card{border:1px solid rgba(223,213,193,.85);border-radius:28px;background:#fffcf7fa;padding:1.25rem 1.5rem;box-shadow:0 10px 24px #60461f0f}.payable-batch-summary-card span{display:block;color:#667085;margin-bottom:.35rem}.payable-batch-summary-card strong{font-size:2rem;color:#101828}.payable-batch-list-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1.25rem}.payable-batch-table-wrap{overflow:auto}.payable-batch-table td strong{display:block}.payable-batch-table td small{display:block;color:#667085;margin-top:.2rem}.empty-state-cell{text-align:center;color:#667085;padding:2rem 1rem}.icon-with-text{display:inline-flex;align-items:center;gap:.55rem}.danger-btn{border:0;border-radius:18px;background:#df5337;color:#fff;padding:.9rem 1.2rem}.payable-batch-modal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.payable-batch-modal{width:min(760px,94vw)}.payable-batch-modal-title{display:grid;gap:.35rem}.payable-batch-modal-title h3{margin:0}.payable-batch-modal-title p{margin:0;color:#667085;max-width:42rem}.payable-batch-modal-body{display:grid;gap:1.25rem;padding:1.25rem 1.25rem 0}.payable-batch-modal .modal-actions{display:flex;gap:1.1rem;padding:0 1.25rem 1.25rem;margin-top:1rem}.payable-batch-modal .modal-actions>button+button{margin-left:.15rem}.payable-batch-modal-grid .full-width{grid-column:1 / -1}.payable-batch-modal-summary{margin-top:1.25rem;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.payable-batch-modal-summary article{border-radius:22px;border:1px solid rgba(223,213,193,.9);padding:1rem 1.1rem;background:#fffcf7f5}.payable-batch-modal-summary span{display:block;color:#667085}.payable-batch-modal-summary strong{display:block;margin-top:.35rem;font-size:1.5rem}@media(max-width:900px){.sales-hero,.sales-filter-grid,.sales-filter-summary,.sales-create-layout,.sale-editor-grid,.sale-line-editor-grid,.sale-summary-strip,.sale-item-editor-grid,.sale-view-top-grid,.sale-preview-layout,.sale-preview-list div,.payable-batch-filter-grid,.payable-batch-summary-grid,.payable-batch-modal-grid,.payable-batch-modal-summary{grid-template-columns:1fr}.sales-hero{display:grid;align-items:stretch}.sales-primary-cta{justify-self:stretch}.sales-create-aside{position:static}.sale-line-add-btn{width:100%}.payable-batch-list-header{flex-direction:column;align-items:stretch}.sales-create-modal{width:min(98vw,1640px);max-width:min(98vw,1640px)}}.dashboard-builder-page{display:grid;gap:1rem}.dashboard-loading-card{border:1px solid rgba(223,213,193,.9);border-radius:28px;background:#fffcf7f5;box-shadow:0 16px 38px #60461f14;padding:2rem;color:#667085}.dashboard-builder-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:.85rem}.dashboard-widget{min-height:178px;border-radius:24px;border:1px solid rgba(223,213,193,.9);background:#fffcf7f5;box-shadow:0 16px 38px #60461f14;padding:1.15rem 1.2rem;display:flex;flex-direction:column;gap:.65rem}.dashboard-widget.tone-brand{background:linear-gradient(135deg,#0b8e67,#087355 60%,#5eb294);color:#fff}.dashboard-widget.tone-info{background:linear-gradient(180deg,#f3f9fffa,#fffcf7f5);border-color:#6ca9f557}.dashboard-widget.tone-success{background:linear-gradient(180deg,#f0fffafa,#fffcf7f5);border-color:#46d7ad52}.dashboard-widget.tone-warning{background:linear-gradient(180deg,#fffcf0fa,#fffcf7f5);border-color:#ffc43f57}.dashboard-widget.tone-accent{background:linear-gradient(180deg,#fff7f0fa,#fffcf7f5);border-color:#ff8a5c52}.dashboard-widget.tone-danger{background:linear-gradient(180deg,#fff4f4fa,#fffcf7f5);border-color:#f16d6d47}.dashboard-widget-headline{display:flex;align-items:flex-start;justify-content:space-between;gap:.85rem}.dashboard-widget-eyebrow{margin:0;text-transform:uppercase;letter-spacing:.18em;font-size:.76rem;font-weight:800;color:#798396}.dashboard-widget.tone-brand .dashboard-widget-eyebrow,.dashboard-widget.tone-brand h2,.dashboard-widget.tone-brand h3,.dashboard-widget.tone-brand p,.dashboard-widget.tone-brand strong{color:#fff}.dashboard-widget h2,.dashboard-widget h3{margin:0;font-size:1.28rem;line-height:1.12}.dashboard-widget p{margin:0;color:#667085}.dashboard-widget-icon{width:2.9rem;height:2.9rem;border-radius:16px;display:inline-flex;align-items:center;justify-content:center;background:#f6f2eaf2;color:#233041;flex-shrink:0}.dashboard-widget.tone-brand .dashboard-widget-icon{background:#ffffff29;color:#fff}.dashboard-widget-icon.hero{width:3.3rem;height:3.3rem;border-radius:18px}.dashboard-widget-value{font-size:2.28rem;line-height:1.02;font-weight:800;letter-spacing:-.04em;color:#201a14;overflow-wrap:anywhere}.dashboard-widget-subtitle{font-size:.92rem;line-height:1.35;max-width:24ch}.dashboard-widget-hero{min-height:180px;flex-direction:row;align-items:center;justify-content:space-between}.dashboard-widget-hero h2{font-size:2rem}.dashboard-widget-hero p:not(.dashboard-hero-eyebrow){max-width:700px;font-size:.98rem;color:#ffffffe6}.dashboard-widget-actions,.dashboard-widget-list,.dashboard-widget-chart{min-height:0}.dashboard-list-items{display:grid;gap:.7rem}.dashboard-list-item{display:flex;align-items:flex-start;justify-content:space-between;gap:.9rem;padding:.8rem 0;border-top:1px solid rgba(223,213,193,.58)}.dashboard-list-item:first-child{border-top:0;padding-top:.1rem}.dashboard-list-item-main{display:grid;gap:.16rem;min-width:0}.dashboard-list-item-main strong{font-size:1rem;line-height:1.2;color:#201a14}.dashboard-list-item-main span,.dashboard-list-item-main small{color:#667085}.dashboard-list-item-main small{font-size:.82rem}.dashboard-list-item-side{display:grid;justify-items:end;gap:.38rem;flex-shrink:0}.dashboard-list-item-side strong{font-size:.95rem;color:#201a14}.dashboard-list-status{display:inline-flex;align-items:center;justify-content:center;padding:.22rem .58rem;border-radius:999px;background:#e949491f;color:#b33c3c;font-size:.76rem;font-weight:800;letter-spacing:.01em}.dashboard-list-empty{padding:1.25rem 0 .5rem;color:#667085}.dashboard-chart-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:end;gap:.75rem;min-height:188px;padding-top:.55rem}.dashboard-chart-group{display:grid;justify-items:center;gap:.5rem}.dashboard-chart-bars{display:flex;align-items:end;justify-content:center;gap:.35rem;min-height:140px;width:100%}.dashboard-chart-bar{width:min(26px,45%);border-radius:14px 14px 8px 8px;background:#9ea9bb80;min-height:8px}.dashboard-chart-bar.tone-success{background:linear-gradient(180deg,#55bb93eb,#27805cdb)}.dashboard-chart-bar.tone-danger{background:linear-gradient(180deg,#ed9281f0,#d4584ce0)}.dashboard-chart-bar.tone-info{background:linear-gradient(180deg,#75aaeceb,#4379c7db)}.dashboard-chart-group small{font-size:.78rem;color:#667085}.dashboard-chart-legend{display:flex;flex-wrap:wrap;gap:.8rem;padding-top:.35rem}.dashboard-chart-legend-item{display:inline-flex;align-items:center;gap:.42rem;color:#667085;font-size:.86rem;font-weight:600}.dashboard-chart-legend-item i{width:10px;height:10px;border-radius:999px;display:inline-block;background:#9ea9bb80}.dashboard-chart-legend-item i.tone-success{background:#3e9b75}.dashboard-chart-legend-item i.tone-danger{background:#de6f61}.dashboard-chart-legend-item i.tone-info{background:#5388d9}.dashboard-quick-actions-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.9rem}.dashboard-quick-action-btn{border:1px solid rgba(223,213,193,.85);border-radius:20px;background:#ffffffd1;padding:1rem 1.1rem;display:flex;align-items:center;justify-content:flex-start;gap:.75rem;font:inherit;font-weight:700;color:#223041;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.dashboard-quick-action-btn:hover{transform:translateY(-1px);border-color:#0f7b5d61;box-shadow:0 12px 24px #243d2f14}.dashboard-quick-action-label{display:inline-flex;align-items:center;gap:.7rem}.dashboard-quick-action-icon{width:2.1rem;height:2.1rem;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#f6f2eaf2;color:#233041;flex-shrink:0}.dashboard-customize-modal{max-width:1220px;max-height:min(92vh,980px);display:flex;flex-direction:column}.dashboard-customize-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);gap:1rem;padding:1.25rem;overflow:auto}.dashboard-customize-panel{border:1px solid rgba(223,213,193,.9);border-radius:24px;background:#fffcf7e0;padding:1.2rem}.dashboard-customize-section-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem}.dashboard-customize-section-header h4{margin:0;font-size:1.2rem}.dashboard-customize-section-header p{margin:.35rem 0 0;color:#667085}.dashboard-customize-list{display:grid;gap:.75rem}.dashboard-customize-item{border:1px solid rgba(223,213,193,.85);border-radius:20px;background:#ffffffd6;padding:.95rem 1rem;display:flex;align-items:center;justify-content:space-between;gap:1.25rem}.dashboard-customize-item.is-hidden{opacity:.72;background:#f6f2ead1}.dashboard-customize-item-main{display:grid;gap:.2rem}.dashboard-customize-item-main strong{font-size:1rem}.dashboard-customize-item-main small{color:#667085}.dashboard-quick-actions-config{display:flex;flex-wrap:wrap;gap:.45rem .8rem;margin-top:.35rem}.dashboard-quick-actions-option{display:inline-flex;align-items:center;gap:.4rem;color:#516076;font-size:.86rem;font-weight:600}.dashboard-quick-actions-option input{accent-color:#0b8e67}.dashboard-customize-item-controls{display:flex;align-items:center;gap:.8rem}.dashboard-customize-item-controls select{min-width:132px}.dashboard-customize-modal .modal-actions{display:flex;align-items:center;gap:.9rem;padding:1rem 1.25rem 1.25rem;margin-top:.35rem}.dashboard-catalog-grid{display:grid;gap:.75rem}.dashboard-catalog-card{border:1px solid rgba(223,213,193,.85);border-radius:20px;background:#ffffffd6;padding:1rem;display:grid;gap:.45rem}.dashboard-catalog-card.is-active{border-color:#0f7b5d3d;background:#f4fffac7}.dashboard-catalog-card strong{font-size:1rem}.dashboard-catalog-card p,.dashboard-catalog-card small{margin:0;color:#667085}@media(max-width:1100px){.dashboard-builder-header,.dashboard-customize-layout{grid-template-columns:1fr;display:grid}.dashboard-quick-actions-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.dashboard-builder-grid{grid-template-columns:1fr}.dashboard-widget,.dashboard-widget-hero{grid-column:1 / -1!important}.dashboard-widget-hero{flex-direction:column;align-items:flex-start}.dashboard-quick-actions-grid{grid-template-columns:1fr}.dashboard-customize-item,.dashboard-customize-item-controls{flex-direction:column;align-items:stretch}}.sales-report-page{display:grid;gap:1.85rem}.sales-report-hero{border-radius:28px;padding:1.95rem 2.2rem;background:radial-gradient(circle at top right,rgba(16,185,129,.2),transparent 26%),linear-gradient(135deg,#f8fafcf5,#fffbebf5);border:1px solid rgba(226,232,240,.8);box-shadow:0 20px 40px #0f172a12}.sales-report-eyebrow{display:inline-flex;margin-bottom:.45rem;font-size:.78rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:#0f766e}.sales-report-hero h2{margin:0;font-size:clamp(2rem,3vw,2.5rem)}.sales-report-filters{display:grid;gap:1.2rem;padding:1.45rem 1.5rem 1.15rem}.sales-report-filters .field-label{display:grid;gap:.7rem;line-height:1.25;margin-bottom:.15rem}.sales-report-filter-grid{display:grid;gap:1.1rem;grid-template-columns:repeat(4,minmax(0,1fr))}.sales-report-search-field{grid-column:span 2}.sales-report-summary-grid{display:grid;gap:1.15rem;grid-template-columns:repeat(5,minmax(0,1fr))}.sales-report-summary-card{position:relative;overflow:hidden;display:grid;gap:.55rem;padding:1.55rem 1.55rem 1.45rem;border-radius:24px;border:1px solid rgba(226,232,240,.85);background:#fff;box-shadow:0 18px 36px #0f172a0d}.sales-report-summary-card:after{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.2),transparent 55%);pointer-events:none}.sales-report-summary-card span,.sales-report-summary-card strong{position:relative;z-index:1}.sales-report-summary-card span{font-size:.88rem;color:#64748b}.sales-report-summary-card strong{font-size:1.65rem;line-height:1.1;color:#0f172a}.sales-report-summary-card.tone-emerald{background:linear-gradient(180deg,#ecfdf5fa,#fff)}.sales-report-summary-card.tone-blue{background:linear-gradient(180deg,#eff6fffa,#fff)}.sales-report-summary-card.tone-purple{background:linear-gradient(180deg,#f5f3fffa,#fff)}.sales-report-summary-card.tone-green{background:linear-gradient(180deg,#f0fdf4fa,#fff)}.sales-report-summary-card.tone-amber{background:linear-gradient(180deg,#fffbebfa,#fff)}.sales-report-summary-icon{display:inline-flex;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;border-radius:999px;background:#ffffffd1;color:#0f766e;border:1px solid rgba(226,232,240,.9)}.sales-report-chart-grid{display:grid;gap:1.2rem;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}.sales-report-chart-card,.sales-report-results-card{display:grid;gap:1.25rem;padding:1.55rem 1.55rem 1.45rem}.sales-report-section-heading{display:flex;align-items:start;justify-content:space-between;gap:1.2rem;padding-bottom:.35rem;margin-bottom:.35rem}.sales-report-section-heading strong{font-size:1.08rem;color:#111827}.sales-report-section-heading svg{color:#64748b}.sales-report-bars{min-height:280px;display:grid;gap:1.1rem;grid-template-columns:repeat(auto-fit,minmax(78px,1fr));align-items:end;padding-top:.35rem}.sales-report-bar-group{display:grid;gap:.55rem;justify-items:center}.sales-report-bar-group strong{font-size:.88rem;color:#334155}.sales-report-bar-group span{font-size:.76rem;text-align:center;color:#0f172a}.sales-report-bar-group small{color:#64748b;font-size:.75rem}.sales-report-bar-shell{width:100%;min-height:190px;display:flex;align-items:end;justify-content:center;padding:.6rem .35rem 0;border-radius:22px;background:linear-gradient(180deg,#f8fafcd9,#f1f5f999),repeating-linear-gradient(to top,transparent,transparent 23%,rgba(148,163,184,.12) 23%,rgba(148,163,184,.12) 24%)}.sales-report-bar{width:100%;border-radius:18px 18px 8px 8px;background:linear-gradient(180deg,#0f766e,#10b981);box-shadow:0 14px 28px #10b9813d}.sales-report-type-list{display:grid;gap:1.15rem;padding-top:.35rem}.sales-report-type-row{display:grid;gap:.7rem}.sales-report-type-head{display:flex;align-items:end;justify-content:space-between;gap:1rem}.sales-report-type-head strong{display:block;font-size:.95rem;color:#0f172a}.sales-report-type-head small{color:#64748b}.sales-report-type-head span{font-weight:700;color:#0f172a}.sales-report-type-bar-shell{width:100%;height:12px;overflow:hidden;border-radius:999px;background:#e2e8f0bf}.sales-report-type-bar{height:100%;border-radius:inherit;background:linear-gradient(90deg,#0f766e,#34d399)}@media(max-width:1280px){.sales-report-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sales-report-chart-grid{grid-template-columns:1fr}}@media(max-width:960px){.sales-report-filter-grid,.sales-report-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-report-search-field{grid-column:span 2}}@media(max-width:720px){.sales-report-hero{padding:1.55rem 1.3rem}.sales-report-filters,.sales-report-chart-card,.sales-report-results-card{padding:1.25rem 1.2rem 1.1rem}.sales-report-filter-grid,.sales-report-summary-grid{grid-template-columns:1fr}.sales-report-search-field{grid-column:span 1}.sales-report-bars{grid-template-columns:repeat(2,minmax(0,1fr))}}h1,h2,h3,.page-title,.title-xl,.modal-header h3,.dashboard-card-header h3,.sales-report-hero h2,.batch-settlement-title h2{letter-spacing:-.03em}.breadcrumb,.section-kicker,.users-table th,.sales-table th,.financial-summary-table th,.history-table th,.payment-movements-table th,.sales-report-results-table th{letter-spacing:.16em;text-transform:uppercase;font-weight:800}.topbar{background:#fffdfadb;border-bottom-color:#e4dbccc2}.page-title{font-size:25px;font-weight:800;color:var(--text-main)}.panel,.stat-card,.list-table-card,.sales-table-card,.sales-report-filters,.sales-report-chart-card,.sales-report-results-card,.sales-report-summary-card,.modal-card{background:linear-gradient(180deg,#fffdfaf5,#fffffffa);border-color:#e2d9cceb;box-shadow:0 18px 46px #28211812}.form-tabs.icon-tabs{display:inline-flex;flex-wrap:wrap;align-items:center;gap:8px;width:fit-content;max-width:100%;margin:2px 0 18px;padding:6px;border:1px solid rgb(226 217 204 / 92%);border-radius:22px;background:linear-gradient(180deg,#ffffffdb,#f7f3ecc7);box-shadow:inset 0 1px #ffffffe0,0 12px 24px #1f29370d}.icon-tab-btn,.tab-btn.icon-tab-btn{position:relative;display:inline-flex!important;align-items:center;justify-content:center;gap:9px;min-height:42px!important;padding:0 16px 0 12px!important;border-radius:17px!important;border:1px solid transparent!important;background:transparent!important;color:#5f6b7b!important;box-shadow:none;font-size:.9rem;font-weight:800;letter-spacing:.01em;transition:background-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease}.icon-tab-btn:hover,.tab-btn.icon-tab-btn:hover{background:#ffffffb8!important;color:#263247!important;transform:translateY(-1px)}.icon-tab-btn.active,.tab-btn.icon-tab-btn.active{background:linear-gradient(135deg,#1f7a52,#16603f)!important;border-color:#1f7a528f!important;color:#fff!important;box-shadow:0 12px 24px #1f7a5233}.icon-tab-icon{width:28px;height:28px;border-radius:11px;background:#1f7a5217;color:#1f7a52;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.icon-tab-btn.active .icon-tab-icon,.tab-btn.icon-tab-btn.active .icon-tab-icon{background:#ffffff2e;color:#fff}.modal-overlay{background:#1e1c188a;padding:24px}.modal-card{border-radius:28px;max-height:calc(100vh - 48px);overflow:hidden}.modal-card-wide{width:min(1060px,96vw)}.modal-header{padding:20px 24px;background:radial-gradient(circle at 8% 0%,rgb(255 255 255 / 88%),transparent 44%),linear-gradient(180deg,#fffdfa,#f8f4ec)}.modal-header h3{font-size:1.45rem;font-weight:900}.modal-close-btn{width:42px;height:42px;min-height:42px!important;border:1px solid rgb(100 116 139 / 38%)!important;border-radius:999px!important;background:#ffffffb8!important;color:#3f3a35;box-shadow:inset 0 0 0 3px #ffffffbd}.modal-close-btn:hover{background:#fff!important;border-color:#5f7490!important}.modal-card form{max-height:calc(100vh - 136px);overflow-y:auto;padding:22px 24px 24px}.field-label,label,.form-tab-content .field-label,.sales-report-filter-field label{color:#557064;font-weight:800}input:not([type=checkbox]),select,textarea{font-weight:600;color:var(--text-main)}:root{--input-height: 38px;--input-radius: 12px;--btn-height: 38px;--btn-radius: 12px}html{font-size:15px}.content-area{padding:20px}.page-title{font-size:23px}.panel,.stat-card,.list-table-card,.sales-table-card,.sales-report-filters,.sales-report-chart-card,.sales-report-results-card,.sales-report-summary-card{border-radius:18px}.stat-card,.panel{padding:16px}input:not([type=checkbox]),select,textarea{padding:8px 14px}.primary-btn,.secondary-btn,.danger-btn,.login-card button,.modal-card button,.panel button,.pagination-actions button,.list-tools button{padding-inline:13px;font-size:.9rem}.modal-card{border-radius:24px}.modal-header{min-height:86px;padding:16px 22px}.modal-header h3{font-size:1.28rem}.modal-close-btn{width:38px;height:38px;min-height:38px!important}.modal-card form{max-height:calc(100vh - 116px);padding:16px 20px 22px}.modal-card form:has(.form-tabs.icon-tabs){padding-top:10px}.form-tabs.icon-tabs,.form-tabs.icon-tabs.full-width{width:100%;max-width:100%;justify-content:flex-start;align-items:center;gap:7px;margin:-2px 0 14px;padding:5px;border-radius:20px}.icon-tab-btn,.tab-btn.icon-tab-btn{min-height:36px!important;padding:0 12px 0 9px!important;border-radius:14px!important;gap:7px;font-size:.82rem}.icon-tab-icon{width:24px;height:24px;border-radius:9px}.icon-tab-icon svg{width:14px;height:14px}.form-tab-content{min-height:460px;gap:10px}.field-label,label,.form-tab-content .field-label,.sales-report-filter-field label{font-size:.9rem}.users-table th,.users-table td,.sales-table th,.sales-table td{padding-top:12px;padding-bottom:12px}.modal-header{min-height:68px;padding-top:12px;padding-bottom:12px}.modal-close-btn{width:34px;height:34px;min-height:34px!important}.product-access-denied{min-height:100vh;display:grid;place-items:center;padding:32px;background:radial-gradient(circle at 20% 8%,rgb(230 244 237 / 72%) 0,transparent 32%),linear-gradient(180deg,#faf7f0 0%,var(--bg-main) 100%)}.product-access-card{width:min(620px,100%);border:1px solid var(--border);border-radius:28px;background:var(--panel);box-shadow:0 24px 60px #1f7a521f;padding:34px}.product-access-card h1{margin:8px 0 12px;font-size:32px;line-height:1.05;color:var(--text-main)}.product-access-card p{margin:0 0 24px;color:var(--text-soft);font-size:17px;line-height:1.5}
