@font-face{font-family:Tajawal;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/tajawal-arabic-400-normal-CyCXRvzh.woff2) format("woff2"),url(/assets/tajawal-arabic-400-normal-DCQxawbB.woff) format("woff");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}@font-face{font-family:Tajawal;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/tajawal-latin-400-normal-BVNSOH3d.woff2) format("woff2"),url(/assets/tajawal-latin-400-normal-BdYcZznU.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Tajawal;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/tajawal-arabic-500-normal-BZ8ojJNu.woff2) format("woff2"),url(/assets/tajawal-arabic-500-normal-CbVEaYEW.woff) format("woff");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}@font-face{font-family:Tajawal;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/tajawal-latin-500-normal-CoYeBiSI.woff2) format("woff2"),url(/assets/tajawal-latin-500-normal-DU9v6xgj.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Tajawal;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/tajawal-arabic-700-normal-D2-eand5.woff2) format("woff2"),url(/assets/tajawal-arabic-700-normal-9L7Zusdl.woff) format("woff");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}@font-face{font-family:Tajawal;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/tajawal-latin-700-normal-BypgxfGb.woff2) format("woff2"),url(/assets/tajawal-latin-700-normal-CV3bxpHe.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Tajawal;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/tajawal-arabic-800-normal-TQp-UTiE.woff2) format("woff2"),url(/assets/tajawal-arabic-800-normal-Bp_4IW2m.woff) format("woff");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}@font-face{font-family:Tajawal;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/tajawal-latin-800-normal-CmI34b-g.woff2) format("woff2"),url(/assets/tajawal-latin-800-normal-Dm5jVIIh.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{font-family:Tajawal,system-ui,sans-serif;color:#111;background:#fff;font-synthesis:none;--yellow: #fcd511;--yellow-deep: #f2c400;--black: #0e0f0f;--ink: #151515;--muted: #919191;--line: #e7e7e7;--green: #12b75b;--red: #ff3131}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;min-height:100vh;overflow-x:hidden;background:#fff;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button{border:0;cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(252,213,17,.42);outline-offset:2px}.app-shell{min-height:100vh;padding-bottom:88px;background:#fff}.topbar{position:sticky;top:0;z-index:30;height:84px;display:grid;grid-template-columns:minmax(190px,1fr) auto minmax(360px,1fr);align-items:center;gap:36px;padding:0 30px;color:#fff;background:var(--black);box-shadow:0 1px #ffffff0d}.brand-button{justify-self:start;width:175px;height:52px;padding:6px 0;background:transparent}.brand-button img{display:block;width:100%;height:100%;object-fit:contain}.main-nav{align-self:stretch;display:flex;align-items:stretch;justify-content:center;gap:28px}.main-nav button{white-space:nowrap;position:relative;padding:3px 2px 0;color:#f0f0f0;background:transparent;font-size:16px;font-weight:600;transition:color .16s ease}.main-nav button:hover,.main-nav button.active{color:var(--yellow)}.main-nav button.active:after{content:"";position:absolute;right:50%;bottom:10px;width:30px;height:3px;border-radius:99px;background:var(--yellow);transform:translate(50%)}.header-tools{justify-self:end;display:flex;align-items:center;gap:14px;min-width:0}.popover-control{position:relative}.header-tools>.popover-control{display:flex;align-items:center}.month-button,.icon-button,.account-button{color:#f7f7f7;background:transparent}.month-button{display:flex;align-items:center;gap:9px;padding:10px 8px;white-space:nowrap}.icon-button{position:relative;display:grid;place-items:center;width:40px;height:40px;border-inline:1px solid #303030}.icon-button i{position:absolute;top:8px;left:8px;width:7px;height:7px;border-radius:50%;background:var(--yellow)}.account-button{display:flex;align-items:center;gap:10px;padding:6px 0;white-space:nowrap}.popover-menu{position:absolute;top:calc(100% + 12px);inset-inline-start:0;z-index:90;width:235px;padding:9px;border:1px solid #e2e2e2;border-radius:12px;color:#171717;background:#fff;box-shadow:0 18px 45px #0000002e;animation:popover-in .15s ease-out}.period-menu{width:280px;direction:rtl}@keyframes popover-in{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.period-menu>strong{display:block;padding:8px 10px 7px;color:#777;font-size:12px;text-align:right}.period-menu button,.account-menu>button{width:100%;min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:9px;padding:8px 10px;border-radius:8px;color:#333;background:transparent;text-align:right}.period-menu button:hover,.period-menu button.selected,.account-menu>button:hover{color:#111;background:#fff8cf}.period-menu button.selected{font-weight:700}.period-menu>button{min-height:38px}.notifications-menu{width:310px;padding:0;overflow:hidden}.popover-heading{min-height:54px;display:flex;align-items:center;justify-content:space-between;padding:0 15px;border-bottom:1px solid var(--line)}.popover-heading span{padding:3px 8px;border-radius:12px;color:#665400;background:#fff5ba;font-size:11px;font-weight:700}.popover-empty{min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:20px;color:#999;text-align:center}.popover-empty strong{color:#222}.popover-empty span{font-size:12px;line-height:1.5}.account-menu{width:260px}.account-menu__identity{display:flex;align-items:center;gap:10px;margin-bottom:6px;padding:8px 8px 12px;border-bottom:1px solid var(--line)}.account-menu__identity div{display:flex;flex-direction:column}.account-menu__identity small{color:#888}.account-menu>button{justify-content:flex-start}.database-status{display:flex;align-items:center;gap:7px;margin-top:6px;padding:10px;border-top:1px solid var(--line);color:#6f6f6f;font-size:12px}.database-status i{width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 0 3px #12b75b1f}.avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;color:#151515;background:var(--yellow);font-weight:800}main{width:min(100% - 60px,1380px);margin:0 auto}.summary-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:30px;padding:32px 0 28px;scroll-margin-top:100px}.summary-card{min-height:158px;display:flex;align-items:center;justify-content:space-between;gap:22px;padding:26px 30px;border-radius:13px;overflow:hidden}.summary-card p{margin:0 0 8px;font-size:16px;font-weight:600}.summary-card strong{display:block;margin-bottom:7px;font-size:clamp(26px,2.5vw,38px);line-height:1;direction:ltr;text-align:right;white-space:nowrap}.summary-card strong span{font-size:.72em}.summary-card small{color:#686868;font-size:13px}.summary-card__icon{flex:0 0 auto;display:grid;place-items:center;width:58px;height:58px;border:2px solid currentColor;border-radius:50%}.summary-card--balance{color:#111;background:#fff9dc}.summary-card--balance .summary-card__icon{color:var(--yellow-deep);border-radius:16px}.summary-card--income{color:var(--green);background:#f2faf6}.summary-card--income p,.summary-card--income small,.summary-card--expense p,.summary-card--expense small{color:#202020}.summary-card--expense{color:var(--red);background:#fff4f4}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 255px;gap:26px;align-items:start}.workspace-container{min-height:490px;scroll-margin-top:104px}.workspace-view{animation:workspace-in .18s ease-out}@keyframes workspace-in{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.workspace-panel{min-height:490px;overflow:hidden;border:1px solid #dedede;border-radius:12px;background:#fff}.workspace-heading{min-height:104px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 26px;border-bottom:1px solid var(--line)}.workspace-heading h1{margin:3px 0 5px;font-size:26px}.workspace-heading p{margin:0;color:#777}.workspace-kicker{color:#8a7200;font-size:12px;font-weight:700}.workspace-primary,.workspace-empty button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 17px;border-radius:9px;color:#111;background:var(--yellow);font-weight:800;white-space:nowrap}.category-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;padding:22px}.category-detail-card{min-height:180px;display:flex;flex-direction:column;align-items:stretch;padding:19px;border:1px solid #e3e3e3;border-radius:12px;color:#171717;background:#fff;text-align:right;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.category-detail-card:hover{border-color:#cfcfcf;box-shadow:0 10px 26px #00000012;transform:translateY(-2px)}.category-detail-card__top{display:flex;align-items:center;gap:8px}.category-detail-card__top i{width:9px;height:9px;border-radius:50%}.category-detail-card__top strong{flex:1}.category-detail-card>b{margin:23px 0 18px;font-size:26px;direction:ltr;text-align:right}.category-detail-card>b small{font-size:14px}.category-detail-card__stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:auto}.category-detail-card__stats>span{display:flex;flex-direction:column;gap:2px;color:#888;font-size:11px}.category-detail-card__stats em{color:#333;font-style:normal;font-weight:700}.workspace-empty{min-height:380px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;text-align:center}.workspace-empty__icon{width:62px;height:62px;display:grid;place-items:center;border-radius:18px;color:#796600;background:#fff7c8}.workspace-empty h2{margin:17px 0 7px;font-size:21px}.workspace-empty p{margin:0 0 20px;color:#888}.report-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding:22px 22px 0}.report-metrics article{min-height:118px;display:flex;flex-direction:column;justify-content:space-between;padding:18px;border:1px solid #e4e4e4;border-radius:11px;background:#fafafa}.report-metrics article>span{display:flex;align-items:center;gap:7px;color:#707070;font-size:13px}.report-metrics strong{font-size:27px;direction:ltr;text-align:right}.report-metrics small{font-size:13px}.report-breakdown{margin:18px 22px 24px;padding:21px;border:1px solid #e4e4e4;border-radius:11px}.report-breakdown__title{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:18px;border-bottom:1px solid var(--line)}.report-breakdown__title h2{margin:0 0 5px;font-size:18px}.report-breakdown__title p{margin:0;color:#888;font-size:12px}.report-breakdown__title>strong{direction:ltr;white-space:nowrap}.report-bars{display:flex;flex-direction:column;gap:16px;padding-top:19px}.report-bar{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(180px,1.5fr) 45px;align-items:center;gap:14px}.report-bar__label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}.report-bar__label b{display:flex;align-items:center;gap:7px}.report-bar__label b i{width:8px;height:8px;border-radius:50%}.report-bar__label em{color:#666;direction:ltr;font-style:normal;white-space:nowrap}.report-bar__track{height:9px;overflow:hidden;border-radius:8px;background:#ededed}.report-bar__track i{display:block;height:100%;border-radius:inherit}.report-bar>small{color:#666;text-align:left}.ledger-panel,.categories-panel{border:1px solid #dedede;border-radius:12px;background:#fff;scroll-margin-top:104px}.ledger-panel{min-width:0;overflow:hidden}.ledger-toolbar{min-height:92px;display:grid;grid-template-columns:auto minmax(330px,1fr) auto 225px;align-items:center;gap:12px;padding:17px 20px}.ledger-toolbar h1{margin:0;font-size:23px;font-weight:800;white-space:nowrap}.filter-chips,.expanded-filters{display:flex;align-items:center;gap:8px}.filter-chips{min-width:0;overflow-x:auto;padding:3px;scrollbar-width:none}.filter-chips::-webkit-scrollbar{display:none}.filter-chips button,.expanded-filters button,.date-filter{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:8px 14px;border:1px solid #e4e4e4;border-radius:22px;color:#555;background:#fff;white-space:nowrap;transition:.15s ease}.filter-chips button:hover,.expanded-filters button:hover,.date-filter:hover{border-color:#c7c7c7;color:#111}.filter-chips button.active,.expanded-filters button.active{color:#fff;border-color:#111;background:#111}.filter-chips button.active-soft{color:#111;border-color:var(--yellow);background:#fffbea}.date-filter{border-radius:8px}.ledger-period-control .date-filter{width:100%}.ledger-period-control .popover-menu{top:calc(100% + 7px);inset-inline-start:0;inset-inline-end:auto}.search-box{height:44px;display:flex;align-items:center;gap:8px;padding:0 13px;border:1px solid #dedede;border-radius:8px;color:#777;background:#fff}.search-box:focus-within{border-color:var(--yellow-deep);box-shadow:0 0 0 3px #fcd51129}.search-box input{width:100%;min-width:0;border:0;outline:0;color:#151515;background:transparent}.expanded-filters{padding:0 20px 16px;flex-wrap:wrap}.transaction-table{border-top:1px solid var(--line)}.load-more{width:calc(100% - 32px);min-height:46px;margin:14px 16px 18px;border:1px solid #d9d9d9;border-radius:10px;color:#222;background:#fafafa;font-weight:700}.load-more:hover{border-color:#aaa;background:#f4f4f4}.load-more span{color:#666;font-weight:500}.transaction-description{min-width:0}.transaction-description small{display:block;margin-top:3px;overflow:hidden;color:#666;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.form-field textarea{width:100%;min-height:82px;resize:vertical;padding:12px 14px;border:1px solid #dcdcdc;border-radius:9px;color:#1c1c1c;background:#fff;font:inherit;line-height:1.55}.form-field textarea:focus{border-color:#ad9000;outline:3px solid rgba(255,215,0,.2)}.optional-details{margin:-2px 0 17px;padding:0 2px}.optional-details summary{width:fit-content;cursor:pointer;color:#555;font-size:13px;font-weight:700}.optional-details[open] summary{margin-bottom:10px}.optional-details .form-field{margin-bottom:0}.category-budget{display:flex;justify-content:space-between;gap:12px;margin-top:14px;padding-top:12px;border-top:1px solid #ececec;color:#666;font-size:13px}.category-budget bdi{color:#222;font-weight:700}.transaction-head,.transaction-row{display:grid;grid-template-columns:135px minmax(170px,1.6fr) minmax(105px,.8fr) minmax(120px,1fr) minmax(135px,1fr) 76px;align-items:center;column-gap:12px;padding:0 20px}.transaction-head{height:46px;color:#777;font-size:13px;font-weight:500}.transaction-row{min-height:65px;border-top:1px solid #ececec;font-size:14px;transition:background .14s ease}.transaction-row:hover{background:#fffdf3}.transaction-date{display:flex;flex-direction:column;gap:3px;color:#777}.transaction-date strong{color:#666;font-weight:500}.transaction-date span{font-size:12px}.transaction-description{color:#3e3e3e;font-weight:500}.transaction-account{color:#777}.transaction-amount{direction:ltr;text-align:left;font-size:15px;font-weight:700;white-space:nowrap}.transaction-amount.is-income{color:var(--green)}.transaction-amount.is-expense{color:var(--red)}.transaction-amount.is-transfer{color:#2365a7}.transaction-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px}.transaction-actions button,.card-actions button{min-width:34px;min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:5px;border-radius:7px;color:#424242;background:#f2f2f2}.transaction-actions button:hover,.card-actions button:hover{color:#111;background:#e8e8e8}.transaction-actions button.danger,.card-actions button.danger{color:#a51f1f;background:#fff0f0}.tag-transfer{color:#175b94;background:#eaf4ff}.ledger-title-row{display:flex;align-items:center;gap:9px}.inline-add{display:none}.tag{display:inline-block;padding:5px 9px;border-radius:6px;font-size:12px;font-weight:600;white-space:nowrap}.tag-income{color:#0c9c4a;background:#ecf9f2}.tag-ads{color:#ff3131;background:#fff0f0}.tag-shipping{color:#d76d00;background:#fff3e6}.tag-gateways{color:#7c32db;background:#f5edff}.tag-tools{color:#2677d8;background:#edf5ff}.tag-returns{color:#0f9d96;background:#eafaf9}.tag-misc{color:#777;background:#f1f1f1}.tag-custom{color:#786100;background:#fff8cf}.tag-dynamic{color:var(--tag-color);background:color-mix(in srgb,var(--tag-color) 10%,white)}.categories-panel{overflow:hidden}.categories-title{height:73px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;border-bottom:1px solid var(--line)}.categories-title h2{margin:0;font-size:21px}.categories-title span{display:none}.categories-list button{width:100%;min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 20px;border-bottom:1px solid var(--line);color:#151515;text-align:right;background:#fff;transition:background .14s ease}.categories-list button:hover,.categories-list button.selected{background:#fffbed}.category-copy{display:flex;flex-direction:column;gap:7px}.category-copy strong{display:flex;align-items:center;gap:7px;font-size:14px}.category-copy i{width:8px;height:8px;border-radius:50%}.category-copy small{color:#222;direction:ltr;text-align:right}.categories-list button>b{font-size:14px}.all-categories{width:calc(100% - 20px);height:44px;display:flex;align-items:center;justify-content:space-between;margin:10px;padding:0 17px;border-radius:8px;color:#171717;background:#f3f3f3;font-weight:600}.custom-period{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;margin-top:7px;padding:12px 0 0;border-top:1px solid var(--line);direction:rtl}.custom-period>span{grid-column:1 / -1;color:#333;font-size:12px;font-weight:700}.custom-period label{min-width:0;display:flex;flex-direction:column;gap:4px;color:#555;font-size:11px;text-align:right}.custom-period input{width:100%;min-width:0;height:36px;padding:0 8px;border:1px solid #d4d4d4;border-radius:7px;color:#222;background:#fff;direction:ltr;font-size:11px;text-align:left}.custom-period .apply-period{grid-column:1 / -1;width:100%;min-height:38px;justify-content:center;color:#111;background:var(--yellow);font-weight:800;text-align:center}.custom-period .apply-period:disabled{cursor:not-allowed;opacity:.5}.notification-list{max-height:310px;overflow-y:auto;padding:7px}.notification-list button{width:100%;display:flex;align-items:flex-start;gap:9px;padding:11px;border-radius:8px;color:#765d00;background:#fff9dc;text-align:right}.notification-list button+button{margin-top:6px}.notification-list button>span{display:flex;flex-direction:column;gap:3px}.notification-list strong{color:#222}.notification-list small{color:#5f5f5f;line-height:1.5}.notifications-menu,.account-menu{right:auto;left:0}.database-status.is-disconnected{color:#9f2020}.database-status.is-disconnected i{background:var(--red);box-shadow:0 0 0 3px #ff31311f}.category-detail-card{padding:0;overflow:hidden}.category-card-open{flex:1;width:100%;display:flex;flex-direction:column;align-items:stretch;padding:19px;color:#171717;background:#fff;text-align:right}.category-card-open>b{margin:23px 0 18px;font-size:26px;direction:ltr;text-align:right}.category-card-open>b small{font-size:14px}.category-detail-card__top small{margin-inline-start:auto;padding:3px 7px;border-radius:10px;color:#555;background:#f3f3f3;font-size:10px}.category-detail-card.is-archived,.account-card.is-archived{opacity:.65}.card-actions{display:flex;justify-content:flex-end;gap:7px;padding:10px 13px;border-top:1px solid var(--line);background:#fafafa}.card-actions button{padding:5px 10px;font-size:12px}.report-group{padding:19px 0 3px}.report-group+.report-group{margin-top:16px;border-top:1px solid var(--line)}.report-group__title{display:flex;justify-content:space-between;align-items:center;gap:14px}.report-group__title h3{margin:0;font-size:15px}.report-group__title strong{direction:ltr;font-size:14px}.metric-expense{border-color:#ffd0d0!important;background:#fff8f8!important}.metric-income{border-color:#cdebdc!important;background:#f7fcf9!important}.categories-empty{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:24px;color:#999;text-align:center}.categories-empty strong{color:#222}.categories-empty span{font-size:13px}.empty-state{min-height:350px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#999}.empty-state strong{color:#222}.empty-state span{text-align:center}.loading-spinner{width:27px;height:27px;border:3px solid #ededed;border-top-color:var(--yellow-deep);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error-banner{min-height:52px;display:flex;align-items:center;gap:10px;margin-bottom:18px;padding:10px 14px;border:1px solid #ffcaca;border-radius:10px;color:#8e1515;background:#fff5f5}.error-banner span{flex:1}.error-banner button{padding:7px 12px;border-radius:7px;color:#fff;background:#8e1515;font-weight:700}.quick-dock{position:fixed;left:24px;bottom:22px;z-index:25;display:flex;align-items:center;gap:18px}.quick-dock__actions{height:58px;display:flex;align-items:center;padding:0 20px;border-radius:30px;background:var(--yellow);box-shadow:0 10px 28px #5d4e0033}.quick-dock__actions button{min-width:125px;display:flex;align-items:center;justify-content:center;gap:9px;color:#111;background:transparent;font-weight:700}.quick-dock__actions span{width:1px;height:29px;background:#0000002e}.quick-dock__toggle{width:64px;height:64px;display:grid;place-items:center;border-radius:50%;color:#111;background:var(--yellow);box-shadow:0 10px 28px #5d4e0033}.mobile-add{display:none}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:grid;place-items:center;padding:24px;background:#0000008f;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.transaction-modal{position:relative;width:min(100%,610px);max-height:calc(100vh - 48px);overflow-y:auto;padding:24px 29px;border-radius:18px;background:#fff;box-shadow:0 24px 70px #00000047;animation:modal-in .18s ease-out}.transaction-modal .modal-heading{margin-bottom:18px}.transaction-modal .type-toggle{margin-bottom:14px}.transaction-modal .form-field,.transaction-modal .optional-details{margin-bottom:12px}@keyframes modal-in{0%{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}.modal-close{position:absolute;top:18px;left:18px;width:38px;height:38px;display:grid;place-items:center;border-radius:50%;color:#222;background:#f3f3f3}.modal-heading{display:flex;align-items:center;gap:13px;margin-bottom:24px}.modal-heading__icon{width:48px;height:48px;display:grid;place-items:center;border-radius:13px;color:#111;background:var(--yellow)}.modal-heading h2{margin:0 0 4px;font-size:23px}.modal-heading p{margin:0;color:gray;font-size:14px}.type-toggle{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:5px;margin-bottom:20px;border-radius:12px;background:#f4f4f4}.type-toggle button{height:47px;display:flex;align-items:center;justify-content:center;gap:7px;border-radius:9px;color:#666;background:transparent;font-weight:700}.type-toggle button.active{background:#fff;box-shadow:0 2px 9px #00000014}.type-toggle button.active.income{color:var(--green)}.type-toggle button.active.expense{color:var(--red)}.form-field{display:flex;flex-direction:column;gap:7px;margin-bottom:17px}.form-field>span{color:#555;font-size:13px;font-weight:600}.form-field input,.form-field select{width:100%;height:48px;padding:0 13px;border:1px solid #dcdcdc;border-radius:9px;outline:0;color:#151515;background:#fff}.form-field input:focus,.form-field select:focus{border-color:var(--yellow-deep);box-shadow:0 0 0 3px #fcd51126}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.amount-field>div{display:flex;align-items:center;gap:12px;border-bottom:2px solid #d7d7d7}.amount-field input{height:68px;padding:0;border:0;box-shadow:none!important;font-size:38px;font-weight:700;direction:ltr}.amount-field b{white-space:nowrap}.save-button{width:100%;height:53px;margin-top:3px;border-radius:10px;color:#111;background:var(--yellow);font-size:16px;font-weight:800;transition:background .14s ease,transform .14s ease}.save-button:hover{background:#ffe12c}.save-button:active{transform:translateY(1px)}.save-button:disabled,.modal-close:disabled,.type-toggle button:disabled,.form-field input:disabled,.form-field select:disabled{cursor:wait;opacity:.64}.form-error{margin:-4px 0 13px;color:#c21f1f;font-size:13px;font-weight:600}.toast{position:fixed;right:50%;bottom:27px;z-index:120;padding:13px 22px;border-radius:9px;color:#fff;background:#171717;box-shadow:0 12px 32px #0000003d;transform:translate(50%);animation:modal-in .18s ease-out}.account-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:15px;padding:22px}.account-card{min-height:250px;display:flex;flex-direction:column;overflow:hidden;border:1px solid #e1e1e1;border-radius:12px;background:#fff}.account-card__title{display:flex;align-items:center;gap:8px;padding:17px 18px 0}.account-card__title i{width:9px;height:9px;border-radius:50%}.account-card__title strong{flex:1}.account-card__title span{padding:3px 7px;border-radius:10px;color:#555;background:#f0f0f0;font-size:10px}.account-card>b{padding:19px 18px 16px;font-size:28px;direction:ltr;text-align:right}.account-card>b.negative{color:var(--red)}.account-card>b small{font-size:13px}.account-card dl{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px;margin:0;padding:0 18px 18px}.account-card dl div{display:flex;flex-direction:column;gap:2px}.account-card dt{color:#666;font-size:11px}.account-card dd{margin:0;color:#222;font-size:13px;font-weight:700}.account-card .card-actions{margin-top:auto}.data-tools{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:0 22px 22px;padding:21px;border:1px solid #dedede;border-radius:12px;background:#fafafa}.data-tools h2{margin:0 0 5px;font-size:18px}.data-tools p{margin:0;color:#5f5f5f;font-size:13px}.data-tool-actions{display:flex;flex-wrap:wrap;gap:8px}.data-tool-actions button,.secondary-button,.danger-button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 13px;border-radius:8px;color:#222;background:#ededed;font-weight:700}.data-tool-actions button:hover{background:#e2e2e2}.type-toggle.three-options{grid-template-columns:repeat(3,1fr)}.type-toggle button.active.transfer{color:#2365a7}.compact-modal{width:min(100%,480px)}.color-field input[type=color]{padding:5px;cursor:pointer}.checkbox-row{min-height:42px;display:flex;align-items:center;gap:9px;margin:-4px 0 16px;color:#333;font-size:13px}.checkbox-row input{width:18px;height:18px;accent-color:var(--yellow-deep)}.modal-heading__icon.warning{color:#9e1d1d;background:#fff0f0}.confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.danger-button{color:#fff;background:#b52121}.danger-button:hover{background:#961919}.secondary-button:hover{background:#dfdfdf}.inventory-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:28px 0 24px}.inventory-summary-card{min-height:112px;display:flex;align-items:center;gap:15px;padding:20px;border:1px solid #e4e4e4;border-radius:12px;background:#fff}.inventory-summary-card>span{flex:0 0 auto;width:44px;height:44px;display:grid;place-items:center;border-radius:12px;color:#171717;background:#fff5b7}.inventory-summary-card--stock>span{color:#087a3b;background:#eaf8f0}.inventory-summary-card--sold>span{color:#9b2020;background:#fff0f0}.inventory-summary-card--used>span{color:#6c5810;background:#f5f1df}.inventory-summary-card p{margin:0 0 4px;color:#5d5d5d;font-size:13px;font-weight:600}.inventory-summary-card strong{display:block;font-size:29px;line-height:1;font-variant-numeric:tabular-nums}.inventory-summary-card small{display:block;margin-top:6px;color:#767676;font-size:11px}.products-heading p{max-width:68ch}.products-toolbar{display:grid;grid-template-columns:minmax(240px,340px) 1fr;align-items:center;gap:14px;padding:16px 20px;border-bottom:1px solid var(--line);background:#fcfcfc}.product-search{height:42px}.product-filter-chips{min-width:0;display:flex;align-items:center;gap:7px;overflow-x:auto;scrollbar-width:none}.product-filter-chips::-webkit-scrollbar{display:none}.product-filter-chips button{min-height:38px;flex:0 0 auto;padding:7px 13px;border:1px solid #dedede;border-radius:19px;color:#4d4d4d;background:#fff;font-size:13px;font-weight:600}.product-filter-chips button:hover{border-color:#b8b8b8;color:#111}.product-filter-chips button.active{border-color:#111;color:#fff;background:#111}.products-list-head,.product-row{display:grid;grid-template-columns:minmax(190px,1.2fr) 88px 104px 88px 88px minmax(330px,auto);align-items:center;gap:12px;padding:0 18px}.products-list-head{min-height:44px;color:#777;font-size:12px;font-weight:600}.product-record{border-top:1px solid #ebebeb}.product-record.is-archived{background:#fafafa}.product-row{min-height:106px;transition:background .15s ease}.product-row:hover{background:#fffdf3}.product-record.is-archived .product-row{opacity:.7}.product-identity{min-width:0;display:flex;align-items:center;gap:12px}.product-identity img{flex:0 0 auto;width:66px;height:66px;object-fit:cover;border:1px solid #e4e4e4;border-radius:11px;background:#f5f5f5}.product-identity>span{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:7px}.product-identity strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stock-state{display:inline-flex;align-items:center;min-height:22px;padding:3px 8px;border-radius:11px;color:#365f48;background:#eaf8f0;font-size:10px;font-weight:700}.stock-state--low{color:#745f00;background:#fff6c8}.stock-state--out{color:#9b2020;background:#fff0f0}.stock-state--unset,.stock-state--archived{color:#5f5f5f;background:#ededed}.product-number{display:flex;flex-direction:column;gap:3px;font-variant-numeric:tabular-nums}.product-number strong{font-size:18px;direction:ltr;text-align:right}.product-number small{overflow:hidden;color:#777;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.product-number--available strong{color:#111;font-size:24px}.product-number--stock strong{color:#087a3b}.product-number--sold strong{color:#bc2929}.product-number--usage strong{color:#7b6310}.product-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.product-actions button,.inventory-history-actions button{min-width:38px;min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:7px 10px;border-radius:8px;color:#333;background:#f0f0f0;font-size:12px;font-weight:700}.product-actions button:hover,.inventory-history-actions button:hover,.product-actions button.is-active{color:#111;background:#e5e5e5}.product-actions button.stock-in-action{color:#111;background:var(--yellow)}.product-actions button.stock-in-action:hover{background:#ffe22d}.product-actions button.sale-action{color:#fff;background:#171717}.product-actions button.sale-action:hover{background:#333}.product-actions button.danger,.inventory-history-actions button.danger{color:#a51f1f;background:#fff0f0}.product-actions button:disabled{cursor:not-allowed;opacity:.38}.product-history{padding:0 18px 16px;background:#fafafa}.product-history__heading{min-height:49px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid #e4e4e4}.product-history__heading span{color:#6f6f6f;font-size:12px}.inventory-history-row{min-height:52px;display:grid;grid-template-columns:125px minmax(150px,1fr) 145px 95px 82px;align-items:center;gap:12px;padding:7px 10px;border-top:1px solid #e8e8e8;color:#555;font-size:12px}.inventory-history-type{color:#222;font-weight:700}.inventory-history-note{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inventory-history-row time{color:#6f6f6f}.inventory-history-row bdi{color:#222;font-size:14px;font-weight:800}.inventory-history-row--stock_in bdi{color:#087a3b}.inventory-history-row--sale bdi{color:#bc2929}.inventory-history-actions{display:flex;gap:5px}.inventory-history-actions button{min-width:34px;min-height:34px;padding:5px}.product-history-empty{padding:18px 10px;border-top:1px solid #e8e8e8;color:#777;text-align:center;font-size:13px}.workspace-empty.compact{min-height:220px}.product-image-field{display:flex;flex-direction:column;gap:7px;margin-bottom:17px}.product-image-field>span{color:#555;font-size:13px;font-weight:600}.product-image-picker{display:flex;align-items:center;gap:14px;padding:12px;border:1px dashed #cfcfcf;border-radius:11px;background:#fafafa}.product-image-preview{flex:0 0 auto;width:82px;height:82px;display:grid;place-items:center;overflow:hidden;border-radius:10px;color:#777;background:#ededed}.product-image-preview img{width:100%;height:100%;object-fit:cover}.product-image-picker>div{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:4px}.product-image-picker strong{font-size:14px}.product-image-picker small{color:#666;font-size:11px;line-height:1.45}.product-image-picker button{min-height:36px;margin-top:4px;padding:7px 12px;border-radius:7px;color:#111;background:#e7e7e7;font-weight:700}.product-image-picker button:hover{background:#dcdcdc}.inventory-type-toggle{grid-template-columns:repeat(3,1fr)}.inventory-type-toggle button{min-width:0;padding-inline:5px;font-size:12px}.inventory-type-toggle button.active.stock_in{color:#087a3b}.inventory-type-toggle button.active.sale{color:#bc2929}.inventory-type-toggle button.active.usage{color:#7b6310}.inventory-quantity-field input{font-size:24px;font-weight:800;direction:ltr;text-align:right;font-variant-numeric:tabular-nums}.inventory-availability{margin:-7px 0 13px;color:#5d5d5d;font-size:12px}.inventory-availability.is-error{color:#b32121;font-weight:700}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}input::placeholder{color:#686868;opacity:1}@media(max-width:1180px){.topbar{grid-template-columns:190px 1fr auto;gap:20px}.main-nav{gap:26px}.account-button span:not(.avatar),.month-button span{display:none}.ledger-toolbar{grid-template-columns:auto 1fr auto}.search-box{grid-column:1 / -1;grid-row:2}.transaction-head,.transaction-row{grid-template-columns:120px minmax(160px,1.5fr) minmax(100px,.8fr) minmax(115px,.9fr) 130px 72px}.products-list-head,.product-row{grid-template-columns:minmax(170px,1fr) repeat(4,76px) minmax(278px,auto);gap:9px;padding-inline:14px}.product-actions button{padding-inline:8px}}@media(max-width:900px){.app-shell{padding-bottom:24px}.topbar{height:auto;grid-template-columns:1fr auto;gap:8px;padding:12px 18px 0}.brand-button{width:132px;height:43px}.header-tools{justify-self:start}.notification-control,.account-control{display:flex!important}.icon-button{width:34px;border:0}.account-button{padding:3px 0}.account-button .avatar{width:34px;height:34px}.month-button{gap:6px}.month-button span{display:inline;font-size:13px}.main-nav{grid-column:1 / -1;grid-row:2;height:43px;gap:0;justify-content:space-between}.main-nav button{flex:1;font-size:14px}.main-nav button.active:after{bottom:4px}main{width:min(100% - 28px,760px)}.summary-grid{grid-template-columns:1fr 1fr;gap:12px;padding:18px 0}.summary-card{min-height:126px;padding:18px}.summary-card--balance{grid-column:1 / -1}.summary-card__icon{width:46px;height:46px}.summary-card strong{font-size:clamp(23px,6.5vw,34px)}.content-grid{display:flex;flex-direction:column;gap:15px}.ledger-panel,.categories-panel{width:100%}.categories-panel{order:-1}.categories-title{height:56px}.categories-empty{min-height:112px}.categories-title span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;color:#111;background:var(--yellow);font-size:12px;font-weight:800}.categories-list{display:flex;overflow-x:auto;scrollbar-width:none}.categories-list::-webkit-scrollbar{display:none}.categories-list button{flex:0 0 170px;min-height:75px;border-bottom:0;border-left:1px solid var(--line)}.all-categories{display:none}.ledger-toolbar{grid-template-columns:1fr auto;padding:16px}.ledger-toolbar h1{font-size:21px}.inline-add{min-height:36px;display:inline-flex;align-items:center;gap:5px;padding:7px 10px;border-radius:8px;color:#111;background:var(--yellow);font-size:12px;font-weight:800}.filter-chips{grid-column:1 / -1;grid-row:2;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.ledger-period-control{grid-column:2;grid-row:1}.date-filter{font-size:12px}.search-box{grid-column:1 / -1;grid-row:3}.transaction-head{display:none}.transaction-row{min-height:94px;grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"description amount actions" "meta tag actions";gap:9px 12px;padding:15px 16px}.transaction-description{grid-area:description;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.transaction-amount{grid-area:amount}.transaction-date{grid-area:meta;flex-direction:row;align-items:center;gap:7px;font-size:12px}.transaction-account{grid-area:meta;margin-inline-start:146px;color:#888;font-size:12px}.transaction-row>div:nth-child(3){grid-area:tag}.transaction-actions{grid-area:actions;flex-direction:column}.quick-dock{display:none}.category-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-metrics{grid-template-columns:repeat(2,1fr)}.report-metrics article:last-child{grid-column:1 / -1}.report-bar{grid-template-columns:1fr 1.2fr 38px}.data-tools{align-items:flex-start;flex-direction:column}.inventory-summary-grid{grid-template-columns:1fr 1fr;gap:10px;padding:18px 0}.inventory-summary-card{min-height:96px;padding:16px}.products-toolbar{grid-template-columns:1fr}.products-list-head{display:none}.product-row{grid-template-columns:minmax(0,1.2fr) repeat(4,minmax(62px,.5fr));grid-template-areas:"identity identity identity identity identity" "available stock sold usage actions";gap:12px 8px;padding:15px}.product-identity{grid-area:identity}.product-number--available{grid-area:available}.product-number--stock{grid-area:stock}.product-number--sold{grid-area:sold}.product-number--usage{grid-area:usage}.product-actions{grid-area:actions;flex-wrap:wrap}.product-actions .stock-in-action span,.product-actions .sale-action span{display:none}.product-history{padding-inline:15px}.inventory-history-row{grid-template-columns:110px minmax(120px,1fr) 120px 85px 76px;gap:8px;padding-inline:5px}}@media(max-width:560px){.topbar{padding-inline:14px}.month-button span{display:none}.header-tools{gap:5px}main{width:calc(100% - 22px)}.summary-grid{gap:9px}.summary-card{min-height:116px;gap:8px;padding:15px;border-radius:10px}.summary-card p{font-size:13px}.summary-card strong{font-size:22px}.summary-card small{font-size:11px}.summary-card__icon{display:none}.summary-card--balance strong{font-size:31px}.date-filter{padding-inline:10px;font-size:12px}.popover-menu{position:fixed;top:104px;right:12px;left:12px;width:auto}.ledger-period-control .popover-menu{position:fixed;top:104px;inset-inline:auto;right:12px;left:12px;width:auto;max-height:calc(100vh - 116px);overflow-y:auto}.workspace-heading{align-items:flex-start;padding:18px}.workspace-heading h1{font-size:23px}.workspace-heading p{font-size:13px}.workspace-primary{padding-inline:12px}.category-card-grid{grid-template-columns:1fr;padding:13px}.category-detail-card{min-height:165px}.report-metrics{grid-template-columns:1fr;padding:13px 13px 0}.report-metrics article:last-child{grid-column:auto}.report-breakdown{margin:13px;padding:15px}.report-breakdown__title{flex-direction:column;gap:10px}.report-bar{grid-template-columns:1fr 38px;gap:8px}.report-bar__label{grid-column:1 / -1}.transaction-row{min-height:106px;grid-template-areas:"description description actions" "amount tag actions" "meta meta actions"}.transaction-account{display:none}.transaction-date{justify-content:flex-start}.modal-backdrop{align-items:end;padding:0}.transaction-modal{width:100%;max-height:92dvh;padding:23px 18px 24px;border-radius:21px 21px 0 0}.modal-heading{padding-left:38px}.modal-heading__icon{width:42px;height:42px}.modal-heading h2{font-size:20px}.modal-heading p{font-size:12px}.form-grid{grid-template-columns:1fr;gap:0}.amount-field input{font-size:34px}.type-toggle.three-options button{gap:4px;padding-inline:4px;font-size:13px}.account-card-grid{grid-template-columns:1fr;padding:13px}.data-tools{margin:0 13px 13px;padding:16px}.data-tool-actions{width:100%}.data-tool-actions button{flex:1 1 140px}.inventory-summary-card{min-height:90px;gap:10px;padding:13px}.inventory-summary-card>span{width:38px;height:38px;border-radius:10px}.inventory-summary-card strong{font-size:24px}.inventory-summary-card small{max-width:18ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.products-heading{flex-direction:column}.products-heading .workspace-primary{width:100%}.products-toolbar{padding:12px}.product-row{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-areas:"identity identity identity identity" "available stock sold usage" "actions actions actions actions";gap:12px 6px;padding:14px 12px}.product-number{padding-top:10px;border-top:1px solid #ededed}.product-number:before{content:attr(data-label);color:#777;font-size:9px;white-space:nowrap}.product-number strong{font-size:16px}.product-number--available strong{font-size:20px}.product-number small{display:none}.product-actions{justify-content:flex-start}.product-actions button{flex:1 1 38px;min-height:44px}.product-actions .stock-in-action span,.product-actions .sale-action span{display:inline}.product-history{padding:0 12px 12px}.product-history__heading{align-items:flex-start;flex-direction:column;justify-content:center;gap:3px;padding-block:10px}.inventory-history-row{grid-template-columns:1fr auto auto;grid-template-areas:"type quantity actions" "note date actions";min-height:74px;gap:5px 8px;padding:10px 4px}.inventory-history-type{grid-area:type}.inventory-history-note{grid-area:note}.inventory-history-row time{grid-area:date;font-size:10px}.inventory-history-row bdi{grid-area:quantity}.inventory-history-actions{grid-area:actions;flex-direction:column}.product-image-picker{align-items:flex-start}.product-image-preview{width:72px;height:72px}.inventory-type-toggle{grid-template-columns:1fr}}.actor-byline{display:block;color:#666;font-size:12px;font-weight:400;margin-top:5px;line-height:1.6;white-space:normal}.activity-panel{background:#fff;border:1px solid #ddd;border-radius:14px;padding:24px}.activity-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.activity-heading h2{margin:0}.activity-heading p,.activity-note{color:#666;line-height:1.8}.activity-filters{display:flex;flex-wrap:wrap;gap:16px;margin:20px 0}.activity-filters label{display:grid;gap:8px;flex:1 1 220px}.activity-filters input,.activity-filters select{width:100%;padding:12px;border:1px solid #ddd;border-radius:8px;background:#fff;color:#111;font:inherit}.activity-entry{display:grid;grid-template-columns:1fr auto;gap:12px;border-top:1px solid #eee;padding:20px 0}.activity-entry strong,.activity-entry span{display:block}.activity-entry strong{margin-bottom:6px}.activity-entry p{margin:8px 0 0;overflow-wrap:anywhere}.activity-entry time{color:#666;font-size:13px}.activity-entry details{grid-column:1 / -1;min-width:0}.activity-entry summary{cursor:pointer}.activity-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding-top:16px}.activity-details pre{background:#fafafa;padding:12px;border-radius:8px;white-space:pre-wrap;overflow-wrap:anywhere;text-align:start;font:inherit;font-size:13px;line-height:1.8}@media(max-width:600px){.main-nav button{font-size:12px}.activity-panel{padding:16px}.activity-entry,.activity-details{grid-template-columns:1fr}.activity-heading{align-items:flex-start}}.auth-page{width:100%;max-width:none;min-height:100dvh;margin:0;padding:0 20px 48px;background:#fafafa}.auth-brand{display:flex;align-items:center;justify-content:center;height:100px;margin-inline:-20px;background:#101010}.auth-brand img{width:170px;height:auto}.auth-panel{width:min(100%,440px);margin:48px auto 0;padding:28px;border:1px solid #ddd;border-radius:14px;background:#fff}.auth-panel h1{margin:0 0 12px;font-size:27px}.auth-panel>p,.profile-help{color:#555;line-height:1.8}.auth-panel form{margin-top:24px}.auth-submit{width:100%;margin-top:16px}.password-visibility{min-height:44px;background:transparent;color:#514400;text-decoration:underline;text-underline-offset:4px;padding:8px 0}.auth-error,.auth-success{padding:12px;border-radius:8px;line-height:1.8;overflow-wrap:anywhere}.auth-panel .auth-error,.auth-error{color:#9b2020;background:#fff0f0}.auth-success{color:#116d3b;background:#eaf8f0}.auth-connection-error{padding:12px;background:#fff0f0;color:#9b2020;text-align:center}.profile-panel{max-width:760px;margin:24px auto 0}.profile-content{max-width:620px;padding:24px;margin-inline:auto}.profile-identity{display:flex;align-items:center;gap:12px;padding-bottom:24px;border-bottom:1px solid #ddd;margin-bottom:24px}.profile-identity>div{display:grid;gap:6px;flex:1}.profile-identity>div>span{color:#555;text-align:right}.profile-content h2{font-size:22px}.profile-content form .form-field{margin-top:16px}@media(max-width:600px){.auth-panel{padding:22px;margin-top:28px}.profile-content{padding:18px}}.is-products-view{padding-bottom:24px}.is-products-view .workspace-view{animation:none}.is-products-view .products-workspace{--products-sticky-top: var(--products-header-height, 84px);overflow:visible}.is-products-view .products-heading{border-radius:12px 12px 0 0}.is-products-view .products-toolbar{position:sticky;top:var(--products-sticky-top);z-index:5}.is-products-view .products-list{overflow:visible;scroll-margin-top:calc(var(--products-sticky-top) + var(--products-toolbar-height, 75px))}.is-products-view .products-list-head{position:sticky;top:calc(var(--products-sticky-top) + var(--products-toolbar-height, 75px));z-index:4;background:#fff;border-bottom:1px solid #ddd}.is-products-view .product-record:last-child{border-radius:0 0 12px 12px}.catalog-back{background:transparent;color:#655400;font-size:13px;padding:0 0 8px;text-decoration:underline;text-underline-offset:4px}.catalog-heading-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.catalog-archive-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:9px 12px;border:1px solid #ddd;border-radius:9px;color:#333;background:#fff;white-space:nowrap}.catalog-archive-button:hover{background:#f5f5f5;border-color:#aaa}.archived-product-category{display:block;color:#555;margin-top:6px;font-size:12px}.product-record.is-archived .product-row{opacity:1;padding-block:12px}.product-actions button.restore-product-action{color:#111;background:var(--yellow);padding-inline:12px}.product-actions button.restore-product-action:hover{background:#ffe22d}.product-actions button.restore-product-action span{display:inline}.catalog-sections{display:flex;flex-direction:column;padding:8px 24px}.catalog-section{display:flex;align-items:center;flex:1 0 64px;gap:22px;width:100%;padding:8px;text-align:right;background:#fff;border-bottom:1px solid #eee;color:#111}.catalog-section:last-child{border-bottom:0}.catalog-section:hover{background:#fffbea}.catalog-section-image{width:56px;height:48px;display:grid;place-items:center;flex:0 0 auto;color:#8a7400}.catalog-section-image img{width:100%;height:100%;object-fit:contain;border-radius:8px}.catalog-section-label{flex:1;display:grid;gap:8px}.catalog-section-label strong{font-size:22px}.catalog-section-label>span{font-size:13px;color:#666}@media(max-width:900px){.catalog-heading-actions{flex-direction:column;flex:0 0 auto;align-items:stretch}.is-products-view .inventory-summary-grid{padding:10px 0;gap:8px}.is-products-view .inventory-summary-card{min-height:62px;padding:8px 12px;gap:8px}.is-products-view .inventory-summary-card>span{width:28px;height:28px}.is-products-view .inventory-summary-card strong{font-size:20px}.is-products-view .inventory-summary-card p{font-size:11px}.is-products-view .inventory-summary-card small{font-size:10px;margin-top:3px}.is-products-view .products-heading{flex-direction:row;align-items:center;min-height:70px;padding:12px;gap:12px}.is-products-view .products-heading h1{font-size:21px}.is-products-view .products-heading p{display:none}.is-products-view .workspace-primary{width:auto;padding:10px 12px;white-space:nowrap}.is-products-view .products-toolbar{padding:10px 12px;gap:8px}.is-products-view .product-filter-chips button{min-height:34px;padding:6px 11px}.catalog-sections{padding:8px 12px}.catalog-section{gap:14px}.catalog-section-label strong{font-size:19px}}@media(max-height:500px){.is-products-view .topbar{position:static}.is-products-view .products-workspace{--products-sticky-top: 0px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
