.login-page { display: grid; min-height: 100vh; place-items: center; padding: 20px; }
.login-card { width: min(100%, 460px); background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 5vw, 34px); box-shadow: var(--shadow); }
.login-card h1 { margin: 12px 0 6px; font-size: clamp(1.7rem, 5vw, 2.2rem); }
.login-card p { margin-bottom: 16px; line-height: 1.45; }
.login-card > a { margin-top: 14px; }
.ops-large { min-height: 50px; font-size: 1rem; }
.ops-user { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: end; }
#staff-greeting { font-weight: 800; }
.ops-service { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px; border: 1px solid var(--line); background: var(--card); border-radius: 14px; margin-bottom: 12px; }
.ops-service p { color: var(--muted); font-size: .88rem; margin: 4px 0 0; }
.ops-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 13px; }
.ops-filters button { min-height: 48px; white-space: normal; }
.ops-filters [aria-pressed="true"] { background: var(--accent); color: #fffaf0; border-color: var(--accent); }
.ops-tools { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; margin-bottom: 8px; }
.ops-tools > .field:first-child { flex: 1 1 210px; }
.ops-tools > .field { min-width: 125px; }
.ops-sync { color: var(--muted); font-size: .87rem; margin: 6px 0 12px; }
.ops-orders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 12px; }
.ops-orders .receipt-card { margin: 0; padding: 14px; }
.ops-orders .receipt-head strong { font-size: 1.35rem; }
.ops-orders .receipt-lines li { font-size: .97rem; }
.ops-orders .receipt-total { flex-direction: column; align-items: stretch; }
.ops-orders .receipt-total > b { font-size: 1.14rem; }
.ops-orders .ops-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
.ops-orders .ops-actions .primary { grid-column: 1 / -1; }
.ops-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.ops-actions button { white-space: normal; }
.ops-cancel { color: #982e20; }
.ops-receipt-meta { display: grid; gap: 4px; border-radius: 8px; padding: 8px; background: #f6ede3; margin: 8px 0; font-size: .88rem; }
.ops-row { display: flex; justify-content: space-between; align-items: center; gap: 9px; background: var(--card); border: 1px solid var(--line); border-radius: 11px; padding: 12px; margin-bottom: 7px; }
.ops-row p { color: var(--muted); margin: 5px 0 0; font-size: .87rem; }
.ops-timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.ops-timeline li { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.ops-timeline li div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 3px 8px; }
.ops-timeline li span { color: var(--muted); font-size: .85rem; }
.ops-timeline li p { margin: 5px 0 0; overflow-wrap: anywhere; }
@media (max-width: 800px) {
  .ops-orders { grid-template-columns: minmax(0, 1fr); }
  .ops-user { font-size: .85rem; }
}
@media (max-width: 520px) {
  .ops-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ops-row { align-items: start; flex-wrap: wrap; }
  .ops-tools .field { flex: 1 0 140px; }
  .ops-tools button { flex-grow: 1; }
  .ops-service { align-items: start; flex-wrap: wrap; }
}
