/* Cook from what I have, handoff mock 1i. */ .page { box-sizing: border-box; max-width: 560px; display: flex; flex-direction: column; gap: 12px; padding-top: 6px; } .header { display: flex; align-items: center; gap: 10px; } .title { margin: 0; font-family: var(--font-heading); font-size: 22px; font-weight: 400; line-height: 1.1; } /* The ingredient chip field: chips, then the trailing input, wrapping. */ .field { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; padding: 12px; border-radius: 26px; background: var(--color-surface); cursor: text; } .field:focus-within { box-shadow: inset 0 0 0 2px var(--color-accent-300); } .chips { display: contents; margin: 0; padding: 0; list-style: none; } .chip { background: var(--color-bg); color: var(--color-text); font-size: 13px; } .entry { flex: 1 1 120px; min-width: 120px; } .input { width: 100%; height: 44px; padding: 0 8px; border: 0; background: transparent; font-size: 15px; } .input:focus { outline: none; } .input::placeholder { color: var(--color-neutral-700); } .notice { margin: 0 4px; font-family: var(--font-body); font-size: 13px; font-weight: 700; color: var(--color-accent-700); } .controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; } /* Any time | Quick only shares the row with Find ideas, as in the mock. */ .when { flex: none; } .when > button { padding: 0 12px; font-size: 13px; white-space: nowrap; } .find { padding: 0 18px; white-space: nowrap; } .results { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; } .count { margin: 0; font-family: var(--font-body); font-size: 12px; font-weight: 700; color: var(--color-neutral-700); } .card { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 24px; } .cardHead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; } .name { margin: 0; font-family: var(--font-heading); font-size: 17px; font-weight: 400; line-height: 1.2; } .time { flex: none; font-family: var(--font-body); font-size: 12px; font-weight: 700; color: var(--color-neutral-700); } .summary { margin: 0; font-family: var(--font-body); font-size: 12px; font-weight: 700; color: var(--color-accent-2-800); } .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; } .action { min-height: 44px; padding: 0 16px; font-size: 14px; white-space: nowrap; } /* An action done: what it did, in place of its button. */ .done { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; font-family: var(--font-body); font-size: 13px; font-weight: 700; color: var(--color-accent-2-800); } .failure { margin: 0; font-family: var(--font-body); font-size: 13px; color: var(--color-accent-700); } .noPlan { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-family: var(--font-body); font-size: 13px; color: var(--color-text); } /* "Plan this week": a 44 px tall grape link to the Draft board. */ .planLink { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; color: var(--color-accent-700); text-decoration: underline; } .planLink:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; } .skeletonCard { height: 128px; border-radius: 24px; }