.k-filters,.k-station-control,.k-row-details,.k-dialog-head,.k-issue-link,.k-dialog-actions,.k-portion,.k-ticket-times,.k-recap-group summary,.k-recap-group li { display:flex; align-items:center; }
.k-filters { flex-wrap:wrap; justify-content:space-between; gap:8px; margin:0 0 16px; }
.k-station-control { min-width:0; gap:8px; font-size:.875rem; font-weight:600; }
.k-station-control .k-icon { color:#80612e; width:17px; }
.k-station-control select { min-height:42px; min-width:140px; max-width:100%; border:1px solid var(--line); border-radius:8px; padding:7px 25px 7px 11px; font:inherit; background-color:white; color:var(--ink); }
.k-ticket-top { flex-wrap:wrap; }
.k-ticket-top h3 { margin-right:auto; }
.k-ticket-more,.k-row-details,.k-issue-link { font:inherit; color:inherit; border:0; background:transparent; cursor:pointer; }
.k-ticket-more { display:grid; place-items:center; width:36px; height:36px; margin:-4px -2px -4px 0; border-radius:7px; color:var(--muted); }
.k-ticket-more .k-icon { width:16px; }
.k-ticket-times { gap:6px; flex-wrap:wrap; margin:0 0 10px; }
.k-ticket-times:empty { display:none; }
.k-ticket-times > span { display:inline-flex; align-items:center; gap:4px; padding:3px 7px; border-radius:5px; font-size:.755rem; font-weight:610; line-height:1.5; font-variant-numeric:tabular-nums; }
.k-ticket-times .k-icon { width:13px; height:13px; }
.k-rush,.k-target[data-urgency=late] { background:#fae5e0; color:#913c2f; }
.k-target[data-urgency=soon],.k-pickup { background:#f8efd9; color:#71521f; }
.k-target[data-urgency=normal] { background:#eeefed; color:#475749; }
.k-served-queue { background:#edf3eb; color:#426747; }
.k-work-list { list-style:none; padding:0; }
.k-work-row { display:grid; align-items:start; grid-template-columns:auto minmax(0,1fr) auto; gap:7px; border-top:1px solid var(--line); padding:9px 0; }
.k-work-row:last-child { padding-bottom:2px; }
.k-work-row .k-qty { margin-top:6px; }
.k-row-info { min-width:0; }
.k-row-details { width:100%; gap:2px; padding:4px 0; min-height:34px; font-weight:650; text-align:left; overflow-wrap:anywhere; line-height:1.32; }
.k-row-details .k-icon { width:12px; height:12px; color:#716d63; }
.k-row-info small { display:block; overflow-wrap:anywhere; }
.k-recipe { color:#644b25; font-weight:550; font-size:.835rem; white-space:pre-wrap; }
.k-row-state,.k-start-clock { color:var(--muted); font-size:.765rem; line-height:1.55; }
.k-work-row[data-state=ready] .k-row-state { color:#47684b; }
.k-quick { align-self:start; min-height:40px; min-width:48px; padding:5px 8px; border:1px solid #d4c7a5; border-radius:7px; background:#fbf5e8; color:#624b24; font:650 .82rem/1.3 var(--body); cursor:pointer; }
.k-work-row[data-state=preparing] .k-quick { background:#edf3ec; border-color:#c5d7c6; color:#395e41; }
.k-dialog { width:min(540px,calc(100vw - 32px)); max-height:85vh; max-height:85dvh; overflow:auto; padding:0; background:white; border:1px solid var(--line); border-radius:15px; color:var(--ink); box-shadow:0 18px 64px #231d1529; }
.k-dialog::backdrop { background:#25231c67; }
.k-dialog-head { justify-content:space-between; align-items:start; gap:12px; padding:20px 21px 15px; border-bottom:1px solid var(--line); }
.k-dialog-head h2 { margin:5px 0 0; font:670 1.45rem/1.2 var(--display); letter-spacing:-.035em; overflow-wrap:anywhere; }
.k-dialog .k-close { flex:none; width:40px; }
.k-dialog-body { padding:17px 21px 21px; }
.k-task-state,.k-task-variant { margin:0 0 12px; line-height:1.5; font-size:.91rem; overflow-wrap:anywhere; white-space:pre-wrap; }
.k-task-variant { background:#fcf5e8; border-radius:7px; padding:8px 10px; }
.k-portion { flex-wrap:wrap; gap:8px; margin:15px 0; font-size:.9rem; font-weight:650; }
.k-portion input { width:70px; min-height:42px; font:inherit; padding:5px 7px; border:1px solid var(--line); border-radius:7px; }
.k-portion span { color:var(--muted); font-weight:500; }
.k-dialog-actions { flex-wrap:wrap; gap:8px; }
.k-dialog-actions .k-action { width:auto; margin:0; padding-inline:18px; }
.k-dialog .k-button { min-height:43px; }
.k-issue-link { gap:7px; color:#815128; padding:8px 0; min-height:42px; margin:9px 0 0; font-size:.875rem; font-weight:600; }
.k-recap-group + .k-recap-group { border-top:1px solid var(--line); }
.k-recap-group summary { gap:12px; padding-block:11px; list-style:none; cursor:pointer; }
.k-recap-group summary::-webkit-details-marker { display:none; }
.k-total { display:grid; place-items:center; flex:none; min-width:35px; min-height:35px; padding-inline:5px; background:#f5edda; color:#6e5427; border-radius:8px; font-weight:700; }
.k-recap-variant { flex:1; overflow-wrap:anywhere; min-width:0; }
.k-recap-variant small { display:block; color:var(--muted); font-size:.81rem; line-height:1.5; }
.k-recap-group[open] summary>.k-icon { transform:rotate(180deg); }
.k-recap-group ul { margin:0 0 12px; padding:4px 11px; background:var(--soft); list-style:none; border-radius:7px; }
.k-recap-group li { justify-content:space-between; gap:9px; padding:5px 0; font-size:.82rem; overflow-wrap:anywhere; }
.k-recap-empty { display:flex; align-items:center; gap:9px; color:#4c6650; }
@media (hover:hover) { .k-ticket-more:hover,.k-row-details:hover { color:#74571f; background:var(--soft); } .k-quick:hover { filter:brightness(.96); } }
@media (max-width:480px) {
  .k-station-control { flex-wrap:wrap; }
  .k-station-control > span { position:absolute; width:1px; height:1px; clip-path:inset(50%); overflow:hidden; }
  .k-station-control select { min-width:0; max-width:48vw; padding-right:6px; }
  .k-filters { gap:7px; }
  .k-dialog-body { padding:14px 15px 17px; }
  .k-dialog-head { padding:16px 15px 12px; }
  .k-account a span { display:none; }
}

@media (max-width:380px) {
  .k-header:has(#cashier-link:not([hidden])) .k-brand { font-size:1.12rem; }
}

.k-edit-chip { grid-column:2/-1; display:flex; align-items:center; gap:6px; width:100%; min-height:40px; padding:6px 8px; border:1px solid #e7d29e; border-radius:7px; text-align:left; background:#fff6dd; color:#6d501c; cursor:pointer; }
.k-edit-chip span { flex:1; min-width:0; }
.k-edit-chip b,.k-edit-chip small { display:block; line-height:1.4; }
.k-edit-chip b { font:650 .76rem/1.5 var(--body); }
.k-edit-chip small { display:-webkit-box; overflow:hidden; overflow-wrap:anywhere; -webkit-line-clamp:2; -webkit-box-orient:vertical; font-size:.81rem; }
.k-edit-chip .k-icon { width:14px; height:14px; }

.k-dispatch { margin-top:12px; display:grid; gap:6px; }
.k-dispatch small { color:var(--muted); font-size:.8rem; overflow-wrap:anywhere; }
.k-runner-link { display:flex; align-items:center; gap:6px; min-height:40px; color:#395e41; text-decoration:underline; text-underline-offset:3px; font-size:.87rem; font-weight:650; }
.k-runner-link .k-icon { width:15px; }
