*{box-sizing:border-box}html,body,#root{width:100%;min-width:0;height:100%;min-height:100%;margin:0;padding:0}html{overflow:hidden}body{color:#21150f;background:#f1e3c6;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}button{-webkit-tap-highlight-color:transparent}img{max-width:100%;display:block}.company-brand-header{align-items:center;gap:10px;min-width:0;display:flex}.company-brand-header--inline{gap:8px}.company-brand-header__logo{object-fit:contain;background:#fff;border-radius:8px;width:42px;height:42px;padding:4px}.company-brand-header__fallback{color:#3b2418;background:#f1e3c6;border-radius:8px;place-items:center;width:42px;height:42px;font-weight:800;display:grid}.company-brand-header__text{flex-direction:column;min-width:0;display:flex}.company-brand-header__label{color:#ffffffb3;font-size:11px}.company-brand-header__text strong{color:#fff;white-space:nowrap;text-overflow:ellipsis;font-size:15px;overflow:hidden}.company-brand-header--output{color:#21150f;border-bottom:2px solid #3b2418;margin-bottom:12px;padding-bottom:10px;display:none}.company-brand-header--output .company-brand-header__logo{object-fit:contain;border-radius:0;width:72px;height:52px;padding:0}.company-brand-header--output .company-brand-header__fallback{display:none}.company-brand-header--output .company-brand-header__text strong{color:#21150f;font-size:20px}.company-brand-header__details{flex-wrap:wrap;gap:3px 12px;font-size:9px;display:none}.company-brand-header--output .company-brand-header__details{display:flex}.company-brand-header__details span{white-space:nowrap}@media print{.company-brand-header--output{display:flex!important}.dashboard-print-root .company-brand-header--inline{color:#21150f;border-bottom:2px solid #3b2418;margin-bottom:12px;padding-bottom:10px}.dashboard-print-root .company-brand-header--inline .company-brand-header__text strong{color:#21150f;font-size:20px}.dashboard-print-root .company-brand-header--inline .company-brand-header__details{display:flex}.dashboard-print-root .company-brand-header--inline .company-brand-header__label{display:none}}.print-company-card__brand{align-items:center;gap:12px;min-width:0;display:flex}.print-company-card__logo{object-position:center;flex:none;object-fit:contain!important;width:76px!important;max-width:76px!important;height:54px!important;max-height:54px!important;display:block!important}.print-company-card p{flex-wrap:wrap;gap:3px 10px;display:flex}.print-company-card p span{text-transform:none;letter-spacing:normal;display:inline}.payment-printable .company-brand-header--output,.expense-print-page .company-brand-header--output,.document-pdf-render-host .company-brand-header--output{display:flex}.sidebar{color:#fff;background:#3b2418;border-right:1px solid #ffffff14;flex-direction:column;flex-shrink:0;width:270px;height:100vh;transition:width .2s;display:flex;overflow:hidden}.sidebar--collapsed{width:76px}.sidebar__header{border-bottom:1px solid #ffffff14;flex-shrink:0;justify-content:space-between;align-items:center;height:76px;padding:0 14px;display:flex}.sidebar__brand{align-items:center;gap:10px;min-width:0;display:flex}.sidebar__logo{color:#3b2418;background:#f1e3c6;border-radius:10px;flex-shrink:0;place-items:center;width:42px;height:42px;font-size:14px;font-weight:800;display:grid}.sidebar__brand-text{white-space:nowrap;flex-direction:column;gap:3px;min-width:0;display:flex}.sidebar__brand-text strong{font-size:15px;font-weight:700}.sidebar__brand-text span{color:#ffffffa6;font-size:11px}.sidebar__toggle{color:#fff;cursor:pointer;background:#ffffff14;border:0;border-radius:8px;flex-shrink:0;place-items:center;width:34px;height:34px;display:grid}.sidebar__toggle:hover{background:#ffffff29}.sidebar__scroll{flex:1;min-height:0;padding:14px 10px;overflow:hidden auto}.sidebar__scroll::-webkit-scrollbar{width:6px}.sidebar__scroll::-webkit-scrollbar-track{background:0 0}.sidebar__scroll::-webkit-scrollbar-thumb{background:#fff3;border-radius:10px}.sidebar__nav{flex-direction:column;gap:6px;display:flex}.sidebar__dashboard,.sidebar__section-button,.sidebar__item{color:#fff;cursor:pointer;text-align:left;border:0;width:100%;font-family:inherit}.sidebar__dashboard{color:#3b2418;background:#f1e3c6;border-radius:9px;align-items:center;gap:12px;min-height:44px;padding:0 13px;font-size:14px;font-weight:700;display:flex}.sidebar__dashboard:hover{background:#e7d5b0}.sidebar__section{width:100%}.sidebar__section-button{color:#ffffffd9;background:0 0;border-radius:9px;justify-content:space-between;align-items:center;gap:8px;min-height:42px;padding:0 13px;font-size:13px;font-weight:700;display:flex}.sidebar__section-button:hover{color:#fff;background:#ffffff14}.sidebar__section-left{align-items:center;gap:12px;min-width:0;display:flex}.sidebar__items{flex-direction:column;gap:3px;margin-top:3px;padding-left:9px;display:flex}.sidebar__item{color:#ffffffad;background:0 0;border-radius:8px;align-items:center;gap:11px;min-height:38px;padding:0 13px;font-size:13px;font-weight:500;display:flex}.sidebar__item:hover{color:#fff;background:#ffffff14}.sidebar--collapsed .sidebar__header{justify-content:center;padding:0 10px}.sidebar--collapsed .sidebar__brand{display:none}.sidebar--collapsed .sidebar__toggle{margin:0 auto}.sidebar--collapsed .sidebar__scroll{padding:14px 10px}.sidebar--collapsed .sidebar__dashboard,.sidebar--collapsed .sidebar__section-button{justify-content:center;padding:0}.sidebar__footer{border-top:1px solid #ffffff14;flex-direction:column;flex-shrink:0;gap:3px;padding:14px;display:flex}.sidebar__footer span{font-size:12px;font-weight:700}.sidebar__footer small{color:#ffffff8c;font-size:10px}@media (width<=768px){.sidebar{width:230px}.sidebar--collapsed{width:68px}}.sidebar__item--active{color:#3b2418;background:#f1e3c6;font-weight:800}.sidebar__dashboard--active{color:#3b2418;background:#f1e3c6}.dashboard-delayed-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:22px;display:grid}.delayed-card{background:#fffaf0;border:1px solid #59362126;border-radius:16px;flex-direction:column;min-width:0;height:360px;display:flex;overflow:hidden;box-shadow:0 8px 24px #3b24180f}.delayed-card__header{border-bottom:1px solid #5936211f;flex:none;justify-content:space-between;align-items:flex-start;padding:18px 20px 14px;display:flex}.delayed-card__header h2{text-transform:uppercase;color:#21150f;margin:0;font-size:16px}.delayed-card__header p{color:#7d6758;margin:5px 0 0;font-size:12px}.delayed-card__header>strong{color:#3b2418;background:#f1e3c6;border-radius:999px;padding:5px 9px}.delayed-card__scroll{scrollbar-width:thin;scrollbar-color:#a98b72 transparent;min-height:0;overflow:auto}.delayed-table{border-collapse:separate;border-spacing:0;width:100%;font-size:12px}.delayed-table th{z-index:2;color:#5a4234;text-align:left;white-space:nowrap;background:#f5ead5;padding:10px 12px;position:sticky;top:0}.delayed-table td{white-space:nowrap;border-bottom:1px solid #59362117;padding:11px 12px}.delayed-table a{color:#3b2418;text-underline-offset:3px;font-weight:750;-webkit-text-decoration:underline #c6a98b;text-decoration:underline #c6a98b}.delayed-amount{text-align:right;font-weight:800}.delayed-amount--receivable{color:#19803a}.delayed-amount--payable{color:#bd2a2a}.delayed-days{text-align:center;font-weight:750}.delayed-card__empty{text-align:center;color:#7d6758;margin:auto;padding:24px}.delayed-card__scroll::-webkit-scrollbar{width:7px;height:7px}.delayed-card__scroll::-webkit-scrollbar-thumb{background:#a98b72;border-radius:10px}@media (width<=900px){.dashboard-delayed-grid{grid-template-columns:1fr}}@media (width<=520px){.delayed-card__scroll{overflow-x:auto}.delayed-card{height:340px}.delayed-table{min-width:560px}}.dashboard{color:#21150f;width:100%;max-width:1600px;margin:0 auto}.dashboard__header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px;display:flex}.dashboard__eyebrow{color:#8a664b;letter-spacing:.14em;margin-bottom:7px;font-size:10px;font-weight:800;display:block}.dashboard__header h1{color:#21150f;margin:0;font-size:30px;line-height:1.2}.dashboard__header p{color:#756052;margin:7px 0 0;font-size:14px}.dashboard__header-actions{align-items:stretch;gap:10px;display:flex}.dashboard__refresh{color:#3b2418;cursor:pointer;background:#fffaf0;border:1px solid #3b241829;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:0 14px;font-size:12px;font-weight:750;display:inline-flex}.dashboard__refresh:hover:not(:disabled){background:#f8edda;border-color:#3b24184d}.dashboard__refresh:disabled{cursor:wait;opacity:.62}.dashboard__date{background:#fffaf0;border:1px solid #3b24181a;border-radius:10px;flex-direction:column;justify-content:center;align-items:flex-end;gap:4px;min-width:114px;padding:10px 14px;display:flex}.dashboard__date span{color:#8a7566;font-size:11px}.dashboard__date strong{color:#3b2418;font-size:13px}.dashboard-alert{color:#bd2a2a;background:#fff3f1;border:1px solid #bd2a2a3d;border-radius:11px;align-items:center;gap:12px;margin-bottom:18px;padding:13px 15px;display:flex}.dashboard-alert>svg{flex:none}.dashboard-alert div{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.dashboard-alert strong{color:#812020;font-size:13px}.dashboard-alert span{color:#8d4b47;font-size:11px}.dashboard-alert button{color:#9c2020;cursor:pointer;background:#fffaf0;border:1px solid #bd2a2a4d;border-radius:8px;flex:none;padding:7px 11px;font-size:11px;font-weight:800}.dashboard__section{margin-bottom:22px}.dashboard__section-heading{justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:11px;display:flex}.dashboard__section-heading h2{color:#2b1b13;margin:0;font-size:17px}.dashboard__section-heading p{color:#846f61;margin:4px 0 0;font-size:11px}.dashboard__cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;display:grid}.dashboard__cards--position{grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard-card{background:#fffaf0;border:1px solid #3b241817;border-top:3px solid #9a7658;border-radius:13px;min-width:0;padding:17px;box-shadow:0 2px 8px #3b24180a}.dashboard-card--receivable,.dashboard-card--profit{border-top-color:#19803a}.dashboard-card--payable,.dashboard-card--loss{border-top-color:#bd2a2a}.dashboard-card--payment{border-top-color:#1767c4}.dashboard-card__top{justify-content:flex-start;margin-bottom:13px;display:flex}.dashboard-card__icon{color:#3b2418;background:#f1e3c6;border-radius:9px;place-items:center;width:38px;height:38px;display:grid}.dashboard-card--receivable .dashboard-card__icon,.dashboard-card--profit .dashboard-card__icon{color:#19803a;background:#19803a1a}.dashboard-card--payable .dashboard-card__icon,.dashboard-card--loss .dashboard-card__icon{color:#bd2a2a;background:#bd2a2a1a}.dashboard-card--payment .dashboard-card__icon{color:#1767c4;background:#1767c41a}.dashboard-card__title{color:#665347;font-size:12px;font-weight:650}.dashboard-card__value{color:#21150f;text-overflow:ellipsis;white-space:nowrap;margin-top:5px;font-size:clamp(17px,1.6vw,23px);font-weight:850;line-height:1.25;overflow:hidden}.dashboard-card--receivable .dashboard-card__value,.dashboard-card--profit .dashboard-card__value{color:#19803a}.dashboard-card--payable .dashboard-card__value,.dashboard-card--loss .dashboard-card__value{color:#bd2a2a}.dashboard-card--payment .dashboard-card__value{color:#1767c4}.dashboard-card__subtitle{color:#988779;margin-top:5px;font-size:10px}.dashboard__grid,.dashboard__recent-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:18px;display:grid}.dashboard-panel{background:#fffaf0;border:1px solid #3b241817;border-radius:14px;min-width:0;padding:18px;box-shadow:0 2px 8px #3b24180a}.dashboard-panel--table{padding-bottom:8px}.dashboard-panel__header{border-bottom:1px solid #3b241814;justify-content:space-between;align-items:center;gap:12px;padding-bottom:13px;display:flex}.dashboard-panel__header h2{color:#2b1b13;margin:0;font-size:15px}.dashboard-panel__header p{color:#8a7566;margin:4px 0 0;font-size:11px}.dashboard-ranking{flex-direction:column;margin-top:5px;display:flex}.dashboard-ranking__item{border-bottom:1px solid #3b241812;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:58px;display:grid}.dashboard-ranking__item:last-child{border-bottom:0}.dashboard-ranking__position{color:#5b3a27;background:#f1e3c6;border-radius:8px;place-items:center;width:26px;height:26px;font-size:11px;font-weight:850;display:grid}.dashboard-ranking__product,.dashboard-ranking__value{flex-direction:column;gap:3px;min-width:0;display:flex}.dashboard-ranking__product strong{color:#2b1b13;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.dashboard-ranking__product span,.dashboard-ranking__value span{color:#8a7566;font-size:10px}.dashboard-ranking__value{text-align:right;align-items:flex-end}.dashboard-ranking__value strong{color:#3b2418;font-size:12px}.dashboard-stock-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px;display:grid}.dashboard-stock-list{background:#fcf5e8;border:1px solid #3b241814;border-radius:10px;min-width:0;padding:11px}.dashboard-stock-list__title{color:#4f382a;border-bottom:1px solid #3b241814;justify-content:space-between;align-items:center;gap:8px;padding-bottom:9px;font-size:11px;font-weight:800;display:flex}.dashboard-stock-list__title strong{color:#3b2418;text-align:center;background:#ead8b9;border-radius:999px;min-width:24px;padding:3px 6px}.dashboard-stock-list__empty{color:#917e70;text-align:center;place-items:center;min-height:80px;margin:0;font-size:10px;line-height:1.45;display:grid}.dashboard-stock-list__items{flex-direction:column;display:flex}.dashboard-stock-item{border-bottom:1px solid #3b24180f;justify-content:space-between;align-items:center;gap:8px;min-height:53px;display:flex}.dashboard-stock-item:last-child{border-bottom:0}.dashboard-stock-item>div{flex-direction:column;gap:2px;min-width:0;display:flex}.dashboard-stock-item strong{color:#39271e;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.dashboard-stock-item span{color:#927f70;font-size:9px}.dashboard-stock-item__quantity{text-align:right;flex:none;align-items:flex-end}.dashboard-stock-item__quantity--low strong{color:#a25a00}.dashboard-stock-item__quantity--out strong,.dashboard-stock-item__quantity--out span{color:#bd2a2a}.dashboard-overview{background:#fffaf0;border:1px solid #3b241817;border-radius:14px;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px;padding:15px;display:grid}.dashboard-overview__item{background:#f7edd8;border-radius:10px;align-items:center;gap:10px;min-width:0;padding:11px;display:flex}.dashboard-overview__icon{color:#5b3a27;background:#fffaf0;border-radius:9px;flex:none;place-items:center;width:35px;height:35px;display:grid}.dashboard-overview__item>div:last-child{flex-direction:column;gap:2px;min-width:0;display:flex}.dashboard-overview__item strong{color:#2b1b13;font-size:14px}.dashboard-overview__item span{color:#8a7566;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.dashboard-table-wrapper{width:100%;overflow-x:auto}.dashboard-table{border-collapse:collapse;width:100%;min-width:640px;font-size:10px}.dashboard-table th,.dashboard-table td{color:#4a372c;text-align:left;white-space:nowrap;border-bottom:1px solid #3b241812;padding:10px 8px}.dashboard-table th{color:#756052;letter-spacing:.04em;text-transform:uppercase;font-size:9px;font-weight:800}.dashboard-table tbody tr:last-child td{border-bottom:0}.dashboard-table__number{text-align:right!important}.dashboard-document-link{color:#6d4129;font-size:inherit;text-underline-offset:2px;cursor:pointer;background:0 0;border:0;padding:0;font-weight:800;text-decoration:underline}.dashboard-document-link:hover{color:#9a5028}.dashboard-status{color:#624c3e;letter-spacing:.03em;background:#eee3d3;border-radius:999px;padding:4px 7px;font-size:8px;font-weight:850;display:inline-flex}.dashboard-status--posted{color:#19803a;background:#19803a1c}.dashboard-status--voided,.dashboard-status--cancelled{color:#bd2a2a;background:#bd2a2a1a}.dashboard-empty{color:#a18f80;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-height:165px;padding:20px;display:flex}.dashboard-empty strong{color:#604b3c;font-size:12px}.dashboard-empty span{max-width:280px;font-size:10px;line-height:1.5}.dashboard-loading__cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;display:grid}.dashboard-skeleton{background:#f7ecd8;border:1px solid #3b241812;border-radius:13px;position:relative;overflow:hidden}.dashboard-skeleton:after{content:"";background:linear-gradient(90deg,#0000,#fffaf0d9,#0000);animation:1.35s infinite dashboard-shimmer;position:absolute;inset:0;transform:translate(-100%)}.dashboard-skeleton--card{height:154px}.dashboard-skeleton--panel{height:290px;margin-top:18px}.is-spinning{animation:.9s linear infinite dashboard-spin}@keyframes dashboard-shimmer{to{transform:translate(100%)}}@keyframes dashboard-spin{to{transform:rotate(360deg)}}@media (width<=1180px){.dashboard__cards,.dashboard__cards--position,.dashboard-loading__cards{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard__grid,.dashboard__recent-grid{grid-template-columns:1fr}}@media (width<=900px){.dashboard-overview{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=680px){.dashboard__header{flex-direction:column}.dashboard__header-actions{width:100%}.dashboard__refresh,.dashboard__date{flex:1}.dashboard__date{align-items:flex-start}.dashboard__cards,.dashboard__cards--position,.dashboard-loading__cards,.dashboard-stock-grid{grid-template-columns:1fr}.dashboard-alert{flex-wrap:wrap;align-items:flex-start}.dashboard-alert button{margin-left:31px}}@media (width<=480px){.dashboard__header h1{font-size:25px}.dashboard__header-actions{flex-direction:column-reverse;align-items:stretch}.dashboard__date{min-height:58px}.dashboard__refresh{min-height:42px}.dashboard-card,.dashboard-panel{padding:15px}.dashboard-overview{grid-template-columns:1fr;padding:12px}.dashboard-ranking__item{grid-template-columns:27px minmax(0,1fr)}.dashboard-ranking__value{text-align:left;grid-column:2;align-items:flex-start;padding-bottom:8px}}@media (prefers-reduced-motion:reduce){.dashboard-skeleton:after,.is-spinning{animation:none}}.dashboard-period-filter{background:#fffaf0;border:1px solid #d7c6aa;border-radius:12px;flex-wrap:wrap;align-items:end;gap:8px;margin:0 0 18px;padding:12px;display:flex}.dashboard-period-filter button,.dashboard-export-actions button{color:#fff;cursor:pointer;background:#3b2418;border:1px solid #3b2418;border-radius:8px;padding:9px 12px;font-weight:750}.dashboard-period-filter button.active{background:#805a3d}.dashboard-period-filter label{color:#6d594b;gap:4px;font-size:.8rem;display:grid}.dashboard-period-filter input{border:1px solid #c9b798;border-radius:7px;padding:8px}.dashboard-export-actions{gap:8px;display:flex}@media print{body *{visibility:hidden}.dashboard-print-root,.dashboard-print-root *{visibility:visible}.dashboard-print-root{background:#fff;width:100%;max-width:none;position:absolute;inset:0}.dashboard-no-print,.dashboard-no-print *{display:none!important}.dashboard-card,.dashboard-panel{break-inside:avoid;box-shadow:none}.dashboard__cards{grid-template-columns:repeat(3,1fr)}}.erp-layout{background:#f1e3c6;width:100%;height:100vh;min-height:100vh;display:flex;overflow:hidden}.erp-main{background:#f1e3c6;flex:1;width:0;min-width:0;height:100vh;overflow:hidden auto}.erp-main__content{width:100%;min-height:100%;padding:28px}.erp-page-placeholder{box-sizing:border-box;background:#f7edd8;border:1px solid #3b24181a;border-radius:16px;width:100%;min-height:calc(100vh - 56px);padding:32px}.erp-page-placeholder__eyebrow{letter-spacing:.12em;color:#7a5a42;margin-bottom:8px;font-size:11px;font-weight:800;display:block}.erp-page-placeholder h1{color:#21150f;margin:0 0 10px;font-size:32px;line-height:1.2}.erp-page-placeholder p{color:#665347;margin:0;font-size:14px}.device-indicator{color:#fff;letter-spacing:.05em;background:#3b2418;border-radius:8px;margin-top:24px;padding:8px 12px;font-size:11px;font-weight:700;display:inline-flex}.desktop-layout,.tablet-layout{background:#f1e3c6;width:100%;height:100vh;min-height:100vh;display:flex;overflow:hidden}.mobile-layout{background:#f1e3c6;flex-direction:column;width:100%;min-width:0;min-height:100vh;display:flex;overflow-x:hidden}@media (width<=1100px){.erp-main__content{padding:20px}.erp-page-placeholder{min-height:calc(100vh - 40px);padding:26px}.erp-page-placeholder h1{font-size:28px}}@media (width<=768px){.mobile-layout .erp-main{width:100%;height:auto;min-height:100vh}.mobile-layout .erp-main__content{width:100%;padding:12px}.mobile-layout .erp-page-placeholder{border-radius:12px;width:100%;min-height:calc(100vh - 24px);padding:20px}.mobile-layout .erp-page-placeholder h1{font-size:24px}.mobile-layout .erp-page-placeholder p{font-size:13px}.device-indicator{font-size:10px}}@media (width<=420px){.mobile-layout .erp-main__content{padding:8px}.mobile-layout .erp-page-placeholder{min-height:calc(100vh - 16px);padding:16px}.mobile-layout .erp-page-placeholder h1{font-size:22px}}.login-page{box-sizing:border-box;background:radial-gradient(circle at 0 0,#f1e3c6f2,#0000 40%),#f4eee3;justify-content:center;align-items:center;width:100%;min-height:100vh;padding:32px 20px;display:flex}.login-card{box-sizing:border-box;background:#fff;border:1px solid #3b24181a;border-radius:20px;width:100%;max-width:460px;padding:40px;box-shadow:0 20px 60px #3b24181f,0 4px 12px #3b24180f}.login-brand{align-items:center;gap:14px;display:flex}.login-logo{color:#f1e3c6;letter-spacing:.04em;background:#3b2418;border-radius:13px;flex-shrink:0;justify-content:center;align-items:center;width:52px;height:52px;font-size:15px;font-weight:800;display:flex}.login-brand h1{color:#21150f;margin:0;font-size:20px;font-weight:750}.login-brand p{color:#806b5b;margin:4px 0 0;font-size:12px}.login-divider{background:#3b24181a;height:1px;margin:28px 0}.login-heading{margin-bottom:25px}.login-heading h2{color:#21150f;margin:0 0 7px;font-size:27px;font-weight:750}.login-heading p{color:#806b5b;margin:0;font-size:13px;line-height:1.5}.login-form{flex-direction:column;gap:19px;display:flex}.form-group{flex-direction:column;gap:8px;display:flex}.form-group label{color:#3b2418;font-size:13px;font-weight:650}.input-wrapper{box-sizing:border-box;color:#8b7665;background:#fff;border:1px solid #ded4c8;border-radius:10px;align-items:center;height:48px;padding:0 13px;transition:border-color .2s,box-shadow .2s;display:flex}.input-wrapper:focus-within{border-color:#8b5e3c;box-shadow:0 0 0 3px #8b5e3c1a}.input-wrapper input{color:#21150f;background:0 0;border:0;outline:0;width:100%;height:100%;padding:0 10px;font-family:inherit;font-size:14px}.input-wrapper input::placeholder{color:#aaa09a}.password-toggle{color:#806b5b;cursor:pointer;background:0 0;border:0;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:30px;height:30px;display:flex}.password-toggle:hover{background:#f4eee3}.login-options{justify-content:space-between;align-items:center;margin-top:-2px;display:flex}.remember-me{color:#665347;cursor:pointer;align-items:center;gap:7px;font-size:12px;display:flex}.remember-me input{accent-color:#3b2418;width:14px;height:14px}.forgot-password{color:#7a5032;cursor:pointer;background:0 0;border:0;padding:0;font-family:inherit;font-size:12px;font-weight:650}.forgot-password:hover{text-decoration:underline}.login-button{color:#fff;cursor:pointer;background:#3b2418;border:0;border-radius:10px;width:100%;height:48px;margin-top:2px;font-family:inherit;font-size:14px;font-weight:700;transition:background .2s,transform .1s,box-shadow .2s}.login-button:hover{background:#4d2e1f;box-shadow:0 7px 18px #3b24182e}.login-button:active{transform:translateY(1px)}.login-footer{color:#9a8b7e;justify-content:center;align-items:center;gap:7px;margin-top:25px;font-size:10px;display:flex}@media (width<=768px){.login-page{padding:24px 16px}.login-card{max-width:440px;padding:32px}}@media (width<=480px){.login-page{min-height:100dvh;padding:18px 14px}.login-card{border-radius:16px;padding:26px 20px}.login-brand h1{font-size:18px}.login-brand p{font-size:11px}.login-heading h2{font-size:24px}.login-heading p{font-size:12px}}.login-signup-row{color:#806b5b;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;margin-top:20px;font-size:12px;display:flex}.login-signup-button{color:#6b4228;cursor:pointer;background:0 0;border:0;padding:0;font-family:inherit;font-size:12px;font-weight:700}.login-signup-button:hover{text-decoration:underline}.signup-page{box-sizing:border-box;color:#21150f;background:#f4eee3;justify-content:center;align-items:flex-start;width:100%;height:100vh;min-height:100dvh;padding:28px 20px;display:flex;overflow:hidden auto}.signup-card{box-sizing:border-box;background:#fff;border:1px solid #3b24181a;border-radius:20px;width:100%;max-width:520px;margin:auto 0;padding:36px;box-shadow:0 20px 60px #3b24181f,0 4px 12px #3b24180f}.signup-brand{align-items:center;gap:14px;display:flex}.signup-logo{color:#f1e3c6;background:#3b2418;border-radius:13px;flex-shrink:0;place-items:center;width:52px;height:52px;font-size:15px;font-weight:800;display:grid}.signup-brand h1{color:#21150f;margin:0;font-size:20px}.signup-brand p{color:#806b5b;margin:4px 0 0;font-size:12px}.signup-divider{background:#3b24181a;height:1px;margin:26px 0}.signup-heading{margin-bottom:22px}.signup-heading h2{color:#21150f;margin:0 0 7px;font-size:27px}.signup-heading p{color:#806b5b;margin:0;font-size:13px}.signup-form{flex-direction:column;gap:16px;display:flex}.signup-field{flex-direction:column;gap:7px;display:flex}.signup-field label{color:#3b2418;font-size:13px;font-weight:650}.signup-input{box-sizing:border-box;color:#8b7665;background:#fff;border:1px solid #ded4c8;border-radius:10px;align-items:center;gap:10px;height:48px;padding:0 13px;display:flex}.signup-input:focus-within{border-color:#8b5e3c;box-shadow:0 0 0 3px #8b5e3c1a}.signup-input input{color:#21150f;background:0 0;border:0;outline:0;width:100%;min-width:0;height:100%;padding:0;font-family:inherit;font-size:14px}.signup-input input::placeholder{color:#aaa09a}.signup-password-toggle{color:#806b5b;cursor:pointer;background:0 0;border:0;border-radius:6px;flex-shrink:0;place-items:center;width:30px;height:30px;padding:0;display:grid}.signup-password-toggle:hover{background:#f4eee3}.signup-submit{color:#fff;cursor:pointer;background:#3b2418;border:0;border-radius:10px;width:100%;height:48px;margin-top:5px;font-family:inherit;font-size:14px;font-weight:700}.signup-submit:hover{background:#4d2e1f}.signup-login-row{color:#806b5b;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;margin-top:20px;font-size:12px;display:flex}.signup-login-button{color:#6b4228;cursor:pointer;background:0 0;border:0;padding:0;font-family:inherit;font-size:12px;font-weight:700}.signup-login-button:hover{text-decoration:underline}.signup-note{color:#665347;text-align:center;background:#f7edd8;border-radius:10px;margin-top:18px;padding:12px;font-size:11px;line-height:1.5}.signup-page::-webkit-scrollbar{width:8px}.signup-page::-webkit-scrollbar-track{background:#f4eee3}.signup-page::-webkit-scrollbar-thumb{background:#8a6a50;border-radius:10px}.signup-page::-webkit-scrollbar-thumb:hover{background:#6b4b36}@media (width<=600px){.signup-page{padding:18px 14px}.signup-card{border-radius:16px;margin:0;padding:26px 20px}.signup-brand h1{font-size:18px}.signup-heading h2{font-size:23px}.signup-heading p{font-size:12px}}.parties-page{width:100%;max-width:1600px;margin:0 auto}.parties-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px;display:flex}.parties-eyebrow{letter-spacing:1.3px;color:#7a5539;margin-bottom:5px;font-size:11px;font-weight:800;display:inline-block}.parties-header h1{color:#2b1b13;margin:0;font-size:32px}.parties-header p{color:#6e6259;margin:6px 0 0}.parties-new-button{color:#fff;cursor:pointer;background:#3b2418;border:0;border-radius:10px;align-items:center;gap:8px;padding:11px 18px;font-weight:800;display:inline-flex}.parties-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px;display:grid}.parties-summary>div{background:#fffaf0;border:1px solid #d8c7aa;border-radius:12px;padding:15px 18px}.parties-summary span{color:#76695e;margin-bottom:5px;font-size:12px;font-weight:700;display:block}.parties-summary strong{font-size:20px}.parties-control-card{background:#fffaf0;border:1px solid #d8c7aa;border-radius:14px;margin-bottom:14px;padding:16px}.parties-search{background:#fff;border:1px solid #cbb99a;border-radius:9px;align-items:center;gap:9px;width:100%;margin-bottom:13px;padding:0 12px;display:flex}.parties-search input{background:0 0;border:0;outline:0;width:100%;min-width:0;padding:11px 0}.parties-filter-grid{grid-template-columns:repeat(5,minmax(0,1fr)) auto;align-items:end;gap:10px;display:grid}.parties-filter-grid>div{min-width:0}.parties-filter-grid label{color:#5e4b3d;margin-bottom:5px;font-size:11px;font-weight:800;display:block}.parties-filter-grid select{color:#2b1b13;background:#fff;border:1px solid #cbb99a;border-radius:8px;width:100%;height:40px;padding:0 9px}.parties-reset-button{color:#3b2418;cursor:pointer;background:0 0;border:1px solid #9d846e;border-radius:8px;height:40px;padding:0 14px;font-weight:700}.parties-export-row{flex-wrap:wrap;gap:8px;margin-bottom:13px;display:flex}.parties-export-row button{color:#3b2418;cursor:pointer;background:#fffaf0;border:1px solid #bda98b;border-radius:8px;align-items:center;gap:6px;padding:8px 12px;font-weight:700;display:inline-flex}.parties-table-card{background:#fffaf0;border:1px solid #d8c7aa;border-radius:14px;overflow:hidden}.parties-table-wrapper{width:100%;overflow-x:auto}.parties-table{border-collapse:collapse;width:100%;min-width:1100px}.parties-table th,.parties-table td{text-align:left;vertical-align:middle;border-bottom:1px solid #eadfcd;padding:12px 13px}.parties-table th{color:#3b2418;white-space:nowrap;background:#eee1c9;font-size:12px;font-weight:900}.parties-table td{color:#392a21;font-size:13px}.parties-table tbody tr:hover{background:#fff5e4}.party-name-link{color:#2c5ca7;cursor:pointer;text-align:left;background:0 0;border:0;padding:0;font-weight:900}.party-name-link:hover{text-decoration:underline}.amount-receivable{font-weight:800;color:#165bb5!important}.amount-payable{font-weight:800;color:#b92c2c!important}.party-status{border-radius:999px;padding:5px 9px;font-size:11px;font-weight:900;display:inline-flex}.party-status--active{color:#227238;background:#e1f4e5}.party-status--inactive{color:#776b62;background:#eee9e5}.party-actions{flex-wrap:wrap;gap:5px;display:flex}.party-action{cursor:pointer;border-radius:6px;align-items:center;gap:4px;padding:6px 8px;font-size:11px;font-weight:800;display:inline-flex}.party-action--view{color:#245b9b;background:#edf5ff;border:1px solid #8db0dc}.party-action--edit{color:#68482f;background:#fff8e9;border:1px solid #b7a27f}.party-action--delete{color:#a52323;background:#fff0f0;border:1px solid #d9a2a2}.party-action:disabled{opacity:.4;cursor:not-allowed}.parties-empty{color:#76685e;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-height:190px;display:flex}.parties-empty strong{color:#3b2418}.parties-table-footer{color:#5d5046;background:#f5ead7;justify-content:space-between;align-items:center;gap:15px;padding:12px 14px;font-size:12px;display:flex}.parties-pagination{align-items:center;gap:9px;display:flex}.parties-pagination button,.parties-page-size select{background:#fff;border:1px solid #b9a78b;border-radius:6px;padding:6px 9px}.parties-pagination button{cursor:pointer}.parties-pagination button:disabled{opacity:.45;cursor:not-allowed}.parties-page-size{align-items:center;gap:6px;display:flex}@media (width<=1150px){.parties-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=800px){.parties-header{flex-direction:column}.parties-summary{grid-template-columns:1fr}.parties-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.parties-table-footer{flex-direction:column;align-items:stretch}}@media (width<=520px){.parties-filter-grid{grid-template-columns:1fr}.parties-export-row button{flex:1;justify-content:center}.parties-pagination{justify-content:space-between}}.new-party-page{width:100%;max-width:1400px;margin:0 auto}.new-party-header{margin-bottom:20px}.new-party-back{color:#6b4a36;cursor:pointer;background:0 0;border:0;align-items:center;gap:7px;margin-bottom:14px;padding:0;font-size:12px;font-weight:700;display:inline-flex}.new-party-back:hover{text-decoration:underline}.new-party-eyebrow{color:#8a664b;letter-spacing:.14em;margin-bottom:6px;font-size:10px;font-weight:800;display:block}.new-party-header h1{color:#21150f;margin:0;font-size:30px}.new-party-header p{color:#756052;margin:6px 0 0;font-size:13px}.new-party-form{flex-direction:column;gap:18px;display:flex}.new-party-card{background:#fffaf0;border:1px solid #3b24181a;border-radius:14px;padding:22px;box-shadow:0 3px 12px #3b24180a}.new-party-card-heading{align-items:center;gap:11px;margin-bottom:18px;display:flex}.new-party-card-icon{color:#3b2418;background:#f1e3c6;border-radius:9px;flex-shrink:0;place-items:center;width:38px;height:38px;display:grid}.new-party-card-heading h2{color:#2b1b12;margin:0;font-size:16px}.new-party-card-heading p{color:#8a7566;margin:4px 0 0;font-size:11px}.party-type-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.party-type-option{color:#5b4638;text-align:left;cursor:pointer;background:#fff;border:1px solid #3b241824;border-radius:11px;flex-direction:column;align-items:flex-start;gap:6px;min-height:96px;padding:15px;display:flex}.party-type-option strong{color:#3b2418;font-size:13px}.party-type-option span{color:#8a7566;font-size:11px;line-height:1.5}.party-type-option--active{background:#f7edd8;border-color:#3b2418;box-shadow:0 0 0 2px #3b24180f}.new-party-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.new-party-field{flex-direction:column;gap:7px;min-width:0;display:flex}.new-party-field--full{grid-column:1/-1}.new-party-field label{color:#3b2418;font-size:12px;font-weight:700}.new-party-field input,.new-party-field select,.new-party-field textarea{box-sizing:border-box;color:#21150f;width:100%;font:inherit;background:#fff;border:1px solid #3b241829;border-radius:9px;outline:0;font-size:13px}.new-party-field input,.new-party-field select{height:44px;padding:0 12px}.new-party-field textarea{resize:vertical;padding:11px 12px}.new-party-field input:focus,.new-party-field select:focus,.new-party-field textarea:focus{border-color:#8b5e3c;box-shadow:0 0 0 3px #8b5e3c14}.new-party-input-icon{color:#8a7566;background:#fff;border:1px solid #3b241829;border-radius:9px;align-items:center;gap:9px;height:44px;padding:0 11px;display:flex}.new-party-input-icon:focus-within{border-color:#8b5e3c;box-shadow:0 0 0 3px #8b5e3c14}.new-party-input-icon input{height:100%;box-shadow:none;background:0 0;border:0;padding:0}.new-party-input-icon input:focus{box-shadow:none;border:0}.new-party-money-input{background:#fff;border:1px solid #3b241829;border-radius:9px;align-items:center;height:44px;display:flex;overflow:hidden}.new-party-money-input:focus-within{border-color:#8b5e3c;box-shadow:0 0 0 3px #8b5e3c14}.new-party-money-input span{color:#5b4638;background:#f7edd8;border-right:1px solid #3b24181a;align-items:center;height:100%;padding:0 11px;font-size:12px;font-weight:700;display:flex}.new-party-money-input input{height:100%;box-shadow:none;background:0 0;border:0;padding:0 11px}.new-party-money-input input:focus{box-shadow:none;border:0}.opening-balance-note{color:#6f5b4d;background:#f7edd8;border-radius:9px;margin-top:14px;padding:11px 12px;font-size:11px;line-height:1.5}.new-party-status{cursor:pointer;align-items:flex-start;gap:9px;margin-top:14px;display:inline-flex}.new-party-status input{accent-color:#3b2418;width:16px;height:16px;margin-top:2px}.new-party-status span{flex-direction:column;gap:2px;display:flex}.new-party-status strong{color:#3b2418;font-size:12px}.new-party-status small{color:#8a7566;font-size:10px}.new-party-actions{justify-content:flex-end;gap:10px;padding-bottom:10px;display:flex}.new-party-cancel,.new-party-save{cursor:pointer;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:0 16px;font-family:inherit;font-size:13px;font-weight:700;display:inline-flex}.new-party-cancel{color:#5b4638;background:#fff;border:1px solid #3b241826}.new-party-save{color:#fff;background:#3b2418;border:0}.new-party-save:hover{background:#4d2e1f}@media (width<=900px){.party-type-grid,.new-party-fields{grid-template-columns:1fr}.new-party-field--full{grid-column:auto}}@media (width<=600px){.new-party-header h1{font-size:25px}.new-party-card{padding:16px}.new-party-actions{flex-direction:column-reverse}.new-party-cancel,.new-party-save{width:100%}}.party-ledger-page{width:100%;max-width:1700px;margin:0 auto}.party-ledger-header{justify-content:space-between;gap:20px;margin-bottom:18px;display:flex}.ledger-back{color:#684832;cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;margin-bottom:10px;padding:0;font-weight:800;display:inline-flex}.ledger-eyebrow{color:#805a3d;letter-spacing:1.3px;font-size:11px;font-weight:900;display:block}.party-ledger-header h1{color:#2d1b12;margin:4px 0}.party-ledger-header p{color:#75665b;margin:0}.ledger-edit{color:#fff;cursor:pointer;background:#3b2418;border:0;border-radius:8px;align-items:center;gap:6px;height:42px;padding:0 14px;font-weight:800;display:inline-flex}.ledger-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px;display:grid}.ledger-summary>div{background:#fffaf0;border:1px solid #d7c6aa;border-radius:11px;padding:14px}.ledger-summary span{color:#76685d;margin-bottom:5px;font-size:11px;font-weight:800;display:block}.ledger-summary strong{font-size:19px}.ledger-receivable,.ledger-amount-receivable{font-weight:900;color:#19803a!important}.ledger-payable,.ledger-amount-payable{font-weight:900;color:#bd2a2a!important}.ledger-payment{font-weight:900;color:#1767c4!important}.ledger-controls{background:#fffaf0;border:1px solid #d7c6aa;border-radius:11px;margin-bottom:12px;padding:13px}.ledger-search{background:#fff;border:1px solid #c9b798;border-radius:8px;align-items:center;gap:8px;margin-bottom:10px;padding:0 10px;display:flex}.ledger-search input{border:0;outline:none;width:100%;padding:10px 0}.ledger-filter-grid{flex-wrap:wrap;gap:8px;display:flex}.ledger-filter-grid select,.ledger-filter-grid input,.ledger-filter-grid button{background:#fff;border:1px solid #c4af90;border-radius:7px;min-height:38px;padding:0 9px}.ledger-filter-grid button{cursor:pointer;font-weight:800}.ledger-export-row{flex-wrap:wrap;gap:7px;margin-bottom:12px;display:flex}.ledger-export-row button{color:#3b2418;cursor:pointer;background:#fffaf0;border:1px solid #bca98b;border-radius:7px;align-items:center;gap:5px;padding:8px 11px;font-weight:800;display:inline-flex}.ledger-table-card{background:#fffaf0;border:1px solid #d7c6aa;border-radius:12px;overflow:hidden}.ledger-table-wrapper{width:100%;overflow-x:auto}.ledger-table{border-collapse:collapse;width:100%;min-width:1550px}.ledger-table th,.ledger-table td{text-align:left;white-space:nowrap;border-bottom:1px solid #e8dcc9;padding:10px 11px;font-size:12px}.ledger-table th{color:#3b2418;background:#eee1ca;font-weight:900}.ledger-table tbody tr:hover{background:#fff4e1}.ledger-empty{text-align:center;color:#76695f;padding:60px 20px}.ledger-actions{gap:5px;display:flex}.ledger-actions button{cursor:pointer;background:#fff;border:1px solid #baa78b;border-radius:6px;align-items:center;gap:4px;padding:5px 7px;font-size:10px;font-weight:800;display:inline-flex}.ledger-actions .ledger-delete{color:#a82222;background:#fff1f1;border-color:#dca6a6}.ledger-modal-overlay{z-index:9999;background:#19100b8c;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.ledger-modal{background:#fffaf0;border-radius:14px;width:min(1000px,100%);max-height:90vh;padding:20px;overflow-y:auto;box-shadow:0 20px 70px #00000047}.ledger-modal-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:16px;display:flex}.ledger-modal-header span{color:#825c3e;letter-spacing:1.2px;font-size:10px;font-weight:900}.ledger-modal-header h2{margin:4px 0 0}.ledger-modal-header button{cursor:pointer;background:0 0;border:0}.ledger-modal-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.ledger-modal-grid>div{background:#fff;border:1px solid #dfd0b7;border-radius:8px;padding:10px}.ledger-modal-grid span{color:#827266;margin-bottom:4px;font-size:10px;font-weight:800;display:block}.ledger-modal-grid strong{color:#34241b;font-size:12px}.ledger-modal-full{grid-column:1/-1}@media (width<=850px){.party-ledger-header{flex-direction:column}.ledger-summary{grid-template-columns:1fr}.ledger-modal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=520px){.ledger-modal-grid{grid-template-columns:1fr}}.ledger-opening-row td{color:#5d4939;background:#f5ead7;border-bottom:2px solid #cdb893}.ledger-pagination{color:#5d5046;background:#f5ead7;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;font-size:.8rem;display:flex}.ledger-pagination label,.ledger-pagination>div{align-items:center;gap:8px;display:flex}.ledger-pagination select,.ledger-pagination button{color:#3b2418;background:#fffaf0;border:1px solid #b9a78b;border-radius:5px;min-height:32px;padding:5px 9px}@media (width<=640px){.ledger-pagination{flex-direction:column;align-items:stretch}.ledger-pagination>div{justify-content:space-between}}.transaction-page{flex-direction:column;gap:18px;min-width:0;padding:2px;display:flex}.transaction-header,.transaction-view-header,.transaction-form-header{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.transaction-header h1,.transaction-view-header h1,.transaction-form-header h1{color:#21150f;margin:3px 0 5px;font-size:clamp(1.65rem,3vw,2.25rem)}.transaction-header p,.transaction-view-header p,.transaction-form-header p{color:#756052;max-width:760px;margin:0;line-height:1.5}.transaction-eyebrow{color:#805a3d;letter-spacing:.12em;font-size:.72rem;font-weight:800}.transaction-header__actions,.transaction-view-actions,.transaction-export-row>div,.transaction-actions,.transaction-form-actions{flex-wrap:wrap;gap:8px;display:flex}.transaction-header__actions button,.transaction-view-actions button,.transaction-export-row button,.transaction-form-actions button,.transaction-card-heading>button,.transaction-empty button{color:#3b2418;min-height:38px;font:inherit;cursor:pointer;background:#fffaf0;border:1px solid #bca98b;border-radius:7px;justify-content:center;align-items:center;gap:6px;padding:8px 12px;font-size:.82rem;font-weight:700;display:inline-flex}.transaction-primary,.transaction-header__actions .transaction-primary,.transaction-form-actions .transaction-primary{color:#fff;background:#3b2418;border-color:#3b2418}.transaction-page button:disabled{cursor:not-allowed;opacity:.52}.transaction-filter-card,.transaction-card,.transaction-table-card{background:#fffaf0;border:1px solid #d7c6aa;border-radius:10px;min-width:0;box-shadow:0 3px 12px #3b24180d}.transaction-filter-card,.transaction-card{padding:16px}.transaction-search,.transaction-lookup{color:#806d5d;background:#fff;border:1px solid #c9b798;border-radius:7px;align-items:center;gap:9px;min-height:42px;padding:0 12px;display:flex}.transaction-search input,.transaction-lookup input{color:#21150f;min-width:0;font:inherit;background:0 0;border:0;outline:0;flex:1}.transaction-lookup button{color:#fff;cursor:pointer;background:#3b2418;border:0;border-radius:6px;min-height:34px;font-weight:700}.transaction-filter-grid,.transaction-field-grid{grid-template-columns:repeat(5,minmax(145px,1fr));gap:12px;margin-top:14px;display:grid}.transaction-filter-grid label,.transaction-field-grid label,.transaction-field-full{flex-direction:column;gap:6px;min-width:0;display:flex}.transaction-filter-grid label>span,.transaction-field-grid label>span,.transaction-field-full>span{color:#5e4b3d;font-size:.76rem;font-weight:700}.transaction-filter-grid select,.transaction-filter-grid input,.transaction-field-grid select,.transaction-field-grid input,.transaction-field-full select,.transaction-field-full input,.transaction-field-full textarea,.transaction-lines-table select,.transaction-lines-table input,.transaction-total-input input{color:#21150f;width:100%;min-width:0;min-height:38px;font:inherit;background:#fff;border:1px solid #cbb99a;border-radius:6px;outline:0;padding:7px 9px;font-size:.83rem}.transaction-field-full textarea{resize:vertical;margin-top:6px}.transaction-filter-grid select:focus,.transaction-filter-grid input:focus,.transaction-field-grid select:focus,.transaction-field-grid input:focus,.transaction-field-full select:focus,.transaction-field-full textarea:focus,.transaction-lines-table select:focus,.transaction-lines-table input:focus{border-color:#8b5e3c;box-shadow:0 0 0 2px #8b5e3c1f}.transaction-filter-grid .transaction-reset{color:#3b2418;cursor:pointer;background:0 0;border:1px solid #9d846e;border-radius:6px;align-self:end;min-height:38px;font-weight:700}.transaction-export-row{color:#6d5d50;justify-content:space-between;align-items:center;gap:12px;font-size:.82rem;display:flex}.transaction-table-wrap,.transaction-lines-wrap{width:100%;overflow-x:auto}.transaction-table,.transaction-lines-table{border-collapse:collapse;color:#392a21;white-space:nowrap;width:100%;font-size:.8rem}.transaction-table th,.transaction-table td,.transaction-lines-table th,.transaction-lines-table td{text-align:left;vertical-align:middle;border-bottom:1px solid #e8dcc9;padding:10px}.transaction-table th,.transaction-lines-table th{color:#3b2418;letter-spacing:.02em;background:#eee1ca;font-size:.72rem}.transaction-table tbody tr:hover,.transaction-lines-table tbody tr:hover{background:#fff4e1}.transaction-item-summary{text-overflow:ellipsis;max-width:260px;overflow:hidden}.transaction-document-link{color:#2c5ca7;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:800;text-decoration:underline}.transaction-original-link{color:#2c5ca7;font:inherit;cursor:pointer;background:0 0;border:0;align-self:flex-start;padding:0;font-size:.8rem;font-weight:800;text-decoration:underline}.transaction-actions{flex-wrap:nowrap}.transaction-actions button,.transaction-ledger-table button{color:#4d382b;min-height:30px;font:inherit;cursor:pointer;background:#fff;border:1px solid #baa78b;border-radius:5px;align-items:center;gap:4px;padding:5px 7px;font-size:.7rem;font-weight:700;display:inline-flex}.transaction-action-delete,.transaction-actions .transaction-action-delete{color:#a82222;background:#fff1f1;border-color:#dca6a6}.transaction-status{border-radius:999px;padding:4px 8px;font-size:.68rem;font-weight:800;display:inline-flex}.transaction-status--posted{color:#227238;background:#e1f4e5}.transaction-status--voided{color:#a82222;background:#f7dddd}.transaction-status--draft{color:#776b62;background:#eee9e5}.transaction-row--voided{opacity:.65}.transaction-table-footer{color:#5d5046;background:#f5ead7;justify-content:space-between;align-items:center;gap:14px;padding:12px 14px;font-size:.8rem;display:flex}.transaction-table-footer label,.transaction-table-footer>div{align-items:center;gap:8px;display:flex}.transaction-table-footer select,.transaction-table-footer button{color:#3b2418;background:#fffaf0;border:1px solid #b9a78b;border-radius:5px;min-height:32px;padding:5px 9px}.transaction-empty,.transaction-page-message{color:#76695f;text-align:center;white-space:normal;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-height:120px;display:flex}.transaction-page-message{background:#fffaf0;border:1px solid #d7c6aa;border-radius:10px;min-height:50vh;padding:24px}.transaction-empty--error,.transaction-page-message--error,.transaction-inline-error,.transaction-field-error{color:#a82222}.transaction-back{color:#684832;font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;margin:0 0 9px;padding:0;font-size:.8rem;font-weight:800;display:inline-flex}.transaction-form-header{display:block}.transaction-form{flex-direction:column;gap:18px;display:flex}.transaction-alert{border-radius:8px;align-items:flex-start;gap:9px;padding:11px 13px;line-height:1.45;display:flex}.transaction-alert--error{color:#9c2424;background:#fff0f0;border:1px solid #dda4a4}.transaction-alert--warning{color:#705121;background:#fff8e5;border:1px solid #ddbd7e}.transaction-card-heading{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:14px;display:flex}.transaction-card-heading h2{color:#2b1b12;margin:0;font-size:1rem}.transaction-card-heading p{color:#8a7566;margin:3px 0 0;font-size:.78rem;line-height:1.4}.transaction-auto-number{color:#3b2418;background:#f1e3c6;border-radius:5px;padding:6px 9px;font-size:.75rem;font-weight:800}.transaction-original-summary,.transaction-detail-grid,.transaction-ledger-summary{grid-template-columns:repeat(5,minmax(130px,1fr));gap:9px;margin-top:13px;display:grid}.transaction-original-summary>div,.transaction-detail-grid>div,.transaction-ledger-summary>div{background:#fff;border:1px solid #dfd0b7;border-radius:6px;flex-direction:column;gap:4px;min-width:0;padding:9px;display:flex}.transaction-original-summary span,.transaction-detail-grid span,.transaction-ledger-summary span{color:#827266;font-size:.68rem}.transaction-original-summary strong,.transaction-detail-grid strong,.transaction-ledger-summary strong{overflow-wrap:anywhere;color:#34241b;font-size:.8rem}.transaction-detail-full{grid-column:1/-1}.transaction-product-cell{min-width:220px}.transaction-product-cell>div,.transaction-product-cell>small,.transaction-view-lines td:first-child{flex-direction:column;gap:3px;display:flex}.transaction-product-cell small,.transaction-view-lines small{color:#8a7566;white-space:normal;font-size:.68rem}.transaction-product-cell .stock-short{color:#bd2a2a;font-weight:800}.transaction-usage-pair{flex-direction:column;gap:2px;display:flex}.transaction-usage-pair small{color:#827266;font-size:.66rem}.transaction-number-input{max-width:105px}.transaction-remove-line{color:#a82222;cursor:pointer;background:#fff1f1;border:1px solid #dca6a6;border-radius:5px;padding:6px;display:inline-flex}.transaction-form-bottom,.transaction-view-bottom{grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);align-items:start;gap:18px;display:grid}.transaction-field-grid--payment{grid-template-columns:repeat(2,minmax(150px,1fr));margin:0 0 14px}.transaction-totals-card{flex-direction:column;gap:1px;display:flex}.transaction-total-row,.transaction-total-input{color:#655347;border-bottom:1px solid #eadfcd;justify-content:space-between;align-items:center;gap:15px;min-height:38px;padding:7px 0;font-size:.82rem;display:flex}.transaction-total-input input{text-align:right;max-width:130px}.transaction-total-row strong{color:#21150f;font-size:.88rem}.transaction-total-row--allocated{color:#756052}.transaction-total-row--allocated strong{color:#5e4b3d}.transaction-total-row--grand{color:#3b2418;margin-top:5px;padding:11px 0;font-weight:800}.transaction-total-row--grand strong{font-size:1.05rem}.transaction-balance-snapshot{background:#f7edd8;border-radius:7px;grid-template-columns:1fr;gap:7px;margin-top:10px;padding:10px;display:grid}.transaction-balance-snapshot>div{justify-content:space-between;gap:12px;font-size:.75rem;display:flex}.transaction-form-actions{justify-content:flex-end;padding-bottom:20px}.transaction-document-profile{align-items:center;gap:13px;display:flex}.transaction-document-profile img{object-fit:contain;width:58px;height:58px}.transaction-document-profile__company{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.transaction-document-profile__company span{color:#805a3d;letter-spacing:.1em;font-size:.65rem;font-weight:800}.transaction-document-profile__company strong{color:#21150f;font-size:1rem}.transaction-document-profile__company small{color:#756052}.transaction-ledger-section .transaction-card-heading button{flex-shrink:0}.transaction-ledger-summary{grid-template-columns:repeat(3,minmax(180px,1fr));margin:0 0 12px}.transaction-ledger-table{font-size:.74rem}@media (width<=1250px){.transaction-filter-grid,.transaction-field-grid{grid-template-columns:repeat(3,minmax(150px,1fr))}.transaction-original-summary,.transaction-detail-grid{grid-template-columns:repeat(3,minmax(140px,1fr))}}@media (width<=900px){.transaction-header,.transaction-view-header{flex-direction:column}.transaction-form-bottom,.transaction-view-bottom{grid-template-columns:1fr}.transaction-filter-grid,.transaction-field-grid,.transaction-original-summary,.transaction-detail-grid{grid-template-columns:repeat(2,minmax(140px,1fr))}.transaction-ledger-summary{grid-template-columns:1fr}}@media (width<=620px){.transaction-page{gap:13px}.transaction-header__actions,.transaction-view-actions,.transaction-export-row,.transaction-export-row>div{width:100%}.transaction-header__actions button,.transaction-view-actions button,.transaction-export-row button{flex:120px}.transaction-filter-grid,.transaction-field-grid,.transaction-field-grid--payment,.transaction-original-summary,.transaction-detail-grid{grid-template-columns:1fr}.transaction-export-row,.transaction-table-footer,.transaction-card-heading{flex-direction:column;align-items:stretch}.transaction-table-footer>div,.transaction-table-footer button{flex:1}.transaction-lookup{flex-wrap:wrap;padding:9px}.transaction-lookup input{flex-basis:calc(100% - 30px)}.transaction-lookup button{width:100%}}.print-options-backdrop{z-index:1000;background:#21150f8c;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.print-options-modal{color:#21150f;background:#fffaf0;border:1px solid #d8c3a7;border-radius:16px;width:min(480px,100%);padding:24px;box-shadow:0 24px 70px #00000047}.print-options-modal h2{margin:0 0 7px}.print-options-modal>p{color:#715c4e;margin:0 0 20px}.print-ledger-option{background:#fff;border:1px solid #d8c3a7;border-radius:12px;gap:12px;padding:15px;display:flex}.print-ledger-option span{flex-direction:column;gap:4px;display:flex}.print-ledger-option small{color:#715c4e}.print-options-actions{justify-content:flex-end;gap:10px;margin-top:22px;display:flex}.print-options-actions button{background:#fff;border:1px solid #8e7059;border-radius:9px;padding:10px 14px}.print-options-actions button:last-child{color:#fff;background:#3b2418}.print-options-actions button:disabled{opacity:.55}@page{size:A4 landscape;margin:9mm}.document-printable{color:#21150f;background:#fff;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:10px}.document-print-pages{background:#fff}.document-generated{text-align:center;color:#4a403a;margin:0 0 8px;font-size:9px;font-weight:650}.print-card{break-inside:avoid;page-break-inside:avoid;background:#fffaf0;border:1px solid #d2bd9f;border-radius:9px;margin:0 0 8px;padding:10px}.print-company-card{border-top:4px solid #3b2418;justify-content:space-between;align-items:center;display:flex}.print-company-card span,.print-info-grid span,.print-totals span,.document-balance-card span{color:#796455;text-transform:uppercase;letter-spacing:.05em;font-size:7.5px;font-weight:700;display:block}.print-company-card h1{margin:3px 0;font-size:16px}.print-company-card p{color:#725f53;margin:0}.print-status{color:#28662f;background:#e8f4e8;border-radius:99px;padding:5px 9px}.print-card-title{background:#eee4d3;border-radius:8px 8px 0 0;margin:-10px -10px 9px;padding:7px 10px}.print-card-title h2{margin:0;font-size:11px}.print-card-title p{color:#725f53;margin:2px 0 0;font-size:7.5px}.print-info-grid{grid-template-columns:repeat(4,1fr);gap:7px 14px;display:grid}.print-info-grid strong{margin-top:2px;display:block}.print-full{grid-column:1/-1}.print-items-card{break-inside:auto;page-break-inside:auto}.print-items-card table{border-collapse:collapse;width:100%;font-size:8px}.print-items-card thead{display:table-header-group}.print-items-card th{color:#fff;background:#3b2418;font-weight:700}.print-items-card th,.print-items-card td{text-align:left;vertical-align:top;border:1px solid #cbb79e;padding:4px}.print-bottom-grid{grid-template-columns:.9fr 1.1fr;gap:8px;display:grid}.print-bottom-grid>.print-card{margin:0}.print-financial-layout{grid-template-columns:.8fr 1.2fr;gap:10px;display:grid}.print-totals>div,.document-balance-card>div{border-bottom:1px solid #eadfce;justify-content:space-between;gap:10px;padding:3px 0;display:flex}.document-balance-card{background:#f7ecd8;border:1px solid #d5bea0;border-radius:7px;padding:6px}.financial-green{font-weight:750;color:#19803a!important}.financial-red{font-weight:750;color:#bd2a2a!important}.financial-blue{font-weight:750;color:#1767c4!important}.financial-neutral{color:#21150f}.print-ledger-break{break-before:page;page-break-before:always;height:0}.print-ledger-page{background:#fff}.print-ledger-heading{border-top:4px solid #3b2418;justify-content:space-between;align-items:center;display:flex}.print-ledger-heading h1{margin:2px 0 0;font-size:15px}.print-ledger-balances{gap:16px;display:flex}*{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}@media print{html,body{margin:0;background:#fff!important}.document-printable{display:block!important}.print-options-backdrop{display:none!important}}#transaction-print-root{pointer-events:none;background:#fff;width:1122px;position:fixed;top:0;left:-20000px}@media print{body *{visibility:hidden!important}#transaction-print-root,#transaction-print-root *{visibility:visible!important}#transaction-print-root{pointer-events:auto!important;width:100%!important;position:absolute!important;top:0!important;left:0!important}.main-layout,.main-content{background:#fff!important}}.document-pdf-render-host{pointer-events:none;background:#fff;width:1122px;position:absolute;top:0;left:-1300px}.transaction-a4-page{box-sizing:border-box;color:#21150f;background:#fff;width:1122px;height:793px;padding:32px;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:10px;line-height:1.3;overflow:hidden}.transaction-a4-page *{box-sizing:border-box}.transaction-a4-page h1,.transaction-a4-page h2,.transaction-a4-page p{font-family:inherit;line-height:1.25}.transaction-a4-page .print-card{min-width:0}.transaction-a4-page strong{overflow-wrap:anywhere;min-width:0}.transaction-a4-page .print-info-grid>div{min-width:0}.transaction-a4-page .print-items-card table{table-layout:fixed}.transaction-a4-page .print-items-card th:first-child{width:14%}.transaction-a4-page .print-items-card th:nth-child(2),.transaction-a4-page .print-items-card th:nth-child(3){width:8%}.transaction-a4-page .print-items-card th:nth-child(4){width:6%}.transaction-a4-page .print-items-card th:nth-child(n+5):nth-child(-n+9){width:8%}.transaction-a4-page .print-items-card td:nth-child(n+5):nth-child(-n+9){white-space:nowrap}.transaction-a4-page .print-items-card th:last-child{width:12%}.transaction-a4-page .print-totals strong,.transaction-a4-page .document-balance-card strong{white-space:nowrap;font-size:9px}.transaction-a4-page .print-ledger-page .print-items-card table{font-size:7px}.master-page{color:#2b1b13;width:100%;max-width:1600px;margin:0 auto}.master-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px;display:flex}.master-eyebrow{color:#7a5539;letter-spacing:1.25px;margin-bottom:6px;font-size:11px;font-weight:900;display:inline-block}.master-header h1{color:#2b1b13;margin:0;font-size:31px;line-height:1.2}.master-header p,.master-card-heading p{color:#6e6259;margin:6px 0 0;font-size:13px;line-height:1.5}.master-refresh-button{color:#3b2418;cursor:pointer;background:#fffaf0;border:1px solid #ad967a;border-radius:9px;flex-shrink:0;align-items:center;gap:7px;min-height:40px;padding:0 14px;font-weight:800;display:inline-flex}.master-refresh-button:hover:not(:disabled){background:#f7ecd7}.master-refresh-button:disabled{opacity:.6;cursor:wait}.master-tabs{background:#e9d9ba;border:1px solid #d8c7aa;border-radius:13px;grid-template-columns:repeat(5,minmax(140px,1fr));gap:8px;margin-bottom:14px;padding:7px;display:grid;overflow-x:auto}.master-tab{color:#635044;white-space:nowrap;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 13px;font-size:13px;font-weight:800;display:inline-flex}.master-tab:hover{color:#3b2418;background:#fffaf094}.master-tab--active{color:#3b2418;background:#fffaf0;border-color:#cdb997;box-shadow:0 2px 7px #3b241817}.master-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px;display:grid}.master-summary>div{background:#fffaf0;border:1px solid #d8c7aa;border-radius:10px;padding:12px 15px}.master-summary span{color:#76695e;margin-bottom:3px;font-size:11px;font-weight:800;display:block}.master-summary strong{font-size:20px}.master-summary .master-summary-active{color:#19803a}.master-alert{border:1px solid;border-radius:9px;justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px;padding:11px 14px;font-size:13px;font-weight:700;display:flex}.master-alert--error{color:#9d2222;background:#fff0f0;border-color:#dfa7a7}.master-alert--success{color:#176a31;background:#edf8ef;border-color:#9acba8}.master-alert button{color:inherit;cursor:pointer;background:0 0;border:0;flex-shrink:0;place-items:center;padding:3px;display:grid}.master-workspace{grid-template-columns:minmax(0,1fr) minmax(330px,390px);align-items:start;gap:14px;display:grid}.master-list-card,.master-form-card{background:#fffaf0;border:1px solid #d8c7aa;border-radius:14px;min-width:0;overflow:hidden}.master-form-card{position:sticky;top:0}.master-card-heading{border-bottom:1px solid #e5d7be;justify-content:space-between;align-items:flex-start;gap:12px;padding:16px 17px;display:flex}.master-card-heading h2{color:#332117;margin:0;font-size:18px}.master-form-heading>div>span{color:#8b694d;letter-spacing:1.1px;margin-bottom:4px;font-size:10px;font-weight:900;display:block}.master-form-heading>button{color:#604a3c;cursor:pointer;background:#fff;border:1px solid #c8b69a;border-radius:7px;flex-shrink:0;place-items:center;width:32px;height:32px;display:grid}.master-list-controls{background:#fdf6e9;border-bottom:1px solid #eadfcd;grid-template-columns:minmax(180px,1fr) 145px;gap:10px;padding:12px 14px;display:grid}.master-search{color:#806c5c;background:#fff;border:1px solid #cbb99a;border-radius:8px;align-items:center;gap:8px;min-width:0;padding:0 11px;display:flex}.master-search input{color:#2b1b13;background:0 0;border:0;outline:0;width:100%;min-width:0;height:39px;padding:0}.master-status-filter span{clip:rect(0, 0, 0, 0);width:1px;height:1px;position:absolute;overflow:hidden}.master-status-filter select{color:#3b2418;background:#fff;border:1px solid #cbb99a;border-radius:8px;width:100%;height:41px;padding:0 9px}.master-table-wrap{width:100%;overflow-x:auto}.master-table{border-collapse:collapse;width:100%;min-width:780px}.master-table th,.master-table td{text-align:left;vertical-align:middle;border-bottom:1px solid #eadfcd;padding:11px 12px}.master-table th{color:#3b2418;white-space:nowrap;background:#eee1c9;font-size:11px;font-weight:900}.master-table td{color:#44342a;font-size:12px}.master-table tbody tr:not(.master-row--inactive):hover{background:#fff5e4}.master-table td small{color:#7b6d62;margin-top:3px;font-size:10px;display:block}.master-record-name{color:#302016}.master-row--inactive{opacity:.72;background:#f5f0e8}.master-account-balance{font-weight:800;color:#1767c4!important}.master-status{border-radius:999px;padding:4px 8px;font-size:10px;font-weight:900;display:inline-flex}.master-status--active{color:#19803a;background:#e1f4e5}.master-status--inactive{color:#776b62;background:#e9e4df}.master-actions{flex-wrap:wrap;gap:5px;display:flex}.master-action{cursor:pointer;border-radius:6px;align-items:center;gap:4px;padding:5px 7px;font-size:10px;font-weight:800;display:inline-flex}.master-action--edit{color:#68482f;background:#fff8e9;border:1px solid #b7a27f}.master-action--deactivate,.master-action--delete{color:#a52323;background:#fff0f0;border:1px solid #d9a2a2}.master-action:disabled{opacity:.42;cursor:not-allowed}.master-empty{color:#806f62;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-height:185px;display:flex}.master-empty strong{color:#3b2418}.master-empty span{max-width:370px;font-size:12px}.master-list-footer{color:#6d5d51;background:#f5ead7;padding:10px 14px;font-size:11px}.master-form-card form{padding:16px}.master-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 11px;display:grid}.master-form-grid>label:not(.master-check){flex-direction:column;gap:5px;min-width:0;display:flex}.master-form-grid>label>span{color:#5e4b3d;font-size:11px;font-weight:800}.master-form-grid input,.master-form-grid select,.master-form-grid textarea{color:#2b1b13;background:#fff;border:1px solid #cbb99a;border-radius:8px;outline:0;width:100%;min-width:0}.master-form-grid input,.master-form-grid select{height:40px;padding:0 9px}.master-form-grid textarea{resize:vertical;padding:9px}.master-form-grid input:focus,.master-form-grid select:focus,.master-form-grid textarea:focus,.master-search:focus-within{border-color:#76513a;box-shadow:0 0 0 3px #76513a1a}.master-form-grid input:disabled{color:#786d64;background:#eee9e1}.master-form-grid label>small{color:#7c6d61;font-size:10px;line-height:1.4}.master-field-wide{grid-column:1/-1}.master-check{color:#4d3b30;cursor:pointer;align-items:flex-start;gap:9px;font-size:12px;display:flex}.master-check input{accent-color:#3b2418;flex-shrink:0;width:16px;height:16px;margin:1px 0 0}.master-active-check{background:#fdf6e9;border:1px solid #dfd0b9;border-radius:8px;margin-top:16px;padding:11px}.master-active-check>span{flex-direction:column;gap:2px;display:flex}.master-active-check small{color:#776a5f;font-size:10px}.master-form-actions{border-top:1px solid #eadfcd;justify-content:flex-end;gap:8px;margin-top:16px;padding-top:14px;display:flex}.master-form-actions button{color:#4a372b;cursor:pointer;background:#fff;border:1px solid #bda98b;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:39px;padding:0 13px;font-size:12px;font-weight:800;display:inline-flex}.master-form-actions .master-save-button{color:#fff;background:#3b2418;border-color:#3b2418}.master-form-actions button:disabled{opacity:.58;cursor:wait}.master-spin{animation:.85s linear infinite master-spin}@keyframes master-spin{to{transform:rotate(360deg)}}@media (width<=1200px){.master-workspace{grid-template-columns:1fr}.master-form-card{grid-row:1;position:static}.master-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=800px){.master-header{flex-direction:column}.master-tabs{display:flex}.master-tab{min-width:max-content}.master-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=560px){.master-header h1{font-size:25px}.master-refresh-button{justify-content:center;width:100%}.master-summary,.master-list-controls,.master-form-grid{grid-template-columns:1fr}.master-field-wide{grid-column:auto}.master-form-actions{flex-direction:column-reverse}.master-form-actions button{width:100%}}.payment-table-wrap{background:#fff;border:1px solid #e0e4eb;border-radius:12px;overflow-x:auto}.payment-table{border-collapse:collapse;width:100%;min-width:1180px}.payment-table th,.payment-table td{text-align:left;white-space:nowrap;border-bottom:1px solid #edf0f4;padding:11px 12px}.payment-table th{text-transform:uppercase;color:#586477;background:#f5f7fa;font-size:12px}.payment-table a{color:#1767c4;font-weight:650}.payment-actions{gap:6px;display:flex}.payment-sort{color:inherit;font:inherit;text-transform:inherit;background:0 0!important;border:0!important;min-height:0!important;padding:0!important}.payment-table tbody tr:hover{background:#fafcff}.payments-page{color:#21150f;gap:18px;min-width:0;padding:2px;display:grid}.payments-page>header{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.payments-page h1{margin:3px 0 5px;font-size:clamp(1.65rem,3vw,2.25rem)}.payments-page header>div>span{color:#805a3d;letter-spacing:.12em;font-size:.72rem;font-weight:800}.payments-page header p{color:#756052;margin:0}.payment-header-actions,.payment-exports,.payment-export-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.payments-page button,.payments-page select,.payments-page input{color:#3b2418;min-height:38px;font:inherit;background:#fffaf0;border:1px solid #bca98b;border-radius:7px;padding:8px 12px;font-size:.82rem;font-weight:700}.payment-secondary{color:#3b2418!important;background:#fffaf0!important}.payment-filter-card{background:#fffaf0;border:1px solid #d7c6aa;border-radius:10px;padding:16px;box-shadow:0 3px 12px #3b24180d}.payment-filters{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.payment-filter-group{gap:5px;display:grid}.payment-filter-group>small{color:#806d5d;text-transform:uppercase;letter-spacing:.06em;font-size:.7rem;font-weight:800}.payment-filter-search{flex:1;min-width:220px}.payment-business-filters{flex:2}.payment-business-filters>div,.payment-date-filter{flex-wrap:wrap;gap:8px;display:flex}.payment-export-row{border-top:1px solid #ddccb0;justify-content:space-between;margin-top:14px;padding-top:12px}.payment-export-row>span{color:#756052;font-size:.78rem}.payments-pagination{justify-content:center;align-items:center;gap:14px;display:flex}.payment-empty{text-align:center;color:#756052;padding:40px}.financial-blue{color:#1767c4;font-weight:700}@media (width<=700px){.payments-page>header{flex-direction:column}.payment-filter-group,.payment-business-filters,.payment-filter-search{width:100%}.payment-business-filters>div>*{flex:1;min-width:145px}.payment-export-row{flex-direction:column;align-items:flex-start}}.payment-form-page{color:#21150f;max-width:1120px;margin:auto;padding:2px}.payment-form-page>header{margin-bottom:18px}.payment-form-page>header span{color:#805a3d;letter-spacing:.12em;font-size:.72rem;font-weight:800}.payment-form-page>header h1{margin:3px 0 5px;font-size:clamp(1.65rem,3vw,2.25rem)}.payment-form-page>header p{color:#756052;margin:0}.payment-form-page form{gap:16px;display:grid}.payment-form-card{background:#fffaf0;border:1px solid #d7c6aa;border-radius:10px;padding:16px;box-shadow:0 3px 12px #3b24180d}.payment-form-card>header{background:#f7ecd8;border-bottom:1px solid #ddccb0;border-radius:10px 10px 0 0;margin:-16px -16px 16px;padding:13px 16px}.payment-form-card h2{color:#21150f;margin:0;font-size:1rem}.payment-form-card header p{color:#756052;margin:3px 0 0;font-size:.82rem}.payment-form-grid,.payment-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.payment-form-grid label,.payment-form-card>label{gap:7px;display:grid}.payment-form-grid label>span,.payment-form-card>label>span,.payment-summary-grid span{color:#6d594b;font-size:.78rem;font-weight:750}.payment-form-grid input,.payment-form-grid select,.payment-form-grid textarea,.payment-form-card input{color:#21150f;width:100%;font:inherit;background:#fff;border:1px solid #c9b798;border-radius:7px;padding:10px 11px}.payment-form-actions{background:#fffaf0;border:1px solid #d7c6aa;border-radius:10px;justify-content:flex-end;gap:8px;padding:14px 16px;display:flex}.payment-form-actions button,.payment-form-card button,.payment-lookup button{color:#3b2418;min-height:38px;font:inherit;background:#fffaf0;border:1px solid #bca98b;border-radius:7px;padding:8px 13px;font-weight:700}.payment-primary{color:#fff!important;background:#3b2418!important;border-color:#3b2418!important}.payment-secondary{color:#3b2418!important;background:#fffaf0!important;border-color:#bca98b!important}.payment-hawala-note{color:#3b2418;background:#f1e3c6;border-radius:7px;padding:12px}.payment-accounting-summary{justify-content:space-between;align-items:center;gap:15px;display:flex}.payment-lookup{gap:8px;display:flex}.payment-lookup input{flex:1}.payment-summary-grid>div{background:#fff;border:1px solid #e2d3bb;border-radius:7px;padding:10px}.payment-summary-grid strong,.payment-summary-grid span{display:block}@media (width<=680px){.payment-form-page{padding:0}.payment-form-grid,.payment-summary-grid{grid-template-columns:1fr}.payment-wide{grid-column:auto}.payment-lookup,.payment-accounting-summary{flex-direction:column;align-items:stretch}}.payment-view{color:#21150f;max-width:1040px;margin:auto;padding:24px}.payment-view>header{justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px;display:flex}.payment-view>header>div:last-child{flex-wrap:wrap;gap:8px;display:flex}.payment-view button{background:#fff;border:1px solid #cdbba8;border-radius:8px;padding:9px 14px}.payment-company-card,.payment-card{background:#fffaf0;border:1px solid #d2bd9f;border-radius:12px;margin-bottom:14px;padding:18px}.payment-company-card{border-top:4px solid #3b2418;gap:5px;display:grid}.payment-card h2{background:#eee4d3;border-radius:10px 10px 0 0;margin:-18px -18px 14px;padding:10px 18px;font-size:17px}.payment-details,.payment-impact{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;display:grid}.payment-details span,.payment-impact span,.payment-company-card span{color:#796455;text-transform:uppercase;font-size:11px;font-weight:700;display:block}.payment-wide{grid-column:1/-1}.financial-blue{color:#1767c4!important}.financial-green{color:#19803a!important}.financial-red{color:#bd2a2a!important}#payment-print-root{pointer-events:none;background:#fff;width:1122px;position:fixed;top:0;left:-20000px}.payment-printable{color:#21150f;background:#fff;font-family:Inter,Segoe UI,Arial,sans-serif}.payment-print-page{background:#fff;width:1122px;min-height:793px;padding:34px}.payment-generated{text-align:center;color:#4a403a;margin-bottom:10px;font-size:11px;font-weight:650}.payment-ledger-page{break-before:page;page-break-before:always}.payment-output-backdrop{z-index:1000;background:#0008;place-items:center;display:grid;position:fixed;inset:0}.payment-output-modal{background:#fff;border-radius:14px;gap:10px;width:min(440px,100% - 30px);padding:22px;display:grid}.payment-output-modal h2,.payment-output-modal p{margin:0 0 5px}@media print{body *{visibility:hidden!important}#payment-print-root,#payment-print-root *{visibility:visible!important}#payment-print-root{width:100%!important;position:absolute!important;top:0!important;left:0!important}.payment-print-page{width:100%;min-height:auto;padding:0}.payment-output-backdrop{display:none!important}}@media (width<=650px){.payment-view{padding:14px}.payment-view>header{flex-direction:column;align-items:flex-start}.payment-details,.payment-impact{grid-template-columns:1fr}}.expenses-table-wrap{background:#fffaf0;border:1px solid #d7c6aa;border-radius:10px;overflow-x:auto}.expenses-table{border-collapse:collapse;width:100%;min-width:1180px}.expenses-table th,.expenses-table td{text-align:left;white-space:nowrap;border-bottom:1px solid #e7d9c2;padding:10px 11px}.expenses-table th{color:#3b2418;text-transform:uppercase;background:#f1e3c6;font-size:.72rem}.expenses-table th button{text-transform:inherit;background:0 0!important;border:0!important;min-height:0!important;padding:0!important}.expenses-table a{color:#3b2418;font-weight:750}.expenses-table tbody tr:hover{background:#fffdf7}.expense-category-modal{color:#21150f;background:#fffaf0;border-radius:12px;width:min(900px,100% - 30px);max-height:90vh;padding:20px;overflow:auto}.expense-category-modal>header{justify-content:space-between;align-items:flex-start;gap:15px;display:flex}.expense-category-modal h2{margin:0}.expense-category-modal header p{color:#756052;margin:4px 0}.expense-category-modal form{background:#f7ecd8;border:1px solid #d7c6aa;border-radius:9px;grid-template-columns:1fr 1fr auto;gap:12px;margin:16px 0;padding:14px;display:grid}.expense-category-modal label{gap:6px;display:grid}.expense-category-modal input,.expense-category-modal textarea,.expense-category-modal button{font:inherit;background:#fffaf0;border:1px solid #bca98b;border-radius:7px;padding:9px 11px}.expense-category-active{align-content:center}.expense-category-active input{width:auto}.expense-modal-actions{align-items:flex-end;gap:8px;display:flex}.expense-category-table-wrap{overflow-x:auto}.expense-category-table-wrap table{border-collapse:collapse;width:100%}.expense-category-table-wrap th,.expense-category-table-wrap td{text-align:left;border-bottom:1px solid #ddccb0;padding:10px}.expense-category-table-wrap td:last-child{gap:7px;display:flex}@media (width<=700px){.expense-category-modal form{grid-template-columns:1fr}.expense-category-modal>header{flex-direction:column}}.expenses-page{color:#21150f;gap:18px;min-width:0;padding:2px;display:grid}.expenses-page>header{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.expenses-page>header>div:last-child,.expense-exports,.expense-export-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.expenses-page h1{margin:3px 0 5px;font-size:clamp(1.65rem,3vw,2.25rem)}.expenses-page header span{color:#805a3d;letter-spacing:.12em;font-size:.72rem;font-weight:800}.expenses-page header p{color:#756052;margin:0}.expenses-page button,.expenses-page select,.expenses-page input{color:#3b2418;min-height:38px;font:inherit;background:#fffaf0;border:1px solid #bca98b;border-radius:7px;padding:8px 12px;font-size:.82rem;font-weight:700}.expense-primary{color:#fff!important;background:#3b2418!important;border-color:#3b2418!important}.expense-filter-card{background:#fffaf0;border:1px solid #d7c6aa;border-radius:10px;padding:16px;box-shadow:0 3px 12px #3b24180d}.expense-filters{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.expense-filter-group{gap:5px;display:grid}.expense-filter-group small{color:#806d5d;text-transform:uppercase;font-size:.7rem;font-weight:800}.expense-search{flex:1;min-width:220px}.expense-business-filters{flex:2}.expense-business-filters>div,.expense-date-filter{flex-wrap:wrap;gap:8px;display:flex}.expense-export-row{border-top:1px solid #ddccb0;justify-content:space-between;margin-top:14px;padding-top:12px}.expense-export-row>span{color:#756052;font-size:.78rem}.expenses-pagination{justify-content:center;align-items:center;gap:14px;display:flex}.expense-empty{text-align:center;color:#756052;padding:40px}.expense-red{font-weight:750;color:#bd2a2a!important}.expense-actions{gap:6px;display:flex}.expense-modal-backdrop{z-index:1000;background:#0008;place-items:center;display:grid;position:fixed;inset:0}.expense-modal{background:#fffaf0;border-radius:12px;width:min(430px,100% - 30px);padding:22px}.expense-modal>div{justify-content:flex-end;gap:8px;display:flex}.expense-danger{color:#fff!important;background:#bd2a2a!important}@media (width<=720px){.expenses-page>header{flex-direction:column}.expense-filter-group,.expense-business-filters,.expense-search{width:100%}}.expense-form-page{color:#21150f;max-width:1120px;margin:auto}.expense-form-page>header{margin-bottom:18px}.expense-form-page>header span{color:#805a3d;letter-spacing:.12em;font-size:.72rem;font-weight:800}.expense-form-page h1{margin:3px 0 5px}.expense-form-page>header p{color:#756052;margin:0}.expense-form-page form{gap:16px;display:grid}.expense-form-card{background:#fffaf0;border:1px solid #d7c6aa;border-radius:10px;padding:16px;box-shadow:0 3px 12px #3b24180d}.expense-form-card>header{background:#f7ecd8;border-bottom:1px solid #ddccb0;border-radius:10px 10px 0 0;margin:-16px -16px 16px;padding:13px 16px}.expense-form-card h2{margin:0;font-size:1rem}.expense-form-card header p{color:#756052;margin:3px 0 0;font-size:.82rem}.expense-form-grid,.expense-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.expense-form-grid label{gap:7px;display:grid}.expense-form-grid label span,.expense-summary-grid span{color:#6d594b;font-size:.78rem;font-weight:750}.expense-form-grid input,.expense-form-grid select,.expense-form-grid textarea{width:100%;font:inherit;background:#fff;border:1px solid #c9b798;border-radius:7px;padding:10px 11px}.expense-wide{grid-column:1/-1}.expense-summary-grid>div{background:#fff;border:1px solid #e2d3bb;border-radius:7px;padding:10px}.expense-summary-grid span,.expense-summary-grid strong{display:block}.expense-form-actions{background:#fffaf0;border:1px solid #d7c6aa;border-radius:10px;justify-content:flex-end;gap:8px;padding:14px;display:flex}.expense-form-actions button{background:#fffaf0;border:1px solid #bca98b;border-radius:7px;min-height:38px;padding:8px 13px;font-weight:700}.expense-config-warning{color:#754c15;background:#fff3d9;border:1px solid #c99850;border-radius:8px;padding:13px}@media (width<=680px){.expense-form-grid,.expense-summary-grid{grid-template-columns:1fr}.expense-wide{grid-column:auto}}.expense-view{color:#21150f;max-width:1040px;margin:auto;padding:2px}.expense-view>header{justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px;display:flex}.expense-view>header>div:last-child{flex-wrap:wrap;gap:8px;display:flex}.expense-view button{color:#3b2418;background:#fffaf0;border:1px solid #bca98b;border-radius:7px;min-height:38px;padding:8px 13px;font-weight:700}.expense-company-card,.expense-document-card{background:#fffaf0;border:1px solid #d2bd9f;border-radius:10px;margin-bottom:14px;padding:18px}.expense-company-card{border-top:4px solid #3b2418;gap:4px;display:grid}.expense-document-card h2{background:#eee4d3;border-radius:9px 9px 0 0;margin:-18px -18px 14px;padding:10px 18px;font-size:1rem}.expense-document-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;display:grid}.expense-document-grid span,.expense-company-card span{color:#796455;text-transform:uppercase;font-size:.7rem;font-weight:750;display:block}.expense-red{color:#bd2a2a!important}#expense-print-root{pointer-events:none;background:#fff;width:1122px;position:fixed;top:0;left:-20000px}.expense-print-page{color:#21150f;background:#fff;width:1122px;min-height:793px;padding:34px;font-family:Inter,Segoe UI,Arial,sans-serif}.expense-generated{text-align:center;color:#4a403a;margin-bottom:10px;font-size:11px;font-weight:650}@media print{body *{visibility:hidden!important}#expense-print-root,#expense-print-root *{visibility:visible!important}#expense-print-root{width:100%!important;position:absolute!important;top:0!important;left:0!important}.expense-print-page{width:100%;min-height:auto;padding:0}}@media (width<=680px){.expense-view>header{flex-direction:column;align-items:flex-start}.expense-document-grid{grid-template-columns:1fr}}.inventory-page{color:#21150f;gap:18px;min-width:0;padding:2px;display:grid}.inventory-header{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.inventory-header h1{margin:3px 0 5px;font-size:clamp(1.65rem,3vw,2.25rem)}.inventory-header p,.inventory-kicker{color:#756052;margin:0}.inventory-kicker{letter-spacing:.12em;font-size:.72rem;font-weight:800}.inventory-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.inventory-btn{color:#3b2418;min-height:38px;font:inherit;cursor:pointer;background:#fffaf0;border:1px solid #bca98b;border-radius:7px;padding:8px 13px;font-size:.82rem;font-weight:700;text-decoration:none}.inventory-btn.primary{color:#fff;background:#3b2418;border-color:#3b2418}.inventory-btn.warning{color:#754708;background:#fff3da;border-color:#b87921}.inventory-btn.danger{color:#fff;background:#b92525;border-color:#b92525}.inventory-btn.restore{color:#226136;background:#edf9f0;border-color:#2f7845}.inventory-card{background:#fffaf0;border:1px solid #d7c6aa;border-radius:10px;padding:16px;box-shadow:0 3px 12px #3b24180d}.inventory-toolbar{justify-content:space-between;align-items:center;gap:12px;display:flex}.inventory-toolbar span{color:#756052;font-size:.78rem}.inventory-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.inventory-field{color:#6d594b;gap:7px;font-size:.78rem;font-weight:750;display:grid}.inventory-field input,.inventory-field select,.inventory-field textarea,.inventory-search{color:#21150f;min-height:38px;font:inherit;background:#fff;border:1px solid #c9b798;border-radius:7px;padding:9px 11px}.inventory-search{min-width:min(360px,100%)}.inventory-table-wrap{padding:0;overflow:auto}.inventory-table-wrap>.inventory-card-title{padding:16px 16px 0}.inventory-table{border-collapse:collapse;width:100%;font-size:.82rem}.inventory-table th{color:#fff;text-align:left;white-space:nowrap;background:#3b2418;padding:11px}.inventory-table td{white-space:nowrap;border-bottom:1px solid #e2d3bb;padding:11px}.inventory-table tbody tr:hover{background:#f8eedc}.inventory-table a,.inventory-action-link{color:#3b2418;font-weight:750}.inventory-action-link{margin-right:10px}.inventory-items-cell{min-width:220px;line-height:1.5;white-space:normal!important}.inventory-number{text-align:right!important}.inventory-summary{grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:12px;display:grid}.inventory-stat{border-left:4px solid #3b2418;padding:14px}.inventory-stat strong{margin-top:3px;font-size:1.2rem;display:block}.inventory-error{color:#a31620;background:#fff0f0;border:1px solid #e4a8a8;border-radius:7px;padding:11px}.inventory-empty{text-align:center;color:#756052;padding:40px}.inventory-section-title,.inventory-card-title{color:#21150f;margin:0 0 12px;font-size:1rem}.inventory-status{border-radius:999px;padding:4px 9px;font-size:.7rem;font-weight:800;display:inline-block}.inventory-status.posted{color:#246237;background:#e6f4e9}.inventory-status.voided{color:#8a3028;background:#f3e5e1}.inventory-company-card{border-top:4px solid #3b2418;gap:4px;display:grid}.inventory-company-card span,.inventory-detail-grid span,.stock-metric span{color:#796455;text-transform:uppercase;font-size:11px;font-weight:700;display:block}.inventory-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px;display:grid}.inventory-wide{grid-column:1/-1}.stock-metric--warning{color:#a4111b;background:#fff1f1;border-color:#c94a4a}.stock-metric--positive{background:#f0fff4;border-color:#438356}.stock-metric--reference{background:#f1f7ff;border-color:#6b82a0}.negative-override{background:#fff8f8;border:1px solid #d59393;border-radius:8px;align-items:flex-start;gap:10px;padding:14px;display:flex}.negative-override span,.negative-override small{display:block}.negative-override small{color:#795d5d;margin-top:4px}.inventory-modal-backdrop{z-index:1000;background:#0008;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.inventory-modal{background:#fffaf0;border:1px solid #d7c6aa;border-radius:12px;width:min(480px,100%);padding:22px;box-shadow:0 18px 50px #0004}.inventory-modal h2{margin:0 0 10px}.inventory-modal p{color:#5f4c40;line-height:1.5}.inventory-modal .inventory-actions{justify-content:flex-end;margin-top:18px}@media (width<=700px){.inventory-header{flex-direction:column}.inventory-grid,.inventory-detail-grid{grid-template-columns:1fr}.inventory-toolbar{flex-direction:column;align-items:stretch}.inventory-search{width:100%}.inventory-wide{grid-column:auto}}.inventory-row-actions{align-items:center;gap:9px;display:flex}.inventory-row-actions .inventory-btn{min-height:30px;padding:5px 9px}.inventory-text-action{font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:.78rem;font-weight:750}.inventory-text-action.warning{color:#8b570d}.inventory-text-action.restore{color:#226136}.inventory-success{color:#226136;background:#edf9f0;border:1px solid #94c4a0;border-radius:7px;justify-content:space-between;align-items:center;padding:11px 13px;font-weight:700;display:flex}.inventory-success button{color:inherit;cursor:pointer;background:0 0;border:0;font-size:1.1rem}.company-page{background:linear-gradient(#f5efe8 0%,#f8f3ee 100%);min-height:calc(100vh - 72px);padding:24px}.company-shell{max-width:1200px;margin:0 auto}.company-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.company-header h1{color:#3d291a;margin:0;font-size:2rem}.company-identity{background:#fffaf6;border:1px solid #e7d7c6;border-radius:16px;align-items:center;gap:14px;padding:16px 20px;display:flex;box-shadow:0 8px 24px #3d291a0f}.company-logo-box{color:#f9e7d0;background:#3d291a;border-radius:14px;place-items:center;width:64px;height:64px;display:grid;overflow:hidden}.company-logo-box img{object-fit:cover;width:100%;height:100%}.company-identity h2{color:#2f1f16;margin:0;font-size:1.3rem}.company-identity p{color:#5b4334;margin:6px 0 0}.company-card{background:#fffaf6;border:1px solid #eadcc6;border-radius:18px;padding:24px;box-shadow:0 10px 30px #3d291a0d}.company-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;display:grid}.company-field{flex-direction:column;gap:8px;display:flex}.company-field label{color:#5b4334;letter-spacing:.03em;text-transform:uppercase;font-size:.8rem;font-weight:700}.company-field input,.company-field textarea,.company-field select{font:inherit;color:#2f1f16;background:#fff;border:1px solid #d8c2a4;border-radius:10px;padding:10px 12px}.company-field textarea{resize:vertical;min-height:100px}.company-actions{justify-content:flex-end;margin-top:24px;display:flex}.company-button{color:#fff;cursor:pointer;background:#3d291a;border:none;border-radius:10px;padding:12px 22px;font-size:.96rem;font-weight:700;transition:opacity .2s,transform .2s}.company-button:hover{opacity:.96;transform:translateY(-1px)}.company-button:disabled{opacity:.6;cursor:wait}.company-alert{border-radius:12px;margin-bottom:12px;padding:12px 14px;font-weight:600}.company-alert.error{color:#9a1b1b;background:#fce7e7;border:1px solid #f0b4b4}.company-alert.success{color:#1f6f3b;background:#eaf9ee;border:1px solid #afd9bc}.company-empty{color:#5b4334;background:#fffaf6;border:1px dashed #d7c0a0;border-radius:16px;padding:24px}@media (width<=700px){.company-page{padding:16px}.company-header{flex-direction:column;align-items:flex-start}}.employee-page{color:#38271c;flex-direction:column;gap:18px;min-width:0;padding:2px;display:flex}.employee-header{justify-content:space-between;align-items:flex-start;gap:20px;margin:0;display:flex}.employee-header h1,.employee-page header h1{color:#21150f;margin:3px 0 5px;font-size:clamp(1.65rem,3vw,2.25rem)}.employee-header p{color:#756052;max-width:760px;margin:0;line-height:1.5}.employee-page header>div>span,.employee-page header>span{color:#805a3d;letter-spacing:.12em;font-size:.72rem;font-weight:800}.employee-header-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.employee-primary,.employee-secondary{min-height:40px;font:inherit;cursor:pointer;border:1px solid #3b2418;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:10px 18px;font-weight:800;text-decoration:none;display:inline-flex}.employee-primary{color:#fff;background:#3b2418;width:max-content}.employee-secondary{color:#3b2418;background:#fffaf0}.employee-primary:hover,.employee-primary:focus-visible{background:#523324}.employee-primary:focus-visible,.employee-secondary:focus-visible,.employee-action:focus-visible{outline-offset:2px;outline:3px solid #8b5e3c40}.employee-card{background:#fffaf0;border:1px solid #d7c6aa;border-radius:10px;min-width:0;box-shadow:0 3px 12px #3b24180d}.employee-filter-card{padding:16px}.employee-table-card{overflow:hidden}.employee-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;display:grid}.employee-grid label{gap:6px;font-weight:600;display:grid}.employee-grid input,.employee-grid textarea,.employee-grid select{color:#21150f;min-width:0;min-height:38px;font:inherit;background:#fff;border:1px solid #cbb99a;border-radius:6px;padding:7px 9px}.employee-grid input:focus,.employee-grid textarea:focus,.employee-grid select:focus{border-color:#8b5e3c;outline:0;box-shadow:0 0 0 2px #8b5e3c1f}.employee-grid .wide{grid-column:1/-1}.employee-search{color:#806d5d;background:#fff;border:1px solid #c9b798;border-radius:7px;align-items:center;gap:9px;min-height:42px;padding:0 12px;display:flex}.employee-search input{color:#21150f;min-width:0;font:inherit;background:0 0;border:0;outline:0;flex:1}.employee-table{width:100%;overflow-x:auto}.employee-card table{border-collapse:collapse;white-space:nowrap;width:100%;font-size:.8rem}.employee-card th,.employee-card td{text-align:left;vertical-align:middle;border-bottom:1px solid #e8dcc9;padding:10px}.employee-card th{color:#3b2418;letter-spacing:.02em;background:#eee1ca;font-size:.72rem}.employee-card tbody tr:hover{background:#fff4e1}.employee-row-actions{flex-wrap:nowrap;gap:5px;display:flex}.employee-action{color:#4d382b;min-height:30px;font:inherit;cursor:pointer;background:#fff;border:1px solid #baa78b;border-radius:5px;align-items:center;gap:4px;padding:5px 7px;font-size:.7rem;font-weight:700;text-decoration:none;display:inline-flex}.employee-action--view{color:#245b9b;background:#edf5ff;border-color:#8db0dc}.employee-action--edit{color:#68482f;background:#fff8e9;border-color:#b7a27f}.employee-action--delete{color:#a82222;background:#fff1f1;border-color:#dca6a6}.employee-error{color:#a32626}.employee-card footer{padding:16px;font-weight:700}.employee-no-print{flex-wrap:wrap;gap:8px;display:flex}@media (width<=760px){.employee-header{flex-direction:column}.employee-header-actions{justify-content:flex-start;width:100%}.employee-primary,.employee-secondary{flex:1}.employee-row-actions{flex-wrap:wrap}.employee-card table{min-width:760px}}@media (width<=480px){.employee-header-actions{flex-direction:column}.employee-primary,.employee-secondary{width:100%}.employee-filter-card{padding:12px}}@media print{.employee-no-print{display:none!important}}.employee-pagination{color:#5d5046;background:#f5ead7;justify-content:space-between;align-items:center;gap:12px;font-size:.8rem;display:flex}.employee-pagination label,.employee-pagination>div{align-items:center;gap:8px;display:flex}.employee-pagination select,.employee-pagination button{color:#3b2418;background:#fffaf0;border:1px solid #b9a78b;border-radius:5px;min-height:32px;padding:5px 9px}@media (width<=760px){.employee-pagination{flex-direction:column;align-items:stretch}.employee-pagination>div{justify-content:space-between}}
