/* Tellerwerk · shared table. Warm food-first surfaces, with a tinted evening palette. */
:root{--paper:#fbf3e6;--ink:#293e32;--muted:#64705f;--green:#315b40;--lime:#e6d991;--surface:#fffdf7;--surface-soft:#f2e8d6;--line:#e1d9c9;--accent:#a54429;--accent-soft:#f5dfcf;--shadow:0 9px 28px #624b2820;--summary:#304c37;--summary-ink:#fff7e6;--summary-muted:#dedfc5}
:root[data-theme=evening]{--paper:#232a24;--ink:#eee9d9;--muted:#bbbfae;--green:#b8c995;--lime:#d7bb79;--surface:#2e372e;--surface-soft:#394132;--line:#4c5645;--accent:#edb18c;--accent-soft:#483c30;--shadow:0 12px 30px #101a1638;--summary:#343d2e;--summary-ink:#f5eddb;--summary-muted:#c5cbb2}
body{background:radial-gradient(ellipse at 8% 5%,var(--accent-soft),transparent 42%),var(--paper);color:var(--ink);font-family:'Trebuchet MS','Segoe UI',sans-serif;line-height:1.5;transition:background-color .22s,color .22s}h1,h2,h3,.brand,.meal strong{font-family:Georgia,'Times New Roman',serif}h1{font-size:clamp(34px,4.4vw,58px);line-height:1.08;letter-spacing:-1.6px}h2{line-height:1.2}.sub{color:var(--muted)}header{height:auto;min-height:92px;gap:18px;flex-wrap:wrap;background:var(--surface);border-bottom:1px solid var(--line);box-shadow:0 4px 18px #55442309;padding:20px 4vw}.brand{font-size:32px;letter-spacing:-1px}.brand span{color:var(--accent)}nav{gap:3px}nav button{color:var(--muted);padding:11px 15px}nav button.active{background:var(--green);color:var(--paper);box-shadow:0 4px 12px #2e462320}#account-control{display:flex;gap:7px;align-items:center}#theme-toggle{white-space:nowrap;border:1px solid var(--line);background:var(--surface-soft);color:var(--ink);border-radius:30px;padding:10px 14px;min-height:44px}.account-button{background:var(--surface-soft);color:var(--ink);border:1px solid transparent;min-height:40px}main{padding-top:36px;max-width:1480px}.top{align-items:center;gap:24px;margin-bottom:30px}.top .eyebrow{color:var(--accent)}.eyebrow{color:var(--accent);letter-spacing:1.8px}.top .sub{font-size:16px;max-width:640px}.btn{background:var(--green);color:var(--paper);box-shadow:0 4px 10px #35462b17;font-weight:600;border:1px solid transparent;min-height:46px;transition:transform .18s,box-shadow .18s,background .18s}.btn:hover{transform:translateY(-2px);box-shadow:0 8px 18px #35462b28}.light{background:var(--surface);color:var(--ink);border-color:var(--line)}.icon{background:var(--surface-soft);color:var(--ink);min-height:42px}.layout{gap:26px;grid-template-columns:minmax(0,1fr) 320px}.days{gap:9px;margin-bottom:18px}.days button{background:var(--surface-soft);color:var(--ink);border:1px solid var(--line)}.days button.active{background:var(--accent);border-color:var(--accent);color:var(--paper);box-shadow:0 4px 10px #8c45251c}.rhythm-bar{background:var(--surface-soft);border:1px solid var(--line);border-radius:20px;padding:18px 20px}.meal{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:18px;gap:18px;box-shadow:var(--shadow);margin:16px 0;transition:transform .18s,box-shadow .18s}.meal:hover{transform:translateY(-2px);box-shadow:0 14px 28px #624b2824}.meal img{width:108px;height:108px;border-radius:17px}.meal strong{font-size:23px;line-height:1.23}.meal.skipped{box-shadow:none;background:transparent;border-style:dashed}.summary{background:var(--summary);color:var(--summary-ink);border:1px solid var(--line);box-shadow:0 16px 35px #2f48252a;border-radius:25px;padding:26px}.summary .sub{color:var(--summary-muted)}.summary .eyebrow{color:var(--lime)!important}.summary .total span{color:var(--summary-muted)!important}.summary .notice{color:var(--summary-muted)}.macro{border-bottom-color:#bac69e33}.total{font-size:46px}.banner{background:var(--accent-soft);border:1px solid var(--line);border-radius:22px;padding:25px;box-shadow:0 8px 20px #6846250c}.grid{gap:24px}.card{background:var(--surface);border-color:var(--line);border-radius:24px;box-shadow:var(--shadow);transition:transform .22s,box-shadow .22s}.card:hover{transform:translateY(-4px);box-shadow:0 18px 35px #624b2830}.photo{height:230px;background:var(--surface-soft);overflow:hidden}.photo img{transition:transform .5s}.card:hover .photo img{transform:scale(1.035)}.cardbody{padding:22px}.card h3{font-size:26px;min-height:62px}.cardfoot{border-color:var(--line)}.cardfoot button{background:var(--green);color:var(--paper)}.card .meta{color:var(--muted)}.tag{background:var(--surface-soft);color:var(--ink)}.photo .tag,.heart{background:var(--surface);color:var(--ink)}.heart{width:40px;height:40px;box-shadow:0 3px 10px #24322420}.filters input,.filters select,input,select{background:var(--surface);color:var(--ink);border-color:var(--line);border-radius:11px}.filters{gap:12px}.filters input{box-shadow:inset 0 1px 4px #573d1707}dialog{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:26px;box-shadow:0 25px 90px #13251966}dialog::backdrop{background:#172e236b;backdrop-filter:blur(5px)}.recipe-toolbar{background:var(--surface);border-color:var(--line);padding:10px 16px}.recipe-toolbar .close{background:var(--surface-soft);color:var(--ink)}.dialoghero{height:270px;object-fit:cover}.recipe-body{padding:26px 30px}.recipe-body h1{font-size:clamp(30px,4vw,42px)!important}.recipe-nutrition{background:var(--surface-soft);color:var(--ink);border-color:var(--line);border-radius:15px}.recipe-main,.rating-panel,.household-entry,.recipe-accordion,.ingredient-compare,.recipe-bottom,.controls,.data-explanation,.barcode-box,.ingredient-row,.person-fields,.serving-panel,.auth-card{background:var(--surface);color:var(--ink);border-color:var(--line)}.barcode-box,.data-explanation,.household-entry{background:var(--surface-soft)}.recipe-bottom{background:var(--surface);border-top:1px solid var(--line)}.overview-steps li{border-color:var(--line);padding-bottom:16px}.overview-steps li::marker{color:var(--accent);font-weight:bold}.overview-steps p{color:var(--muted);line-height:1.75}.rating-plate,.rating-choice,.rating-control button{background:var(--surface-soft);color:var(--ink)}.recipe-accordion summary{color:var(--ink)}.source-tag{background:var(--surface-soft);color:var(--ink)}.week,.daycard,.shopitem,.empty{background:var(--surface);color:var(--ink);border-color:var(--line)}footer{color:var(--muted)}#toast{background:var(--ink);color:var(--paper);box-shadow:var(--shadow)}.storage-error{color:var(--accent)}footer:has(.storage-error){background:var(--accent-soft)}.auth-story{background:var(--summary);color:var(--summary-ink)}.auth-story p,.auth-story li{color:var(--summary-muted)}.auth-card p{color:var(--muted)}
.shared-table{display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:24px;background:var(--surface-soft);border:1px solid var(--line);border-radius:28px;padding:28px 32px;margin-bottom:28px;overflow:hidden;position:relative}.shared-table h2{font-size:32px;margin:8px 0}.shared-table p{margin:0;max-width:480px;color:var(--muted)}.table-still-life{display:flex;align-items:center;justify-content:center;gap:0;min-height:150px}.table-still-life img{width:132px;height:132px;object-fit:cover;border-radius:50%;border:7px solid var(--surface);box-shadow:0 10px 20px #25362428;transform:rotate(-8deg)}.table-still-life img+img{margin-left:-26px;transform:rotate(8deg);width:150px;height:150px}.still-label{font-size:11px;color:var(--muted);margin-top:10px}.fresh-note{display:inline-block;background:var(--accent-soft);color:var(--accent);padding:5px 11px;border-radius:20px;font-size:12px;font-weight:bold}
@keyframes table-arrive{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:no-preference){.meal,.card,.shared-table{animation:table-arrive .32s ease-out both}.meal:nth-of-type(2),.card:nth-child(2){animation-delay:.035s}.meal:nth-of-type(3),.card:nth-child(3){animation-delay:.07s}}
@media(max-width:1100px){header{gap:12px}nav{order:3;width:100%;overflow:auto}#account-control{margin-left:auto}.layout{grid-template-columns:minmax(0,1fr) 290px}.meal{gap:12px}.meal img{width:85px;height:95px}.meal strong{font-size:21px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){header{padding:16px;gap:10px}.brand{font-size:27px}#account-control{order:4;width:100%;margin:0}#theme-toggle{margin-left:auto;font-size:12px}.account-button{padding:9px 12px}nav{margin:0;gap:4px}nav button{padding:10px 12px;white-space:nowrap}main{padding:25px 16px}.layout{grid-template-columns:1fr}.top{align-items:flex-start;flex-direction:column;gap:14px}.top .btn{align-self:flex-start}h1{font-size:38px}.shared-table{grid-template-columns:1fr;padding:22px;gap:18px}.shared-table h2{font-size:28px}.table-still-life{min-height:120px;justify-content:flex-start;padding-left:8px}.table-still-life img{width:110px;height:110px}.table-still-life img+img{width:124px;height:124px}.meal{flex-wrap:wrap;padding:15px;gap:13px}.meal img{width:82px;height:90px}.meal .actions{width:100%;justify-content:flex-end}.meal strong{font-size:21px}.summary{position:static}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.photo{height:170px}.cardbody{padding:15px}.card h3{font-size:21px}.cardfoot{gap:12px;flex-wrap:wrap}.rhythm-bar{gap:14px;flex-wrap:wrap}.banner{padding:22px}.recipe-body{padding:22px 18px}.dialoghero{height:210px}dialog{max-width:calc(100vw - 16px);border-radius:20px}.recipe-toolbar{top:0}.recipe-bottom{flex-wrap:wrap}.plan-actions{flex-wrap:wrap}.filters input{min-width:0;width:100%}.filters>*{flex:1;min-width:130px}.controls{flex-wrap:wrap}.ingredient-compare{gap:14px;flex-wrap:wrap}.recipe-nutrition{flex-wrap:wrap;gap:12px}}
@media(max-width:440px){.grid{grid-template-columns:1fr}.photo{height:235px}.card h3{min-height:0}.cardfoot{flex-direction:row;align-items:center}.meal .info{min-width:150px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Keep planning ahead of decorative content. */
.shared-table{padding:20px 28px;gap:20px}.shared-table h2{font-size:28px;margin:6px 0}.table-still-life{min-height:118px}.table-still-life img{width:106px;height:106px}.table-still-life img+img{width:120px;height:120px}.shared-table p{font-size:14px}.still-label{margin-top:5px}.shared-table .fresh-note{background:none;padding:0;border-radius:0}
@media(max-width:760px){.shared-table{padding:18px 20px;grid-template-columns:1fr auto;gap:14px}.shared-table h2{font-size:23px}.shared-table h2 br{display:none}.shared-table p{display:none}.table-still-life{min-height:84px}.table-still-life img{width:72px;height:72px;border-width:4px}.table-still-life img+img{width:82px;height:82px;margin-left:-25px}.still-label{display:none}.shared-table .fresh-note{font-size:11px}}
@media(max-width:440px){.shared-table{grid-template-columns:1fr auto;padding:16px;gap:8px}.table-still-life img{width:54px;height:54px}.table-still-life img+img{width:62px;height:62px}.shared-table h2{font-size:22px}.fresh-note{font-size:11px}}
.brand{display:flex;align-items:center;gap:10px}.brand .brand-word{color:var(--ink)}.brand-mark{width:43px;height:43px;color:var(--green);flex-shrink:0}.brand-leaf{fill:var(--accent);stroke:var(--surface);stroke-width:1.5}.variant-picto{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.family-options{display:flex;gap:9px;flex-wrap:wrap;margin:14px 0}.family-options>span{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--ink);background:var(--surface-soft);padding:6px 8px;border-radius:8px}.variant-choices{display:grid;gap:12px;margin:24px 0}.variant-choices button{display:flex;align-items:center;gap:12px;text-align:left}.prominent-variants{margin:18px 0;padding:16px;background:var(--surface-soft);border-radius:14px}.prominent-variants label{display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-weight:bold}.prominent-variants select{padding:10px;max-width:100%}.prominent-variants small{display:block;color:var(--muted);margin-top:10px}.card .family-options{min-height:70px}

/* Calendar navigation */
.calendar-controls{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:18px;padding:18px;margin-bottom:24px}.calendar-controls p{margin:5px 0 12px;font-size:13px}.calendar-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.calendar-actions label{display:flex;gap:8px;align-items:center;font-size:14px}.calendar-actions input,.calendar-actions select{padding:9px;max-width:100%}
.auth-layout,.auth-layout .auth-card{background:var(--surface);color:var(--ink)}.auth-card h1,.auth-card label,.auth-card .data-field{color:var(--ink)}.auth-card .auth-hint{color:var(--muted)}.auth-card .auth-reveal{color:var(--green)}.auth-card input{caret-color:var(--ink);background:var(--surface-soft);color:var(--ink);border-color:var(--line)}.auth-card input::placeholder{color:var(--muted);opacity:1}.auth-card #auth-error:not(:empty){background:var(--accent-soft);color:var(--ink)}
@media(max-width:760px){.calendar-actions{align-items:stretch}.calendar-actions label{width:100%;flex-wrap:wrap}.calendar-actions input,.calendar-actions select{flex:1;min-width:0}}
