.admin-body .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.owner-notifications{position:relative;display:flex;align-items:center;justify-content:center;gap:6px;min-width:46px;min-height:46px;padding:10px;border:1px solid #dce3ed;border-radius:12px;background:#fff;color:#465469}
.owner-notifications.has-unread{color:#155eea;background:#edf4ff;border-color:#bed5ff}.owner-notifications span:empty{display:none}.owner-notifications span{font-size:12px;font-weight:750}
.order-notice{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:18px 0;padding:20px 22px;border:1px solid #bad2ff;border-radius:16px;background:#ecf3ff;color:#163d7a}.order-notice strong{font-size:17px}.order-notice p{margin:6px 0 0;font-size:13px;line-height:1.55}.order-notice-actions{display:flex;gap:8px;flex-shrink:0}
.requests-intro{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:25px 0 18px}.requests-intro h2{font-size:27px;letter-spacing:-.7px}.requests-intro p{font-size:14px;color:#526176;margin-top:6px}
.order-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:20px}.order-stages button{display:grid;grid-template-columns:1fr auto;gap:9px;text-align:left;padding:20px;border:1px solid #dce3ed;border-radius:16px;background:#fff;color:#233348;min-height:100px}.order-stages span{font-size:16px;font-weight:650}.order-stages strong{font-size:27px;line-height:1}.order-stages small{font-size:12px;color:#58677c;grid-column:1/-1}.order-stages button.active{border-color:#155eea;box-shadow:0 0 0 1px #155eea;background:#edf4ff}.order-stages button[data-order-stage=done].active{border-color:#13764e;box-shadow:0 0 0 1px #13764e;background:#edf9f1}
.request-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.request-search{flex:1;min-width:230px}.request-search input{width:100%;height:46px;border:1px solid #cfd8e5;background:#fff;padding:10px 13px;border-radius:10px;font-size:15px}.request-filters .secondary{min-height:46px;border-radius:10px;gap:6px}.request-filters .active{background:#eaf2ff;border-color:#155eea;color:#1553bf}
.request-list-caption{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:19px 0 10px;font-size:13px;color:#556478}.request-list-caption>span:first-child{font-weight:650;color:#233348}.request-list-caption .sync-error{color:#a32136;font-weight:600}.orders-telegram-status{margin:0 0 17px;font-size:12px;color:#34624e;line-height:1.6}.orders-telegram-status.not-connected{color:#775421}
.request-card{padding:23px;border-color:#dce3ed;scroll-margin-top:110px}.request-card.request-unread{border-left:4px solid #155eea}.request-heading{display:flex;justify-content:space-between;align-items:start;gap:14px}.request-number{font-size:14px;font-weight:700;overflow-wrap:anywhere}.request-heading time{display:block;font-size:12px;color:#596a80;margin-top:5px}.request-status{padding:7px 10px;border-radius:8px;font-size:12px;font-weight:650;background:#eef2f8;max-width:47%}.status-new{background:#eaf2ff;color:#1953b6}.status-work{background:#fff2d9;color:#80590e}.status-done{background:#e8f6ed;color:#246748}.status-cancelled{background:#f5ebee;color:#884758}.request-customer{display:flex;align-items:center;gap:10px;margin:19px 0 8px;flex-wrap:wrap}.request-customer h3{font-size:19px;margin:0}.unread-label{font-size:11px;color:#1553bf;font-weight:650}.request-card .phone-link{font-size:16px;font-weight:600;color:#175cc6;display:inline-block;min-height:38px;padding:7px 0}.request-card p{color:#4d5b6f;font-size:14px;line-height:1.65}.request-card .request-delivery{margin:4px 0 16px;overflow-wrap:anywhere}.request-details{border-top:1px solid #e5e9f0;border-bottom:1px solid #e5e9f0;padding:4px 0;margin:14px 0}.request-details>summary{display:flex;justify-content:space-between;align-items:center;gap:14px;cursor:pointer;min-height:52px;font-size:14px;list-style:none}.request-details>summary::after{content:'+';font-size:24px;color:#637186}.request-details[open]>summary::after{content:'−'}.request-details summary strong{margin-left:auto;white-space:nowrap}.request-card .order-lines{font-size:14px;margin:0;border:0}.request-card .order-lines>div{font-size:14px;padding:6px 0;line-height:1.55}.request-card .order-lines small{font-size:12px;color:#59677b}.request-card .order-lines b{white-space:nowrap}.request-comment{white-space:pre-wrap;overflow-wrap:anywhere}.request-timeline{list-style:none;margin:15px 0;padding:0;font-size:12px;line-height:1.8;color:#556478}.request-timeline time{margin-left:8px}
.request-actions{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.request-actions>.primary{min-height:46px}.request-status-field{display:grid;gap:5px;min-width:200px}.request-status-field>span{font-size:11px;color:#556478}.request-status-field select{background:#fff;border:1px solid #cfd8e5;border-radius:10px;padding:10px 12px;font-size:14px;min-height:46px;width:100%}.request-card .owner-order-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:15px}.request-card .owner-order-tools .secondary{min-height:44px;font-size:12px}.request-card .owner-order-tools .fine-print{font-size:12px;color:#556478}.request-card .owner-order-tools~p{font-size:13px}.request-card button:disabled{opacity:.65;cursor:wait}.admin-body :is(button,a,input,select,summary):focus-visible{outline:3px solid #7baffe;outline-offset:3px}.request-filters~.admin-empty p{margin-top:10px}
@media(max-width:720px){.admin-body .header-inner{gap:8px}.admin-body .header .secondary{min-height:44px;font-size:12px}.owner-notifications{margin-left:auto}.order-notice{flex-direction:column;align-items:stretch;padding:17px}.order-notice-actions button{flex:1;min-height:44px;padding:10px;font-size:13px}.order-notice-actions{flex-wrap:wrap}.requests-intro h2{font-size:24px}.requests-intro p{font-size:13px}.order-stages{gap:8px}.order-stages button{padding:13px 10px;gap:10px;grid-template-columns:1fr;min-height:104px}.order-stages span{font-size:13px}.order-stages strong{font-size:26px}.order-stages small{display:none}.request-search{flex-basis:100%}.request-search input,.request-status-field select{font-size:16px}.request-filters>.secondary{font-size:12px;flex:1;padding:9px}.request-list-caption{font-size:12px}.request-card{padding:17px}.request-heading{gap:8px}.request-number{font-size:12px}.request-status{font-size:11px;padding:7px}.request-customer h3{font-size:17px;overflow-wrap:anywhere}.request-details summary{font-size:13px;flex-wrap:wrap;gap:8px}.request-details summary strong{font-size:14px}.request-card .order-lines>div{font-size:13px}.request-actions{align-items:stretch}.request-actions>.primary{width:100%;font-size:15px}.request-status-field{width:100%}.request-card .owner-order-tools .secondary{flex:1;padding:10px}.request-card .owner-order-tools .fine-print{width:100%;margin-top:5px}.requests-intro>.secondary{min-height:44px}.admin-tabs .chip{min-height:44px;font-size:12px}.request-card{scroll-margin-top:140px}}
@media(prefers-reduced-motion:reduce){.admin-body *{scroll-behavior:auto!important;transition:none!important}}
