          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: 820px; margin: 0 auto; }
          h1, h2 { color: #000000; }
          h1 { margin-top: 0; }
          .intro { color: #6b6b6b; }
          .add-item-form { display: flex; align-items: center; gap: 0; height: 44px; margin: 1.25rem 0; padding: 0 0.25rem 0 0.85rem; border: 1px solid #d9d9d9; border-radius: 999px; background: #fff; box-sizing: border-box; }
          .add-item-form:focus-within { border-color: #999; }
          .add-item-form input { flex: 1; min-width: 0; width: 100%; margin: 0; padding: 0.4rem 0; border: 0; outline: 0; border-radius: 0; background: transparent; color: #000; font: inherit; font-size: 0.875rem; }
          .add-item-form input::placeholder { color: #b0b0b0; opacity: 1; }
          button { cursor: pointer; border: none; border-radius: 10px; }
          .add-item-form button { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #000; }
          .add-item-form button:hover { background: #f5f5f5; transform: none; }
          .add-item-form button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
          .pantry-list { list-style: none; padding: 0 1rem; margin: 0; background: white; }
          .pantry-group { margin: 1.25rem 0; }
          .pantry-group h2 { margin: 0 0 0.65rem; color: #000000; font-size: 1rem; }
          .pantry-list li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; padding: 0.7rem 0; border-bottom: 1px solid #e9e9e9; }
          .item-actions { display: flex; align-items: center; gap: 0.55rem; }
          .item-actions form { display: flex; margin: 0; }
          .pantry-item-name { flex: 1; }
          .grocery-action { width: auto; padding: 0.45rem 0.8rem; background: #fff; color: #111; border: 1px solid #d9d9d9; border-radius: 999px; font-size: 0.75rem; }
          .grocery-action:hover { background: #f7f7f5; transform: none; }
          .item-actions .delete-button { display: grid; place-items: center; width: 28px; height: 28px; min-width: 28px; padding: 0; color: #999; background: transparent; border: 0; border-radius: 50%; box-shadow: none; }
          .item-actions .delete-button:hover { color: #555; background: #f7f7f7; }
          body .item-actions .delete-button { border-radius: 0; }
          body .item-actions .delete-button:hover { background: transparent; }
          .delete-button svg { display: block; width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linecap: round; }
          .item-actions form { margin: 0; }
          .icon-button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; background: #f1f0ed; color: #4d4a46; font-size: 1.05rem; }
          .icon-button:hover { background: #e2dfda; }
          .delete-button { color: #b91c1c; }
          .empty { padding: 1.25rem 1.5rem; background: white; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); color: #6b6b6b; }
          .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
          .toast { margin: 0 0 1rem; padding: 0.8rem 1rem; border-radius: 8px; background: #e8f5e9; color: #276749; }
          .interaction-status { position: fixed; right: 24px; bottom: 24px; z-index: 100; max-width: min(360px, calc(100vw - 48px)); padding: 12px 18px; border-radius: 12px; background: #222; color: #fff; font-size: 0.875rem; box-shadow: 0 4px 18px #0002; }
          @media (max-width: 600px) { .pantry-list { padding-inline: 0.25rem; } .pantry-list li { align-items: flex-start; flex-wrap: wrap; } .pantry-item-name { flex-basis: 100%; } .item-actions { width: 100%; justify-content: flex-start; } .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; } }
