.smc-cook-open { overflow: hidden; }
.smc-cook-dialog { width: min(980px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 0; overflow: auto; border: 2px solid var(--ink, #25251f); background: var(--paper, #fffef9); color: var(--ink, #25251f); box-shadow: 8px 8px 0 #25251f55; }
.smc-cook-dialog::backdrop { background: #25251faa; }
.smc-cook-header { display: flex; position: sticky; top: 0; z-index: 1; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 24px; border-bottom: 1px solid var(--ink, #25251f); background: var(--yellow, #f4df83); }
.smc-cook-header h2 { min-width: 0; margin: 0; font-size: clamp(24px, 4vw, 36px); overflow-wrap: anywhere; }
.smc-cook-button { min-height: 44px; padding: 10px 16px; border: 1px solid var(--ink, #25251f); background: var(--paper, #fffef9); color: var(--ink, #25251f); font: 700 14px/1.4 var(--body, sans-serif); cursor: pointer; }
.smc-cook-button:hover:not(:disabled) { background: var(--yellow, #f4df83); }
.smc-cook-primary { background: var(--red, #b63221); border-color: var(--red, #b63221); color: #fff; }
.smc-cook-primary:hover:not(:disabled) { background: var(--ink, #25251f); border-color: var(--ink, #25251f); }
.smc-cook-button:disabled { cursor: not-allowed; opacity: .45; }
.smc-cook-close { flex-shrink: 0; }
.smc-cook-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: 32px; padding: 28px; }
.smc-cook-body > * { min-width: 0; }
.smc-cook-without-ingredients { grid-template-columns: minmax(0, 1fr); }
.smc-cook-body h3 { font-size: 23px; line-height: 1.3; margin-bottom: 18px; }
.smc-cook-ingredient-list { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
.smc-cook-ingredient-list li { border-bottom: 1px solid var(--line, #d6d3c7); }
.smc-cook-ingredient-list label { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; font-size: 17px; line-height: 1.5; cursor: pointer; }
.smc-cook-ingredient-list span { min-width: 0; overflow-wrap: anywhere; }
.smc-cook-ingredient-list input, .smc-cook-wake input { width: 20px; height: 20px; flex-shrink: 0; margin: 3px 0 0; accent-color: var(--red, #b63221); }
.smc-cook-ingredient-list input:checked + span { text-decoration: line-through; color: var(--muted, #68675d); }
.smc-cook-step { min-height: 150px; font-size: clamp(22px, 2.6vw, 29px); line-height: 1.65; overflow-wrap: anywhere; }
.smc-cook-navigation, .smc-cook-speech { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.smc-cook-navigation { justify-content: space-between; }
.smc-cook-options { padding: 20px 28px; border-top: 1px solid var(--line, #d6d3c7); }
.smc-cook-wake { display: flex; align-items: flex-start; gap: 12px; font-weight: 700; cursor: pointer; }
.smc-cook-status { margin: 10px 0 0; font-size: 13px; line-height: 1.6; color: var(--muted, #68675d); }
.smc-cook-status:empty { display: none; }
.smc-notes { margin-block: 36px; padding: clamp(20px, 4vw, 32px); border: 1px solid var(--ink, #25251f); background: var(--paper, #fffef9); }
.smc-notes h2 { margin-bottom: 18px; font-size: 28px; }
.smc-notes-label { display: block; margin-bottom: 10px; font-size: 15px; font-weight: 700; }
.smc-notes-field { display: block; width: 100%; max-width: 100%; min-height: 150px; padding: 14px; border: 1px solid var(--ink, #25251f); border-radius: 0; background: #fff; color: var(--ink, #25251f); font: inherit; resize: vertical; }
.smc-notes-privacy, .smc-notes-status { margin: 12px 0 0; font-size: 13px; line-height: 1.6; color: var(--muted, #68675d); }
.smc-notes-status { min-height: 21px; }
@media (max-width: 650px) {
	.smc-cook-dialog { width: calc(100vw - 16px); max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); box-shadow: none; }
	.smc-cook-header { gap: 12px; padding: 18px; }
	.smc-cook-body { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 20px 18px; }
	.smc-cook-steps { grid-row: 1; }
	.smc-cook-step { min-height: 0; }
	.smc-cook-options { padding: 18px; }
	.smc-cook-button { padding-inline: 12px; }
}
