.admin{font-family:Arial,Helvetica,sans-serif;color:#202b32;background:#f7f8fa;font-size:14px}
.admin h1,.admin h2,.admin h3,.admin b,.admin strong{font-family:inherit}
.admin h1{font-size:32px;letter-spacing:-1.1px;line-height:1.15}.admin h2{font-size:19px;letter-spacing:-.4px}.admin h3{font-size:17px}.admin button,.admin select,.admin input,.admin textarea{border:1px solid #ccd2d5;border-radius:6px;padding:9px 13px}.admin button{font-weight:550}.admin small{display:block;font-size:12px;color:#69777f;line-height:1.5;margin-top:3px}
.office{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100vh}
.side{background:#f0f2f4;border-right:1px solid #dce0e3;padding:23px 14px;display:flex;flex-direction:column;gap:30px;height:100vh;position:sticky;top:0}.shop-identity{display:flex;align-items:center;gap:10px;padding:0 5px}.shop-identity>span{width:39px;height:39px;border-radius:9px;background:#243334;display:grid;place-items:center;color:#fff}.shop-identity strong{font-size:17px;letter-spacing:-.5px}.shop-identity small{font-size:11px;margin-top:2px}.side nav{display:grid;gap:3px}.side nav a,.side-bottom{display:flex;align-items:center;gap:12px;padding:10px 12px;line-height:20px;font-size:14px;border-radius:7px}.side a:hover{background:#e7ebed;text-decoration:none}.side nav a.active{background:#dce6e8;color:#153739;font-weight:bold}.side h5{margin:20px 12px 5px;color:#647178;font-size:11px;font-weight:600}.side hr{border:0;border-bottom:1px solid #d9dfe1;width:100%;margin:15px 0}.side-bottom{margin-top:auto}
.office-top{background:#fff;border-bottom:1px solid #e4e6e8;padding:0 4%;height:59px;display:flex;align-items:center;gap:10px;font-size:13px;color:#637078}.office-top>span{color:#b5bdc1}.visit{margin-left:auto;display:flex;gap:8px;align-items:center;color:#24363c}.workspace{min-width:0}#office-content{padding:34px 4% 60px;max-width:1590px;margin:0 auto}.office-title,.panel-title,.pager,.form-actions{display:flex;align-items:center;justify-content:space-between;gap:16px}.office-title{margin-bottom:26px}.admin .accent{background:#146d73;border-color:#146d73;color:#fff;padding:10px 16px}.admin .accent:hover{background:#0c585f}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:18px}
.metric,.panel{background:#fff;border:1px solid #dfe4e7;border-radius:10px}.metric{padding:19px 17px}.metric span{color:#526168;display:flex;align-items:center;gap:8px;font-size:13px;line-height:17px}.metric strong{display:block;margin-top:15px;font-size:29px;letter-spacing:-1px}.panel{margin-bottom:20px;overflow:hidden}.panel-title{padding:19px 22px;border-bottom:1px solid #eef0f1}.panel-title a,.link{color:#126c76}.panel-title span,.hint{color:#737f86}.bars{display:flex;height:170px;margin:24px 22px 0}.axis{display:flex;flex-direction:column;justify-content:space-between;text-align:right;margin-right:10px;font-size:11px;color:#77858b}.plot{display:flex;align-items:flex-end;flex:1;gap:1px;border-bottom:1px solid #bac6c8;background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),#e8edee calc(25% - 1px),#e8edee 25%)}.bar-cell{height:100%;flex:1;display:flex;align-items:flex-end}.bar-cell i{width:100%;background:#62a7a8;border-radius:3px 3px 0 0}.axis-dates{margin:7px 22px 18px 72px;display:flex;justify-content:space-between;font-size:11px;color:#77858b}
.office-empty{padding:50px 20px;text-align:center;color:#65757c}.office-empty>svg{color:#8ca3a6;margin-bottom:12px}.office-empty h3{margin:0 0 9px;color:#283b42}.office-empty p{line-height:1.6}
.admin table{border-collapse:collapse;width:100%;text-align:left;font-size:14px}.admin td,.admin th{padding:13px 15px;border-bottom:1px solid #e8ecee}.admin th{background:#f6f8f9;font-size:12px;color:#607078;white-space:nowrap}.admin td{line-height:1.45}.admin tr:last-child td{border-bottom:0}.admin .link,.admin .product-cell{background:none;border:0;padding:0;text-align:left}.admin .product-cell{display:flex;align-items:center;gap:13px;max-width:460px;line-height:1.4}.product-cell img,.edit-preview img{width:48px;height:54px;object-fit:contain;border-radius:5px;background:#fafafa}.nowrap{white-space:nowrap}.badge{display:inline-block;border-radius:4px;background:#edf0f2;color:#58646c;white-space:nowrap;padding:3px 7px;font-size:11px;font-weight:600;margin:1px 0}.badge.green{background:#e0f2e9;color:#27704d}.tools{padding:17px;display:flex;align-items:center;justify-content:space-between;gap:12px}.tools form,.search-control{display:flex;align-items:center;gap:8px}.search-control{border:1px solid #ccd2d5;border-radius:6px;padding-left:10px;color:#607078}.search-control input{min-width:0;width:230px;border:0}.pager{padding:14px 18px;border-top:1px solid #e6e9eb;color:#68757d;font-size:13px}.pager button{padding:4px 9px}.table-scroll{overflow:auto}
.config{padding:24px;max-width:720px}.config .accent{justify-self:start}.admin .form-stack{gap:15px}.admin .form-stack label{font-size:13px;font-weight:600;color:#39484f}.admin .form-stack input,.admin textarea,.admin select{width:100%;font-size:14px;font-weight:400}.admin select{width:auto;max-width:100%}.admin .office-title select{background:#fff}.admin .form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.admin label.check{display:flex;align-items:center;gap:8px}.admin label.check input{width:16px;height:16px;accent-color:#146d73}.admin dialog{padding:0;width:min(620px,calc(100% - 28px));max-height:88vh;color:#25343c}.modal-head{padding:20px 23px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dee3e6}.modal-head h2{margin:0}.modal-head button{font-size:23px;background:none;border:0;line-height:1;padding:2px 6px}.modal-body{padding:22px}.edit-preview{display:flex;align-items:center;gap:15px}.edit-preview img{width:64px;height:72px}.form-actions{border-top:1px solid #e6e9eb;padding-top:15px;justify-content:flex-end}.order-meta{line-height:1.6}.order-items{border-block:1px solid #e6e9eb;margin:16px 0}.hint{font-size:12px;line-height:1.5}
@media(max-width:1050px){.office{grid-template-columns:185px minmax(0,1fr)}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.tools{flex-wrap:wrap}.search-control input{width:195px}.side{padding-inline:10px}}
@media(max-width:680px){.office{display:block}.side{height:auto;position:static;padding:12px;gap:12px;border-right:0}.side nav{display:flex;overflow-x:auto;gap:4px}.side nav a{white-space:nowrap;padding:7px 10px;font-size:13px}.side h5,.side hr,.side-bottom{display:none}.side nav svg{width:16px}.office-top{height:43px}.metric{padding:13px}.metric strong{font-size:24px}.admin h1{font-size:25px}.office-title{align-items:flex-start;margin-bottom:18px}.office-title select,.office-title button{font-size:12px;padding:8px}#office-content{padding:22px 12px 44px}.metrics{gap:8px}.tools{padding:12px}.tools form,.search-control{flex:1}.search-control input{width:100%}.admin td,.admin th{padding:10px}.admin table{font-size:12px}.product-cell{min-width:190px}.product-cell img{width:35px}.visit{font-size:12px}.panel-title{padding:16px}.shop-identity>span{width:31px;height:31px}.modal-body,.config{padding:16px}}