*{box-sizing:border-box}body{margin:0;background:#f5f7fb;color:#24324a;font-family:Inter,Arial,sans-serif}button,input,select{font:inherit}button{cursor:pointer}.signin{min-height:100vh;display:grid;place-items:center;background:#f1f4fa}.signin form{background:#fff;width:min(420px,94vw);padding:35px;box-shadow:0 8px 28px #1232;border-radius:10px}.signin label{display:grid;margin:18px 0;gap:8px}.signin input,.filters input,.filters select,.drawer input{border:1px solid #d8deea;padding:12px;border-radius:5px}.signin button,.drawer form button{border:0;background:#3759d7;color:#fff;padding:12px 20px;border-radius:5px;width:100%}.shell{display:flex;min-height:100vh}.shell aside{width:240px;background:#18284b;color:#fff;padding:22px 14px;flex:none}.shell aside h2{font-size:19px;padding:0 12px 20px}.shell aside button{display:block;width:100%;padding:12px;text-align:left;color:#dbe3f6;background:transparent;border:0;border-radius:6px}.shell aside button.active,.shell aside button:hover{background:#3554a0;color:#fff}.workspace{flex:1;min-width:0}.workspace header{background:#fff;height:65px;display:flex;align-items:center;justify-content:space-between;padding:0 25px;box-shadow:0 1px 3px #ddd}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.metrics div{background:#fff;padding:28px;border-radius:8px;box-shadow:0 2px 10px #ddd;display:grid;gap:12px}.metrics strong{font-size:30px}.filters{display:flex;gap:10px;margin-bottom:15px}.table-wrap{background:#fff;overflow:auto;border-radius:7px}.table-wrap table{width:100%;border-collapse:collapse;min-width:740px}.table-wrap td,.table-wrap th{padding:14px;border-bottom:1px solid #eef0f5;text-align:left;font-size:14px}.table-wrap th{background:#fafbff}.table-wrap button,.pagination button,.actions button{background:#3860d9;color:#fff;border:0;border-radius:4px;padding:7px 12px}.pagination{display:flex;align-items:center;gap:12px;margin:18px}.pagination button:disabled{opacity:.4}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0007;display:flex;justify-content:flex-end}.drawer{position:relative;width:min(520px,100%);background:#fff;height:100%;overflow:auto;padding:30px}.drawer p{border-bottom:1px solid #eee;padding-bottom:8px;overflow-wrap:anywhere}.drawer .close{position:absolute;right:20px;top:15px;font-size:26px;background:none;border:0}.actions{display:flex;gap:8px;flex-wrap:wrap}.actions .danger{background:#c43a3a}.drawer form{display:flex;gap:7px}.drawer form button{width:auto}.error{background:#fff0f0;color:#ba2222;padding:12px;margin-bottom:12px}.empty{text-align:center;padding:25px}.hamburger{display:none}@media (max-width:850px){.shell aside{display:none;position:fixed;z-index:5;height:100vh;overflow:auto}.shell aside.show{display:block}.hamburger{display:block;background:transparent;border:0;font-size:24px}.workspace main{padding:12px}.metrics{grid-template-columns:repeat(2,1fr)}.filters{flex-wrap:wrap}.filters input{width:100%}}@media (max-width:480px){.metrics{grid-template-columns:1fr}}.preview-image{max-width:100%;max-height:240px;object-fit:contain;border:1px solid #eee}.permissions-panel{background:#fff;border-radius:12px;padding:24px;max-width:600px}.permissions-panel label{display:flex;align-items:center;gap:12px;padding:12px;border-bottom:1px solid #eee;cursor:pointer}.permissions-panel input{width:18px;height:18px}.editor form{display:grid;gap:14px}.editor label{display:grid;gap:7px;font-size:13px;font-weight:600}.editor input,.editor textarea,.editor select,.admin-note,.adjust-form input{width:100%;padding:11px;border:1px solid #d8deea;border-radius:5px;background:#fff}.editor input[type=checkbox]{width:18px;height:18px}.editor input[type=file]{padding:8px}.editor .editor-actions{display:flex;gap:9px;justify-content:flex-end;margin-top:8px}.editor .editor-actions button{width:auto}.editor .editor-actions .cancel{background:#e7e9ed;color:#222}.admin-note{min-height:75px;margin:16px 0}.adjust-form{display:grid;gap:8px;background:#f7f9ff;padding:14px;margin:15px 0}.adjust-form h3,.adjust-form p{margin:0}.adjust-form button{border:0;border-radius:5px;color:#fff;background:#3759d7;padding:10px}.drawer dl>div{border-bottom:1px solid #eee;padding:8px 0}.drawer dt{font-size:12px;color:#778}.drawer dd{margin:4px 0;overflow-wrap:anywhere}.drawer h3{font-size:16px;margin-top:25px}@media (max-width:850px){.overlay{z-index:20}.drawer{padding:22px 16px}.workspace header span{font-size:12px}.filters>*{max-width:100%}}.table-image{display:block;width:52px;height:42px;object-fit:cover;border-radius:4px}.table-wrap td{max-width:300px;overflow-wrap:anywhere}.filters input[type=date]{min-width:140px}.filters button{background:#3659d8;color:#fff;border:0;border-radius:5px;padding:10px 14px}.filters select{min-width:140px}.security-panel{background:#fff;border-radius:8px;padding:24px;max-width:520px}.security-panel form{display:grid;gap:16px}.security-panel label{display:grid;gap:6px}.security-panel input{width:100%;border:1px solid #d8deea;padding:11px;border-radius:5px}.security-panel form button{border:0;background:#3759d7;color:#fff;padding:12px;border-radius:5px}.security-panel form button:disabled{opacity:.6}.staff-password{display:grid!important;gap:10px!important;margin:22px 0;padding:14px;background:#f7f9ff;border-radius:8px}.staff-password h3{margin:0}.staff-password input{width:100%;padding:11px;border:1px solid #d8deea;border-radius:5px}.staff-password button{width:auto!important}.settings-form{display:grid;gap:20px;max-width:1000px}.settings-form section{background:#fff;border:1px solid #e8ebf0;border-radius:8px;padding:24px}.settings-form h3{font-size:16px;border-bottom:1px solid #edf0f4;padding-bottom:12px;margin:0 0 18px}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.settings-grid label{display:grid;gap:7px;font-size:14px}.settings-grid input{min-width:0;padding:11px;border:1px solid #d8deea;border-radius:5px}.settings-grid input[type=file]{padding:8px}.settings-preview{max-width:150px;max-height:80px;object-fit:contain}.settings-form>button{justify-self:start;background:#3759d7;color:#fff;border:0;padding:11px 24px;border-radius:5px}@media (max-width:650px){.settings-grid{grid-template-columns:1fr}.settings-form section{padding:16px}}.editor .generate-code{width:auto;justify-self:start;padding:7px 12px}.staff-rights{border:1px solid #e3e7f0;border-radius:6px;padding:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.staff-rights legend{font-weight:600}.staff-rights label{display:flex!important;align-items:center;gap:8px;font-weight:400!important}.staff-rights input{width:18px!important;height:18px!important}@media (max-width:520px){.staff-rights{grid-template-columns:1fr}}.shell aside{background:#172344}.shell aside h2{background:#fff;color:#202b42;font-size:18px;margin:-22px -14px 18px;padding:21px 25px;min-height:61px}.shell aside button{color:#aab5d2;font-size:14px;line-height:1.4}.shell aside button.active,.shell aside button:hover{background:#253252;color:#fff}.cms-dashboard{max-width:1300px}.dashboard-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 24px}.dashboard-card{background:#fff;min-height:103px;border:1px solid #e6e8f0;border-top:2px solid #cdb7eb;box-shadow:0 3px 12px #2939580a;border-radius:8px;display:flex;align-items:center;gap:25px;padding:20px}.dashboard-card:nth-child(2){border-top-color:#ffc5bd}.dashboard-card:nth-child(3){border-top-color:#b5e3f4}.dashboard-card:nth-child(4){border-top-color:#f7d998}.dashboard-card:nth-child(5){border-top-color:#a9eced}.dashboard-card:nth-child(6){border-top-color:#c7c6f8}.dashboard-icon{width:37px;height:37px;border-radius:50%;display:grid;place-items:center;color:#fff;background:#8060d6;font-size:19px}.dashboard-card:nth-child(2) .dashboard-icon{background:#e95a49}.dashboard-card:nth-child(3) .dashboard-icon{background:#30b5d9}.dashboard-card:nth-child(4) .dashboard-icon{background:#f4ba4e}.dashboard-card:nth-child(5) .dashboard-icon{background:#1bbeca}.dashboard-card:nth-child(6) .dashboard-icon{background:#5655c3}.dashboard-card small{display:block;color:#656d7b;font-size:14px}.dashboard-card strong{display:block;font-size:19px;margin-top:9px}.dashboard-card em{font-style:normal;color:#12aeb7;font-size:11px;background:#e8f9fb;display:inline-block;margin-top:6px}.dashboard-chart{background:#fff;margin-top:22px;border-radius:8px;box-shadow:0 3px 12px #2939580a}.dashboard-chart h3{font-size:16px;margin:0;border-bottom:1px solid #eee;padding:18px 22px}.chart-area{height:300px;margin:35px 35px 5px;display:grid;grid-template-columns:repeat(7,1fr);border-bottom:1px solid #ddd;background:repeating-linear-gradient(to top,#eef0f5 0 1px,transparent 1px 25%)}.chart-day{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:0}.chart-day small{position:relative;top:25px;color:#707986;font-size:11px}.chart-bars{height:95%;display:flex;align-items:flex-end;gap:4px;width:60%;justify-content:center}.chart-bars span{width:17px;min-width:3px;background:#7655d4}.chart-bars span+span{background:#32b4da}.chart-legend{text-align:center;padding:35px 0 22px;font-size:12px}.chart-legend span:first-child{color:#7655d4;margin-right:15px}.chart-legend span:last-child{color:#32b4da}@media (max-width:700px){.dashboard-cards{grid-template-columns:1fr;gap:10px}.dashboard-card{min-height:80px}.chart-area{margin:20px 14px 5px;height:220px}.chart-day small{font-size:9px}}.shell aside .side-group{display:block;color:#667393;font-size:10px;letter-spacing:1.1px;margin:17px 12px 9px}.shell aside .side-group:first-of-type{margin-top:9px}.workspace header strong{font-size:16px}.workspace main{padding:25px}.user-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px}.user-summary>div{background:#fff;border:1px solid #e9ecf3;border-radius:7px;padding:20px;box-shadow:0 2px 9px #26354b0a;display:grid;gap:9px}.user-summary strong{font-size:24px;color:#2a3650}.user-summary span{font-size:13px;color:#788396}@media (max-width:850px){.user-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}@media (max-width:420px){.user-summary>div{padding:14px}.user-summary strong{font-size:20px}}.history-overlay{z-index:30;align-items:center;justify-content:center;padding:16px}.history-dialog{width:min(1050px,100%);max-height:calc(100vh - 32px);overflow:auto;background:#fff;border-radius:7px;box-shadow:0 10px 36px #0003;padding:24px}.history-header{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #eee}.history-header h2{font-size:19px;margin:0 0 16px}.history-header button{background:transparent;border:0;font-size:27px;line-height:1}.history-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:18px 0}.history-filters label{display:grid;gap:6px;color:#626f80;font-size:13px}.history-filters input{padding:9px;border:1px solid #d8deea;border-radius:5px;min-width:150px}.history-filters button,.history-footer button{border:0;background:#3860d9;color:#fff;padding:10px 15px;border-radius:5px}.history-footer{text-align:right;border-top:1px solid #eee;padding-top:16px}.user-history-actions{margin:16px 0}.history-dialog .table-wrap{border:1px solid #eef0f5}@media (max-width:650px){.history-dialog{padding:16px}.history-filters label,.history-filters input{width:100%}}.drawer .user-profile-editor{display:grid;gap:14px;margin-top:18px}.user-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.user-form-grid label{display:grid;gap:5px;font-size:12px;color:#647084}.user-form-grid input{min-width:0;width:100%;padding:9px;border:1px solid #d8deea;border-radius:5px;color:#24324a}.user-form-grid input:read-only{background:#f6f8fb}.drawer .user-profile-editor>button{width:auto;justify-self:start}.user-bank-state{font-size:12px;color:#647084}.admin-success{color:#148461;padding:10px;background:#e7f8f0}@media (max-width:450px){.user-form-grid{grid-template-columns:1fr}}.product-editor{width:min(750px,100%)}.product-editor form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.product-editor label{display:grid;gap:7px;font-size:13px;font-weight:600}.product-editor input,.product-editor select,.product-editor textarea{width:100%;min-width:0;border:1px solid #d8deea;border-radius:5px;padding:10px}.product-editor .wide{grid-column:1/-1}.product-editor .editor-actions{display:flex;justify-content:flex-end;gap:10px}.product-editor .editor-actions button{width:auto;border:0;background:#3759d7;color:#fff;padding:10px 16px;border-radius:4px}.product-editor .editor-actions .cancel{background:#eef0f4;color:#334}.product-image-list{display:flex;gap:10px;overflow:auto;margin-top:10px}.product-image-list>div{width:116px;flex:none;border:1px solid #eee;padding:5px}.product-image-list img{width:100%;height:86px;object-fit:cover}.product-image-list button{background:#fff;border:0;color:#3759d7;font-size:11px;padding:5px}@media (max-width:600px){.product-editor form{grid-template-columns:1fr}}.order-drawer{width:min(800px,100%);max-height:calc(100vh - 100px);overflow:auto;padding:6px 2px 18px}.order-drawer h2{font-size:20px;margin:12px 0 24px}.order-drawer h3{font-size:16px;margin:22px 0 13px}.order-tabs{display:flex;gap:0;border-bottom:1px solid #e6eaf0}.order-tabs button{padding:12px 19px;background:#fff;border:0;border-bottom:2px solid transparent;color:#697181}.order-tabs button.active{border-bottom-color:#7256b5;color:#59449b;font-weight:600}.order-state-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0 28px}.order-state-summary>div{padding:17px;background:#f7f8fc;border-radius:8px;display:grid;gap:8px}.order-state-summary small{color:#79808e}.order-state-summary strong{color:#353b47;font-size:15px}.order-information{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;border:1px solid #e8eaf0;border-radius:8px;padding:8px 18px}.order-information>div{display:flex;justify-content:space-between;gap:10px;padding:15px 0;border-bottom:1px solid #eceef3}.order-information>div.full{grid-column:1/-1;border-bottom:0}.order-information dt,.order-finances dt{color:#727986}.order-information dd,.order-finances dd{margin:0;text-align:right;font-weight:500}.order-finances{padding:12px 18px;background:#f9fafe;border-radius:8px}.order-finances>div{display:flex;justify-content:space-between;padding:10px 0}.order-finances .total{border-top:1px solid #e0e3eb;font-size:16px;font-weight:700}.order-item-name{display:flex;align-items:center;gap:9px;min-width:170px}.order-item-name img{width:38px;height:38px;object-fit:cover;border-radius:4px}.order-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:23px}.order-actions span{flex-basis:100%;color:#737b8c;font-size:13px}.order-actions button{padding:8px 12px;border:1px solid #d5dbeb;background:#fff;border-radius:5px}.order-actions button.danger{color:#be2633;border-color:#f6c5c9}@media (max-width:700px){.order-drawer{max-height:85vh}.order-state-summary{grid-template-columns:1fr;gap:6px}.order-information{grid-template-columns:1fr}.order-information>div{grid-column:1/-1}.order-tabs button{font-size:13px;padding:9px}}.signin{background:#f6f7fd;color:#343944}.signin form{width:min(374px,94vw);min-height:520px;border:1px solid #ebedf2;border-radius:7px;box-shadow:none;padding:70px 68px 55px}.signin-brand{text-align:center;color:#111;font-size:18px;font-weight:800;white-space:nowrap;margin-bottom:44px}.signin-brand span{font-size:23px;vertical-align:middle}.signin-brand b{color:#df8b2b}.signin h1{font-size:19px;text-align:center;margin:0 0 14px}.signin p{text-align:center;font-size:13px;color:#a5a8b2;margin:0 0 22px}.signin label{font-size:13px;color:#333;font-weight:600;gap:9px;margin:17px 0}.signin label>input,.signin-password input{height:41px;width:100%;background:#fff;border:1px solid #d5d9e1;border-radius:8px;font-size:13px;padding:10px 13px}.signin-password{display:flex}.signin-password input{border-radius:8px 0 0 8px}.signin-password button{width:42px;flex:none;padding:0;border-radius:0 8px 8px 0;background:#f4f6fa;color:#444}.signin form>.signin-submit{height:40px;margin-top:15px;background:#7d54df;border-radius:3px;font-size:14px;padding:0}.signin .error{text-align:left;font-size:12px}@media (max-width:480px){.signin form{padding:52px 38px;min-height:480px}}
