.crm-freshness{display:inline-flex;gap:8px;align-items:center;font-size:12px;min-height:36px;padding:8px 12px;border:1px solid #443454;border-radius:9px;background:#1c182b;color:#d9d0e4;font-variant-numeric:tabular-nums;white-space:normal;text-align:left;max-width:300px}.crm-freshness i{width:7px;height:7px;border-radius:50%;background:#8fe2ba;flex:none}.crm-freshness[data-state=offline] i{background:#ff9ba9}.crm-freshness[data-state=stale] i,.crm-freshness[data-state=waiting] i{background:#ffc38e}.freshness-warning{background:#392634;border:1px solid #916349;border-radius:10px;padding:12px 16px;color:#ffe1c4;line-height:1.5}.freshness-warning[hidden]{display:none}.operations-dialog{width:min(1080px,calc(100vw - 32px));max-width:1080px;max-height:88dvh;overflow:auto;border:1px solid #514064;border-radius:18px;padding:28px;background:#151121;color:#f4edf9}.operations-dialog::backdrop{background:#090711b3;backdrop-filter:blur(5px)}.operations-dialog>header,.courier-work-card>header{display:flex;justify-content:space-between;gap:18px;align-items:start;position:static;padding:0;background:transparent;border:0;height:auto}.operations-dialog>header{margin-bottom:24px}.operations-dialog>header p{color:#8fe2ba;font-size:11px;letter-spacing:.1em;margin:0 0 8px}.operations-dialog h2{font-size:26px;margin:0}.operations-dialog h3{margin-top:28px}.operations-dialog p{line-height:1.55;overflow-wrap:anywhere}.operations-dialog button{min-height:40px}.operations-dialog form{display:grid;gap:16px}.operations-dialog label{display:grid;gap:8px;color:#d9d0e4}.operations-dialog textarea,.operations-dialog select{width:100%;box-sizing:border-box}.operations-dialog textarea{resize:vertical}.handover-summary{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:24px}.handover-summary>div{display:flex;gap:10px;align-items:center}.handover-summary strong{font-size:30px;color:#8fe2ba}.handover-summary small,.operations-note,.handover-history span,.handover-task p,.handover-task small,.courier-work-card>header p,.courier-last-message>span{color:#c1b5cd}.handover-form{padding:20px;border:1px solid #443454;border-radius:12px;background:#1c182b;margin-bottom:24px}.handover-form>p,.feedback-form>p{margin:0;font-size:13px;color:#c1b5cd}.handover-tasks>summary,.handover-history summary{min-height:40px;cursor:pointer;font-weight:600}.handover-task{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;padding:18px 0;border-bottom:1px solid #443454}.handover-task button,.courier-order button{display:block;background:none;border:0;color:#63e5dc;text-align:left;padding:6px 0;font-weight:600;white-space:normal;overflow-wrap:anywhere}.handover-category{font-size:11px;color:#ffc38e}.handover-task p{margin:6px 0;font-size:13px}.handover-history>article{padding:20px;border:1px solid #443454;border-radius:12px;margin:12px 0}.handover-history>article>div{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.handover-history span{font-size:12px}.operations-empty{padding:24px;background:#1c182b;border-radius:12px}.courier-workspace>p{color:#c1b5cd}.courier-work-card{padding:24px;border:1px solid #443454;border-radius:14px;background:#1c182b;margin:18px 0}.courier-work-card h3{margin:0;font-size:20px}.courier-work-card>header>strong{color:#8fe2ba;white-space:nowrap}.courier-order{border-top:1px solid #443454;padding:14px 0}.courier-order p{margin:6px 0;overflow-wrap:anywhere}.courier-order>strong{font-size:13px;color:#d9d0e4}.courier-last-message{padding:14px;border-radius:10px;background:#282033;overflow-wrap:anywhere}.courier-last-message>span{font-size:12px}.shift-handover-entry{margin:16px 0;display:flex;justify-content:space-between;gap:16px;align-items:center;padding:18px 20px;border:1px solid #4c7363;border-radius:12px;background:#1a2b29}.shift-handover-entry p{margin:4px 0;color:#c1d7d2;font-size:13px}.shift-handover-entry button{min-height:42px}@media(max-width:700px){.operations-dialog{padding:18px}.handover-task{grid-template-columns:minmax(0,1fr);gap:10px}.shift-handover-entry{align-items:start;flex-direction:column}.crm-freshness{max-width:100%;font-size:11px}.courier-work-card{padding:18px}.operations-dialog h2{font-size:22px}header:has(>.crm-freshness){flex-wrap:wrap;gap:10px;height:auto;min-height:64px}}

.activity-kind-filter{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.activity-kind-filter button{min-height:36px;padding:6px 12px}.activity-kind-filter button[aria-pressed=true]{color:#b9f5df;border-color:#8fe2ba;background:#203b35}.activity-item[hidden]{display:none}

header>.operator-health{display:none}header:has(>.crm-freshness){gap:16px}header:has(>.crm-freshness)>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

body[data-account-role=manager] .order-technical{display:none}

.crm-freshness{width:276px;flex:0 0 276px;min-height:44px;line-height:1.3}.crm-freshness>span{min-height:2.6em;display:flex;align-items:center}.courier-last-message p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.handover-history>article>p{white-space:pre-wrap}@media(max-width:700px){.crm-freshness{width:100%;flex-basis:100%;order:3}}
