
:root { --ink: #171822; --paper: #f7f4ed; --card: #fffdf9; --line: #ddd8ce; --muted: #6e6c73; --accent: #ea6547; --accent-dark: #c84b31; --green: #254f49; --shadow: 0 18px 50px rgba(31, 29, 37, .10); }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", Avenir, system-ui, sans-serif; font-size: 1rem; line-height: 1.45; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.shell { width: min(1400px, calc(100% - 40px)); margin: 0 auto; padding: 28px 0 72px; }
.topbar { display: flex; align-items: center; color: var(--green); font-size: .9rem; font-weight: 750; letter-spacing: .02em; }
.identity { display: flex; align-items: center; gap: 9px; } .mark { color: var(--accent); font-size: 1.25rem; }
.intro { display: flex; justify-content: space-between; gap: 32px; align-items: end; padding: 72px 0 38px; }
.eyebrow { color: var(--accent-dark); font-size: .78rem; font-weight: 800; letter-spacing: .12em; margin: 0 0 10px; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: Georgia, "Iowan Old Style", serif; font-weight: 500; letter-spacing: -.035em; } h1 { font-size: clamp(2.6rem, 6vw, 5.25rem); line-height: .95; } h2 { font-size: clamp(2.1rem, 5vw, 3.2rem); line-height: 1; }
.actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: end; gap: 10px; }.save-state { color: var(--muted); font-size: .85rem; margin: 0 4px 0 0; }.save-state.saved { color: var(--green); }
.primary-button { border-radius: 999px; border: 1px solid transparent; padding: 11px 17px; font-weight: 750; font-size: .9rem; transition: transform .15s ease, background .15s ease; background: var(--accent); color: #fff; }.primary-button:hover:not(:disabled) { background: var(--accent-dark); transform: translateY(-1px); }.primary-button:disabled { cursor: not-allowed; opacity: .48; }.full { width: 100%; margin-top: 7px; }
.planner { display: grid; grid-template-columns: minmax(145px, .72fr) repeat(4, minmax(185px, 1fr)); border: 1px solid var(--line); border-radius: 22px; background: var(--card); box-shadow: var(--shadow); overflow: hidden; }.day-group { display: contents; }.column-heading { background: #ede9df; padding: 17px 16px; color: var(--green); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.column-heading.day-heading { padding-left: 22px; }.meal-cell { padding: 14px 12px; min-height: 112px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }.day-cell { border-left: 0; padding: 16px 12px 14px 22px; background: #fcfaf5; }.day-cell input { font-family: Georgia, serif; font-size: 1.25rem; font-weight: 600; }.meal-cell textarea, .day-cell input { display: block; width: 100%; border: 1px solid transparent; outline: none; border-radius: 10px; background: transparent; color: var(--ink); resize: vertical; padding: 8px; transition: border-color .15s, background .15s; }.meal-cell textarea { min-height: 76px; line-height: 1.4; }.meal-cell textarea:focus, .day-cell input:focus { border-color: #cfbdb5; background: #fff; }
.login-layer { position: fixed; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(23, 24, 34, .58); backdrop-filter: blur(5px); }.login-layer[hidden] { display: none; }.login-card { width: min(440px, 100%); padding: 38px; border-radius: 28px; background: var(--card); box-shadow: 0 28px 75px rgba(0,0,0,.28); }.login-symbol { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: #fce3d6; color: var(--accent-dark); font-size: 1.4rem; margin-bottom: 28px; }.login-card > p:not(.eyebrow):not(.form-error) { color: var(--muted); margin: 14px 0 24px; }.login-card label { display: block; margin-bottom: 7px; font-weight: 750; font-size: .9rem; }.login-card input { width: 100%; padding: 12px 13px; border: 1px solid #bdb9b0; border-radius: 11px; outline: none; background: #fff; }.login-card input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px #ea654722; }.form-error { min-height: 1.25em; color: #b23720; margin: 10px 0 4px; font-size: .9rem; }
@media (max-width: 820px) { .shell { width: min(100% - 28px, 650px); padding-top: 18px; }.intro { padding: 48px 0 25px; display: block; }.actions { justify-content: start; margin-top: 24px; }.planner { display: block; border-radius: 18px; }.column-heading { display: none; }.day-group { display: block; padding: 18px 18px 7px; border-top: 1px solid var(--line); background: #fcfaf5; }.day-group:first-of-type { border-top: 0; }.day-cell { padding: 0 0 9px; }.meal-cell { min-height: auto; padding: 10px 0; border: 0; }.meal-cell::before { content: attr(data-label); display: block; color: var(--green); font-size: .73rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 0 8px 4px; }.meal-cell textarea { min-height: 46px; }.login-card { padding: 30px 25px; } }
@media (max-width: 820px) and (orientation: portrait) { html { font-size: 17px; } }
@media (max-width: 920px) and (orientation: landscape) { .shell { width: calc(100% - 24px); padding-right: 32px; }.planner { overflow-x: auto; overflow-y: hidden; padding-right: 24px; scrollbar-width: thin; } }
@media (max-width: 520px) { .save-state { width: 100%; }.actions { gap: 8px; }.primary-button { padding: 10px 13px; }.login-layer { padding: 14px; } }
