.admin-assigned-order-card { display: flex; flex-direction: column; width: min(560px, calc(100vw - 32px)); max-height: min(920px, calc(100dvh - 40px)); overflow: hidden; }
.admin-assigned-order-card .admin-modal-body { display: flex; flex-direction: column; min-height: 0; padding: 0; overflow: hidden; }
.admin-assignment-fields { display: grid; gap: 14px; padding: 20px 22px; overflow-y: auto; overscroll-behavior: contain; }
.admin-assigned-order-card .admin-modal-head { flex: none; }
.admin-assigned-order-card .admin-modal-footer { flex: none; margin: 0; padding: 16px 22px; border-top: 1px solid var(--admin-border, #dfe7ef); }
.admin-assigned-order-card label { display: grid; gap: 7px; }
.admin-assignment-load { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 8px; color: var(--admin-muted, #6c7d90); background: var(--admin-soft, #f5f8fb); font-size: 13px; line-height: 1.65; }
.admin-assignment-load button { flex: none; }
.admin-assignment-load [hidden] { display: none; }
.admin-assignment-search { display: flex; gap: 8px; }
.admin-assignment-search input { flex: 1; min-width: 0; }
.admin-assignment-search button { flex: none; }
.admin-assignment-benefits { padding: 14px 16px; border: 1px solid var(--admin-border, #dfe7ef); border-radius: 10px; background: var(--admin-soft, #f5f8fb); }
.admin-assignment-benefits > span { color: var(--admin-muted, #6c7d90); font-size: 12px; }
.admin-assignment-benefits p { margin: 7px 0; color: var(--admin-text, #263c50); font-size: 14px; line-height: 1.7; }
.admin-assignment-benefits small { color: var(--admin-muted, #6c7d90); }
.admin-assigned-order-card [data-assignment-message]:empty { display: none; }
.order-request-trigger { position: relative; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--line, #e1e8ef); border-radius: 10px; color: var(--ink, #22364b); background: var(--paper, #fff); cursor: pointer; }
.order-request-trigger[hidden] { display: none; }
.order-request-trigger svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.order-request-count { position: absolute; top: -5px; right: -5px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 20px; color: #fff; background: #d77948; font-size: 10px; line-height: 17px; text-align: center; }
.order-request-modal { position: fixed; z-index: 12000; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(16, 30, 48, .48); backdrop-filter: blur(5px); }
.order-request-dialog { width: min(540px, 100%); max-height: calc(100dvh - 40px); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line, #e1e8ef); border-radius: 18px; color: var(--ink, #22364b); background: var(--paper, #fff); box-shadow: 0 24px 70px rgba(12, 28, 46, .2); }
.order-request-dialog > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 24px 24px 18px; border-bottom: 1px solid var(--line, #e1e8ef); }
.order-request-dialog h3 { margin: 0; font-size: 20px; font-weight: 600; }
.order-request-dialog > header p { margin: 8px 0 0; color: var(--muted, #6b7d8f); font-size: 13px; line-height: 1.65; }
.order-request-close { width: 30px; height: 30px; flex: none; border: 0; border-radius: 8px; color: var(--muted, #6b7d8f); background: var(--soft, #f4f7fa); font-size: 22px; cursor: pointer; }
.order-request-close:focus-visible { outline: 2px solid var(--cyan, #168b88); outline-offset: 3px; }
.order-request-list { display: grid; gap: 14px; padding: 20px 24px; overflow-y: auto; overscroll-behavior: contain; }
.order-request-item { padding: 18px; border: 1px solid var(--line, #e1e8ef); border-radius: 12px; background: var(--soft, #f8fafc); }
.order-request-item h4 { margin: 0 0 10px; font-size: 15px; line-height: 1.5; }
.order-request-price { display: block; margin-bottom: 12px; color: var(--cyan, #168b88); font-size: 28px; font-weight: 600; letter-spacing: -.7px; }
.order-request-price small { margin-left: 5px; font-size: 12px; font-weight: 400; letter-spacing: 0; }
.order-request-item p { margin: 8px 0; color: var(--muted, #6b7d8f); font-size: 13px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.order-request-item .order-request-note { color: var(--ink, #344e62); }
.order-request-item .primary-button { width: 100%; margin-top: 12px; }
.order-request-dialog > footer { display: flex; justify-content: space-between; gap: 12px; padding: 16px 24px; border-top: 1px solid var(--line, #e1e8ef); }
.order-source-label { display: inline-block; margin-left: 6px; padding: 2px 6px; border-radius: 5px; color: #9e672e; background: #fff3e3; font-size: 11px; font-weight: 400; white-space: nowrap; }
.order-assignment-note { display: block; max-width: 250px; margin-top: 5px; overflow: hidden; color: var(--muted, #748294); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 600px) {
  .order-request-modal { padding: 12px; }
  .order-request-dialog { max-height: calc(100dvh - 24px); }
  .order-request-dialog > header { padding: 20px 18px 16px; }
  .order-request-list { padding: 16px 18px; }
  .order-request-dialog > footer { padding: 14px 18px; }
}
