          body { margin: 0; background: #ffffff; color: #2f2f2f; }
          .app-shell { display: flex; min-height: 100vh; }
          .sidebar { display: flex; flex-direction: column; width: 244px; flex: 0 0 244px; min-height: 100vh; padding: 1.25rem 0.75rem; box-sizing: border-box; background: #f1f0ed; border-right: 1px solid #e4e2de; }
          .sidebar-brand { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.65rem 1.25rem; font-weight: 700; }
          .sidebar-brand-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: #7b3f00; color: white; }
          .sidebar-label { margin: 1.1rem 0.65rem 0.4rem; color: #87837d; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; }
          .sidebar-link { display: flex; align-items: center; gap: 0.65rem; padding: 0.6rem 0.65rem; border-radius: 7px; color: #4d4a46; text-decoration: none; font-size: 0.95rem; }
          .sidebar-link:hover { background: #e7e5e1; color: #2f2f2f; }
          .sidebar-link.active { background: #e2dfda; color: #000000; font-weight: 700; }

          .sidebar-settings { margin-top: auto; }
          .main-content { flex: 1; padding: 2rem; }
          .page { max-width: 1066px; margin: 0 auto; }
          h1 { color: #000000; margin-top: 0; }
          .grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
          .recipe-card { position: relative; padding: 1rem 1rem 3.7rem; background: white; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); text-align: center; }
          .recipe-card-link { display: block; color: inherit; text-decoration: none; }
          .recipe-card img { width: 100%; height: 140px; object-fit: cover; border-radius: 8px; margin-bottom: 0.8rem; }
          .recipe-card h3 { margin: 0.3rem 0 0.6rem; }
          .recipe-placeholder { height: 140px; margin-bottom: 0.8rem; border-radius: 8px; background: #ede8d0; }
          .favorite-form { position: absolute; top: 0.65rem; right: 0.65rem; margin: 0; z-index: 1; }
          .favorite-btn, .add-ingredients-btn { display: grid; place-items: center; width: 34px; height: 34px; margin: 0; padding: 0; border-radius: 50%; border: none; cursor: pointer; background: rgba(255,255,255,0.94); box-shadow: 0 2px 6px rgba(0,0,0,0.16); }
          .favorite-btn { color: #b91c1c; font-size: 1.35rem; }
          .add-ingredients-form { position: absolute; right: 0.75rem; bottom: 0.75rem; margin: 0; }
          .add-ingredients-btn { background: #2563eb; color: white; font-size: 1.4rem; }
          .empty { padding: 1.25rem 1.5rem; background: white; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); color: #6b6b6b; }
          @media (max-width: 600px) { .app-shell { display: block; } .sidebar { display: block; width: 100%; min-height: 0; padding: 0.75rem; border-right: none; border-bottom: 1px solid #e4e2de; } .sidebar-brand { padding-bottom: 0.6rem; } .sidebar-label { display: none; } .sidebar nav { display: flex; flex-wrap: wrap; gap: 0.3rem; } .sidebar-link { padding: 0.45rem 0.55rem; } .sidebar-settings { margin-top: 0.5rem; } .main-content { padding: 1.25rem; } .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
