/* Page-specific styles moved from public/styles.css */
.gateway-secret-field .inline-input-action {
  grid-template-columns: minmax(0, 1fr) auto;
}

.settings-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
}

.settings-checklist legend {
  padding: 0 4px;
  color: #5b5048;
  font-size: 10px;
  font-weight: 800;
}

.settings-checklist label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  border: 1px solid #ede6df;
  border-radius: 6px;
  background: #fff;
  padding: 6px 10px;
}

.settings-checklist input {
  width: 14px;
  height: 14px;
}

.printer-dropdown {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  display: grid;
  gap: 6px;
  max-height: 260px;
  overflow: auto;
  border: 1px solid #e5d8cb;
  border-radius: 8px;
  background: #fffdfa;
  box-shadow: 0 18px 40px rgba(54, 31, 13, 0.18);
  padding: 8px;
}

.printer-option {
  display: grid;
  gap: 3px;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 7px;
  background: #fff;
  color: #3d332b;
  cursor: pointer;
  padding: 9px 10px;
  text-align: left;
}

.printer-option:hover,
.printer-option.active {
  border-color: rgba(110, 58, 22, 0.24);
  background: #fff5eb;
}

.printer-option small,
.printer-empty {
  color: #8a7b6d;
  font-size: 10px;
}

.printer-empty {
  padding: 10px;
}

.packaging-rule-item-grid {
  display: grid;
  grid-template-columns: minmax(150px, 2fr) minmax(70px, 0.7fr) minmax(110px, 1fr);
  gap: 8px;
}

.packaging-rule-chip {
  display: inline-block;
  border-radius: 4px;
  background: #f4ece5;
  color: #69411f;
  margin: 2px 4px 2px 0;
  padding: 4px 6px;
  font-size: 8px;
  font-weight: 750;
}

@media (max-width: 620px) {
  .packaging-rule-item-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.form-insight-panel,
.costing-guide {
  position: sticky;
  top: 18px;
}

.form-insight-panel h3 {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.3;
}

.insight-list {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.insight-list div {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}

.insight-list span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 9px;
  font-weight: 800;
}

.insight-list p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.costing-guide {
  display: grid;
  gap: 8px;
}

.costing-guide article {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fffdfb;
  padding: 11px;
}

.costing-guide article strong,
.costing-guide article span {
  display: block;
}

.costing-guide article strong {
  font-size: 11px;
}

.costing-guide article span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .recipe-workspace,
  .form-workspace,
  .pos-command-bar {
    grid-template-columns: 1fr;
  }

  .form-insight-panel,
  .costing-guide {
    position: static;
  }
}
