.smc-tools-nav { border-bottom: 1px solid var(--line); background: #faf3d6; }
.smc-tools-nav .smc-wrap { display: flex; align-items: center; justify-content: center; gap: 14px 30px; flex-wrap: wrap; padding-block: 10px; }
.smc-tools-nav a, .smc-tools-nav button { font-size: 12px; font-weight: 750; text-decoration: none; }
.smc-tools-nav button { border: 0; padding: 0; background: none; color: var(--red); }
.smc-save-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line); padding: 8px 12px; margin-top: 12px; background: var(--paper); color: var(--ink); font-size: 12px; font-weight: 750; line-height: 1.5; }
.smc-save-button:hover, .smc-save-button[aria-pressed="true"] { border-color: var(--red); color: var(--red); background: #fff3e9; }
.smc-recipe-actions .smc-save-button { margin-top: 0; }
.smc-recipe-actions { flex-wrap: wrap; }
.smc-recipe-actions [data-smc-cook] { border: 1px solid var(--ink); }
.smc-shopping-help { max-width: 720px; margin: 16px auto 0; font-size: 14px; color: var(--muted); }
.smc-shopping-help a { color: var(--red); font-weight: 750; }
.smc-shopping-guide { max-width: 740px; margin-bottom: 24px; padding: 14px 20px; border: 1px solid var(--line); background: #faf3d6; }
.smc-shopping-guide summary { cursor: pointer; font-weight: 750; }
.smc-shopping-guide[open] summary { margin-bottom: 16px; }
.smc-shopping-guide ol { margin: 0; padding-left: 22px; }
.smc-shopping-guide li + li { margin-top: 8px; }
.smc-shopping-guide p { margin: 16px 0 0; font-size: 14px; }
.smc-tools-page { padding-block: 55px 75px; }
.smc-tools-tabs { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 30px; }
.smc-tools-tabs a { padding: 9px 14px; border: 1px solid var(--line); font-size: 13px; font-weight: 700; text-decoration: none; background: var(--yellow); }
.smc-tool-section { padding-block: 45px; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.smc-tool-section > p { max-width: 740px; }
.smc-tool-section h2 { font-size: clamp(27px, 3vw, 40px); }
.smc-tools-invitation { padding-block: 40px; border-bottom: 1px solid var(--line); }
.smc-tools-invitation .smc-wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.smc-tools-invitation h2 { font-size: 30px; margin-bottom: 10px; }
.smc-tools-invitation p { margin: 0; max-width: 620px; font-size: 14px; }
.smc-tools-invitation-links { display: flex; flex-wrap: wrap; gap: 12px; }
.smc-tools-invitation-links a { white-space: nowrap; }
.smc-recipe-help, .smc-meal-pairings, .smc-reader-photos { margin-block: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.smc-recipe-help h2, .smc-meal-pairings h2 { font-size: clamp(27px, 3vw, 36px); }
.smc-recipe-help details { margin-block: 12px; border: 1px solid var(--line); background: #faf6e6; }
.smc-recipe-help summary { cursor: pointer; padding: 16px 20px; font-weight: 750; }
.smc-recipe-help details > div { padding: 0 20px 6px; font-size: 15px; overflow-wrap: anywhere; }
.smc-meal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.smc-meal-card { min-width: 0; }
.smc-meal-card > a { text-decoration: none; }
.smc-meal-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 16px; }
.smc-meal-card h3 { font-size: 21px; line-height: 1.2; margin-bottom: 0; }
.smc-community-section { max-width: 880px; margin-inline: auto; }
.smce-community { border-radius: 0; border-color: var(--line); }
.smce-community h2 { font-size: clamp(27px, 3vw, 36px); }
.smce-community button, .smce-community input[type="text"], .smce-community textarea, .smce-photo-gallery img { border-radius: 0; }
.smc-notice { padding: 15px; background: #faf3d6; border: 1px solid var(--line); }
@media (max-width: 760px) {
	.smc-tools-nav .smc-wrap { gap: 10px 20px; }
	.smc-tools-invitation .smc-wrap { flex-direction: column; align-items: flex-start; gap: 20px; }
	.smc-tools-page { padding-top: 35px; }
}
@media (max-width: 480px) {
	.smc-meal-grid { grid-template-columns: minmax(0, 1fr); }
	.smc-tools-tabs a { flex: 1 1 40%; text-align: center; font-size: 12px; }
	.smc-recipe-actions .smc-button, .smc-recipe-actions .smc-save-button { flex: 1 1 42%; padding-inline: 10px; }
}
@media print {
	.smc-tools-nav, .smc-save-button, .smc-tools-invitation, .smc-shopping-help, [data-smc-notes], .smc-reader-photos, .smc-community-section { display: none !important; }
}
