@import"https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap";:root{font-family:IBM Plex Sans Arabic,Tahoma,sans-serif;color:#202b35;background:#f5f7f8;font-synthesis:none;text-rendering:optimizeLegibility;font-optical-sizing:auto;font-weight:400;font-size:14px;--ink:#202b35;--muted:#84909a;--line:#e9edef;--green:#087d69;--green-dark:#086a5a;--nav:#17252d;--panel:#fff}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}input,select{color:var(--ink)}::selection{background:#cdece5;color:#155447}.app-shell{min-height:100vh}.sidebar{position:fixed;z-index:30;right:0;top:0;bottom:0;width:254px;background:var(--nav);color:#fff;display:flex;flex-direction:column;padding:22px 15px 14px;box-shadow:0 0 30px #14232a0c}.sidebar-brand{padding:0 9px 25px;border-bottom:1px solid #ffffff12}.brand{display:flex;align-items:center;gap:11px;color:#fff}.brand-mark{width:41px;height:41px;border-radius:13px;background:#0c8c76;color:#fff;display:grid;place-items:center;box-shadow:0 7px 20px #087d6942}.brand strong{display:block;font-size:16px;line-height:1.3;letter-spacing:.1px}.brand small{display:block;color:#a5b6b9;font-size:10px;margin-top:2px}.workspace-label{font-size:10px;color:#819198;letter-spacing:.4px;margin:21px 10px 10px}.nav-list{display:grid;gap:4px;overflow-y:auto}.nav-item{background:none;border:0;width:100%;height:43px;padding:0 12px;display:flex;align-items:center;gap:12px;text-align:right;color:#b2bec2;border-radius:9px;font-size:12px;transition:.16s}.nav-item:hover{color:#fff;background:#ffffff0a}.nav-active{background:#0b8b75;color:#fff;box-shadow:0 5px 16px #04766138}.nav-active:hover{background:#0b8b75}.nav-item span:nth-child(2){flex:1}.nav-dot{width:6px;height:6px;background:#7be1b7;border-radius:50%}.sidebar-bottom{margin-top:auto;position:relative}.sidebar-tip{display:flex;gap:10px;align-items:center;padding:12px;margin:10px 0 12px;background:#ffffff09;border:1px solid #ffffff0c;border-radius:10px;color:#77d5b9}.sidebar-tip strong,.sidebar-tip span{display:block}.sidebar-tip strong{font-size:11px;color:#e0e9e7}.sidebar-tip span{font-size:9px;color:#93a3a5;margin-top:3px}.user-card{display:flex;align-items:center;gap:10px;width:100%;border:0;border-top:1px solid #ffffff13;background:transparent;color:#fff;text-align:right;padding:14px 4px 3px}.avatar,.top-avatar{flex:none;width:34px;height:34px;background:#dff4ed;border-radius:50%;color:#087d69;display:grid;place-items:center;font-weight:700}.user-card-copy{min-width:0;flex:1}.user-card-copy strong,.user-card-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-card-copy strong{font-size:11px}.user-card-copy small{font-size:9px;color:#95a5a9;margin-top:3px}.user-card>svg{color:#91a0a5}.logout-pop{position:absolute;bottom:55px;right:0;left:0;display:flex;gap:9px;align-items:center;background:#263b43;color:#fff;border:1px solid #ffffff18;border-radius:9px;padding:11px 14px;text-align:right;font-size:11px;box-shadow:0 8px 24px #101c20aa}.main-area{margin-right:254px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:64px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line);padding:0 34px;position:sticky;top:0;z-index:10}.breadcrumb{display:flex;align-items:center;gap:11px;color:#89949c;font-size:11px}.breadcrumb strong{color:#35434c;font-weight:600}.crumb-sep{color:#c6cdd0}.topbar-right{display:flex;align-items:center;gap:17px}.today-label{display:flex;align-items:center;gap:8px;color:#78858c;font-size:10px}.today-label i{height:14px;border-right:1px solid #e3e8e9}.today-indicator{width:7px;height:7px;border-radius:50%;background:#26a37d;box-shadow:0 0 0 3px #e0f5ec}.top-avatar{width:31px;height:31px;font-size:12px}.page-content{width:100%;max-width:1500px;margin:0 auto;padding:31px 34px 24px;flex:1}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.page-heading h1{margin:0;color:#1c2a32;font-size:23px;font-weight:700;letter-spacing:-.3px}.page-heading p{color:#89949a;font-size:11px;margin:5px 0 0}.button{border:1px solid transparent;border-radius:8px;min-height:37px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:11px;font-weight:600;transition:background .15s,border .15s;white-space:nowrap}.button-primary{background:var(--green);color:#fff;box-shadow:0 4px 11px #087d691f}.button-primary:hover{background:var(--green-dark)}.button-secondary{background:#fff;border-color:#e1e7e9;color:#4b5b63}.button-secondary:hover{background:#f6f9f9}.button-ghost{background:transparent;color:#53636a}.button-danger{background:#fff0ef;color:#c74d45}.full-button{width:100%;min-height:43px;margin-top:2px}.dashboard-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:-3px 0 17px}.period-chip{height:37px;display:flex;align-items:center;gap:9px;padding:0 11px;background:#fff;border:1px solid #e7ebed;border-radius:8px;color:#7c898f;font-size:10px}.period-chip input{width:120px;background:transparent;border:0;outline:0;color:#34444b;font-size:10px}.period-to{padding-right:7px;border-right:1px solid #e9edef}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.stat-card,.panel,.cash-card{background:var(--panel);border:1px solid #e9edef;border-radius:11px;box-shadow:0 3px 12px #17252d04}.stat-card{padding:17px 18px;min-height:132px;display:flex;flex-direction:column;align-items:flex-start}.stat-icon,.soft-icon,.alert-icon{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;margin-bottom:12px}.stat-blue{color:#4684c1;background:#edf5ff}.stat-green{color:#13876b;background:#eaf7f1}.stat-violet{color:#8371bd;background:#f2effb}.stat-amber{color:#c18b2f;background:#fff6e5}.stat-title{font-size:10px;color:#87939a}.stat-value{font-size:20px;font-weight:700;color:#25343c;margin:3px 0 0;letter-spacing:-.2px}.stat-card small{font-size:9px;color:#a0aaae;margin-top:1px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(250px,.92fr);gap:15px;margin-bottom:15px}.panel{padding:18px 19px}.chart-panel{min-height:302px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.panel-heading h2{margin:0;font-size:13px;color:#26353d;font-weight:700}.panel-heading p{margin:4px 0 0;font-size:9px;color:#9aa4a9}.chart-legend{font-size:9px;color:#6f7e83;display:flex;align-items:center;gap:7px}.chart-legend i{display:block;width:7px;height:7px;background:#0c8c76;border-radius:50%}.chart-area{height:220px;direction:ltr}.chart-empty{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:#9da8ac;font-size:10px;direction:rtl}.quick-panel{padding-bottom:12px}.soft-icon{margin:0;background:#f1f6f5;color:#0c8c76}.quick-metric{height:43px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f0f2f3;font-size:10px}.quick-metric span{color:#78868d}.quick-metric strong{font-size:11px;color:#35434a}.quick-alert{margin-top:13px;display:flex;align-items:center;gap:10px;padding:10px;background:#fff8ec;border-radius:8px}.alert-icon{margin:0;background:#fff0d5;color:#bd8628;width:31px;height:31px}.quick-alert strong,.quick-alert small{display:block}.quick-alert strong{font-size:10px;color:#916b2b}.quick-alert small{font-size:9px;color:#b19461;margin-top:2px}.dashboard-bottom{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(250px,.92fr);gap:15px}.recent-panel{min-height:210px}.recent-panel .panel-heading{margin-bottom:7px}.welcome-panel{min-height:180px;background:#eaf5f2;border-color:#dceee8;position:relative;overflow:hidden}.welcome-panel:after{content:"";position:absolute;width:130px;height:130px;border:1px solid #c8e6dc;border-radius:50%;left:-45px;bottom:-75px}.welcome-badge{width:37px;height:37px;border-radius:11px;background:#d7ede5;color:#18856c;display:grid;place-items:center}.welcome-panel h2{font-size:13px;color:#31554d;margin:13px 0 5px}.welcome-panel p{font-size:10px;line-height:1.8;color:#66867d;margin:0;max-width:280px}.welcome-rule{height:1px;background:#d6e9e2;margin:14px 0 9px}.welcome-panel>small{font-size:9px;color:#7f9f96}.app-footer{height:44px;border-top:1px solid #eaeeef;margin:0 34px;display:flex;align-items:center;justify-content:space-between;color:#a2abad;font-size:9px}.data-panel{padding:0;overflow:hidden}.table-toolbar{height:59px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 16px;border-bottom:1px solid #edf0f1}.search-box{height:32px;width:min(290px,100%);display:flex;align-items:center;gap:8px;padding:0 10px;background:#f8fafa;border:1px solid #edf0f1;border-radius:7px;color:#9aa5a9}.search-box input{border:0;outline:0;background:transparent;width:100%;font-size:10px;color:#34444b}.search-box input::placeholder{color:#a2acb0}.result-count{font-size:9px;color:#98a3a7}.table-wrap{overflow:auto;width:100%}table{width:100%;border-collapse:collapse;text-align:right;min-width:600px}th{height:42px;padding:0 16px;background:#fbfcfc;border-bottom:1px solid #edf0f1;color:#8a969c;font-size:9px;font-weight:500;white-space:nowrap}td{height:48px;padding:0 16px;border-bottom:1px solid #f0f2f3;color:#526067;font-size:10px;white-space:nowrap}tbody tr:last-child td{border-bottom:0}tbody tr:hover td{background:#fcfdfd}td strong{color:#26363e;font-weight:600}.empty-cell{height:94px;text-align:center;color:#a1aaae;font-size:10px}.status{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:20px;background:#edf7f2;color:#208569;font-size:9px}.status:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.status-draft{background:#f2f4f5;color:#818d92}.status-voided{background:#fff0ee;color:#c9635d}.status-inactive{background:#f1f3f4;color:#929da1}.summary-strip{display:flex;gap:10px;margin-bottom:14px}.mini-stat{min-width:155px;background:#fff;border:1px solid #e9edef;border-radius:8px;padding:10px 14px;display:flex;justify-content:space-between;align-items:center;gap:20px}.mini-stat span{font-size:10px;color:#89969b}.mini-stat strong{font-size:12px;color:#35444a}.text-danger{color:#bc5949!important}.low-stock-panel{margin-top:16px;padding-bottom:0;overflow:hidden}.low-stock-panel .panel-heading{margin-bottom:7px}.loading{min-height:110px;display:flex;align-items:center;justify-content:center;gap:9px;color:#8c999e;font-size:10px}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error-box{display:flex;align-items:center;gap:9px;padding:12px 15px;border-radius:8px;background:#fff3f1;border:1px solid #fae2df;color:#ad5149;font-size:10px;margin:8px 0}.error-box span{flex:1;overflow-wrap:anywhere}.error-box button{background:transparent;border:0;color:#94443d;font-weight:600;font-size:10px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;background:#13212aa6;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:18px;overflow:auto}.modal{width:min(560px,100%);max-height:min(90vh,850px);overflow:auto;background:#fff;border-radius:13px;box-shadow:0 24px 80px #07121755;padding:20px}.modal-wide{width:min(860px,100%)}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.modal-head h2{font-size:15px;margin:0;color:#26363e}.icon-button{width:34px;height:34px;border:0;background:transparent;color:#738087;border-radius:7px;display:grid;place-items:center}.icon-button:hover{background:#f0f4f4}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field>span{font-size:10px;color:#67767d;font-weight:500}.field input,.field select,.invoice-line input,.invoice-line select,.role-action select{height:37px;border:1px solid #e2e8e9;border-radius:7px;background:#fff;padding:0 10px;outline:none;font-size:10px;min-width:0}.field input:focus,.field select:focus,.invoice-line input:focus,.invoice-line select:focus{border-color:#72b9a8;box-shadow:0 0 0 3px #0c8c7612}.field small{font-size:9px;color:#99a4a8}.wide-field{grid-column:1/-1}.modal-actions{display:flex;justify-content:flex-start;gap:8px;margin-top:4px}.form-error{color:#b4473e;background:#fff1ef;border-radius:7px;padding:9px 11px;font-size:10px;overflow-wrap:anywhere}.invoice-lines{border:1px solid #edf0f1;border-radius:8px;padding:10px}.line-table-head,.invoice-line{display:grid;grid-template-columns:minmax(180px,2.1fr) .75fr .9fr .9fr 27px;gap:8px;align-items:center}.line-table-head{font-size:9px;color:#89959a;padding:0 0 8px}.invoice-line{margin-bottom:7px}.invoice-line input,.invoice-line select{width:100%;height:34px}.remove-line{border:0;background:#fff0ef;color:#bb5e56;border-radius:6px;width:27px;height:27px;display:grid;place-items:center}.add-line{border:0;background:transparent;color:#087d69;font-size:10px;display:flex;align-items:center;gap:5px;padding:4px 0}.invoice-total{grid-column:1/-1;background:#f3f8f6;border:1px solid #e3f0eb;border-radius:8px;padding:11px 13px;display:flex;align-items:center;gap:14px}.invoice-total span{font-size:10px;color:#688179}.invoice-total strong{font-size:16px;color:#0a8069}.invoice-total small{margin-right:auto;font-size:9px;color:#82918c}.cash-grid{margin-top:2px}.cash-cards{display:grid;grid-template-columns:repeat(3,minmax(210px,1fr));gap:13px}.cash-card{padding:17px 18px;display:flex;flex-direction:column;align-items:flex-start;min-height:155px}.cash-card-top{width:100%;display:flex;align-items:center;justify-content:space-between}.cash-kind{font-size:9px;color:#93a0a4}.cash-name{font-size:11px;color:#748087;margin-top:13px}.cash-card>strong{font-size:21px;color:#26373f;margin-top:2px}.cash-card>small{color:#9aa5a9;font-size:9px}.employee-name{display:flex;align-items:center;gap:9px}.employee-name .avatar{width:29px;height:29px;font-size:11px}.employee-name strong,.employee-name small{display:block}.employee-name strong{font-size:10px}.employee-name small{font-size:9px;color:#98a2a6}.role-action{display:flex;align-items:center;gap:5px}.role-action select{height:29px;max-width:135px}.role-action button,.text-action{border:0;background:transparent;color:#087d69;font-size:9px;font-weight:600}.text-action{color:#bf625a}.info-banner,.success-banner{display:flex;align-items:center;gap:9px;background:#eff7f5;border:1px solid #dcece7;color:#4e756b;padding:11px 13px;border-radius:8px;font-size:10px;margin-bottom:14px}.success-banner{color:#247b60;background:#ecf8f1}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.settings-tile{display:flex;align-items:center;gap:12px;padding:15px;background:#fff;border:1px solid #e9edef;border-radius:10px;text-align:right;transition:.16s}.settings-tile:hover{border-color:#b8dcd2;box-shadow:0 5px 16px #17252d09}.settings-tile-icon{width:38px;height:38px;border-radius:9px;background:#edf7f3;color:#11816a;display:grid;place-items:center}.settings-tile-icon svg{width:19px}.settings-tile-copy{flex:1}.settings-tile-copy strong,.settings-tile-copy small{display:block}.settings-tile-copy strong{font-size:11px;color:#35444a}.settings-tile-copy small{font-size:9px;color:#98a2a6;margin-top:3px}.settings-count{font-size:11px;color:#66777e;background:#f5f7f7;padding:4px 8px;border-radius:20px}.settings-plus{color:#a3adaf;width:15px}.settings-branch-list{margin-top:15px;padding-bottom:0;overflow:hidden}.auth-screen{display:grid;grid-template-columns:1.08fr .92fr;min-height:100vh;background:#fff;direction:rtl}.auth-art{position:relative;background:#14272e;color:#fff;display:flex;flex-direction:column;padding:38px 7.5%;overflow:hidden}.auth-art:before{content:"";position:absolute;width:530px;height:530px;border:1px solid #ffffff10;border-radius:50%;left:-180px;bottom:-170px;box-shadow:0 0 0 55px #ffffff04,0 0 0 110px #ffffff03}.auth-art .brand{align-self:flex-start}.auth-art .brand-mark{width:45px;height:45px}.auth-message{margin:auto 0;position:relative;padding-bottom:25px}.eyebrow{font-size:10px;color:#17896f;font-weight:600;letter-spacing:.3px}.auth-art .eyebrow{color:#75d0b6}.auth-message h1{font-size:40px;line-height:1.55;margin:13px 0 12px;font-weight:700;letter-spacing:-1px}.auth-message h1 em{font-style:normal;color:#75d0b6}.auth-message p{font-size:12px;line-height:2;color:#a5b5b5;max-width:390px}.auth-art-stat{margin-top:28px;display:flex;align-items:center;gap:9px;color:#96aaa9;font-size:10px}.auth-art-stat svg{color:#7bd2b5}.auth-copyright{font-size:9px;color:#74898b;position:relative}.auth-form-side{display:grid;place-items:center;padding:35px}.auth-form{width:min(350px,100%);display:flex;flex-direction:column;gap:14px}.auth-form h2{font-size:23px;margin:-9px 0 -11px;color:#24343c}.auth-form>.muted{margin:0 0 8px;font-size:10px;color:#96a0a4}.auth-hint{font-size:9px;color:#97a1a5;line-height:1.9;text-align:center;margin:0}.auth-form .field{gap:7px}.auth-form .field>span{font-size:10px}.auth-form .field input{height:43px;font-size:11px}.mobile-brand{display:none}.center-screen{min-height:100vh;display:grid;place-items:center;padding:20px;background:#f4f7f7}.setup-card,.access-card{width:min(440px,100%);padding:29px;background:#fff;border:1px solid #e6ebec;border-radius:14px;box-shadow:0 10px 36px #1c303908}.setup-card .brand{background:#17252d;width:max-content;padding:9px 13px;border-radius:10px}.setup-icon,.access-icon{margin:22px 0 10px;width:43px;height:43px;display:grid;place-items:center;border-radius:11px;background:#edf7f3;color:#0c826b}.setup-card h2,.access-card h2{font-size:17px;margin:0 0 8px}.setup-card p,.access-card p{font-size:11px;color:#78868c;line-height:1.9}.setup-card pre{direction:ltr;text-align:left;white-space:pre-wrap;background:#f3f6f6;padding:12px;border-radius:7px;font-size:10px;line-height:1.8;color:#41535a}.setup-card>small{font-size:9px;color:#89969b}.setup-card code{color:#087d69}.access-card{text-align:center}.access-card .access-icon{margin:0 auto 16px}.access-card p{margin-bottom:19px}.mobile-menu,.mobile-close,.sidebar-scrim{display:none}@media(max-width:1100px){.sidebar{width:226px}.main-area{margin-right:226px}.page-content{padding-right:24px;padding-left:24px}.topbar{padding:0 24px}.app-footer{margin:0 24px}.stats-grid{gap:10px}.stat-card{padding:14px}.stat-value{font-size:17px}.dashboard-grid,.dashboard-bottom{grid-template-columns:minmax(0,1.5fr) minmax(230px,.9fr)}}@media(max-width:820px){.sidebar{transform:translate(105%);transition:transform .22s ease;width:270px}.sidebar-open{transform:translate(0)}.main-area{margin-right:0}.mobile-menu{display:grid}.mobile-close{display:grid;color:#9caaae}.sidebar-scrim{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:25;background:#101a1f77;border:0}.topbar{height:58px;padding:0 17px}.breadcrumb{margin-left:auto;margin-right:8px}.topbar-right{gap:11px}.page-content{padding:23px 17px}.app-footer{margin:0 17px}.dashboard-grid,.dashboard-bottom{grid-template-columns:1fr}.quick-panel{display:grid;grid-template-columns:1fr 1fr;column-gap:22px}.quick-panel .panel-heading,.quick-alert{grid-column:1/-1}.quick-panel .panel-heading{margin-bottom:7px}.quick-metric{height:40px}.welcome-panel{min-height:160px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card{min-height:120px}.auth-screen{grid-template-columns:1fr}.auth-art{display:none}.auth-form-side{min-height:100vh}.mobile-brand{display:block;margin-bottom:18px}.mobile-brand .brand{width:max-content;background:#17252d;padding:8px 12px;border-radius:10px}.mobile-brand .brand small{color:#a5b6b9}}@media(max-width:560px){.page-heading{align-items:flex-start;flex-direction:column;gap:13px;margin-bottom:18px}.page-heading h1{font-size:20px}.page-heading .button{min-height:35px}.topbar{padding:0 12px}.topbar-right{gap:8px}.today-label{font-size:0;gap:0}.today-indicator{font-size:initial}.today-label i,.today-label:not(.today-indicator){display:none}.top-avatar{width:28px;height:28px}.page-content{padding:20px 12px}.app-footer{margin:0 12px}.stats-grid{gap:9px}.stat-card{padding:12px;min-height:112px}.stat-icon{width:30px;height:30px;margin-bottom:8px}.stat-title{font-size:9px}.stat-value{font-size:15px}.stat-card small{font-size:8px}.dashboard-toolbar{align-items:flex-start;flex-direction:column}.dashboard-toolbar>.button{align-self:flex-start}.period-chip{max-width:100%;gap:5px}.period-chip input{width:105px;font-size:9px}.panel{padding:14px}.chart-panel{padding:14px 11px}.chart-area{height:200px}.quick-panel{padding:14px;column-gap:12px}.quick-metric,.quick-metric strong{font-size:9px}.dashboard-bottom{gap:10px}.table-toolbar{padding:0 10px;height:53px}.search-box{width:min(230px,72%)}.summary-strip{flex-wrap:wrap}.mini-stat{min-width:calc(50% - 5px);padding:9px 10px;gap:5px}.settings-grid,.cash-cards,.form-grid{grid-template-columns:1fr}.wide-field{grid-column:1}.modal{padding:16px}.modal-backdrop{padding:9px}.line-table-head{display:none}.invoice-line{grid-template-columns:minmax(0,1fr) 72px 80px 72px 27px;gap:5px}.invoice-line select{grid-column:1/-1;grid-row:1}.invoice-line input:nth-of-type(1){grid-column:1;grid-row:2}.invoice-line input:nth-of-type(2){grid-column:2;grid-row:2}.invoice-line input:nth-of-type(3){grid-column:3;grid-row:2}.invoice-line .remove-line{grid-column:4;grid-row:2;width:100%}.invoice-total{flex-wrap:wrap;gap:8px}.invoice-total small{margin-right:0}.auth-form-side{padding:26px 22px}.auth-form h2{font-size:21px}.access-card,.setup-card{padding:22px}}.heading-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.invoice-print-action{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:30px;padding:0 9px;border:1px solid #dce9e5;border-radius:6px;background:#f4faf8;color:#087d69;font-size:9px;white-space:nowrap}.invoice-print-action:hover:not(:disabled){border-color:#9fcfc1;background:#eaf6f2}.invoice-print-action:disabled{opacity:.55;cursor:not-allowed}.invoice-payment-field{display:grid;gap:7px}.invoice-payment-label{font-size:10px;font-weight:600;color:#56656b}.invoice-payment-modes{display:flex;gap:6px;flex-wrap:wrap}.invoice-payment-modes button{min-height:35px;padding:0 14px;border:1px solid #e2e8e9;border-radius:7px;background:#fff;color:#66747a;font-size:10px;transition:.15s}.invoice-payment-modes button:hover{border-color:#b8d9d0;color:#087d69}.invoice-payment-modes button.payment-mode-active{border-color:#0c8c76;background:#eff8f5;color:#087d69;font-weight:600;box-shadow:0 0 0 2px #0c8c7612}.payment-mode-note{grid-column:1/-1;padding:9px 11px;border-radius:7px;background:#f4f8f7;color:#63736f;font-size:9px;line-height:1.8}.dashboard-toolbar{align-items:flex-start}.period-controls{display:grid;gap:8px;min-width:0}.period-chip{height:auto;min-height:43px;gap:14px;padding:7px 11px}.period-chip>strong{color:#43525a;font-size:10px;white-space:nowrap}.period-date{display:flex;align-items:center;gap:7px;color:#79868b;white-space:nowrap}.period-date input{width:136px;height:29px;padding:0 5px;border:1px solid #e4e9ea;border-radius:6px;background:#fff;color:#34444b;font-size:11px;cursor:pointer}.period-date input:focus{outline:2px solid #0c8c7626;border-color:#0c8c76}.period-presets{display:flex;flex-wrap:wrap;gap:5px}.period-presets button{height:28px;padding:0 10px;border:1px solid #e6ebec;border-radius:6px;background:#fff;color:#68767c;font-size:9px;transition:.15s}.period-presets button:hover,.period-presets .period-preset-active{border-color:#b9ded4;background:#eff8f5;color:#087d69}.inline-number{width:112px;height:30px;border:1px solid #e2e8e9;border-radius:6px;padding:0 8px;font:inherit;font-size:10px}.import-intro{display:flex;align-items:center;gap:11px;margin-bottom:14px}.import-intro>div:nth-child(2){flex:1}.import-icon{width:39px;height:39px;border-radius:10px;background:#eaf6f1;color:#0c856c;display:grid;place-items:center}.import-intro strong{font-size:11px;color:#34444b}.import-intro p{font-size:9px;color:#909b9f;margin:3px 0 0}.file-drop{width:100%;min-height:96px;border:1px dashed #b9d2ca;border-radius:9px;background:#f8fbfa;color:#14836b;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px}.file-drop:hover{background:#f2f9f6;border-color:#78b8a7}.file-drop strong{font-size:10px;color:#45625a}.file-drop span{font-size:9px;color:#99a4a6}.import-summary{display:flex;align-items:center;gap:16px;margin:13px 0;font-size:9px;color:#78868a}.import-summary>span{display:flex;align-items:center;gap:5px}.import-summary strong{font-size:10px}.import-valid,.import-row-ok{color:#168263!important}.import-invalid,.import-row-error{color:#bd655a!important}.import-row-error{white-space:normal;display:inline-block;max-width:260px}.import-preview{max-height:300px;overflow:auto;border:1px solid #edf0f1;border-radius:8px}.import-preview table{min-width:720px}.import-preview td{height:auto;min-height:40px;padding:8px 12px;white-space:normal}.preview-note{display:block;color:#929da1;font-size:9px;margin:7px 0}.import-actions{margin-top:14px}.import-help{font-size:9px;color:#929da1;margin:6px 2px 0}.party-picker{display:flex;gap:6px}.party-picker select{flex:1;min-width:0}.add-party-button{width:38px;flex:none;border:1px solid #ead1d3;border-radius:7px;background:#fff7f7;color:#b51f2b;display:grid;place-items:center}.add-party-button:hover{background:#f9e9ea}.party-balance-hint{padding:9px 11px;border-radius:7px;background:#fff8eb;color:#947239;font-size:9px}.quick-party-title{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf0f1;padding-bottom:12px}.quick-party-title strong,.quick-party-title small{display:block}.quick-party-title strong{font-size:12px;color:#34444b}.quick-party-title small{font-size:9px;color:#929da1;margin-top:4px}.party-balance{display:flex;flex-direction:column;gap:3px}.party-balance strong{font-size:9px}.party-balance small{font-size:8px;color:#879298;font-weight:400}.form-hint{font-size:9px;color:#8e999d;background:#f7f9f9;border-radius:7px;padding:9px 11px}.ledger-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 16px}.ledger-total-card,.ledger-balance-card{min-height:82px;padding:14px 16px;display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e9edef;border-radius:10px}.ledger-total-card>div,.ledger-balance-card>div{display:flex;flex-direction:column;gap:4px}.ledger-total-card small,.ledger-balance-card small{font-size:9px;color:#8d989c}.ledger-total-card strong,.ledger-balance-card strong{font-size:16px;color:#28373e}.ledger-total-icon{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;font-size:20px;font-weight:700}.debit-icon{background:#f9eeee;color:#b51f2b}.credit-icon{background:#eef3f6;color:#506d7a}.ledger-balanced .balance-dot{width:9px;height:9px;border-radius:50%;background:#24976d;box-shadow:0 0 0 4px #e8f6ef;margin:0 8px}.ledger-balanced strong{color:#28785e;font-size:12px}.ledger-unbalanced .balance-dot{width:9px;height:9px;border-radius:50%;background:#c78a30;box-shadow:0 0 0 4px #fff5e4;margin:0 8px}.ledger-unbalanced strong{color:#a87326;font-size:12px}.ledger-balance-card em{font-style:normal;font-size:10px;color:#936e33;margin-right:7px}.ledger-panel{padding:0;overflow:hidden}.ledger-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 17px;border-bottom:1px solid #edf0f1}.ledger-toolbar>div:first-child{display:flex;align-items:baseline;gap:9px}.ledger-toolbar h2{margin:0;color:#29383e;font-size:12px}.ledger-toolbar>div:first-child>span{color:#99a3a7;font-size:9px}.ledger-tools{display:flex;align-items:center;gap:16px}.ledger-tools .search-box{width:245px}.zero-toggle{display:flex;align-items:center;gap:6px;color:#69787e;font-size:9px;white-space:nowrap;cursor:pointer}.zero-toggle input{accent-color:#b51f2b;width:14px;height:14px;margin:0}.ledger-panel table{min-width:640px}.ledger-panel th{height:42px}.ledger-panel td{height:46px}.ledger-code{font-family:ui-monospace,Consolas,monospace;font-size:10px;color:#68767c;background:#f5f7f7;border-radius:5px;padding:4px 7px;direction:ltr;display:inline-block}.ledger-account-name{display:flex;align-items:center;gap:8px;color:#48575d}.ledger-account-name strong{font-weight:500}.account-marker{width:6px;height:6px;border-radius:50%;background:#c8d0d3}.ledger-parent .account-marker{width:8px;height:8px;background:#c9797e}.ledger-parent strong{font-weight:600;color:#35444a}.ledger-root{color:#27353b}.ledger-root .account-marker{width:9px;height:9px;border-radius:3px;background:#b51f2b}.ledger-root strong{font-weight:700;color:#25343b}.account-type{font-size:9px;padding:4px 8px;border-radius:20px;background:#f1f4f5;color:#64747a}.account-type-asset{background:#eef5fb;color:#537994}.account-type-liability{background:#fff4e8;color:#a47436}.account-type-equity{background:#f3eff9;color:#8069a6}.account-type-revenue{background:#edf7f2;color:#30836a}.account-type-expense{background:#fbefef;color:#a65d61}.amount-cell{font-size:10px;font-variant-numeric:tabular-nums;direction:rtl;display:inline-block;min-width:100px}.debit-amount{color:#344c58}.credit-amount{color:#5b686e}.ledger-table-footer{display:flex;align-items:center;justify-content:space-between;padding:11px 17px;background:#fafbfb;border-top:1px solid #edf0f1;color:#89959a;font-size:9px}.ledger-footer-balanced{color:#328368;font-size:9px}.ledger-footer-unbalanced{color:#a87326;font-size:9px}@media(max-width:760px){.ledger-summary{grid-template-columns:1fr}.ledger-total-card,.ledger-balance-card{min-height:68px}.ledger-toolbar{align-items:flex-start;flex-direction:column}.ledger-tools{width:100%;justify-content:space-between;gap:9px}.ledger-tools .search-box{width:min(245px,58%)}.ledger-table-footer{padding:10px 12px}}@media(max-width:430px){.ledger-tools{align-items:flex-start;flex-direction:column}.ledger-tools .search-box{width:100%}.ledger-toolbar{padding:13px}.ledger-summary{gap:8px}.ledger-total-card,.ledger-balance-card{padding:11px 13px}}.receipt-backdrop{z-index:80}.receipt-shell{background:#fff;border-radius:12px;width:min(600px,100%);max-height:92vh;overflow:auto;box-shadow:0 24px 80px #07121755}.receipt-toolbar{position:sticky;top:0;background:#fff;border-bottom:1px solid #edf0f1;display:flex;align-items:center;justify-content:space-between;padding:12px 16px;z-index:2}.receipt-toolbar>strong{font-size:11px;color:#28785e}.receipt-toolbar>div{display:flex;align-items:center;gap:6px}.receipt-print-area{background:#fff;color:#222;padding:28px 34px 22px;font-family:IBM Plex Sans Arabic,Tahoma,sans-serif}.receipt-brand{display:flex;align-items:center;gap:10px;position:relative;min-height:90px}.receipt-brand>img{width:82px;height:82px;object-fit:contain}.receipt-brand>div:nth-child(2) strong,.receipt-brand>div:nth-child(2) span,.receipt-brand>div:nth-child(2) small{display:block}.receipt-brand>div:nth-child(2) strong{font-size:18px;color:#b51f2b}.receipt-brand>div:nth-child(2) span{font-size:10px;color:#4a4b4c}.receipt-brand>div:nth-child(2) small{font-size:8px;color:#666;margin-top:3px;letter-spacing:.3px}.receipt-type{margin-right:auto;align-self:flex-start;padding:6px 10px;background:#fcf1f2;border-radius:6px;color:#ad202a;font-size:10px;font-weight:700}.receipt-divider{height:2px;background:#b51f2b;margin:9px 0 14px}.receipt-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 14px;padding-bottom:15px}.receipt-meta>div{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #f0f0f0;padding-bottom:5px}.receipt-meta span{font-size:9px;color:#888}.receipt-meta strong{font-size:10px;color:#333;text-align:left}.receipt-table{min-width:0!important;border:1px solid #e9e9e9;border-radius:7px;overflow:hidden}.receipt-table th{height:33px;padding:0 8px;background:#f8f8f8;color:#666;font-size:9px}.receipt-table td{height:38px;padding:5px 8px;color:#333;font-size:9px;white-space:normal}.receipt-table td strong,.receipt-table td small{display:block}.receipt-table td small{font-size:8px;color:#929292;margin-top:2px}.receipt-totals{width:min(290px,100%);margin:14px 0 0 auto}.receipt-totals>div{display:flex;align-items:center;justify-content:space-between;padding:5px 0;color:#666;font-size:9px}.receipt-totals strong{font-size:10px;color:#333}.receipt-totals .receipt-grand{margin-top:4px;border-top:1px solid #e5d3d4;border-bottom:1px solid #e5d3d4;padding:8px 0;color:#a52029;font-weight:700}.receipt-totals .receipt-grand strong{font-size:14px;color:#a52029}.receipt-totals .receipt-due,.receipt-totals .receipt-due strong{color:#a52029}.receipt-notes{padding:8px 10px;background:#f8f8f8;border-radius:5px;font-size:9px;color:#555}.receipt-footer{display:flex;justify-content:space-between;border-top:1px dashed #d5d5d5;margin-top:19px;padding-top:9px;color:#777;font-size:9px}.receipt-actions{display:flex;justify-content:flex-start;gap:8px;padding:12px 16px;border-top:1px solid #edf0f1;background:#fff}@media print{body *{visibility:hidden!important}.receipt-print-area,.receipt-print-area *{visibility:visible!important}.receipt-print-area{position:fixed!important;left:0!important;top:0!important;width:100%!important;margin:0!important;padding:12mm!important;background:#fff!important;box-shadow:none!important}.receipt-backdrop,.receipt-shell{position:static!important;display:block!important;width:100%!important;max-width:none!important;max-height:none!important;padding:0!important;margin:0!important;overflow:visible!important;background:#fff!important;box-shadow:none!important}.receipt-toolbar,.receipt-actions{display:none!important}.receipt-table tr{break-inside:avoid}.receipt-print-area{font-size:10pt!important}}@media(max-width:560px){.receipt-print-area{padding:18px 15px}.receipt-brand>img{width:64px;height:64px}.receipt-brand{min-height:68px}.receipt-meta{gap:7px}.receipt-meta>div{align-items:flex-start;flex-direction:column;gap:2px}}@media(max-width:560px){.heading-actions{width:100%}.heading-actions .button{flex:1;font-size:9px;padding:0 8px}}@media(max-width:560px){.import-intro{align-items:flex-start;flex-wrap:wrap}.import-intro .button{margin-right:auto}.import-summary{gap:8px;flex-wrap:wrap}}:root{--green:#b51f2b;--green-dark:#961923}.brand-mark{background:#fff!important;border:1px solid #f1e4e4;box-shadow:0 5px 16px #83151d18!important;overflow:hidden}.brand-mark img{width:100%;height:100%;object-fit:contain;display:block}.auth-art .brand-mark{width:72px;height:72px;padding:2px;border-radius:50%;background:#fff!important}.auth-art .brand{gap:14px}.sidebar{background:#222629}.nav-active,.nav-active:hover{background:#b51f2b;box-shadow:0 5px 16px #b51f2b32}.nav-dot{background:#ffb7b8}.brand-mark{color:#b51f2b}.button-primary{background:#b51f2b;box-shadow:0 4px 11px #b51f2b26}.button-primary:hover{background:#961923}.stat-green,.stat-icon.stat-green{background:#f9ecec;color:#b51f2b}.soft-icon{background:#f8eeee;color:#b51f2b}.chart-legend i{background:#b51f2b}.chart-area .recharts-area-area{fill:#b51f2b!important}.chart-area .recharts-area-curve{stroke:#b51f2b!important}.import-icon,.settings-tile-icon,.welcome-badge{background:#f9ecec;color:#b51f2b}.file-drop{border-color:#e5bfc2;background:snow;color:#b51f2b}.file-drop:hover{background:#fff4f4;border-color:#cb858a}.add-line{color:#b51f2b}.invoice-total{background:#fff7f7;border-color:#f1dfdf}.invoice-total strong{color:#aa1d28}.field input:focus,.field select:focus,.invoice-line input:focus,.invoice-line select:focus{border-color:#cc858a;box-shadow:0 0 0 3px #b51f2b12}.settings-tile:hover{border-color:#e3b8bb}.status-active{background:#edf7f2;color:#208569}.auth-art:before{border-color:#ffffff12}.auth-message h1 em,.auth-art .eyebrow{color:#f08b91}.auth-art-stat svg{color:#f08b91}.setup-icon,.access-icon{background:#f9ecec;color:#b51f2b}.report-print-heading,.report-print-footer{display:none}.report-controls{display:grid;gap:12px;margin-bottom:16px}.report-tabs{display:flex;gap:7px;overflow-x:auto;padding:3px 1px}.report-tabs button{flex:none;border:1px solid #e3e9e9;border-radius:8px;background:#fff;color:#68767b;padding:9px 14px;font-size:11px}.report-tabs .report-tab-active{background:#eaf5f1;border-color:#b8ded2;color:#087d69;font-weight:700}.report-warehouse{display:flex;align-items:center;gap:9px;font-size:10px;color:#66767c}.report-warehouse select{height:36px;min-width:150px;border:1px solid #e2e8e9;border-radius:7px;background:#fff;padding:0 10px;color:#35444a}.report-table-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px}.report-table-heading h2{font-size:13px;color:#2d3c42;margin:0 0 4px}.report-table-heading p{font-size:10px;color:#879398;margin:0}@media print{@page{size:A4 portrait;margin:13mm}body *{visibility:hidden!important}.report-print-root,.report-print-root *{visibility:visible!important}.report-print-root{position:absolute!important;inset:0 auto auto 0!important;width:100%!important;max-width:none!important;padding:0!important;margin:0!important;color:#202b35!important;background:#fff!important}.report-print-heading{display:flex!important;visibility:visible!important;align-items:center;gap:20px;padding:0 0 12px;margin-bottom:16px;border-bottom:2px solid #b51f2b}.report-print-heading .brand{color:#202b35!important}.report-print-heading .brand small{color:#667!important}.report-print-heading .brand-mark{print-color-adjust:exact;-webkit-print-color-adjust:exact}.report-print-heading h1{font-size:19pt;margin:0 0 4px}.report-print-heading p{font-size:9pt;color:#59656a;margin:0}.report-print-root>.page-heading,.report-controls,.report-print-footer{display:none!important}.report-table{border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;overflow:visible!important}.report-table-heading{margin-bottom:9px}.report-table-heading h2{font-size:12pt}.report-table-heading p,.report-table-heading .result-count{font-size:8pt}.data-table-wrap,.table-wrap{overflow:visible!important;max-height:none!important}table{width:100%!important;border-collapse:collapse!important;font-size:8.5pt!important}thead{display:table-header-group!important}tr{break-inside:avoid!important;page-break-inside:avoid!important}th,td{padding:7px 6px!important;border:1px solid #d9dfdf!important;color:#202b35!important;background:#fff!important}th{background:#f0f4f3!important;font-weight:700!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}.report-print-footer{display:block!important;position:fixed;bottom:-7mm;left:0;right:0;text-align:center;color:#879398;font-size:8pt}}@media(max-width:560px){.report-warehouse{width:100%;justify-content:space-between}.report-warehouse select{flex:1}.report-table-heading{gap:8px}.report-tabs button{padding:9px 11px;white-space:nowrap}}.auth-mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:4px;background:#f3f6f6;border-radius:9px;margin-bottom:2px}.auth-mode-tabs button{height:36px;border:0;border-radius:7px;background:transparent;color:#718087;font-size:10px}.auth-mode-tabs button.auth-mode-active{background:#fff;color:#087d69;font-weight:700;box-shadow:0 1px 4px #17252d12}.auth-notice{font-size:10px;line-height:1.8;margin:0}.pending-role{display:inline-flex;padding:5px 9px;border-radius:20px;background:#fff6e7;color:#9a762f;font-size:9px}.owner-label{font-size:10px;color:#087d69;font-weight:700}.auth-forgot-link{align-self:center;border:0;background:transparent;color:#087d69;font-size:10px;padding:2px 8px}.auth-forgot-link:hover{text-decoration:underline}.show-inactive-toggle{display:flex;align-items:center;gap:6px;color:#7b878c;font-size:9px;white-space:nowrap}.show-inactive-toggle input{accent-color:#b51f2b}.product-row-actions{display:flex;align-items:center;gap:5px;white-space:nowrap}.product-row-actions button{width:30px;height:30px;border:1px solid #e7ecec;border-radius:7px;background:#fff;color:#63747a;display:grid;place-items:center}.product-row-actions button:hover{background:#f2f7f5;color:#087d69;border-color:#cce4dc}.product-row-actions .product-delete-action{color:#b94e50}.product-row-actions .product-delete-action:hover{background:#fff2f1;color:#b43c42;border-color:#f0d0ce}.product-row-actions .product-restore-action{color:#218463}.product-action-message{margin:0 15px 12px;padding:9px 12px;border-radius:7px;background:#f0f8f4;color:#287b5f;font-size:10px}@media(max-width:560px){.table-toolbar .show-inactive-toggle{white-space:normal;max-width:130px}.product-row-actions button{width:32px;height:32px}}.hr-tabs{display:flex;gap:6px;overflow-x:auto;padding:2px 0 11px;margin-bottom:12px;border-bottom:1px solid #e7ecec}.hr-tabs button{flex:none;border:1px solid transparent;background:transparent;color:#738087;border-radius:8px;padding:9px 13px;font-size:10px;white-space:nowrap}.hr-tabs button.hr-tab-active{background:#edf7f3;border-color:#d6ebe3;color:#087d69;font-weight:700}.hr-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}.hr-toolbar p{margin:0;color:#7e8a8f;font-size:10px;line-height:1.8}.hr-toolbar>.button{flex:none}.hr-subline{display:block;margin-top:3px;color:#929da1;font-size:9px}.payroll-toolbar{align-items:flex-end}.payroll-period{display:flex;gap:10px;margin-top:9px}.payroll-period label{display:flex;flex-direction:column;gap:5px;font-size:9px;color:#79868b}.payroll-period input,.payroll-period select{height:35px;border:1px solid #e2e8e9;border-radius:7px;padding:0 9px;background:#fff;color:#36464c;font:inherit;font-size:10px}.payroll-history{margin-top:14px}.status-pending{color:#9a762f;background:#fff6e7}.hr-toolbar .button{min-height:38px}@media(max-width:560px){.hr-toolbar{align-items:flex-start;flex-direction:column}.payroll-toolbar{align-items:stretch}.payroll-toolbar>.button{width:100%}.payroll-period{width:100%;flex-wrap:wrap}.payroll-period label{flex:1;min-width:130px}.hr-tabs button{padding-inline:10px}}.install-app-wrap{position:relative;display:inline-flex;align-items:center;flex:none}.install-app-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:0 11px;border:1px solid #efd5d7;border-radius:8px;background:#fff;color:#a91e2a;font-size:10px;font-weight:700;white-space:nowrap}.install-app-button:hover{background:#fff6f6;border-color:#d99499}.install-app-help{position:absolute;z-index:60;top:calc(100% + 9px);right:0;width:min(290px,calc(100vw - 34px));padding:15px 16px 12px;border:1px solid #e8eded;border-radius:11px;background:#fff;box-shadow:0 12px 34px #1c30391c;color:#33424a;text-align:right}.install-app-help strong{display:block;padding-left:20px;font-size:12px}.install-app-help p{margin:9px 0 0;color:#718087;font-size:10px;line-height:1.8}.install-help-close{position:absolute;left:8px;top:8px;width:25px;height:25px;display:grid;place-items:center;border:0;border-radius:6px;background:transparent;color:#7d898e}.auth-form>.install-app-wrap{align-self:flex-start;margin-top:-5px;margin-bottom:-2px}.auth-form .install-app-button{min-height:35px}@media(max-width:560px){.topbar .install-app-button{width:35px;padding:0;font-size:0;gap:0}.topbar .install-app-button svg{width:16px;height:16px}.topbar .install-app-help{right:auto;left:0}}@media(max-width:640px){html,body,#root{min-height:100%;max-width:100%;overflow-x:hidden}.topbar{height:56px;padding-inline:9px;gap:7px}.breadcrumb{font-size:10px;gap:7px;margin-inline:5px auto;min-width:0}.breadcrumb>span:first-child{max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.today-label{display:none!important}.topbar-right{margin-inline-start:auto}.mobile-menu,.mobile-close{width:40px;height:40px}.page-content{padding:16px 12px 26px}.page-heading{gap:10px;margin-bottom:16px}.page-heading h1{font-size:19px;line-height:1.45}.page-heading p{font-size:10px;line-height:1.7}.heading-actions{width:100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:7px}.button{min-height:44px;padding-inline:12px;font-size:10px}.icon-button{min-width:40px;min-height:40px}.panel{border-radius:9px}.panel-heading{align-items:flex-start}.stats-grid{gap:8px}.stat-card{min-height:108px;padding:11px;border-radius:9px}.stat-value{font-size:14px;line-height:1.5}.stat-title{font-size:9px}.dashboard-toolbar{width:100%;gap:8px}.period-chip{width:100%;justify-content:space-around;padding-inline:7px}.period-chip input{width:clamp(82px,27vw,115px);font-size:9px}.period-controls{width:100%}.period-chip{display:grid;grid-template-columns:1fr 1fr;justify-content:initial;gap:8px;padding:10px}.period-chip>strong{grid-column:1/-1}.period-date{display:grid;gap:4px;font-size:9px}.period-date input{width:100%;min-width:0;height:38px;padding:0 5px;font-size:11px}.period-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.period-presets button{height:35px;padding-inline:5px;font-size:9px}.dashboard-toolbar>.button{width:100%;align-self:stretch}.quick-panel{column-gap:10px}.quick-metric{min-height:42px;height:auto;gap:6px}.quick-metric span,.quick-metric strong{font-size:9px}.table-toolbar{height:auto;min-height:54px;padding:8px 10px;gap:8px}.search-box{height:40px;min-width:0}.result-count{white-space:nowrap}.table-wrap{max-width:100%;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.table-wrap table{min-width:590px}.table-wrap th{height:40px}.table-wrap td{height:46px}.summary-strip{gap:7px}.mini-stat{min-width:calc(50% - 4px);flex:1}.modal-backdrop{align-items:flex-end;padding:0}.modal,.modal-wide{width:100%;max-width:none;max-height:92dvh;border-radius:16px 16px 0 0;padding:14px 15px calc(15px + env(safe-area-inset-bottom))}.modal-head{position:sticky;top:-14px;z-index:3;background:#fff;padding:7px 0 10px;margin:-7px 0 12px;border-bottom:1px solid #f0f2f2}.modal-head h2{font-size:14px}.form-grid{gap:11px}.field{gap:5px}.field input,.field select{height:44px;font-size:12px}.modal-actions{position:sticky;bottom:-15px;z-index:2;background:#fff;padding:10px 0 1px;margin-top:5px}.modal-actions .button{min-width:105px}.line-table-head{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:0 0 7px;font-size:8px}.line-table-head span:first-child{display:none}.invoice-line{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:11px}.invoice-payment-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.invoice-payment-modes button{min-height:42px;padding-inline:5px;font-size:9px}.invoice-line select{grid-column:1/-1;grid-row:1;height:42px}.invoice-line input:nth-of-type(1){grid-column:1;grid-row:2}.invoice-line input:nth-of-type(2){grid-column:2;grid-row:2}.invoice-line input:nth-of-type(3){grid-column:3;grid-row:2}.invoice-line .remove-line{grid-column:4;grid-row:2;width:100%;height:36px}.invoice-line input{height:36px;text-align:center;padding-inline:4px;font-size:11px}.file-drop{min-height:108px;padding:13px}.import-preview{max-height:34dvh}.import-preview table{min-width:720px}.receipt-backdrop{align-items:flex-end}.receipt-shell{width:100%;max-height:94dvh;border-radius:15px 15px 0 0}.receipt-toolbar{padding:9px 11px}.receipt-toolbar .button{min-height:40px}.receipt-print-area{padding:16px 13px}.receipt-meta{grid-template-columns:1fr 1fr}.receipt-table{min-width:0!important;width:100%}.receipt-table th,.receipt-table td{padding-inline:4px;font-size:8px}.receipt-totals{width:100%}.receipt-actions{position:sticky;bottom:0;padding:9px 11px calc(9px + env(safe-area-inset-bottom))}.receipt-actions .button{flex:1}.ledger-summary{gap:8px}.ledger-tools{align-items:stretch}.ledger-tools .search-box{width:100%}.ledger-tools .zero-toggle{min-height:38px}.ledger-table-footer{gap:8px;flex-wrap:wrap}.settings-tile{min-height:66px}.cash-card{min-height:136px}.app-footer{height:auto;min-height:42px;gap:8px;font-size:8px}}@media(max-width:380px){.page-content{padding-inline:9px}.stats-grid{gap:6px}.stat-card{padding:9px}.stat-value{font-size:12px}.quick-panel{column-gap:7px;padding:11px}.period-chip input{width:77px}.modal,.modal-wide{padding-inline:12px}.invoice-line{gap:4px}.invoice-line input{font-size:10px}.receipt-print-area{padding-inline:9px}.receipt-brand>img{width:56px;height:56px}.receipt-type{font-size:8px;padding:5px 7px}}
