* {
	box-sizing: border-box;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
	  sans-serif;
  }
  
  body {
	margin: 0;
	padding: 20px;
	background: #f5f6fa;
	color: #222;
  }
  
  h1,
  h2,
  h3 {
	margin-top: 0;
  }
  
  .container {
	max-width: 1200px;
	margin: 0 auto;
  }
  
  .card {
	background: #fff;
	border-radius: 12px;
	padding: 20px 24px;
	margin-bottom: 20px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
	border: 1px solid #eee;
  }
  
  .grid {
	display: grid;
	grid-gap: 16px;
  }
  
  .grid-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  label {
	font-size: 14px;
	font-weight: 500;
  }
  
  input[type="number"],
  input[type="text"],
  select {
	width: 100%;
	max-width: 260px;
	padding: 8px 10px;
	border-radius: 6px;
	border: 1px solid #ccc;
	font-size: 14px;
  }
  
  .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px;
	border-radius: 8px;
	border: none;
	background: #4a7cff;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	margin-top: 8px;
  }
  
  .btn-secondary {
	background: #e0e3ff;
	color: #1f2a5c;
  }
  
  .btn:disabled {
	opacity: 0.6;
	cursor: default;
  }
  
  .small {
	font-size: 12px;
	color: #666;
  }
  
  .section-title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 8px;
  }
  
  /* Группы чекбоксов по категориям */
  
  .product-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 8px;
  }
  
  .category-block {
	padding: 10px 12px;
	border-radius: 10px;
	border: 1px solid #e6e7f2;
	background: #fbfbff;
  }
  
  .category-title {
	font-size: 14px;
	font-weight: 600;
	color: #3a416f;
	margin-bottom: 6px;
  }
  
  .product-list-inner {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 6px 12px;
  }
  
  .product-item {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 400;
  }
  
  .product-item input[type="checkbox"] {
	width: 18px;
	height: 18px;
  }
  
  .inline-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-top: 8px;
  }
  
  table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
  }
  
  th,
  td {
	border: 1px solid #e3e4ea;
	padding: 6px 8px;
	text-align: left;
  }
  
  th {
	background: #f3f4fb;
  }
  
  .day-block {
	margin-bottom: 16px;
	padding: 10px 12px;
	border-radius: 10px;
	border: 1px solid #eee;
	background: #fafbff;
  }
  
  .day-block h3 {
	margin: 0 0 8px;
  }
  
  .notice {
	font-size: 13px;
	background: #fff7e6;
	border-radius: 8px;
	border: 1px solid #ffe0a3;
	padding: 8px 10px;
	margin-top: 8px;
  }
  
  .day-summary {
	margin-top: 6px;
	font-size: 12px;
	color: #444;
  }
  
  /* Мобильная адаптация */
  
  @media (max-width: 768px) {
	body {
	  padding: 10px;
	}
  
	.card {
	  padding: 16px 14px;
	}
  
	.grid-3 {
	  grid-template-columns: repeat(1, minmax(0, 1fr));
	}
  
	.inline-row {
	  flex-direction: column;
	  align-items: stretch;
	}
  
	.product-list-inner {
	  grid-template-columns: repeat(1, minmax(0, 1fr));
	}
  
	table {
	  display: block;
	  overflow-x: auto;
	  white-space: nowrap;
	}
  }
  