/* Nutrizione Studio — responsive application interface */
:root {
  --navy: #123e72; --blue: #1769bb; --blue-dark: #104f91; --sky: #e8f5fe;
  --cyan: #0782b5; --ink: #193653; --muted: #5c7389; --line: #dce7f1;
  --paper: #f3f7fc; --white: #fff; --radius: 18px;
  --shadow: 0 5px 24px rgba(30, 72, 115, .045); --sidebar: 244px;
}
* { box-sizing: border-box; }
html { color-scheme: light; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 14px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #36a9eb; outline-offset: 4px; }
.icon { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; left: 20px; top: -100px; padding: 12px 20px; background: white; z-index: 100; border: 2px solid var(--blue); border-radius: 10px; }
.skip-link:focus { top: 10px; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar); background: #fff; border-right: 1px solid var(--line); z-index: 30; padding: 34px 22px 20px; display: flex; flex-direction: column; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); font-size: 23px; font-weight: 750; letter-spacing: -.8px; line-height: 1.3; }
.brand:hover { text-decoration: none; }
.brand small { display: block; color: var(--muted); font-size: 8px; font-weight: 650; letter-spacing: 1.7px; margin-top: 6px; }
.brand-mark { width: 41px; height: 44px; border-radius: 14px 14px 14px 4px; background: linear-gradient(140deg, #1764b2, #21a0de); color: #fff; display: grid; place-items: center; }
.brand-mark .icon { width: 25px; height: 25px; }
.nav-heading { margin: 54px 12px 16px; color: #6b8097; font-size: 9px; font-weight: 700; letter-spacing: 1.9px; }
.main-nav { display: grid; gap: 9px; }
.main-nav a { display: flex; align-items: center; gap: 13px; padding: 14px 13px; color: #566d85; border-radius: 11px; font-size: 13px; font-weight: 550; }
.main-nav a:hover { background: #f0f7fe; color: var(--blue); text-decoration: none; }
.main-nav a.active { background: #e9f3ff; color: #145ba5; box-shadow: inset 3px 0 var(--blue); }
.sidebar-note { margin-top: auto; border: 1px solid #d9eaf9; background: linear-gradient(145deg, #f3f9ff, #eaf7ff); border-radius: 14px; padding: 18px 15px; }
.sidebar-note > .icon { color: var(--blue); display: block; margin-bottom: 13px; }
.sidebar-note strong { font-size: 12px; }
.sidebar-note p { font-size: 11px; color: var(--muted); margin: 7px 0 0; }
.sidebar-bottom { font-size: 9px; color: var(--muted); margin-top: 22px; text-align: center; }
.topbar { height: 78px; position: sticky; top: 0; margin-left: var(--sidebar); background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 0 36px; z-index: 20; }
.topbar-label { font-size: 12px; color: var(--muted); }
.account { display: flex; align-items: center; gap: 12px; min-width: 0; }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; background: #e5f1fd; border: 1px solid #d1e6f9; border-radius: 50%; font-size: 13px; font-weight: 700; color: var(--blue); }
.account-name { max-width: 160px; overflow: hidden; text-overflow: ellipsis; font-size: 12px; font-weight: 600; }
.logout { display: flex; align-items: center; gap: 8px; background: transparent; border: 0; color: var(--muted); padding: 10px; min-height: 44px; }
.logout:hover { background: #edf6ff; color: var(--blue); }
.logout .icon { width: 18px; }
.mobile-brand { display: none; }
main { max-width: 1640px; padding: 35px 36px 20px; margin: 0 auto 0 var(--sidebar); min-width: 0; }
main:focus { outline: none; }
h1, h2, h3, h4, p { overflow-wrap: anywhere; }
h1 { font-size: clamp(26px, 2.4vw, 35px); line-height: 1.22; letter-spacing: -1.1px; font-weight: 720; margin: 10px 0 12px; color: #173758; }
h2 { font-size: 20px; font-weight: 680; letter-spacing: -.4px; line-height: 1.35; margin: 0 0 12px; }
h3 { font-size: 15px; margin: 22px 0 12px; }
h4 { font-size: 10px; text-transform: uppercase; letter-spacing: 1.3px; color: var(--muted); margin: 22px 0 8px; }
p { margin-top: 0; }
.eyebrow { color: #246fa9; font-size: 9px; letter-spacing: 1.7px; font-weight: 750; }
.intro { font-size: 13px; color: var(--muted); line-height: 1.8; }
.page-heading { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 22px; }
.page-heading p { margin-bottom: 0; }
.date-label { white-space: nowrap; font-size: 11px; color: var(--muted); background: #fff; border: 1px solid var(--line); padding: 9px 13px; border-radius: 9px; }
.welcome-banner { display: flex; position: relative; align-items: center; justify-content: space-between; overflow: hidden; padding: 34px 38px; border-radius: 20px; color: white; background: linear-gradient(112deg, #123e72 0%, #1664a8 60%, #299bcf 100%); min-height: 270px; }
.banner-kicker { font-size: 9px; letter-spacing: 2px; color: #c6e9ff; font-weight: 650; }
.welcome-banner h2 { font-size: clamp(24px, 2.5vw, 33px); line-height: 1.25; font-weight: 650; margin: 13px 0; color: white; letter-spacing: -.7px; }
.welcome-banner p { color: #d4eafd; font-size: 12px; margin-bottom: 22px; }
.welcome-banner > div:first-child { position: relative; z-index: 2; }
.banner-art { position: relative; width: 310px; height: 230px; flex-shrink: 0; margin-right: 10px; }
.orbit { position: absolute; border: 1px solid #ffffff24; border-radius: 50%; }
.orbit-one { width: 265px; height: 265px; top: -18px; left: 20px; }
.orbit-two { width: 335px; height: 335px; top: -53px; left: -15px; }
.art-disc { position: absolute; top: 25px; left: 65px; width: 180px; height: 180px; border: 1px solid #ffffff40; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(140deg, #ffffff20, #d8f9ff0a); box-shadow: inset 0 0 40px #ffffff0a; }
.hero-leaf { width: 100px; height: 100px; color: #e1f6ff; fill: none; stroke: currentColor; stroke-width: .8; stroke-linecap: round; stroke-linejoin: round; }
.art-label { position: absolute; color: #185289; padding: 9px 15px; background: #f5fcffed; border-radius: 10px; box-shadow: 0 8px 20px #123e7225; font-size: 10px; font-weight: 650; }
.label-one { top: 17px; left: 15px; transform: rotate(-6deg); }
.label-two { bottom: 17px; right: -6px; transform: rotate(5deg); }
.art-dot { position: absolute; width: 13px; height: 13px; border: 3px solid #e9f9ff; background: #40bff0; border-radius: 50%; right: 28px; top: 38px; }
.card { display: block; min-width: 0; padding: 26px; margin: 24px 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.stats .card { margin: 23px 0; }
.stat-card { color: var(--ink); transition: border-color .15s, transform .15s; }
.stat-card:hover { border-color: #a7cbee; text-decoration: none; transform: translateY(-2px); }
.stat-top, .stat-bottom { display: flex; align-items: center; gap: 11px; justify-content: space-between; }
.stat-top { justify-content: flex-start; }
.stat-icon, .row-icon { width: 39px; height: 39px; display: grid; place-items: center; flex-shrink: 0; color: #216bb2; border-radius: 11px; background: #eaf2ff; }
.cyan { color: #087da8; background: #e5f7fc; }
.pale { color: #466ca8; background: #eef1fc; }
.stat-caption { color: var(--muted); font-size: 10px; }
.stats strong { display: block; font-size: 36px; font-weight: 720; letter-spacing: -1.4px; line-height: 1.2; margin: 18px 0 13px; }
.stat-bottom { font-size: 12px; color: var(--muted); }
.stat-bottom .icon { width: 17px; color: var(--blue); }
.grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.dashboard-columns { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(280px,1fr); gap: 22px; }
.dashboard-columns > .card { margin: 0; }
.section-head, .list-row, .actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-width: 0; }
.section-head { flex-wrap: wrap; }
.section-head > * { min-width: 0; }
.section-head h2 { margin: 0; }
.section-head .hint { margin: 6px 0 0; }
.list-row { padding: 17px 0; border-bottom: 1px solid #eaf0f7; overflow-wrap: anywhere; }
.list-row:last-child { border-bottom: 0; }
.row-content { flex: 1; min-width: 0; }
.row-content b { display: block; font-size: 13px; }
.row-content small { display: block; margin-top: 3px; }
.row-icon { width: 35px; height: 39px; border-radius: 8px; }
.plan-row > .icon { width: 17px; }
.quick-actions h2 { margin: 9px 0 12px; }
.quick-link { display: flex; align-items: center; gap: 12px; padding: 18px 0; color: var(--ink); border-bottom: 1px solid #edf2f8; }
.quick-link:last-child { border: 0; padding-bottom: 0; }
.quick-link > span:nth-child(2) { flex: 1; min-width: 0; }
.quick-link b { display: block; font-size: 12px; font-weight: 650; }
.quick-link small { display: block; font-size: 10px; margin-top: 3px; }
.empty { padding: 33px 10px; color: var(--muted); text-align: center; }
.empty h3 { color: var(--ink); font-size: 14px; margin-top: 17px; }
.empty p { font-size: 12px; }
.empty a { font-size: 12px; font-weight: 650; }
.empty-icon { display: inline-grid; place-items: center; border: 1px dashed #accfeb; border-radius: 15px; width: 54px; height: 54px; background: #f2f8ff; color: #4285bd; }
button, .button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; background: var(--blue); color: #fff; border: 1px solid var(--blue); border-radius: 9px; padding: 10px 17px; min-height: 44px; cursor: pointer; font-weight: 600; font-size: 12px; line-height: 1.5; text-align: center; }
button:hover, .button:hover { background: var(--blue-dark); color: #fff; text-decoration: none; }
.button .icon { width: 17px; height: 17px; }
.secondary { background: #fff; color: var(--blue-dark); border-color: #c7dced; }
.secondary:hover { background: #edf6ff; color: var(--blue-dark); }
.light { background: #fff; border-color: #fff; color: #155990; }
.light:hover { background: #ddf3ff; color: #155990; border-color: #ddf3ff; }
.quiet { background: transparent; color: var(--blue-dark); border: 0; font-size: 11px; padding: 7px 10px; }
.quiet:hover { background: #edf5fd; color: var(--blue-dark); }
.actions { justify-content: flex-start; flex-wrap: wrap; }
label { display: block; color: #294964; font-weight: 600; font-size: 12px; margin-bottom: 6px; }
input, select, textarea { display: block; width: 100%; min-width: 0; border: 1px solid #cddde9; border-radius: 9px; padding: 11px 13px; background: #fcfdff; color: var(--ink); margin: 0; min-height: 45px; }
input:focus, select:focus, textarea:focus { outline: 2px solid #87c7f2; outline-offset: 1px; border-color: #4b9bd4; background: #fff; }
input[type=hidden] { display: none; }
textarea { min-height: 125px; resize: vertical; }
.search { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 25px 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.search label { width: 100%; margin: 0; font-size: 11px; }
.search input { flex: 1; min-width: 160px; }
.search select { width: auto; max-width: 100%; }
.form-card { max-width: 920px; }
.form-card h1 { font-size: 27px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin: 28px 0; }
.field { min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.form-actions { border-top: 1px solid var(--line); padding-top: 23px; display: flex; justify-content: flex-end; gap: 12px; }
.helptext, .hint, small { font-size: 11px; color: var(--muted); }
.helptext { margin-top: 7px; }
.errorlist { color: #ad3343; font-size: 12px; padding-left: 18px; }
input[aria-invalid=true], select[aria-invalid=true] { border-color: #b84251; }
.notice { background: #eaf5ff; border: 1px solid #bedef6; border-left: 3px solid #3088c9; padding: 15px 20px; border-radius: 10px; margin-bottom: 22px; color: #23587f; font-size: 13px; }
.notice.error { background: #fff0f2; border-color: #f1c5cc; color: #9f3342; }
.table-scroll { overflow-x: auto; max-width: 100%; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th { text-align: left; font-size: 9px; letter-spacing: .8px; text-transform: uppercase; color: #51728d; background: #f2f7fd; }
td, th { padding: 14px 12px; border-bottom: 1px solid #e5edf5; overflow-wrap: anywhere; }
td a { font-weight: 600; }
tbody tr:hover { background: #f8fbff; }
.nutrients { table-layout: fixed; }
.nutrients th:first-child { width: 32%; }
.warning { color: #97600c; font-size: 10px; }
.tag { display: inline-block; font-size: 9px; font-weight: 650; letter-spacing: .3px; background: #eaf5fd; color: #2a6fa1; padding: 5px 9px; border-radius: 6px; }
.back-link { display: inline-block; font-size: 12px; margin-bottom: 5px; }
.entry { border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin-bottom: 13px; }
.entry p { margin: 6px 0; font-size: 12px; color: var(--muted); }
.alternatives { margin-top: 16px; background: #f0f8ff; padding: 15px; border-radius: 8px; font-size: 12px; }
.week { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,255px),1fr)); gap: 16px; margin-top: 24px; }
.day { min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: #fcfdff; }
.day h3 { background: #eaf4ff; border-radius: 7px; color: #235f97; padding: 10px 12px; margin: 0 0 18px; font-size: 13px; }
.day p { font-size: 11px; }
.day table { font-size: 10px; }
.day td, .day th { padding: 8px 3px; }
details { margin-top: 20px; }
summary { cursor: pointer; color: var(--blue-dark); font-size: 12px; padding: 8px 0; }
.visit { border-top: 1px solid var(--line); padding: 15px 0; }
.visit p { color: var(--muted); font-size: 12px; }
.site-footer { margin-left: var(--sidebar); padding: 24px 36px; font-size: 10px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.guest { background: radial-gradient(ellipse at 15% 70%, #e0f2ff, transparent 55%), #f5f9fe; }
.guest main { margin: auto; max-width: 1250px; padding: 50px 40px 70px; }
.guest-header { max-width: 1400px; margin: auto; padding: 30px 45px; display: flex; align-items: center; justify-content: space-between; }
.guest-header-note { font-size: 12px; color: var(--muted); }
.guest .site-footer { margin: 0 auto; max-width: 1400px; }
.login-layout { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 75px; align-items: center; }
.login-story h1 { font-size: clamp(32px,4vw,48px); margin: 22px 0; line-height: 1.18; letter-spacing: -1.7px; }
.login-story > p { color: var(--muted); font-size: 14px; line-height: 1.9; }
.login-illustration { position: relative; height: 230px; margin-top: 30px; }
.login-circle { width: 210px; height: 210px; border-radius: 50%; border: 1px solid #c1dff4; background: linear-gradient(130deg,#dff3ff,#b9ddfa); display: grid; place-items: center; margin-left: 30px; box-shadow: 0 0 0 22px #d9edfc50; }
.login-circle .hero-leaf { color: #2876b7; width: 125px; height: 125px; }
.floating-note { display: inline-flex; align-items: center; gap: 11px; padding: 14px 20px; border: 1px solid #d4e6f4; background: #fff; box-shadow: 0 10px 35px #15467512; border-radius: 12px; position: absolute; bottom: 10px; left: 105px; font-size: 11px; color: #31648b; white-space: nowrap; }
.login-topics { display: flex; gap: 12px; margin-top: 23px; flex-wrap: wrap; }
.login-topics span { font-size: 10px; color: #4c7598; padding: 6px 10px; border: 1px solid #d4e6f4; border-radius: 20px; }
.login { padding: 38px; margin: 0; border-radius: 22px; box-shadow: 0 16px 60px #17447809; }
.login h2 { font-size: 27px; margin: 23px 0 7px; }
.login .intro { margin-bottom: 28px; }
.login .field { margin-bottom: 22px; }
.login-submit { width: 100%; justify-content: space-between; margin-top: 4px; padding: 13px 16px; }
.login-note { text-align: center; color: var(--muted); font-size: 10px; margin: 23px 0 0; }
@media (min-width: 1884px) { main { margin-right: auto; margin-left: calc(var(--sidebar) + (100vw - var(--sidebar) - 1640px)/2); } }
@media (max-width: 1200px) {
  :root { --sidebar: 218px; }
  .sidebar { padding-left: 15px; padding-right: 15px; }
  main { padding: 28px 25px 20px; }
  .topbar { padding: 0 25px; }
  .welcome-banner { padding: 30px; }
  .banner-art { width: 220px; transform: scale(.85); transform-origin: center; margin-right: -25px; }
  .dashboard-columns { grid-template-columns: minmax(0,1.4fr) minmax(250px,1fr); }
  .stat-card { padding: 21px; }
  .stat-caption { display: none; }
  .login-layout { gap: 40px; }
}
@media (max-width: 1000px) {
  .dashboard-columns { grid-template-columns: 1fr; }
  .banner-art { width: 180px; margin-right: -40px; opacity: .75; }
  .welcome-banner h2 { font-size: 27px; }
  .grid { grid-template-columns: 1fr; gap: 0; }
  .guest main { padding: 35px 30px; }
  .login-layout { gap: 28px; }
  .login { padding: 28px; }
  .floating-note { left: 45px; padding: 12px; font-size: 10px; }
}
@media (max-width: 760px) {
  :root { --sidebar: 0px; }
  body.workspace { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .sidebar { inset: auto 0 0; width: auto; height: calc(70px + env(safe-area-inset-bottom)); padding: 0 10px env(safe-area-inset-bottom); border: 0; border-top: 1px solid #cbdfee; box-shadow: 0 -6px 25px #143e6a08; }
  .sidebar > .brand, .nav-heading, .sidebar-note, .sidebar-bottom { display: none; }
  .main-nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; width: 100%; height: 70px; }
  .main-nav a { padding: 9px 3px; border-radius: 0; flex-direction: column; justify-content: center; gap: 4px; font-size: 9px; }
  .main-nav a.active { box-shadow: inset 0 3px var(--blue); background: #eff7ff; }
  .main-nav .icon { width: 21px; height: 21px; }
  .topbar { height: 66px; padding: 0 20px; }
  .mobile-brand { display: inline-flex; align-items: center; gap: 7px; font-size: 19px; color: var(--navy); font-weight: 750; letter-spacing: -.7px; white-space: nowrap; }
  .topbar-label { display: none; }
  .account { gap: 8px; }
  .account-name { max-width: 100px; font-size: 11px; }
  .logout { padding: 9px 5px; }
  .logout span { display: none; }
  .avatar { width: 31px; height: 31px; }
  main { padding: 25px 20px 15px; }
  .page-heading { align-items: flex-start; margin-bottom: 20px; }
  .date-label { display: none; }
  h1 { font-size: 28px; letter-spacing: -.8px; }
  .intro { font-size: 12px; }
  .welcome-banner { padding: 27px; min-height: 250px; }
  .banner-art { width: 190px; margin-right: -25px; opacity: .65; }
  .welcome-banner h2 { font-size: 27px; }
  .stats { gap: 12px; }
  .stat-card { padding: 17px; }
  .stats strong { font-size: 29px; }
  .stat-bottom { font-size: 11px; }
  .stat-bottom .icon { display: none; }
  .card { padding: 22px; border-radius: 14px; }
  .stat-card { padding: 17px; }
  .site-footer { padding: 20px; font-size: 9px; }
  .form-card h1 { font-size: 25px; }
  .guest-header { padding: 24px; }
  .guest-header-note { display: none; }
  .guest main { padding: 15px 24px 40px; }
  .login-layout { grid-template-columns: 1fr; max-width: 480px; margin: auto; gap: 25px; }
  .login-story h1 { font-size: 32px; margin: 13px 0; }
  .login-story > p { font-size: 12px; margin: 0; }
  .login-illustration, .login-topics { display: none; }
  .login { padding: 29px; }
}
@media (max-width: 480px) {
  .topbar { padding: 0 16px; }
  .account-name { display: none; }
  main { padding: 23px 16px 12px; }
  .eyebrow { font-size: 8px; letter-spacing: 1.5px; }
  h1 { font-size: 26px; }
  .welcome-banner { padding: 26px 24px; min-height: 0; }
  .welcome-banner h2 { font-size: 27px; }
  .banner-art { display: none; }
  .stats { grid-template-columns: 1fr; gap: 10px; margin: 16px 0 21px; }
  .stats .card { margin: 0; display: grid; grid-template-columns: 1fr auto; column-gap: 14px; padding: 17px 20px; }
  .stat-top { grid-column: 1; grid-row: 1; }
  .stat-icon { width: 35px; height: 35px; }
  .stat-caption { display: block; font-size: 10px; }
  .stats strong { grid-column: 2; grid-row: 1 / 3; align-self: center; margin: 0; font-size: 29px; }
  .stat-bottom { grid-column: 1; margin-left: 46px; margin-top: -3px; font-size: 10px; }
  .card { padding: 20px; }
  .section-head { gap: 12px; }
  .section-head h2 { font-size: 18px; }
  .section-head > .actions { width: 100%; }
  .section-head > form.no-print { width: 100%; }
  .section-head > form.no-print > button { width: 100%; }
  .search { padding: 16px; gap: 10px; }
  .search input, .search select { width: 100%; flex-basis: 100%; }
  .search button { width: 100%; }
  input, select, textarea { font-size: 16px; }
  .form-grid { grid-template-columns: 1fr; gap: 20px; }
  .form-actions > * { flex: 1; }
  .list-row { flex-wrap: wrap; gap: 8px; }
  .plan-row { flex-wrap: nowrap; gap: 12px; }
  .food-table thead { display: none; }
  .food-table, .food-table tbody, .food-table tr, .food-table td { display: block; width: 100%; }
  .food-table tr { border-bottom: 1px solid var(--line); padding: 14px 0; }
  .food-table td { border: 0; padding: 4px 0; }
  .food-table td[data-label]::before { content: attr(data-label); display: block; color: var(--muted); font-size: 9px; font-weight: 500; margin-bottom: 3px; }
  .nutrients { font-size: 10px; }
  .nutrients th { font-size: 8px; letter-spacing: 0; }
  .nutrients td, .nutrients th { padding: 11px 5px; }
  .entry { padding: 15px; }
  .alternatives { padding: 12px; }
  .login h2 { font-size: 25px; }
  .guest main { padding: 12px 18px 30px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
@media print {
  .sidebar, .topbar, .guest-header, .site-footer, .no-print, button, .search, .skip-link { display: none !important; }
  body.workspace { padding: 0; }
  body { background: white; color: black; font-size: 11px; }
  main, .guest main { max-width: none; margin: 0; padding: 0; }
  h1 { font-size: 26px; }
  .card { border: 0; box-shadow: none; padding: 0; }
  .entry, .day { break-inside: avoid; }
  .week, .grid { display: block; }
  .day { margin-bottom: 15px; }
  .hint { color: #333; }
  a { color: black; }
  .section-head { display: block; }
  .table-scroll { overflow: visible; }
  .food-table { display: table; }
  .food-table thead { display: table-header-group; }
  .food-table tbody { display: table-row-group; }
  .food-table tr { display: table-row; }
  .food-table td { display: table-cell; width: auto; }
  .food-table td::before { display: none !important; }
}
