/* Планшеты сотрудников — большие кнопки, чёткий контраст, тач-френдли */
body { background: #1A1D24; color: #fff; min-height: 100dvh; margin: 0; }
.stf-shell { min-height: 100dvh; display: flex; flex-direction: column; }

/* === HEAD === */
.stf-head {
  background: #0E1410; padding: 14px 18px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.stf-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.stf-brand-mark {
  width: 38px; height: 38px; border-radius: 10px; background: var(--c-accent);
  color: #1A1D24; display: grid; place-items: center; font-size: 20px; flex-shrink: 0;
}
.stf-brand-title { font-weight: 700; font-size: 16px; }
.stf-brand-sub { font-size: 12px; color: rgba(255,255,255,0.55); }

.stf-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.stf-tab {
  padding: 10px 16px; border-radius: 10px; font-size: 14px; font-weight: 600;
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.7);
  border: 1px solid transparent; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.stf-tab:hover { background: rgba(255,255,255,0.1); color: #fff; }
.stf-tab.active { background: var(--c-accent); color: #1A1D24; border-color: var(--c-accent); }
.stf-tab-badge {
  background: rgba(0,0,0,0.2); padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700;
}
.stf-tab.active .stf-tab-badge { background: rgba(0,0,0,0.15); }

.stf-pointsel {
  margin-left: auto;
  background: rgba(255,255,255,0.06); color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 12px; border-radius: 10px; font-size: 13px;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  padding-right: 30px;
}
.stf-pointsel option { background: #0E1410; }

/* === MAIN === */
.stf-main { flex: 1; padding: 18px; max-width: 1400px; margin: 0 auto; width: 100%; }

/* === КАРТОЧКА ЗАДАЧИ (доготовка) === */
.cook-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.cook-card {
  background: rgba(255,255,255,0.06); border-radius: 16px;
  padding: 16px; border: 2px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color 0.2s;
}
.cook-card.in-progress { border-color: #FFB703; background: rgba(255,183,3,0.06); }
.cook-card.done { opacity: 0.55; border-color: rgba(82,183,136,0.3); background: rgba(82,183,136,0.04); }
.cook-card-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 10px;
}
.cook-card-num {
  font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums;
  color: #fff; letter-spacing: -1px;
}
.cook-card-meta { text-align: right; font-size: 12px; color: rgba(255,255,255,0.55); }
.cook-card-slot { font-weight: 700; color: #FFE08A; }
.cook-card-item {
  display: flex; align-items: center; gap: 12px;
  background: rgba(0,0,0,0.25); padding: 12px 14px; border-radius: 10px;
}
.cook-card-emoji { font-size: 28px; }
.cook-card-name { flex: 1; font-weight: 600; font-size: 15px; }
.cook-card-qty {
  background: rgba(255,255,255,0.1); padding: 4px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 700;
}
.cook-card-actions { display: flex; gap: 8px; }
.cook-card-btn {
  flex: 1; padding: 14px; border-radius: 10px; font-weight: 700; font-size: 14px;
  border: none; cursor: pointer; transition: 0.15s;
}
.cook-card-btn.primary { background: var(--c-accent); color: #1A1D24; }
.cook-card-btn.primary:hover { background: #FFD89A; }
.cook-card-btn.success { background: #52B788; color: #0E1410; }
.cook-card-btn.success:hover { background: #74C69D; }
.cook-card-btn.ghost { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); }

/* === ЗОНА СБОРКИ === */
.asm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; }
.asm-card {
  background: rgba(255,255,255,0.06); border-radius: 16px; padding: 16px;
  border: 2px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; gap: 12px;
}
.asm-card.ready { border-color: #52B788; background: rgba(82,183,136,0.06); }
.asm-card-head {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.asm-card-num { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.asm-card-channel { font-size: 11px; color: rgba(255,255,255,0.5); }
.asm-checklist { display: flex; flex-direction: column; gap: 8px; }
.asm-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; background: rgba(0,0,0,0.18); border-radius: 8px; cursor: pointer;
  user-select: none;
}
.asm-row.checked { background: rgba(82,183,136,0.12); }
.asm-check {
  width: 24px; height: 24px; border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.3);
  display: grid; place-items: center; flex-shrink: 0;
}
.asm-row.checked .asm-check { background: #52B788; border-color: #52B788; color: #0E1410; font-weight: 800; }
.asm-row-emoji { font-size: 20px; }
.asm-row-name { flex: 1; font-size: 14px; }
.asm-row-station {
  font-size: 10px; padding: 2px 8px; border-radius: 999px;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7);
}
.asm-ready-btn {
  width: 100%; padding: 16px; border-radius: 12px;
  background: #52B788; color: #0E1410; font-weight: 800; font-size: 16px;
  border: none; cursor: pointer; transition: 0.15s;
}
.asm-ready-btn:disabled {
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.3); cursor: not-allowed;
}
.asm-ready-btn:hover:not(:disabled) { background: #74C69D; }

/* === ВЫДАЧА === */
.handout-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.handout-card {
  background: rgba(82,183,136,0.12); border-radius: 14px;
  border: 2px solid #52B788; padding: 16px;
  display: flex; align-items: center; gap: 14px;
}
.handout-num {
  font-size: 36px; font-weight: 800; color: #B7E4C7;
  font-variant-numeric: tabular-nums; letter-spacing: -1px;
}
.handout-info { flex: 1; min-width: 0; font-size: 12px; color: rgba(255,255,255,0.65); }
.handout-info b { color: #fff; font-size: 14px; font-weight: 700; }
.handout-give {
  background: #52B788; color: #0E1410; font-weight: 700; padding: 12px 18px;
  border-radius: 10px; border: none; cursor: pointer; font-size: 14px; white-space: nowrap;
}
.handout-give:hover { background: #74C69D; }

/* === EMPTY === */
.stf-empty {
  text-align: center; padding: 60px 20px;
  color: rgba(255,255,255,0.4); font-size: 16px;
}
.stf-empty-emoji { font-size: 56px; margin-bottom: 12px; }

/* === DEMO HINT === */
.stf-hint {
  background: rgba(249,168,37,0.08); border: 1px solid rgba(249,168,37,0.25);
  border-radius: 10px; padding: 10px 14px; margin-bottom: 14px;
  font-size: 12px; color: rgba(255,255,255,0.7);
  display: flex; gap: 10px; align-items: flex-start;
}
.stf-hint b { color: #FFD89A; }

@media (max-width: 600px) {
  .stf-pointsel { margin-left: 0; width: 100%; }
  .cook-card, .asm-card, .handout-card { padding: 14px; }
  .cook-card-num, .asm-card-num { font-size: 22px; }
  .handout-num { font-size: 30px; }
  .stf-main { padding: 12px; }
}
