:root{font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;color:#283b33;background:#f6f7f3;font-synthesis:none;font-size:14px;--green: #246d56;--muted: #859087;--line: #e9ede6;--orange: #bf7950;--cat-face: #fff}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{border:0;background:none;color:inherit}button:disabled,.disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:28px;font-weight:650;letter-spacing:-.8px}h2{font-size:23px;letter-spacing:-.5px}h3{font-size:15px;font-weight:650}p{line-height:1.7}small{font-size:12px}b,strong{font-weight:600}svg{flex-shrink:0}button:focus-visible,a:focus-visible{outline:3px solid #8ab6a4;outline-offset:3px}input,select,textarea{min-width:0;width:100%;border:1px solid #dfe5dc;background:#fff;border-radius:9px;padding:11px 12px;color:#283b33;outline:none;transition:border-color .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{border-color:#6d9e85;box-shadow:0 0 0 3px #246d5610}input::placeholder,textarea::placeholder{color:#a2aaa2}textarea{min-height:85px;resize:vertical}input[type=date]{color:#5a695f}select{padding-right:23px}.muted{color:var(--muted);font-size:12px}.green{color:var(--green)!important}.orange{color:var(--orange)}.danger-text{color:#b1584b!important}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:9px 15px;border:1px solid #e0e6dc;border-radius:9px;background:#fff;font-size:13px;white-space:nowrap;font-weight:500;transition:background .15s,transform .15s}.btn:hover{background:#f3f6f0}.btn.primary{background:var(--green);border-color:var(--green);color:#fff;box-shadow:0 3px 6px #246d5610}.btn.primary:hover{background:#1b5844}.btn.small{font-size:12px;min-height:32px;padding:6px 10px}.btn.subtle{background:#f3f6ef;border-color:transparent;color:#566a5a}.text-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;color:var(--green);font-size:12px;padding:5px 0;white-space:nowrap}.text-btn:hover{text-decoration:underline}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:8px;flex-shrink:0;color:#7b877e}.icon-btn:hover{background:#edf1e9}.badge{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;font-size:11px;border-radius:5px;padding:4px 7px;line-height:1.2}.badge.gray{background:#f1f3ee;color:#7b857a}.badge.green{background:#eaf4eb;color:#3d7b52}.badge.amber{background:#fff2df;color:#ad8046}.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;width:224px;left:0;top:0;bottom:0;border-right:1px solid var(--line);background:#fcfdf9;padding:29px 20px 18px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:20px;font-weight:650;letter-spacing:1px}.brand-icon{display:flex;background:#e7efe2;color:var(--green);border-radius:12px;width:43px;height:43px;padding:8px;flex-shrink:0}.brand small{display:block;font-size:8px;font-weight:500;letter-spacing:1.5px;color:#a0aa9d;margin-top:5px}.nav-label{color:#a0a99c;font-size:10px;letter-spacing:1.2px;margin:47px 12px 12px}.sidebar nav{display:flex;flex-direction:column;gap:6px}.sidebar nav button{height:43px;display:flex;align-items:center;gap:12px;text-align:left;padding:0 14px;border-radius:8px;color:#778073;font-size:13px;position:relative}.sidebar nav button.active{color:#296e51;background:#eaf1e4;font-weight:600}.sidebar nav button.active:before{content:"";width:3px;height:16px;background:#578660;border-radius:2px;position:absolute;left:-20px}.sidebar nav button:hover{background:#f0f4ea}.sidebar nav small{margin-left:auto;background:#dae7d4;padding:2px 6px;border-radius:5px;font-size:10px}.sidebar-bottom{margin-top:auto;padding-top:60px}.shared-note{background:#f1f5e9;padding:14px 12px;border-radius:9px;font-size:11px;color:#658158;margin-bottom:21px}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#6c9b64;margin-right:7px}.shared-note small{display:block;color:#9aa78e;font-size:10px;margin-top:6px;margin-left:13px}.settings-link{display:flex;align-items:center;gap:12px;width:100%;padding:10px 13px;color:#7e8779;font-size:12px}.settings-link.active{color:var(--green)}.sidebar-user{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);margin-top:20px;padding:18px 0 0}.avatar{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:#eee6d7;color:#998260;font-size:13px;flex-shrink:0}.avatar.small{width:30px;height:30px;font-size:11px}.sidebar-user b{font-size:12px}.sidebar-user small{display:block;color:#a0a69b;font-size:10px;margin-top:4px}.sidebar-user .icon-btn{margin-left:auto}.workspace{margin-left:224px;width:calc(100% - 224px)}.topbar{height:69px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;background:#fdfefa}.breadcrumb{display:flex;gap:10px;align-items:center;font-size:11px;color:#a1a89d}.breadcrumb b{font-weight:500;color:#697463}.topbar-right{display:flex;align-items:center;gap:17px}.today{display:flex;align-items:center;gap:8px;color:#8d9886;font-size:11px}.main-content{padding:32px 38px 12px;max-width:1510px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px;gap:16px}.page-heading p{font-size:12px;color:#929b8e;margin-top:8px}.page-heading .btn{padding:10px 17px}.welcome-strip{display:flex;justify-content:space-between;align-items:center;overflow:hidden;position:relative;padding:27px 29px;border:1px solid #e3e9d9;background:linear-gradient(100deg,#edf2e5,#f4f4e8);border-radius:12px;margin-bottom:29px}.eyebrow{font-size:9px;letter-spacing:2px;color:#8a9a78;font-weight:500}.welcome-strip h2{font-size:21px;margin:10px 0 7px;font-weight:600}.welcome-strip p{color:#9a9f8a;font-size:11px}.welcome-cat{display:flex;align-items:center;gap:26px;color:#b7c4a1;padding-right:15px}.welcome-cat svg{width:70px;height:70px;transform:rotate(-10deg);--cat-face: #edf1e1}.welcome-cat span{writing-mode:vertical-rl;letter-spacing:4px;font-size:9px;color:#9eaa8d}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:21px 0 15px}.section-note{color:#a0a99a;font-size:10px;font-weight:400;margin-left:8px}.date-controls{display:flex;align-items:center;gap:8px;color:#9aa291;border:1px solid #e5e9df;background:#fff;border-radius:7px;padding:6px 9px;font-size:10px;max-width:100%}.date-controls input{border:0;background:transparent;padding:2px 0;font-size:11px;width:112px;box-shadow:none}.date-controls .icon-btn{width:20px;height:20px}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:24px}.metric{background:#fff;border:1px solid var(--line);border-radius:11px;padding:19px 19px 15px;min-width:0;overflow:hidden}.metric.stock{background:#f3f5eb;border-color:#e0e6d5}.metric-top{display:flex;align-items:center;justify-content:space-between;color:#8b9583;font-size:11px;margin-bottom:16px}.metric-top svg{opacity:.75;width:16px;height:16px}.metric>strong{display:block;font-size:clamp(21px,2vw,30px);font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-1px}.metric>strong small{font-size:11px;font-weight:400;color:#849079;margin-left:8px;letter-spacing:0}.metric p{font-size:9px;color:#a3aa9c;margin-top:14px;white-space:nowrap}.metric p span{margin-left:8px}.metrics.compact .stock{display:none}.metrics.compact{grid-template-columns:repeat(3,1fr)}.overview-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);gap:20px;margin-bottom:22px}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:21px}.overview-grid .panel,.detail-columns .panel{margin-bottom:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 22px 15px}.panel-heading .muted{font-size:10px}.chart-panel{padding-bottom:17px}.chart-legend{display:flex;justify-content:flex-end;gap:16px;padding:0 25px;font-size:10px;color:#9ba291}.chart-legend span{display:flex;gap:5px;align-items:center}.chart-legend i{width:6px;height:6px;border-radius:2px}.income-dot{background:#87aa80}.expense-dot{background:#e1c397}.bar-chart{height:140px;margin:18px 25px 0;display:flex;justify-content:space-around;gap:24px;border-bottom:1px solid #f0f2ec;background:repeating-linear-gradient(to top,transparent 0,transparent 39px,#f6f7f3 40px)}.chart-column{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;width:100%;position:relative}.bar-pair{display:flex;align-items:flex-end;justify-content:center;gap:7px;width:100%;height:100%;padding-top:10px}.chart-bar{width:20px;max-width:30%;border-radius:4px 4px 0 0;min-height:2px;transition:height .3s}.income-bar{background:#88ab80}.expense-bar{background:#e2c497}.chart-column>span{position:absolute;bottom:-23px;color:#9da494;font-size:9px}.chart-caption{font-size:9px;color:#b3b8ac;margin:38px 23px 0}.todo-panel{padding-bottom:0;display:flex;flex-direction:column}.todo-row{display:flex;align-items:center;gap:13px;margin:0 21px;padding:13px 0;border-bottom:1px solid #f1f3ed;text-align:left;font-size:12px}.todo-icon{display:flex;padding:8px;background:#f5f6ef;color:#8c9c7e;border-radius:8px}.todo-row strong{margin-left:auto;font-size:19px;font-weight:500;color:#667654}.todo-row>svg{color:#b2bbaa}.gentle-note{display:flex;align-items:center;gap:8px;margin-top:auto;padding:16px 22px;background:#fafbf7;color:#a5ae99;font-size:10px}.money-row{display:flex;align-items:center;gap:13px;width:100%;padding:16px 22px;text-align:left;border-top:1px solid #f1f3ed;min-width:0}.money-row:hover,.data-row:hover{background:#fafbf8}.flow-icon{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:50%;flex-shrink:0}.green-bg{color:#789777;background:#eff5eb}.orange-bg{color:#bd9970;background:#faf3e9}.row-main{display:flex;flex-direction:column;gap:6px;min-width:0}.row-main b{font-size:12px}.row-main small{font-size:10px;color:#9da795;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.money-row .row-main{flex:1}.money-row>strong{font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}.row-secondary{color:#98a38e;font-size:11px}.money-row .row-secondary{margin-right:20px}.site-footer{display:flex;justify-content:center;gap:7px;align-items:center;padding:27px 0 15px;color:#bbc1b3;font-size:9px}.site-footer svg{width:17px;height:17px;--cat-face: #f6f7f3}.search-box{display:flex;align-items:center;gap:10px;padding:1px 13px;border:1px solid #e1e7da;border-radius:8px;background:#fff;width:360px;max-width:100%;margin-bottom:22px;color:#a3ac99}.search-box input{border:0;box-shadow:none;padding:11px 0;font-size:12px}.summary-strip{display:flex;align-items:center;gap:26px;margin-bottom:20px;padding:18px 22px;background:#eef3e7;border:1px solid #e1e9d8;border-radius:10px;font-size:12px;color:#8a967b}.summary-strip strong{color:#477044;font-size:23px;margin:0 5px}.summary-strip .muted{margin-left:auto;font-size:10px}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:17px;flex-wrap:wrap}.toolbar-actions{display:flex;gap:8px;flex-wrap:wrap}.segmented{display:flex;gap:3px;border:1px solid #e8ece2;border-radius:8px;background:#edf1e7;padding:3px;max-width:100%}.segmented button{padding:7px 14px;font-size:11px;color:#929b86;white-space:nowrap;border-radius:5px}.segmented .active{background:#fff;box-shadow:0 1px 3px #2c452810;color:#3e6e4c}.table-head{background:#fbfcf8;border-bottom:1px solid var(--line);font-size:10px;color:#9ba58e;padding-top:15px!important;padding-bottom:15px!important}.product-row{display:grid;grid-template-columns:minmax(0,2fr) 1fr 1fr 60px;gap:15px;align-items:center;padding:17px 22px}.data-row{border-bottom:1px solid #f0f3e9;min-width:0;width:100%;text-align:left}.data-row:last-child{border-bottom:0}.product-name{display:flex;align-items:center;gap:13px;text-align:left;min-width:0;padding:0}.product-name b{font-size:13px;display:block;overflow-wrap:anywhere}.product-name small{display:block;font-size:10px;color:#99a18e;margin-top:5px}.product-art{display:flex;align-items:center;justify-content:center;width:47px;height:51px;border-radius:8px;flex-shrink:0;background:#f1ebe0;color:#b9a381;overflow:hidden}.product-art svg{width:29px;height:29px;--cat-face: #f9f5ef}.product-art img{width:100%;height:100%;object-fit:cover}.tone-1{background:#edf0e5;color:#a5b18e}.tone-2{background:#f5e8e0;color:#c9a28a}.tone-3{background:#e8edef;color:#9dacb1}.stock-cell{display:flex;align-items:center;gap:5px}.stock-cell strong{font-size:20px}.stock-cell>span:not(.badge){color:#abb19e;font-size:10px}.stock-cell .badge{margin-left:8px}.code{font-family:ui-monospace,SFMono-Regular,monospace;font-size:11px}.order-row{display:grid;grid-template-columns:minmax(180px,1.4fr) minmax(80px,1fr) minmax(90px,1fr) 120px 15px;gap:15px;padding:22px;align-items:center}.order-products b{font-size:12px}.order-products small,.order-amount small{display:block;color:#a3ab97;font-size:10px;margin-top:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:170px}.order-amount strong{font-size:13px}.order-badges{display:flex;gap:5px;align-items:flex-start;flex-direction:column}.row-chevron{color:#b4bca9}.back-btn{margin-bottom:17px}.order-detail{padding:25px}.detail-heading{display:flex;justify-content:space-between;align-items:center}.detail-heading h2{margin:8px 0}.detail-heading p{font-size:11px}.detail-metrics{display:grid;grid-template-columns:repeat(4,1fr);padding:23px 0;gap:12px;margin-top:15px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.detail-metrics span{display:block;color:#9aa58f;font-size:11px;margin-bottom:8px}.detail-metrics strong{font-size:23px;font-variant-numeric:tabular-nums}.detail-metrics small{font-size:11px;font-weight:400;color:#9ca88e}.detail-actions{display:flex;gap:8px;flex-wrap:wrap;padding:22px 0}.detail-line{display:flex;align-items:center;gap:18px;padding:15px 0;border-top:1px solid #f0f2eb;font-size:12px}.detail-line>div{flex:1}.detail-line small{display:block;color:#9da68f;font-size:10px;margin-top:5px}.detail-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:23px}.detail-columns>*{min-width:0}.note-row{display:flex;gap:12px;justify-content:space-between;align-items:flex-start;margin-top:15px;padding:15px;background:#f9faf6;border-radius:8px;font-size:12px;color:#8d9980}.note-row p{white-space:pre-wrap}.move-row{display:flex;gap:14px;align-items:center;padding:16px 19px;border-top:1px solid var(--line)}.move-row .row-main{flex:1}.move-row small{white-space:normal;font-size:10px;line-height:1.6}.move-row .text-btn{font-size:10px}.voided{opacity:.5}.voided strong{text-decoration:line-through}.contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.contact-card{padding:21px;margin-bottom:0}.contact-top{display:flex;align-items:center;gap:12px}.contact-avatar{display:flex;align-items:center;justify-content:center;width:43px;height:43px;border-radius:11px;background:#eaf0e1;color:#869e70;font-size:20px}.contact-avatar.peach{background:#f8ecdf;color:#bb9873}.contact-top h3{font-size:14px;margin-bottom:6px}.contact-top .icon-btn{margin-left:auto}.contact-card>p{font-size:11px;color:#8f9b82;margin:18px 0}.contact-card p span{display:block;font-size:10px;color:#a4ad98}.contact-stats{display:grid;grid-template-columns:1fr 1fr;padding:15px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);gap:10px;margin-bottom:12px}.contact-stats span{font-size:9px;color:#a1ab94}.contact-stats b{font-size:16px;display:block;color:#5b6b4e;margin-bottom:8px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;white-space:nowrap}th,td{text-align:right;padding:16px 20px;border-bottom:1px solid var(--line);font-size:12px;font-variant-numeric:tabular-nums}th{font-size:10px;color:#99a48c;font-weight:400;background:#fafbf6}th:first-child,td:first-child{text-align:left}td:first-child{min-width:100px}.member-report{display:flex;align-items:center;gap:12px;padding:16px 22px;border-top:1px solid var(--line);font-size:12px}.member-report>span:last-child{margin-left:auto;text-align:right}.member-report small{display:block;color:#9daa8b;font-size:10px;margin-top:6px}.member-report strong{margin-left:5px}.panel-foot{font-size:10px;color:#a2ac96;padding:16px 22px;line-height:1.8}.category-row{display:flex;justify-content:space-between;gap:14px;padding:18px 22px;border-top:1px solid var(--line);font-size:12px}.unsettled-row{display:flex;align-items:center;gap:15px;text-align:left;width:100%;padding:16px 22px;border-top:1px solid var(--line);font-size:12px}.unsettled-row>span:first-child{flex:1}.unsettled-row small{display:block;font-size:10px;color:#a2ad95;margin-top:6px}.settings-panel{padding:25px}.settings-icon{display:inline-flex;padding:12px;border-radius:12px;background:#eff4e8;color:#7f9b68;margin-bottom:17px}.settings-panel h3{font-size:17px;margin-bottom:10px}.settings-panel .member-report{padding:15px 0}.settings-panel>.btn{margin-top:15px}.settings-panel>.muted{margin-bottom:20px}.settings-panel .panel-foot{padding:18px 0 0}.audit-row{display:flex;align-items:center;padding:15px 22px;border-top:1px solid var(--line);gap:13px;font-size:11px}.audit-row>div{flex:1}.audit-row span:not(.audit-dot){font-weight:400;color:#89987b;margin-left:7px}.audit-row small{display:block;font-size:9px;color:#a6af9a;margin-top:6px}.audit-dot{width:7px;height:7px;background:#b5c7a3;border-radius:50%}.audit-detail{font-size:11px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f7f1;padding:16px;border-radius:8px;max-height:55vh;overflow:auto}.empty{padding:40px 20px 45px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.empty-icon{width:58px;height:58px;display:flex;align-items:center;justify-content:center;background:#f0f4e9;color:#9eaf8b;border-radius:17px;margin-bottom:18px}.empty h3{font-size:14px;color:#75866a;font-weight:500}.empty p{font-size:11px;color:#a0ac91;margin:9px 0 16px;max-width:330px}.empty .btn{font-size:11px;min-height:35px;padding:7px 13px}.notice{font-size:12px;line-height:1.8;background:#f4f6ee;color:#849272;border:1px solid #e9eedf;border-radius:8px;padding:12px 15px;margin-bottom:17px}.error-box,.success-box{padding:12px 15px;background:#fff1eb;border:1px solid #f3d8cb;color:#ad654b;border-radius:8px;font-size:12px;line-height:1.6;margin:12px 0;overflow-wrap:anywhere}.success-box{color:#48754f;background:#edf5e9;border-color:#dbe9d3}.error-box .text-btn{margin-left:15px}.toast{position:fixed;left:50%;bottom:26px;transform:translate(-50%);z-index:100;background:#304e38;color:#fff;border:1px solid #ffffff15;padding:12px 20px;box-shadow:0 8px 40px #223a2430;border-radius:11px;display:flex;align-items:center;gap:9px;font-size:12px;max-width:90vw}.modal-backdrop{position:fixed;inset:0;background:#23352955;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;z-index:80;padding:24px}.modal{width:520px;max-width:100%;max-height:90dvh;overflow-y:auto;background:#fff;border:1px solid #ebf0e4;border-radius:17px;box-shadow:0 20px 80px #1c2e2630;overscroll-behavior:contain}.modal.wide{width:740px}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:24px 25px 20px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:3}.modal-header h2{font-size:20px}.modal-header p{font-size:11px;color:#9aa78c;margin-top:8px;line-height:1.6}.form-body{padding:23px 25px}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:19px}.field>span{font-size:12px;color:#758569;font-weight:500}.field small{font-size:10px;line-height:1.6;color:#a0ac92}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-footer{display:flex;justify-content:flex-end;gap:10px;padding:17px 25px;border-top:1px solid var(--line);background:#fafbf7;position:sticky;bottom:0;z-index:2}.order-line-list{border:1px solid #e6ebde;border-radius:9px;padding:14px;margin:12px 0}.order-line-editor{display:grid;grid-template-columns:minmax(0,1fr) 75px 90px 26px;gap:9px;align-items:center}.order-line-editor.sale{grid-template-columns:minmax(0,1fr) 85px 26px}.order-line-editor .field{margin-bottom:10px}.order-line-editor .field>span{font-size:10px}.order-line-editor select,.order-line-editor input{padding:9px 8px;font-size:12px}.order-line-editor .remove{width:26px;margin-top:13px}.form-total{display:flex;justify-content:space-between;align-items:center;background:#f0f5e8;border-radius:8px;padding:15px;margin:16px 0 20px;color:#799366;font-size:12px}.form-total strong{font-size:22px;color:var(--green)}.form-body>.field:last-of-type{margin-bottom:0}.form-body>.btn+.field{margin-top:22px}.quantity-row{display:flex;align-items:center;gap:15px;padding:14px 0;border-top:1px solid var(--line);font-size:12px}.quantity-row>div{flex:1}.quantity-row small{display:block;color:#a2ac97;font-size:10px;margin-top:7px}.quantity-row input{width:85px}.quantity-row+.field{margin-top:20px}.amount-input{font-size:27px!important;padding:15px!important;color:var(--green)}.attachment-panel{margin-top:22px;padding-top:2px;border-top:1px solid var(--line)}.attachment-panel .section-heading{margin:14px 0}.attachment-panel h3{font-size:12px}.attachments{display:flex;gap:10px;flex-wrap:wrap}.attachments a{width:83px;overflow:hidden}.attachments img{width:83px;height:80px;object-fit:cover;border-radius:7px;border:1px solid var(--line)}.attachments span{font-size:9px;color:#9da890;display:flex;justify-content:space-between;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:5px}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:25px}.quick-grid button{padding:22px 15px;background:#f7f9f2;border:1px solid #e7eddf;border-radius:11px;text-align:left;display:flex;flex-direction:column;gap:10px}.quick-grid button:hover{background:#eef4e7}.quick-grid button>span{color:#779467;margin-bottom:4px}.quick-grid b{font-size:14px}.quick-grid small{font-size:10px;line-height:1.7;color:#a1ac93}.money-detail-amount{font-size:36px;color:#3e6b43;font-weight:600;margin:0 0 23px;letter-spacing:-1px}.mobile-nav,.mobile-more,.mobile-brand{display:none}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.loading-page{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;color:#82956f}.loading-page svg{width:55px;height:55px;color:#91a87a;--cat-face: #f6f7f3}.loading-page p{font-size:13px}.login-page{min-height:100vh;display:grid;grid-template-columns:45% 55%;background:#fff}.login-story{display:flex;flex-direction:column;background:#edf2e5;padding:48px 55px;overflow:hidden}.login-story>.brand{font-size:24px}.login-story>.brand .brand-icon{background:#dce8d0;width:49px;height:49px}.story-content{margin:auto 0;padding:65px 0 30px}.story-content h1{font-size:43px;line-height:1.5;color:#355839;margin:22px 0 20px;letter-spacing:1px}.story-content p{font-size:13px;color:#91a17f;line-height:2}.story-art{height:260px;position:relative;margin:25px 0 10px}.art-orbit{position:absolute;width:230px;height:230px;border:1px solid #d4e0c6;border-radius:50%;top:0;left:20px}.art-orbit:after{content:"";position:absolute;inset:20px;border:1px dashed #dbe4ce;border-radius:50%}.art-card{position:absolute;border-radius:14px;width:165px;height:180px;box-shadow:0 12px 30px #4a653415}.art-card.back{background:#dce7cc;transform:rotate(12deg);left:155px;top:25px;padding:20px 15px;color:#8ba170;display:flex;flex-direction:column;gap:35px;align-items:center}.art-card.back span{font-size:10px}.art-card.front{background:#fafbf6;left:40px;top:42px;transform:rotate(-10deg);padding:15px 20px;display:flex;flex-direction:column;align-items:center}.art-cat{width:66px;height:66px;background:#eae4d4;color:#b29b78;padding:10px;border-radius:50%;margin-bottom:12px}.art-cat svg{width:100%;height:100%;--cat-face: #fafbf6}.art-card.front>span:nth-child(2){font-size:10px;color:#8c9d7e}.art-line{height:5px;border-radius:4px;background:#e9efdf;width:90px;margin-top:15px}.art-line.short{width:60px;margin-top:8px}.art-spark{position:absolute;top:0;left:280px;color:#9bb382;font-size:43px;font-weight:300}.login-story>small{font-size:10px;color:#9bac8a;letter-spacing:2px}.login-main{display:flex;align-items:center;justify-content:center;padding:55px}.login-form{width:390px;max-width:100%}.login-form>h2{font-size:29px;margin:15px 0 12px;font-weight:600}.login-form>.muted{font-size:12px;margin-bottom:33px}.login-form .field{margin-bottom:20px}.login-form input{background:#fbfcf8;min-height:45px}.login-submit{width:100%;margin-top:12px;min-height:46px;justify-content:space-between;padding:12px 17px!important}.login-foot{font-size:10px;color:#acb59f;text-align:center;margin-top:25px}.login-form fieldset{border:1px solid var(--line);border-radius:10px;margin:17px 0;padding:16px 14px 0}.login-form legend{font-size:11px;color:#94a180;padding:0 6px}.login-form fieldset input{font-size:12px}.login-form fieldset .form-grid{gap:12px}@media(min-width:1500px){.main-content{padding-left:45px;padding-right:45px}.welcome-strip{padding:30px 35px}.overview-grid{grid-template-columns:1.8fr 1fr}.bar-chart{height:160px}}@media(max-width:1180px){.sidebar{width:198px;padding-left:16px;padding-right:16px}.sidebar nav button.active:before{left:-16px}.workspace{margin-left:198px;width:calc(100% - 198px)}.main-content{padding:27px 24px 12px}.topbar{padding:0 24px}.brand{font-size:18px}.brand small{font-size:7px}.brand-icon{width:39px;height:39px}.metric{padding:17px 14px}.metric>strong{font-size:23px}.metric p{font-size:8px}.metric p span{display:none}.contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.order-row{grid-template-columns:minmax(150px,1.2fr) minmax(70px,.7fr) 100px 100px 12px;padding:18px;gap:10px}.order-row .row-main small{font-size:9px}.overview-grid{gap:15px;grid-template-columns:minmax(0,1.3fr) minmax(240px,1fr)}.detail-columns{gap:15px}.detail-columns .money-row{padding:15px 16px}.summary-strip .muted,.stock-cell .badge{display:none}.login-story,.login-main{padding:40px}.story-content h1{font-size:35px}}@media(max-width:900px){.sidebar{width:180px;padding:23px 12px}.brand{font-size:17px;gap:7px}.brand small{font-size:6px;letter-spacing:1.1px}.brand-icon{width:35px;height:35px;padding:7px}.workspace{margin-left:180px;width:calc(100% - 180px)}.sidebar nav button.active:before{left:-12px}.main-content{padding:24px 20px 10px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.metric>strong{font-size:27px}.metric p{font-size:9px}.metric p span{display:inline}.overview-grid{grid-template-columns:1fr}.todo-panel{display:grid;grid-template-columns:repeat(3,1fr)}.todo-panel .panel-heading{grid-column:1/-1}.todo-row{margin:0;padding:15px 12px;border-bottom:0;gap:7px;font-size:10px}.todo-icon{padding:6px}.todo-row strong{font-size:16px}.todo-row>svg{display:none}.gentle-note{grid-column:1/-1}.welcome-cat span{display:none}.welcome-cat{padding:0}.welcome-strip{padding:23px}.welcome-strip h2{font-size:19px}.order-row{grid-template-columns:minmax(0,1fr) 110px 90px 12px}.order-products{display:none}.order-row.table-head span:nth-child(2){display:none}.detail-columns{grid-template-columns:1fr}.metrics.compact{grid-template-columns:repeat(3,1fr)}.metrics.compact .metric>strong{font-size:21px}.metrics.compact .metric p{white-space:normal;font-size:8px}.date-controls input{width:104px;font-size:10px}.date-controls{gap:5px}.section-note{display:none}.contact-grid{gap:12px}.contact-card{padding:16px}.contact-stats b{font-size:14px}.detail-metrics strong{font-size:20px}.login-story,.login-main{padding:30px}.story-art{transform:scale(.85);transform-origin:left center}.story-content h1{font-size:30px}.story-content p{font-size:12px}.login-page{grid-template-columns:42% 58%}}@media(max-width:700px){:root{font-size:14px}.sidebar{display:none}.workspace{margin:0;width:100%}.topbar{height:54px;padding:0 19px}.breadcrumb{font-size:10px;gap:7px}.topbar-right{gap:10px}.today{font-size:10px;gap:5px}.topbar-right .avatar{display:none}.main-content{padding:24px 17px 95px}.page-heading{margin-bottom:22px;align-items:flex-start}.page-heading h1{font-size:25px}.page-heading p{font-size:10px;margin-top:8px;max-width:240px}.page-heading .btn{font-size:12px;padding:9px 12px;min-height:38px}.welcome-strip{padding:22px 19px;margin-bottom:23px}.welcome-strip h2{font-size:18px;letter-spacing:0;line-height:1.5;margin-top:9px}.welcome-strip p{font-size:10px;max-width:235px}.welcome-strip .eyebrow{font-size:8px;letter-spacing:1.4px}.welcome-cat svg{width:49px;height:49px}.welcome-cat{margin-left:10px}.section-heading{align-items:center;flex-wrap:wrap;gap:10px}.section-heading h3{font-size:14px}.section-heading .date-controls{margin-left:auto}.date-controls{padding:6px 7px}.date-controls input{width:99px;font-size:10px;min-height:26px}.date-controls>svg{display:none}.date-controls>span{font-size:9px}.metrics{gap:10px;margin-bottom:18px}.metric{padding:15px 14px;border-radius:10px}.metric-top{font-size:11px;margin-bottom:14px}.metric>strong{font-size:25px;letter-spacing:-.8px}.metric p{font-size:8px;margin-top:11px}.metric p span{display:none}.overview-grid{gap:16px;margin-bottom:17px}.panel{border-radius:10px;margin-bottom:17px}.panel-heading{padding:18px 17px 13px}.panel-heading h3{font-size:14px}.bar-chart{margin:18px 19px 0;height:150px;gap:15px}.chart-caption{font-size:8px;margin-left:17px}.todo-panel .panel-heading{padding-bottom:4px}.todo-row{flex-direction:column;padding:15px 5px 18px;gap:9px}.todo-row strong{margin-left:0;font-size:23px}.todo-icon{display:none}.gentle-note{padding:12px 17px;font-size:9px}.money-row{padding:15px 16px;gap:10px}.money-row .flow-icon{width:31px;height:31px}.row-main b{font-size:12px}.row-main small{font-size:9px}.money-row>strong{font-size:12px}.money-row>.row-secondary{display:none}.money-row>svg{display:none}.site-footer{font-size:8px;padding:18px 0 12px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;height:calc(63px + env(safe-area-inset-bottom));padding:7px 10px env(safe-area-inset-bottom);display:flex;background:#fcfdf9f5;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);border-top:1px solid #e5ebdb;z-index:30;justify-content:space-around}.mobile-nav button{display:flex;align-items:center;justify-content:center;gap:5px;flex-direction:column;width:58px;border-radius:8px;font-size:10px;color:#9aa68b}.mobile-nav button.active{color:#3a7652;background:#eef3e7}.mobile-nav button span{font-size:10px}.mobile-more{display:flex;position:fixed;bottom:calc(73px + env(safe-area-inset-bottom));left:17px;right:17px;z-index:45;background:#fff;border:1px solid #e4ebd9;border-radius:14px;box-shadow:0 5px 40px #2f4b3325;padding:37px 18px 12px;flex-direction:column;gap:4px}.mobile-more>button:not(.close-more){display:flex;align-items:center;gap:14px;padding:14px 4px;color:#648353;text-align:left;font-size:13px}.mobile-more button>svg:last-child{margin-left:auto}.mobile-more .close-more{position:absolute;right:10px;top:6px}.search-box{width:100%;margin-bottom:18px}.search-box input{min-height:40px;font-size:13px}.summary-strip{padding:15px 17px;gap:22px;font-size:10px;margin-bottom:17px}.summary-strip strong{font-size:23px}.toolbar{gap:11px;margin-bottom:13px}.toolbar .segmented{width:100%;justify-content:space-between}.segmented button{font-size:11px;padding:9px 10px;flex:1;min-height:35px}.toolbar-actions .btn{font-size:11px;min-height:37px;padding:9px 11px}.toolbar>.toolbar-actions{width:100%;justify-content:space-between}.icon-mobile span,.table-head{display:none}.product-row{grid-template-columns:minmax(0,1fr) 62px 36px;gap:10px;padding:16px}.product-row>.code{display:none}.product-row .text-btn{font-size:10px}.product-row .text-btn svg{display:none}.product-name{gap:10px}.product-name b{font-size:12px}.product-name small{font-size:10px}.product-art{width:43px;height:47px}.stock-cell{justify-content:flex-start}.stock-cell strong{font-size:23px}.order-row{display:grid;grid-template-columns:1fr auto;gap:14px;padding:18px 16px;position:relative}.order-row .row-main{grid-column:1;grid-row:1}.order-row .row-main b{font-size:14px}.order-row .row-main small{font-size:8px;white-space:normal;line-height:1.5}.order-row .order-amount{grid-column:2;grid-row:1;text-align:right}.order-amount strong{font-size:14px}.order-amount small{font-size:9px}.order-row .order-products{display:block;grid-column:1;grid-row:2}.order-products b{font-size:11px}.order-products small{display:inline;font-size:9px;margin-left:7px;max-width:150px;overflow:hidden}.order-badges{grid-column:2;grid-row:2;flex-direction:row;align-items:center;justify-content:flex-end;gap:4px}.badge{font-size:9px;padding:5px 6px}.row-chevron{display:none}.order-detail{padding:19px 16px}.detail-heading h2{font-size:22px}.detail-heading p{font-size:10px}.detail-metrics{grid-template-columns:repeat(2,1fr);gap:22px 12px;padding:20px 0}.detail-metrics strong{font-size:24px}.detail-metrics span{font-size:10px}.detail-actions{gap:7px;padding:18px 0}.detail-actions .btn{font-size:11px;padding:9px 11px;min-height:39px}.detail-line{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;font-size:10px;padding:16px 0}.detail-line>div{grid-column:1/-1}.detail-line b{font-size:12px}.detail-line>span:nth-child(3){text-align:center}.detail-line>span:last-child{text-align:right}.note-row{padding:12px;font-size:11px}.note-row .text-btn{font-size:10px}.metrics.compact{grid-template-columns:1fr;gap:8px}.metrics.compact .metric{display:grid;grid-template-columns:1fr auto;align-items:center;padding:14px 16px}.metrics.compact .metric-top{margin:0;font-size:11px;justify-content:flex-start;gap:10px}.metrics.compact .metric-top>svg{display:none}.metrics.compact .metric>strong{font-size:24px;grid-column:2;grid-row:1/3}.metrics.compact .metric p{margin-top:5px;font-size:8px;grid-column:1}.metrics.compact .metric p span{display:none}.contact-grid{grid-template-columns:1fr}.contact-card{padding:19px}.contact-stats b{font-size:20px}.contact-top h3{font-size:16px}.contact-card>p{font-size:11px}.contact-stats span{font-size:10px}.table-scroll th,.table-scroll td{padding:14px 16px;font-size:11px}.table-scroll th{font-size:10px}.notice{font-size:11px;padding:12px}.member-report{padding:15px 17px;font-size:11px}.member-report strong{font-size:12px}.settings-panel{padding:22px}.settings-panel .muted{font-size:11px}.unsettled-row{font-size:10px;padding:15px 16px;gap:8px}.unsettled-row b{font-size:12px}.unsettled-row small{font-size:8px}.modal-backdrop{padding:0;align-items:flex-end}.modal{width:100%!important;max-height:94dvh;border-radius:18px 18px 0 0;border-bottom:0;padding-bottom:env(safe-area-inset-bottom)}.modal-header{padding:22px 19px 18px}.modal-header h2{font-size:20px}.modal-header p{font-size:11px;max-width:290px}.modal-header:before{content:"";width:35px;height:4px;background:#dce5d2;border-radius:4px;position:absolute;top:7px;left:calc(50% - 17px)}.form-body{padding:22px 19px}.field{margin-bottom:20px}.field>span{font-size:12px}input,select,textarea{font-size:16px;padding:12px 11px;border-radius:8px;min-height:46px}textarea{min-height:90px}.field small{font-size:10px}.form-grid{gap:12px}.form-footer{padding:14px 19px;gap:10px}.form-footer .btn{min-height:46px;font-size:14px}.form-footer .btn.primary{flex:1}.form-footer .btn:not(.primary){min-width:80px}.order-line-list{padding:13px 11px}.order-line-editor{grid-template-columns:minmax(0,1fr) 90px 30px;gap:5px 9px;padding:4px 0 14px;border-bottom:1px solid var(--line);margin-bottom:13px}.order-line-editor:last-child{border:0;margin-bottom:0;padding-bottom:0}.order-line-editor>.field:first-child{grid-column:1/3}.order-line-editor .remove{grid-column:3;grid-row:1;margin-top:17px}.order-line-editor>.field:nth-child(2){grid-column:1;grid-row:2}.order-line-editor>.field:nth-child(3){grid-column:2/3;grid-row:2}.order-line-editor select,.order-line-editor input{font-size:16px;padding:10px;min-height:44px}.order-line-editor.sale{grid-template-columns:minmax(0,1fr) 30px}.order-line-editor.sale>.field:first-child{grid-column:1}.order-line-editor.sale .remove{grid-column:2}.order-line-editor.sale>.field:nth-child(2){grid-column:1;max-width:130px}.quantity-row{font-size:12px}.quantity-row input{width:80px;min-height:45px}.quantity-row small{font-size:10px;line-height:1.5}.quick-grid{padding:20px;gap:12px}.quick-grid button{padding:20px 14px}.quick-grid small{font-size:10px}.toast{bottom:calc(82px + env(safe-area-inset-bottom));font-size:12px;white-space:normal;min-width:220px;justify-content:center}.move-row{padding:15px 16px;gap:10px}.move-row .row-main b{font-size:11px}.move-row .text-btn{min-height:40px;min-width:36px}.empty{padding:35px 18px}.empty p{font-size:11px}.empty .btn{font-size:12px;min-height:40px}.login-page{display:block;min-height:100dvh;background:#f7f9f2}.login-story{display:none}.login-main{min-height:100dvh;padding:40px 26px;align-items:center}.login-form{width:390px}.mobile-brand{display:flex;align-items:center;gap:9px;font-size:19px;letter-spacing:1px;color:#466f41;margin-bottom:55px}.mobile-brand svg{width:31px;height:31px;color:#7c9b67;--cat-face: #f7f9f2}.login-form>h2{font-size:29px;margin-top:15px}.login-form .field>span{font-size:12px}.login-form input{background:#fff;font-size:16px}.login-submit{min-height:49px;font-size:14px;margin-top:18px}.login-form .eyebrow{font-size:9px}.login-form fieldset .form-grid{grid-template-columns:1fr}.login-form fieldset input{font-size:16px}.login-form fieldset .field{margin-bottom:13px}.audit-detail{font-size:10px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media(max-width:700px){.table-head.product-row,.table-head.order-row{display:none}.metric>strong{font-size:clamp(18px,5.4vw,24px)}.metric.stock>strong{font-size:27px}.order-row{grid-template-columns:minmax(0,1fr) auto}.order-products{min-width:0;overflow:hidden}.order-products small{display:block;margin:5px 0 0}}.purchase-row .purchase-prices{min-width:0;display:grid;gap:12px}.purchase-price-item{display:grid;gap:5px;font-size:12px;line-height:1.5}.purchase-price-item>small{color:var(--muted);overflow-wrap:anywhere}.price-caption,.original-price{color:#7b8575}.purchase-price-item strong{color:#315e48;font-weight:600}.purchase-row.table-head small{display:block;margin-top:4px;font-size:10px}.order-line-editor.purchase{grid-template-columns:minmax(0,1fr) 60px 125px 110px 26px}@media(min-width:701px){.order-row.purchase-row{grid-template-columns:minmax(150px,1.6fr) minmax(80px,1fr) minmax(140px,1fr) minmax(90px,.8fr) 105px 15px;gap:14px}}@media(min-width:701px)and (max-width:1100px){.order-row.purchase-row{grid-template-columns:minmax(130px,1.3fr) minmax(70px,.8fr) minmax(110px,1fr) 90px 85px 12px;gap:8px;padding:16px 12px}}@media(max-width:700px){.purchase-row .purchase-prices{grid-column:1 / -1;grid-row:3;border-top:1px solid var(--line);padding-top:10px}.purchase-price-item{grid-template-columns:minmax(0,1fr) minmax(0,1fr);font-size:12px}.purchase-price-item>small{grid-column:1 / -1}.order-line-editor.purchase{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 30px}.order-line-editor.purchase>.field:nth-child(2){grid-column:1 / 3;grid-row:2}.order-line-editor.purchase>.field:nth-child(3){grid-column:1;grid-row:3}.order-line-editor.purchase>.field:nth-child(4){grid-column:2 / 4;grid-row:3}}@media(min-width:701px)and (max-width:1100px){.table-head.purchase-row{display:none}.order-row.purchase-row{grid-template-columns:minmax(0,1fr) auto;gap:14px}.purchase-row .row-main{grid-column:1;grid-row:1}.purchase-row .order-amount{grid-column:2;grid-row:1;text-align:right}.purchase-row .order-products{display:block;grid-column:1;grid-row:2}.purchase-row .order-badges{grid-column:2;grid-row:2}.purchase-row .purchase-prices{grid-column:1 / -1;grid-row:3;border-top:1px solid var(--line);padding-top:10px}.purchase-row .purchase-price-item{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.purchase-row .purchase-price-item>small{grid-column:1 / -1}.purchase-row>.row-chevron{display:none}}.purchase-editor{display:grid;grid-template-columns:minmax(0,1fr) 90px 28px;gap:12px;padding:16px;border:1px solid var(--line);border-radius:14px;margin-bottom:12px}.purchase-editor .field{margin:0;min-width:0}.purchase-editor .remove{margin-top:22px}.purchase-editor .line-pricing{grid-column:1/-1;display:grid;grid-template-columns:1fr .7fr 1fr;gap:12px}.purchase-editor .text-btn{margin-top:7px}.form-help{font-size:12px;line-height:1.7;margin:12px 0}.quick-create{padding:16px;background:#f4f7ee;border:1px solid var(--line);border-radius:14px;margin:12px 0 20px}.quick-create h3{margin:0 0 14px}.inline-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.line-warning{grid-column:1/-1;margin:0}.row-open{border:0;background:transparent;padding:0;text-align:left;cursor:pointer;color:inherit;font:inherit;min-width:0}.row-open b,.row-open small{display:block}.expand-order{margin-top:9px;font-size:11px}.order-tools{margin:12px 0 18px}.fee-summary{display:flex;gap:16px;flex-wrap:wrap;padding:14px 0;font-size:12px;color:#75816b;border-top:1px solid var(--line)}.fee-summary small{width:100%}.line-subtotal{display:block;margin-top:6px;color:#75816b;font-size:11px}.alert-panel{margin-bottom:20px}.alert-row{display:flex;width:100%;align-items:center;justify-content:space-between;text-align:left;padding:16px 22px;background:none;border:0;border-top:1px solid var(--line);color:inherit;cursor:pointer;gap:12px}.alert-row b{font-size:13px}.alert-row small{display:block;margin-top:6px;color:#7b8575;font-size:11px}.backup-notice{width:100%;border:1px solid #e4dfca;border-radius:12px;text-align:left;padding:15px 20px;background:#faf8ed;color:#7c6f49;margin:0 0 20px;cursor:pointer;font-size:12px;line-height:1.7}.backup-notice span{margin-left:10px;white-space:nowrap}.backup-panel{min-width:0}.backup-panel>p{line-height:1.8}.backup-list{margin-top:18px}.backup-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0;border-top:1px solid var(--line);font-size:12px}.backup-row small{display:block;margin-top:5px;color:#7b8575}@media(max-width:700px){.purchase-editor{grid-template-columns:minmax(0,1fr) 75px 26px;padding:12px;gap:9px}.purchase-editor>.field:first-child{grid-column:1/3}.purchase-editor>.field:nth-child(2){grid-column:1/3;grid-row:2}.purchase-editor>.remove{grid-column:3;grid-row:1}.purchase-editor .line-pricing{grid-template-columns:1fr 1fr}.line-pricing>.field:last-child{grid-column:1/-1}.alert-row{padding:15px}.backup-panel .inline-actions>.btn{flex:1}.fee-summary{gap:10px}.order-tools>.btn{flex:1}}
