/* Shared staff primitives; public checkout keeps its own presentation. */
.staff-shell .staff-page { min-width: 0; }
.staff-shell .page-header { gap: 16px; }
.staff-shell .panel { min-width: 0; }
.staff-shell .row-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.staff-shell .row-actions form { margin: 0; }
.staff-shell .button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; line-height: 1.35; }
.staff-shell .button:disabled { opacity: .55; cursor: not-allowed; }
.staff-shell :is(input, select, textarea, button, a):focus-visible { outline: 3px solid #247d85; outline-offset: 3px; }
.staff-shell .table-wrap { max-width: 100%; overflow-x: auto; }
.staff-shell .alert { overflow-wrap: anywhere; }
.staff-shell .ops-check-grid > .panel { margin: 0; }
.staff-shell .health-page details { margin: 12px 0 20px; }
.staff-shell .health-page summary { cursor: pointer; font-weight: 650; }
.staff-shell .health-page li { margin-block: 9px; }
.staff-shell .settings-advanced { border: 1px solid #d7e2e2; border-radius: 12px; padding: 18px; }
.staff-shell .settings-advanced > summary { display: grid; gap: 6px; cursor: pointer; }
.staff-shell .settings-advanced > summary span { color: #536970; font-size: .9rem; }
.staff-shell .settings-advanced-body { display: grid; gap: 16px; margin-top: 18px; }
.staff-shell .order-edit-nav { margin-bottom: 20px; }
.staff-shell .order-editor .check-grid { max-height: 520px; overflow: auto; padding: 4px; }
.staff-shell .order-editor .change-preview { padding: 16px; background: #f1f7f5; border: 1px solid #d4e5de; border-radius: 10px; }
.staff-shell .order-editor details > summary { padding: 12px 0; cursor: pointer; font-weight: 650; }
.staff-shell .order-editor details .form { margin-top: 16px; }
.staff-shell .order-editor [id] { scroll-margin-top: 90px; }
.staff-shell .order-editor .exchange-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 16px; }
.staff-shell .order-editor .exchange-card { border: 1px solid #d7e2e2; border-radius: 10px; padding: 16px; }
@media (max-width: 760px) {
    .staff-shell .page-header.row { align-items: stretch; }
    .staff-shell .row-actions > .button, .staff-shell .row-actions > form { flex: 1 1 180px; }
    .staff-shell .row-actions > form > .button { width: 100%; }
    .staff-shell .form-grid, .staff-shell .settings-advanced .form-grid { grid-template-columns: minmax(0, 1fr); }
    .staff-shell .summary-list { grid-template-columns: minmax(0, 1fr); }
    .staff-shell .panel { padding: 18px; }
    .staff-shell .button { white-space: normal; max-width: 100%; }
}
.staff-shell .workspace-tabs { display: grid; gap: 12px; padding: 16px; margin-bottom: 20px; background: #f1f6fa; border: 1px solid #d4e0e9; border-radius: 12px; }
.staff-shell .workspace-tasks { scroll-margin-top: 100px; }
.staff-shell .sale-secondary > summary { cursor: pointer; font-weight: 700; padding: 8px 0; }
.staff-shell .sale-secondary[open] > summary { margin-bottom: 16px; }
