.daily-view-reset { margin-bottom: 12px; }
.workspace-shell #order-sheet .order-table--daily { min-width: 0; table-layout: fixed; }
.order-table--daily th[data-column-key="order_number"] { width: 16%; }
.order-table--daily th[data-column-key="client_name"], .order-table--daily th[data-column-key="product"] { width: 23%; }
.order-table--daily th[data-column-key="stage"] { width: 18%; }
.order-table--daily th[data-column-key="due_date"] { width: 15%; }
.workspace-shell #order-sheet .order-table--daily .sheet-input { min-width: 0; width: 100%; padding-inline: 10px; }
.workspace-shell #order-sheet .order-table--daily .sheet-input--order-number { padding-left: 24px; }
.order-table--daily .sheet-cell--actions, .order-table--daily .sheet-actions-heading { min-width: 64px; width: 64px; }
.order-table--daily .sheet-row-actions { gap: 0; padding: 0; }


.cell-conflict { padding: 10px; white-space: normal; font-size: var(--text-meta); background: var(--red-wash); }
.cell-conflict button { display: block; min-height: var(--control-height); margin-top: 4px; }
.panel-skeleton { display: none; padding: 32px; gap: 18px; }
.panel-skeleton span { display: block; height: 48px; background: var(--paper-deep); }
.panel-skeleton span:first-child { width: 55%; height: 28px; margin-bottom: 18px; }
.order-panel:has(.order-panel__status:not(:empty)):has(turbo-frame[hidden]) .panel-skeleton { display: grid; }
.sheet-input, .button { transition: background-color 150ms ease, color 150ms ease; }
@media (prefers-reduced-motion: reduce) {
  .sheet-input, .button { transition: none; }
}

.cell-name { position: relative; }
.cell-name .sheet-input { resize: none !important; }
.cell-name:not(:focus-within) .sheet-input { color: transparent; }
.cell-name__preview { position: absolute; inset: 12px 10px auto; max-height: 44px; line-height: 22px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; white-space: normal; overflow-wrap: anywhere; pointer-events: none; }
.cell-name:focus-within .cell-name__preview { display: none; }
.cell-name__tooltip { margin: 0; width: min(320px, calc(100vw - 16px)); padding: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-menu); font: 400 var(--text-body)/var(--line-body) var(--sans); white-space: normal; overflow-wrap: anywhere; }

.mobile-sort, .mobile-column-config { display: none; }
@media (max-width: 639px) { .mobile-sort { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; } .mobile-sort label { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; } .mobile-column-config { display: inline-flex; margin-bottom: 12px; } }

.cell-save-status:empty { display: none; }
.cell-save-status { display: block; white-space: normal; padding: 2px 10px; font-size: var(--text-meta); line-height: var(--line-meta); color: var(--muted); }
.cell-save-status[data-state="error"] { color: var(--red-ink); }
