.phone-preview{padding:25px 20px 40px;background:#e9eee2;min-width:430px}.preview-head{display:flex;justify-content:space-between;align-items:center;gap:15px;max-width:800px;margin:0 auto 24px}.preview-head h1{font-size:22px}.preview-head p{font-size:11px;color:#7b8580;margin-top:5px}.phone-frame{width:414px;border:12px solid #203c32;border-radius:35px;overflow:hidden;box-shadow:0 25px 60px #253e3226;margin:auto;background:#f7f8f4;direction:ltr}.phone-frame iframe{width:390px;height:680px;border:0;display:block}.phone-preview .preview-head .btn{font-size:11px}
.phone-preview{padding-top:16px;padding-bottom:16px}.preview-head{margin-bottom:16px}.phone-frame iframe{height:min(680px,calc(100dvh - 142px));min-height:450px}
body.employee-home #page-content{display:flex;flex-direction:column}body.employee-home #page-content>.stats{order:2}body.employee-home #page-content>.notice{order:3}
.cycle-picker{max-width:190px;min-height:43px;border:1px solid var(--line);border-radius:11px;padding:8px 10px;background:white;color:var(--ink);font-size:12px}.cycle-strip{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;border:1px solid #e2e9d8;background:#f0f4e9;padding:12px 17px;border-radius:12px;margin-bottom:18px;font-size:12px}.cycle-strip>span:first-child{font-weight:600}.cycle-strip svg{width:17px;height:17px;margin-left:5px}.cycle-strip small{font-size:10px}.cycle-strip>.status{margin-right:auto}.demo-banner{display:flex;justify-content:space-between;align-items:center;gap:10px}.demo-switches{display:flex;gap:5px;flex-wrap:wrap}.demo-switches button{padding:3px 10px;border-radius:6px;text-decoration:none;font-size:11px}.demo-switches button.selected{background:#eadcba;color:#6d5a25}.demo-roles{display:grid;grid-template-columns:1fr 1fr;gap:8px}.two-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.seller-quick{display:flex;gap:12px;flex-wrap:wrap;margin:17px 0}.seller-quick span{background:#edf2e6;padding:9px 15px;border-radius:10px;color:#6c805a;font-size:12px}.personal-summary{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:21px 25px;border-radius:15px;border:1px solid var(--line);background:white;margin:18px 0}.personal-summary h2{font-size:31px;margin-top:5px}.personal-summary>span{font-size:12px;color:var(--muted)}.personal-summary h2 small{font-size:12px;font-weight:400}.role-pill{display:inline-flex;background:#edf3e5;border-radius:7px;color:#607e4d;font-size:11px;padding:5px 11px}.role-pill.admin{background:#e4ece7;color:#214738}.role-pill.seller{background:#fff1dc;color:#a47a34}.role-pill.partner{background:#eef0f7;color:#757e9d}.permission-box{border:1px solid #dce7d1;border-radius:12px;padding:15px;margin:4px 0 20px;background:#f0f5e9}.permission-box[hidden]{display:none}.permission-box legend{font-size:12px;padding:0 6px;font-weight:600}.permission-box .check-field:last-child{margin-bottom:0}.image-picker{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.image-option{min-height:69px;border:1px solid var(--line);border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:center;gap:4px;flex-direction:column;padding:7px}.image-option span{font-size:25px;line-height:1.3}.image-option small{font-size:10px}.image-option:hover{background:#f1f5e8}.image-option.selected{background:#edf4df;border:2px solid #8ca675;padding:6px}.image-option.selected small{color:var(--green)}.cycles-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.cycle-card{background:white;border:1px solid var(--line);border-radius:17px;padding:23px;display:flex;flex-direction:column}.cycle-card-top{display:flex;align-items:center;gap:12px}.cycle-card-top h2{font-size:15px}.cycle-card-top p{font-size:10px;color:var(--muted);margin-top:4px}.cycle-card-top>.status{margin-right:auto}.cycle-symbol{width:43px;height:43px;display:grid;place-items:center;flex-shrink:0;border-radius:12px;background:#edf3e5;color:#82966a}.cycle-amount{display:flex;justify-content:space-between;align-items:center;padding:22px 0 18px;margin-top:auto;font-size:12px}.cycle-amount b{font-size:25px}.cycle-amount small{font-size:12px;font-weight:400}.cycle-card>.card-actions{flex-wrap:wrap}.cycle-card>.card-actions>.btn{min-width:65px;flex:1}.notice-click{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}.notice-click div{font-size:12px}.notice-row{display:flex;align-items:center;text-align:right;gap:12px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px;width:100%;margin-bottom:10px}.notice-row b{font-size:12px}.notice-row small{display:block;font-size:10px}.notice-row>svg{margin-right:auto;width:17px}.employee-hero{margin-bottom:10px}.period-note{margin-top:0}.bar-row .label{min-width:125px}.btn[disabled]{cursor:not-allowed}.tab{min-height:40px}.toolbar .tabs{scrollbar-width:none}.toolbar .tabs::-webkit-scrollbar{display:none}@media(max-width:1000px){.cycles-list{grid-template-columns:1fr}.cycle-strip>.status{margin-right:0}}@media(max-width:700px){.cycle-picker{max-width:143px;font-size:11px;min-height:38px}.heading-actions{max-width:165px}.heading-actions .btn{font-size:10px;padding:8px}.demo-banner{flex-direction:column;gap:5px;padding:8px}.demo-switches button{font-size:10px}.cycle-strip{padding:10px 12px;gap:7px;font-size:11px}.cycle-strip small{font-size:9px}.cycle-strip>.status{font-size:9px}.two-stats{grid-template-columns:1fr 1fr}.personal-summary{padding:18px;align-items:flex-start}.personal-summary>span{max-width:100px;font-size:10px}.personal-summary h2{font-size:28px}.cycle-card{padding:18px}.cycle-card-top h2{font-size:13px}.cycle-card-top{gap:8px;flex-wrap:wrap}.cycle-card-top>.status{font-size:9px;margin-right:auto}.cycle-card-top p{font-size:9px}.cycle-symbol{width:35px;height:35px}.bar-row .label{min-width:90px;font-size:9px}.image-option{min-height:65px}.permission-box{padding:11px}.seller-quick{gap:6px}.seller-quick span{font-size:10px;padding:8px 9px}.cycle-amount{font-size:11px}.mobile-nav button{font-size:8px;min-width:43px}.cycle-card .card-actions .btn{font-size:10px}.cycles-list{gap:13px}}
.product-picture{display:inline-block;width:1.6em;height:1.6em;vertical-align:middle;object-fit:contain}.product-emoji .product-picture{width:35px;height:35px}.pick-product .product-picture{width:39px;height:39px}.image-option .product-picture{width:35px;height:35px}
@font-face{font-family:LocalArabic;src:local('Tahoma');font-display:swap}
:root{--bg:#f7f8f4;--paper:#fff;--ink:#20342f;--muted:#7b8580;--green:#183e36;--accent:#d8e7c3;--line:#e9ece5;--orange:#b87521;--red:#b34e4e;--radius:20px;--shadow:0 12px 36px #19372d07}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'Segoe UI',LocalArabic,Tahoma,Arial,sans-serif;font-size:14px;line-height:1.7}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible{outline:3px solid #a6bd82;outline-offset:4px}button{border:0;background:none;color:inherit}a{color:inherit;text-decoration:none}svg{width:21px;height:21px;flex-shrink:0;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin:0}h1{font-size:27px;font-weight:750;letter-spacing:-.6px}h2{font-size:17px;font-weight:700}h3{font-size:15px}small,.muted{color:var(--muted)}small{font-size:12px}.small{font-size:12px}.num{font-variant-numeric:tabular-nums}.ltr{direction:ltr;unicode-bidi:embed}.initial-loading{display:grid;place-content:center;text-align:center;height:100dvh;font-size:38px}.initial-loading p{font-size:16px}.layout{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100dvh}.sidebar{grid-column:1;position:fixed;right:0;top:0;bottom:0;width:230px;background:var(--paper);border-left:1px solid var(--line);display:flex;flex-direction:column;padding:30px 20px 20px;z-index:20}.brand{display:flex;gap:11px;align-items:center}.brand-icon{width:45px;height:45px;border-radius:14px;background:var(--green);color:#eacb93;display:grid;place-items:center}.brand-icon svg{width:27px;height:27px}.brand-name{font-size:26px;font-weight:800;line-height:1.3}.brand-sub{font-size:11px;letter-spacing:.3px;color:var(--muted)}.side-label{font-size:11px;color:#a0a69f;margin:44px 14px 12px}.nav{display:flex;flex-direction:column;gap:7px}.nav-item{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:12px;text-align:right;color:#7d8881;font-size:13px;font-weight:600;min-height:46px;white-space:nowrap}.nav-item:hover{background:#f5f7f1}.nav-item.active{background:#edf3e5;color:var(--green)}.nav-item.active svg{stroke-width:2}.badge-count{font-size:11px;min-width:21px;height:21px;display:grid;place-items:center;border-radius:7px;background:var(--green);color:white;margin-right:auto}.side-bottom{margin-top:auto}.side-note{background:#f6f7f0;border-radius:15px;padding:17px;margin:25px 0 17px}.side-note .leaf{color:#779155;font-size:22px}.side-note p{font-size:12px;margin:7px 0 3px}.side-note small{font-size:10px;line-height:1.9;display:block}.profile{display:flex;gap:10px;align-items:center;border-top:1px solid var(--line);padding:18px 5px 0}.avatar{width:37px;height:37px;border-radius:50%;display:grid;place-items:center;background:#eee7db;color:#826d45;font-size:13px;font-weight:700;flex-shrink:0}.profile-name{font-size:12px;font-weight:700}.profile small{font-size:10px}.profile .icon-btn{margin-right:auto}.main{grid-column:2;min-width:0;padding:0 38px 28px}.topbar{height:88px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:15px}.breadcrumbs{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:12px}.breadcrumbs b{color:var(--ink);font-weight:500}.top-actions{display:flex;align-items:center;gap:17px}.date{font-size:11px;color:var(--muted)}.icon-btn{display:inline-grid;place-items:center;width:38px;height:38px;border:1px solid var(--line);border-radius:12px;background:#fff;position:relative;flex-shrink:0}.icon-btn:hover{background:#f3f5ed}.dot{position:absolute;top:7px;right:9px;background:#cb8c4a;width:6px;height:6px;border-radius:50%;outline:2px solid #fff}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:28px 0 22px}.page-heading p{font-size:12px;color:var(--muted);margin-top:3px}.heading-actions{display:flex;align-items:center;gap:9px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 18px;border-radius:11px;background:var(--green);color:#fff;font-size:12px;font-weight:600;border:1px solid transparent;white-space:nowrap}.btn:hover{background:#285447}.btn.secondary{background:white;color:var(--ink);border-color:var(--line)}.btn.secondary:hover{background:#f6f8f1}.btn.soft{background:#edf3e5;color:var(--green)}.btn.danger{background:#fff0ed;color:var(--red)}.btn.small-btn{min-height:35px;font-size:11px;padding:7px 12px}.btn.full{width:100%}.text-btn{color:var(--green);font-size:12px;font-weight:600;display:inline-flex;align-items:center;gap:6px}.text-btn svg{width:16px}.month-input{border:1px solid var(--line);background:#fff;border-radius:11px;padding:9px 11px;max-width:155px;color:var(--ink);font-size:12px;min-height:43px}.hero{border-radius:20px;min-height:159px;background:#eaf0df;display:flex;justify-content:space-between;align-items:center;padding:26px 32px;overflow:hidden;position:relative}.hero-copy{z-index:1}.eyebrow{font-size:11px;letter-spacing:.5px;color:#6a7e53;margin-bottom:7px}.hero h2{font-size:24px;line-height:1.6;letter-spacing:-.5px}.hero p{font-size:12px;color:#728266;margin-top:6px;max-width:490px}.hero .art{width:210px;height:125px;stroke:none;flex-shrink:0;margin-left:20px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:21px 0 25px}.stat{background:#fff;border:1px solid var(--line);border-radius:16px;padding:19px 19px 16px;box-shadow:var(--shadow)}.stat-top{display:flex;justify-content:space-between;align-items:center;gap:8px;color:var(--muted);font-size:11px}.stat-icon{display:grid;place-items:center;width:33px;height:33px;border-radius:10px;background:#eff4e9;color:#7b925f}.stat-icon.amber{background:#fff4e6;color:#bc8d44}.stat-icon.blue{background:#edf3f6;color:#76909b}.stat-icon.pink{background:#fcf0ec;color:#c18e7b}.stat-value{font-size:27px;font-weight:750;line-height:1.5;margin:9px 0 5px;letter-spacing:-.8px}.stat-value .currency{font-size:12px;font-weight:400;color:#96a097;margin-right:5px;letter-spacing:0}.stat-foot{font-size:10px;color:#8e988e}.stat-foot .positive{color:#789259}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(260px,1fr);gap:21px}.panel{background:#fff;border:1px solid var(--line);border-radius:17px;overflow:hidden;box-shadow:var(--shadow)}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 22px}.panel-head h2{font-size:15px}.panel-head p{font-size:10px;color:var(--muted);margin-top:3px}.panel-pad{padding:0 22px 22px}.tabs{display:flex;gap:5px;flex-wrap:wrap}.tab{font-size:11px;color:#8d968d;padding:7px 12px;border-radius:8px;white-space:nowrap;min-height:34px}.tab.active{color:var(--green);background:#edf3e8;font-weight:600}.tabs.line{border-bottom:1px solid var(--line);padding:0 22px 12px;margin-top:-2px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;white-space:nowrap;text-align:right;font-size:12px}thead{background:#fafbf8;color:#929b91;font-size:10px;font-weight:500}th{font-weight:500;padding:12px 20px}td{padding:14px 20px;border-bottom:1px solid #f0f2eb}tr:last-child td{border-bottom:0}.cell-name{display:flex;align-items:center;gap:10px}.cell-name .avatar{width:31px;height:31px;font-size:10px}.cell-name b{font-size:11px;font-weight:600}.cell-name small{font-size:9px;display:block}.order-id{font-size:10px;color:#99a093;margin-top:3px}.status{display:inline-flex;align-items:center;gap:5px;border-radius:6px;padding:4px 8px;font-size:10px;white-space:nowrap}.status:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.status.confirmed{color:#5d8454;background:#edf5e9}.status.pending{color:#b1843b;background:#fff5e5}.status.preparing{color:#7193a0;background:#edf4f7}.status.disputed{color:#b37266;background:#fbeeea}.status.cancelled{color:#89918b;background:#f0f2ef}.more-btn{color:#839080;font-size:11px;min-height:36px;padding:5px 8px}.product-rank{display:flex;gap:10px;align-items:center;padding:13px 0;border-bottom:1px solid #f1f3ec}.product-rank:last-child{border:0}.product-emoji{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#f7f4ec;font-size:23px;flex-shrink:0}.product-rank b{font-size:12px;font-weight:600}.product-rank small{font-size:10px;display:block}.rank-amount{margin-right:auto;text-align:left;font-size:12px;font-weight:600}.rank-amount small{font-size:9px;font-weight:400}.rank-footer{margin-top:16px;padding-top:13px;border-top:1px dashed var(--line);display:flex;align-items:center;gap:8px;font-size:10px;color:#8c9588}.rank-footer svg{width:15px}.notice{display:flex;gap:13px;align-items:flex-start;padding:17px 20px;border-radius:13px;background:#f0f3e8;margin-top:20px;color:#738165;font-size:11px}.notice svg{width:20px;margin-top:2px}.notice b{font-weight:600;color:#526844}.notice p{font-size:10px;margin-top:2px}.footer{display:flex;justify-content:space-between;gap:12px;color:#a4aca0;font-size:10px;margin-top:26px}.connection{display:flex;gap:6px;align-items:center}.connection:before{content:'';width:5px;height:5px;background:#88a778;border-radius:50%}.offline .connection:before{background:#c66a47}.demo-banner{background:#fcf2dc;color:#8b6e2b;font-size:11px;text-align:center;padding:7px 12px;border-radius:9px;margin-top:15px}.demo-banner button{text-decoration:underline;font-weight:600}.toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:17px;flex-wrap:wrap}.search{position:relative;display:flex;align-items:center;gap:9px;border:1px solid var(--line);background:#fff;border-radius:11px;padding:0 12px;min-width:230px}.search svg{width:17px;color:#9aa38f}.search input{padding:11px 0;border:0;outline:0;width:100%;min-width:0;background:none;font-size:12px;color:var(--ink)}.search:focus-within{border-color:#91a976}.empty{text-align:center;padding:42px 20px;color:var(--muted)}.empty svg{width:39px;height:39px;color:#acb99b;margin-bottom:10px}.empty h3{font-size:14px;color:#53634c;margin-bottom:5px}.empty p{font-size:12px}.empty .btn{margin-top:16px}.orders-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.order-card{background:white;border:1px solid var(--line);border-radius:17px;padding:20px;display:flex;flex-direction:column;gap:14px}.order-card-top{display:flex;align-items:center;justify-content:space-between;gap:9px}.order-card .cell-name .avatar{width:37px;height:37px;font-size:12px}.order-lines{border-top:1px dashed var(--line);border-bottom:1px dashed var(--line);padding:10px 0}.order-line{display:flex;justify-content:space-between;gap:10px;font-size:12px;padding:4px 0}.order-total{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-top:auto}.order-total b{font-size:19px}.card-actions{display:flex;gap:8px}.card-actions .btn{flex:1;padding:9px;font-size:11px}.reason{font-size:11px;background:#fcf1ed;color:#ad7564;border-radius:9px;padding:9px 11px}.order-note{font-size:10px;color:var(--muted);display:flex;gap:5px}.order-meta{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:10px;color:var(--muted)}.attention-header{display:flex;align-items:center;gap:10px;border-radius:12px;background:#fff3dc;color:#9d7e3e;padding:13px 17px;font-size:12px;margin-bottom:18px}.employees-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.employee-card{border:1px solid var(--line);background:#fff;border-radius:16px;padding:21px}.employee-card .cell-name{margin-bottom:18px}.employee-card .cell-name .avatar{width:43px;height:43px;font-size:15px}.employee-card .cell-name b{font-size:14px}.employee-card .cell-name small{font-size:11px}.account-mini{display:flex;justify-content:space-between;align-items:center;background:#f6f8f1;border-radius:10px;padding:12px;margin:12px 0;font-size:11px}.account-mini b{font-size:18px}.employee-card .card-actions{margin-top:15px}.products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.catalog-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px;position:relative}.catalog-card .product-emoji{width:59px;height:59px;font-size:31px;margin-bottom:16px}.catalog-card h3{font-size:15px}.catalog-card p{font-size:11px;color:var(--muted);margin:4px 0 14px}.catalog-card .price{font-size:21px;font-weight:700}.catalog-card .edit-btn{position:absolute;left:14px;top:14px;color:var(--muted)}.catalog-card.inactive{opacity:.6}.report-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:20px}.bar-row{display:flex;align-items:center;gap:12px;margin:16px 0;font-size:11px}.bar-row .label{min-width:90px}.bar-row progress{appearance:none;-webkit-appearance:none;width:100%;height:9px;border:0;border-radius:8px;background:#f0f3e9;overflow:hidden}.bar-row progress::-webkit-progress-bar{background:#f0f3e9;border-radius:8px}.bar-row progress::-webkit-progress-value{background:#98af7f;border-radius:8px}.bar-row progress::-moz-progress-bar{background:#98af7f;border-radius:8px}.bar-row b{min-width:65px;text-align:left;font-size:11px;font-weight:600}.account-layout{display:grid;grid-template-columns:1fr 1.5fr;gap:20px}.ledger{padding:0 22px 15px}.ledger-row{display:flex;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}.ledger-row.total{font-size:16px;font-weight:700;border:0;color:var(--green);padding-top:20px}.ledger-row .credit{color:#66874c}.receipt{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);padding:15px 0;font-size:12px}.receipt small{display:block;font-size:10px}.receipt b{color:#61824f;font-size:15px}.auth-page{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.auth-story{background:var(--green);color:#edf3e8;padding:60px 12%;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-story .brand-icon{background:#34584b}.auth-story .brand-sub{color:#9fb4a1}.auth-story h1{font-size:42px;line-height:1.6;margin-bottom:18px}.auth-story p{font-size:14px;color:#bacbbb;line-height:2}.auth-story .art{width:280px;height:170px;stroke:none;margin:30px 0}.auth-story .story-foot{font-size:12px;color:#9eb39d}.auth-main{display:grid;place-items:center;padding:35px}.auth-box{width:100%;max-width:360px}.auth-box h2{font-size:27px}.auth-box>p{color:var(--muted);font-size:13px;margin:7px 0 26px}.field{display:block;margin-bottom:17px}.field>span,.field>label{display:block;font-size:12px;font-weight:600;margin-bottom:7px}.field small{display:block;font-size:10px;margin-top:5px}.input{width:100%;min-height:45px;border:1px solid #dfe5d8;border-radius:10px;padding:11px 13px;color:var(--ink);background:#fff;outline:none;font-size:13px}.input:focus{border-color:#90a878;box-shadow:0 0 0 3px #9bb97e16}textarea.input{resize:vertical;min-height:80px}.form-error{font-size:12px;color:var(--red);margin:12px 0;min-height:22px}.auth-box .btn.full{min-height:48px}.auth-note{text-align:center;color:var(--muted);font-size:11px;margin-top:24px}.demo-login{background:#eef2e6;border-radius:13px;padding:16px;margin-top:26px}.demo-login p{font-size:11px;margin-bottom:10px;color:#738165}.demo-login .card-actions .btn{font-size:11px}.mobile-brand{display:none}.modal-backdrop{position:fixed;inset:0;background:#162e2866;backdrop-filter:blur(4px);z-index:50;display:flex;align-items:center;justify-content:center;padding:25px}.modal{background:var(--bg);border:1px solid #e0e6d9;border-radius:23px;max-height:92dvh;overflow:auto;width:min(510px,100%);box-shadow:0 25px 90px #142d2833}.modal.wide{width:min(980px,100%)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:22px 26px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--bg);z-index:2}.modal-head h2{font-size:18px}.modal-body{padding:23px 26px}.modal-head p{font-size:11px;color:var(--muted)}.modal .icon-btn{background:white}.modal-actions{display:flex;gap:9px;padding-top:18px}.modal-actions .btn{flex:1}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.form-grid .span-2{grid-column:1/-1}.order-builder{display:grid;grid-template-columns:1.4fr 1fr;gap:24px}.builder-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px;max-height:355px;overflow:auto}.pick-product{background:white;border:1px solid var(--line);padding:16px 8px;border-radius:13px;text-align:center;min-height:112px}.pick-product:hover{border-color:#9ab580;background:#f4f7ee}.pick-product .emoji{font-size:24px;display:block;margin-bottom:7px}.pick-product b{font-size:11px;display:block;font-weight:600}.pick-product small{font-size:10px}.builder-cart{background:#fff;border:1px solid var(--line);padding:18px;border-radius:15px}.cart-empty{text-align:center;font-size:12px;padding:30px 8px;color:var(--muted)}.cart-line{display:flex;align-items:center;gap:9px;font-size:11px;padding:12px 0;border-bottom:1px solid var(--line)}.cart-line>div:first-child{flex:1}.cart-line small{font-size:10px;display:block}.qty{display:flex;align-items:center;gap:10px;white-space:nowrap;direction:ltr}.qty button{border:1px solid var(--line);border-radius:7px;width:27px;height:29px;font-size:17px}.cart-total{display:flex;justify-content:space-between;align-items:center;padding:16px 0;font-size:12px}.cart-total b{font-size:23px}.builder-search{min-width:0;width:100%}.history{border-right:2px solid #dfe8d5;padding-right:15px;margin:20px 0}.history-event{padding:0 0 17px;font-size:12px;position:relative}.history-event:before{content:'';position:absolute;right:-20px;top:6px;width:8px;height:8px;border-radius:50%;background:#93a97f;outline:4px solid var(--bg)}.history-event small{display:block;font-size:10px}.history-event p{font-size:11px;color:var(--muted)}.detail-total{background:#eef3e6;border-radius:12px;padding:15px;display:flex;align-items:center;justify-content:space-between}.detail-total b{font-size:23px}.check-field{display:flex;gap:9px;align-items:center;font-size:12px;margin:4px 0 16px}.check-field input{accent-color:var(--green);width:17px;height:17px}.employee-hero{background:var(--green);color:white}.employee-hero .eyebrow,.employee-hero p{color:#b8c9ae}.employee-hero h2{font-size:25px}.employee-hero .hero-amount{font-size:37px;font-weight:750;margin-top:5px;line-height:1.5}.employee-hero .hero-amount small{font-size:13px;color:#b7c6ad;font-weight:400}.employee-hero .art{opacity:.8}.section-title{display:flex;justify-content:space-between;align-items:center;margin:24px 0 15px}.section-title h2{font-size:17px}.offline-banner{background:#fae9df;color:#a36b47;padding:10px;text-align:center;font-size:12px;border-radius:10px;margin-top:14px}.mobile-nav{display:none}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%) translateY(15px);background:var(--green);border:1px solid #8ba17c;color:#fff;border-radius:12px;padding:13px 23px;font-size:13px;z-index:100;opacity:0;pointer-events:none;transition:.2s;max-width:90%;box-shadow:0 10px 40px #142b2930}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}#toast.error{background:#854b3e;border-color:#c38f7d}.print-only{display:none}.loading-bar{height:3px;background:#d0dfbd;position:fixed;top:0;left:0;right:0;z-index:100;animation:pulse 1s infinite}body.modal-open{overflow:hidden}.subheading{margin:24px 0 12px;color:var(--muted);font-size:12px}.detail-person{display:flex;align-items:center;gap:10px;margin-bottom:18px}.detail-person .avatar{width:43px;height:43px}.detail-person small{display:block}.detail-person .status{margin-right:auto}.detail-help{font-size:12px;color:var(--muted);margin-bottom:16px}.period-note{font-size:11px;color:var(--muted);margin:-8px 0 20px}.right-spacer{margin-right:auto}.mt{margin-top:17px}.mb{margin-bottom:17px}.list-count{font-size:11px;color:var(--muted)}@keyframes pulse{50%{opacity:.35}}@media(min-width:1500px){.main{padding-right:50px;padding-left:50px}.hero{min-height:180px}.hero .art{width:240px;height:145px}.dashboard-grid{grid-template-columns:2fr 1fr}.hero h2{font-size:28px}}
@media(max-width:1200px){.main{padding:0 24px 25px}.sidebar{width:205px;padding:27px 15px 18px}.layout{grid-template-columns:205px minmax(0,1fr)}.stats{gap:11px}.stat{padding:15px}.stat-value{font-size:24px}.dashboard-grid{grid-template-columns:minmax(0,1.6fr) minmax(230px,1fr);gap:15px}th,td{padding-right:14px;padding-left:14px}.orders-grid,.employees-list{grid-template-columns:repeat(2,minmax(0,1fr))}.products-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero .art{width:170px;margin-left:0}}
@media(max-width:950px){.sidebar{width:175px;padding:25px 11px 15px}.layout{grid-template-columns:175px minmax(0,1fr)}.brand-name{font-size:23px}.brand-sub{font-size:9px}.brand-icon{width:39px;height:39px}.nav-item{font-size:11px;padding:11px 10px;gap:9px}.main{padding-right:20px;padding-left:20px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.hero h2{font-size:22px}.hero .art{width:145px}.hero{padding:23px}.report-grid,.account-layout{grid-template-columns:1fr}.date{display:none}.auth-story{padding:45px 9%}.auth-story h1{font-size:34px}.products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.order-builder{grid-template-columns:1.2fr 1fr}.builder-products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){body{font-size:13px}.layout{display:block}.sidebar{display:none}.main{padding:0 17px calc(94px + env(safe-area-inset-bottom))}.topbar{height:73px}.breadcrumbs{display:none}.mobile-brand{display:flex;gap:9px;align-items:center}.mobile-brand .brand-name{font-size:23px}.mobile-brand .brand-sub{font-size:9px}.mobile-brand .brand-icon{width:36px;height:36px;border-radius:11px}.mobile-brand .brand-icon svg{width:23px}.top-actions{gap:8px}.top-actions>.avatar{display:none}.icon-btn{width:35px;height:35px;border-radius:10px}.page-heading{padding:24px 0 18px;align-items:flex-start}.page-heading h1{font-size:23px}.page-heading p{font-size:11px;max-width:225px}.heading-actions{gap:7px;flex-wrap:wrap;justify-content:flex-end;max-width:155px}.heading-actions>.btn{min-height:39px;padding:8px 10px;font-size:11px}.heading-actions>.btn svg{width:16px}.month-input{max-width:139px;padding:6px 8px;font-size:11px;min-height:36px}.hero{min-height:157px;padding:22px 20px;border-radius:17px}.hero h2{font-size:21px}.hero p{font-size:11px;max-width:235px}.hero .art{width:102px;height:105px;margin-right:-7px;margin-left:-9px;opacity:.8}.eyebrow{font-size:10px}.stats{gap:11px;margin:16px 0 20px}.stat{padding:15px;border-radius:14px}.stat-top{font-size:10px}.stat-icon{width:28px;height:28px;border-radius:9px}.stat-icon svg{width:17px;height:17px}.stat-value{font-size:25px;margin:8px 0 5px}.stat-value .currency{font-size:10px}.stat-foot{font-size:9px}.panel-head{padding:17px}.panel-head h2{font-size:14px}.panel-pad{padding:0 17px 17px}.tabs.line{padding-right:14px;padding-left:14px}.tab{padding:7px 10px;font-size:10px}.table-wrap{overflow:auto}th,td{padding:12px 14px}.dashboard-grid{gap:17px}.notice{margin-top:17px;padding:15px;font-size:10px}.notice p{font-size:10px}.footer{font-size:9px;margin-top:20px}.footer>span:last-child{display:none}.mobile-nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:space-around;background:#fffffff7;backdrop-filter:blur(12px);border-top:1px solid var(--line);padding:9px 7px calc(9px + env(safe-area-inset-bottom));z-index:30;box-shadow:0 -4px 18px #16392d04}.mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:48px;min-height:44px;color:#98a08e;font-size:9px;position:relative;border-radius:9px;padding:3px 6px}.mobile-nav button svg{width:21px;height:21px}.mobile-nav button.active{color:var(--green);background:#f0f5e9}.mobile-nav .mobile-dot{position:absolute;right:8px;top:1px;background:#cb8c4a;border-radius:50%;width:6px;height:6px}.orders-grid,.employees-list{grid-template-columns:1fr;gap:13px}.order-card{padding:17px}.search{width:100%;min-width:0}.toolbar{gap:10px}.toolbar .tabs{width:100%;overflow:auto;flex-wrap:nowrap;padding-bottom:4px}.attention-header{font-size:11px;padding:12px}.auth-page{display:block}.auth-story{display:none}.auth-main{min-height:100dvh;padding:30px 25px}.auth-box .mobile-brand{margin-bottom:45px}.auth-box h2{font-size:26px}.auth-note{margin-top:22px}.modal-backdrop{padding:12px;align-items:center}.modal{max-height:94dvh;border-radius:18px}.modal-head{padding:17px 18px}.modal-head h2{font-size:16px}.modal-body{padding:18px}.modal.wide{width:100%}.order-builder{grid-template-columns:1fr;gap:17px}.builder-products{grid-template-columns:repeat(3,minmax(0,1fr));max-height:235px;gap:8px}.pick-product{padding:11px 5px;min-height:96px}.pick-product .emoji{font-size:21px}.pick-product b{font-size:10px}.builder-cart{padding:15px}.form-grid{gap:0 12px}.form-grid .field{min-width:0}.input{font-size:16px}.builder-search input{font-size:13px}.field>span{font-size:11px}.products-grid{gap:11px}.catalog-card{padding:17px}.catalog-card h3{font-size:13px}.catalog-card .product-emoji{width:49px;height:49px;font-size:27px}.catalog-card .price{font-size:19px}.catalog-card p{font-size:10px}.demo-banner{font-size:10px}.employee-hero .hero-amount{font-size:30px}.employee-hero h2{font-size:20px}.section-title h2{font-size:15px}#toast{bottom:95px;font-size:12px;padding:11px 16px}.bar-row{gap:8px}.bar-row .label{min-width:80px;font-size:10px}.bar-row b{font-size:10px}.employee-card .card-actions .btn{min-height:41px}.order-card .btn{min-height:43px}.top-actions .date{display:none}.footer .connection{font-size:9px}.report-grid{gap:15px}.period-note{font-size:10px}.detail-total b{font-size:21px}.modal .order-lines{margin-top:10px}.mobile-profile-name{font-size:11px;color:#6e8065;max-width:85px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{body{background:white;font-size:12px}.sidebar,.topbar,.mobile-nav,.heading-actions,.toolbar,.card-actions,.footer,.demo-banner,.notice,.icon-btn,.modal-backdrop,#toast{display:none!important}.layout{display:block}.main{padding:0}.panel{box-shadow:none}.print-only{display:block}.page-heading{padding:10px 0}.stats{margin:10px 0;grid-template-columns:repeat(4,1fr)}.stat{padding:10px}.stat-value{font-size:20px}.orders-grid,.employees-list{grid-template-columns:1fr 1fr}.order-card,.panel,.stat{break-inside:avoid}.table-wrap{overflow:visible}.report-grid,.account-layout{display:block}.report-grid>.panel{margin-bottom:15px}}

.report-line{display:block;margin-top:5px;line-height:1.6}.heading-actions{flex-wrap:wrap}#detail-report-result .stats{margin-bottom:18px}#detail-report-result table{min-width:640px}[hidden]{display:none!important}
#detail-report-result .stats.two-stats{grid-template-columns:repeat(2,minmax(0,1fr))}

.next-cycle-fields{border:1px solid var(--line);border-radius:12px;padding:16px;min-width:0}.next-cycle-fields legend{padding:0 8px;font-weight:700}.server-link-actions{display:flex;flex-wrap:wrap;gap:10px}.server-link-actions .btn{flex:1;min-width:130px}

.status.cash-paid{background:#e0f0ee;color:#216157}.status.automatic{background:#e7e9fb;color:#4b4b82}.payment-tag{display:inline-block;font-size:11px;color:#647361;margin:8px 0}.payment-tag.cash{color:#216157}.cash-summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px;background:#eef4ed;border:1px solid var(--line);border-radius:12px;padding:12px 16px;margin:15px 0}.cash-summary span{font-size:12px;color:var(--muted)}.push-controls{border:1px solid var(--line);background:#f4f7ef;border-radius:12px;padding:15px;margin-bottom:18px}.push-controls p{font-size:12px;color:var(--muted);margin-top:7px}.notice-row.unread-event{background:#f0f5e8}.notice-row small{display:block;white-space:normal;line-height:1.7}.report-export-actions{flex-wrap:wrap}.report-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}#cash-received-field{align-items:flex-start}#builder-customer-kind-field select{min-width:0}@media(max-width:620px){.report-export-actions .btn{min-width:85px}.push-controls .modal-actions{flex-wrap:wrap}.push-controls .btn{min-width:130px}.cash-summary{font-size:12px}.mobile-nav{overflow-x:auto}.mobile-nav button{min-width:48px}}
