/* A&D Food Snap: all rules scoped to .adofs so they cannot affect the theme. */
.adofs {
	--adofs-ink: #13262a;
	--adofs-muted: #55686b;
	--adofs-line: #d6e0de;
	--adofs-surface: #ffffff;
	--adofs-tint: #f3f6f5;
	--adofs-accent: #1d6b57;
	--adofs-accent-soft: #e1efea;
	--adofs-on-accent: #ffffff;
	--adofs-warn: #9a5b00;
	--adofs-warn-soft: #fff1d9;
	--adofs-radius: 12px;
	box-sizing: border-box;
	max-width: 560px;
	margin: 1.5em auto;
	padding: 20px;
	color: var(--adofs-ink);
	background: var(--adofs-tint);
	border-radius: 16px;
	font-family: inherit;
	font-size: 17px;
	line-height: 1.5;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.adofs *, .adofs *::before, .adofs *::after { box-sizing: border-box; }
.adofs [hidden], .adofs .adofs-hidden { display: none !important; }
.adofs p, .adofs ul, .adofs h2, .adofs h3, .adofs h4, .adofs h5 { margin: 0; }

.adofs .adofs-head { display: flex; flex-direction: column; gap: 4px; }
.adofs .adofs-title { font-size: 1.5em; line-height: 1.2; color: var(--adofs-ink); }
.adofs .adofs-lead { color: var(--adofs-muted); }

.adofs .adofs-panel,
.adofs .adofs-results {
	background: var(--adofs-surface);
	border: 1px solid var(--adofs-line);
	border-radius: var(--adofs-radius);
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.adofs .adofs-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92em; cursor: pointer; }
.adofs .adofs-consent input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--adofs-accent); }

.adofs .adofs-row { display: flex; flex-wrap: wrap; gap: 10px; }
.adofs .adofs-btn {
	-webkit-appearance: none;
	appearance: none;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	min-height: 48px;
	padding: 12px 20px;
	border-radius: 10px;
	border: 2px solid var(--adofs-accent);
	background: var(--adofs-accent);
	color: var(--adofs-on-accent);
	cursor: pointer;
	flex: 1 1 180px;
	text-transform: none;
	letter-spacing: normal;
	box-shadow: none;
}
.adofs .adofs-btn--ghost { background: transparent; color: var(--adofs-accent); }
.adofs .adofs-btn:disabled { opacity: 0.55; cursor: default; }
.adofs label.adofs-btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; margin: 0; cursor: pointer; -webkit-user-select: none; user-select: none; }
.adofs label.adofs-link { cursor: pointer; margin: 0; }
.adofs label[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }
.adofs .adofs-file { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; overflow: hidden; clip: rect(0 0 0 0); margin: 0 !important; padding: 0 !important; border: 0 !important; }
.adofs .adofs-consent--flag { outline: 2px solid var(--adofs-warn); outline-offset: 6px; border-radius: 6px; background: var(--adofs-warn-soft); }
.adofs .adofs-btn:focus-visible,
.adofs .adofs-link:focus-visible,
.adofs select:focus-visible,
.adofs input:focus-visible { outline: 3px solid var(--adofs-warn); outline-offset: 2px; }

.adofs .adofs-note { display: flex; flex-direction: column; gap: 6px; font-size: 0.92em; font-weight: 700; }
.adofs .adofs-note input,
.adofs select {
	font: inherit;
	font-weight: 400;
	min-height: 44px;
	padding: 8px 10px;
	border: 1px solid var(--adofs-line);
	border-radius: 8px;
	background: var(--adofs-surface);
	color: var(--adofs-ink);
	max-width: 100%;
}

.adofs .adofs-preview { display: block; width: 100%; max-width: 100%; max-height: 320px; object-fit: cover; border-radius: 10px; }
.adofs .adofs-status { color: var(--adofs-muted); }

.adofs .adofs-msg { font-size: 0.92em; color: var(--adofs-muted); }
.adofs .adofs-msg--warn { color: var(--adofs-ink); background: var(--adofs-warn-soft); border-radius: 8px; padding: 10px 12px; }

.adofs .adofs-total {
	background: var(--adofs-accent);
	color: var(--adofs-on-accent);
	border-radius: 10px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.adofs .adofs-total-label { font-size: 0.85em; opacity: 0.9; }
.adofs .adofs-total-kcal { font-size: 2.2em; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.adofs .adofs-total-macros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.adofs .adofs-macro { display: flex; flex-direction: column; background: rgba(255, 255, 255, 0.14); border-radius: 8px; padding: 8px 10px; }
.adofs .adofs-macro-val { font-weight: 800; font-variant-numeric: tabular-nums; }
.adofs .adofs-macro-lab { font-size: 0.8em; opacity: 0.9; }

.adofs .adofs-items { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.adofs .adofs-item { border: 1px solid var(--adofs-line); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 8px; margin: 0; }
.adofs .adofs-item--off { opacity: 0.5; }
.adofs .adofs-item--off .adofs-item-kcal { text-decoration: line-through; }
.adofs .adofs-item-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.adofs .adofs-item-name { display: flex; flex-direction: column; min-width: 0; }
.adofs .adofs-item-portion { font-size: 0.85em; color: var(--adofs-muted); }
.adofs .adofs-item-kcal { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.adofs .adofs-item-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.85em; color: var(--adofs-muted); }
.adofs .adofs-pill { font-size: 0.85em; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--adofs-warn-soft); color: var(--adofs-warn); }
.adofs .adofs-item-ctl { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; font-size: 0.9em; }

.adofs .adofs-link {
	-webkit-appearance: none;
	appearance: none;
	background: none;
	border: 0;
	padding: 6px 0;
	font: inherit;
	font-size: 0.92em;
	font-weight: 700;
	color: var(--adofs-accent);
	text-decoration: underline;
	cursor: pointer;
	box-shadow: none;
}

.adofs .adofs-tips { background: var(--adofs-accent-soft); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.adofs .adofs-tips h3 { font-size: 1em; color: var(--adofs-accent); }
.adofs .adofs-tips ul { padding-left: 1.2em; }

.adofs .adofs-today { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; font-size: 0.92em; background: var(--adofs-surface); border: 1px dashed var(--adofs-line); border-radius: 10px; padding: 10px 14px; }
.adofs .adofs-foot { display: flex; flex-direction: column; gap: 6px; font-size: 0.82em; color: var(--adofs-muted); }
.adofs .adofs-contact { font-weight: 700; color: var(--adofs-ink); }

/* Access code */
.adofs .adofs-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.adofs .adofs-sub { font-size: 1.1em; color: var(--adofs-ink); }
.adofs .adofs-code-row { align-items: stretch; }
.adofs .adofs-codefield { flex: 2 1 200px; display: flex; min-width: 0; }
.adofs .adofs-codefield input {
	font: inherit; width: 100%; min-height: 52px; padding: 8px 14px;
	font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 1.25em; letter-spacing: 0.12em; text-transform: uppercase;
	border: 2px solid var(--adofs-line); border-radius: 10px; background: var(--adofs-surface); color: var(--adofs-ink);
}
.adofs .adofs-codefield input::placeholder { text-transform: none; letter-spacing: 0.04em; }
.adofs .adofs-code-row .adofs-btn { flex: 1 1 100px; }
.adofs .adofs-access-on { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; justify-content: space-between; font-size: 0.92em; }
.adofs .adofs-access-on p { color: var(--adofs-muted); }
.adofs .adofs-access-on strong { color: var(--adofs-ink); }

/* Pilot notice */
.adofs .adofs-pilot { font-size: 0.88em; font-weight: 700; color: var(--adofs-accent); background: var(--adofs-accent-soft); border-radius: 8px; padding: 8px 12px; }

/* Entry tabs */
.adofs .adofs-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--adofs-tint); border-radius: 10px; padding: 4px; }
.adofs .adofs-tab {
	-webkit-appearance: none; appearance: none; font: inherit; font-size: 0.9em; font-weight: 700; line-height: 1.2;
	min-height: 44px; padding: 8px 6px; border: 0; border-radius: 8px; background: transparent; color: var(--adofs-muted); cursor: pointer; box-shadow: none;
}
.adofs .adofs-tab[aria-selected="true"] { background: var(--adofs-surface); color: var(--adofs-accent); box-shadow: 0 1px 2px rgba(19, 38, 42, 0.12); }
.adofs .adofs-tab:focus-visible { outline: 3px solid var(--adofs-warn); outline-offset: 2px; }
.adofs .adofs-pane { display: flex; flex-direction: column; gap: 12px; }
.adofs .adofs-work { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--adofs-line); padding-top: 12px; }
.adofs .adofs-usage-hint { font-size: 0.85em; }
.adofs .adofs-note textarea {
	font: inherit; font-weight: 400; width: 100%; padding: 10px 12px; resize: vertical;
	border: 1px solid var(--adofs-line); border-radius: 8px; background: var(--adofs-surface); color: var(--adofs-ink);
}
.adofs .adofs-btn--small { flex: 0 0 auto; min-height: 44px; padding: 8px 16px; font-size: 0.92em; }

/* Regular meals */
.adofs .adofs-regulars { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.adofs .adofs-reg { margin: 0; border: 1px solid var(--adofs-line); border-radius: 10px; padding: 10px 12px; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; }
.adofs .adofs-reg-info { display: flex; flex-direction: column; min-width: 0; flex: 1 1 160px; }
.adofs .adofs-reg-acts { display: flex; gap: 12px; align-items: center; }
.adofs .adofs-save { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.adofs .adofs-save .adofs-note { flex: 1 1 200px; }

/* Photo guidance, thumbnails and questions */
.adofs .adofs-howto { background: var(--adofs-tint); border-radius: 10px; padding: 10px 14px; font-size: 0.88em; }
.adofs .adofs-howto-head { font-weight: 600; color: var(--adofs-accent); cursor: pointer; }
.adofs .adofs-howto ul { margin-top: 6px !important; }
.adofs .adofs-cta { display: flex; flex-direction: column; gap: 2px; }
.adofs .adofs-cta-head { font-size: 1.1em; font-weight: 700; color: var(--adofs-ink); }
.adofs .adofs-steps { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.adofs .adofs-step { display: flex; gap: 10px; align-items: flex-start; background: var(--adofs-surface); border: 1px solid var(--adofs-line); border-radius: 12px; padding: 12px; margin: 0 !important; font-size: 0.85em; line-height: 1.4; }
.adofs .adofs-step-n { flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--adofs-accent); color: var(--adofs-on-accent); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 0.95em; }
.adofs .adofs-step-t { display: flex; flex-direction: column; gap: 2px; color: var(--adofs-muted); }
.adofs .adofs-jump { align-self: flex-start; margin-top: 4px; font-size: 1em !important; }
.adofs .adofs-step-t strong { color: var(--adofs-ink); font-size: 1.05em; }
@media (max-width: 640px) { .adofs .adofs-steps { grid-template-columns: 1fr; } .adofs .adofs-step { padding: 10px 12px; } }
.adofs .adofs-howto ul { padding-left: 1.2em; margin: 0; }
.adofs .adofs-thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.adofs .adofs-thumb { margin: 0; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.adofs .adofs-thumb img { display: block; width: 100%; max-width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.adofs .adofs-thumb figcaption { font-size: 0.82em; color: var(--adofs-muted); }
.adofs .adofs-qs { border: 2px solid var(--adofs-accent-soft); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 12px; }
.adofs .adofs-qs h3 { font-size: 1em; color: var(--adofs-accent); }
.adofs .adofs-q { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.adofs .adofs-q legend { font-weight: 700; padding: 0; margin-bottom: 6px; font-size: 0.95em; }
.adofs .adofs-q-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.adofs .adofs-chip { display: flex; align-items: center; gap: 8px; border: 1px solid var(--adofs-line); border-radius: 99px; padding: 8px 14px; font-size: 0.9em; cursor: pointer; background: var(--adofs-surface); min-height: 44px; }
.adofs .adofs-chip input { width: 18px; height: 18px; margin: 0; accent-color: var(--adofs-accent); }
.adofs .adofs-chip:has(input:checked) { border-color: var(--adofs-accent); background: var(--adofs-accent-soft); font-weight: 700; }
.adofs .adofs-chip:has(input:focus-visible) { outline: 3px solid var(--adofs-warn); outline-offset: 2px; }

/* ---------- Daily allowance planner ---------- */
.adofs .adofs-plan { background: var(--adofs-surface); border: 1px solid var(--adofs-line); border-radius: 14px; overflow: hidden; }
.adofs .adofs-plan-sum { list-style: none; cursor: pointer; padding: 18px 20px; display: flex; align-items: center; gap: 12px; font-weight: 700; }
.adofs .adofs-plan-sum::-webkit-details-marker { display: none; }
.adofs .adofs-plan-title { flex: 1 1 auto; }
.adofs .adofs-plan-val { color: var(--adofs-accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.adofs .adofs-plan-sum::after { content: ""; flex: 0 0 10px; width: 10px; height: 10px; border-right: 2px solid var(--adofs-muted); border-bottom: 2px solid var(--adofs-muted); transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.adofs .adofs-plan[open] .adofs-plan-sum::after { transform: translateY(2px) rotate(-135deg); }
.adofs .adofs-plan-body { padding: 4px 20px 20px; display: flex; flex-direction: column; gap: 20px; }

.adofs .adofs-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.adofs .adofs-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; }
.adofs .adofs-full { grid-column: 1 / -1; }
.adofs .adofs-label { font-size: 0.82em; font-weight: 600; color: var(--adofs-muted); letter-spacing: 0.01em; line-height: 1.3; }
.adofs .adofs-m-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 26px; }

.adofs .adofs-plan select,
.adofs .adofs-plan input[type="number"] {
	-webkit-appearance: none !important; -moz-appearance: none !important; appearance: none !important;
	display: block; width: 100% !important; height: 48px !important; min-height: 0 !important; margin: 0 !important;
	padding: 0 14px !important; font-family: inherit !important; font-size: 16px !important; font-weight: 400 !important;
	line-height: 46px !important; color: var(--adofs-ink) !important; background-color: var(--adofs-surface) !important;
	border: 1px solid var(--adofs-line) !important; border-radius: 10px !important; box-shadow: none !important;
	transition: border-color .15s, box-shadow .15s;
}
.adofs .adofs-plan select {
	padding-right: 40px !important; cursor: pointer; text-overflow: ellipsis; white-space: nowrap;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2355686b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important; background-position: right 14px center !important; background-size: 12px 8px !important;
}
.adofs .adofs-plan input[type="number"] { -moz-appearance: textfield !important; font-variant-numeric: tabular-nums; }
.adofs .adofs-plan input[type="number"]::-webkit-inner-spin-button,
.adofs .adofs-plan input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.adofs .adofs-plan select:hover,
.adofs .adofs-plan input[type="number"]:hover { border-color: #b5c4c1 !important; }
.adofs .adofs-plan select:focus,
.adofs .adofs-plan input[type="number"]:focus { outline: none !important; border-color: var(--adofs-accent) !important; box-shadow: 0 0 0 3px var(--adofs-accent-soft) !important; }

.adofs .adofs-ui { position: relative; display: block; min-width: 0; }
.adofs .adofs-ui > input[type="number"] { padding-right: 56px !important; }
.adofs .adofs-ui > span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 0.85em; color: var(--adofs-muted); pointer-events: none; }
.adofs .adofs-pair { display: block; min-width: 0; }
.adofs .adofs-pair--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.adofs .adofs-pair--2 .adofs-ui > input[type="number"] { padding-right: 36px !important; }
.adofs .adofs-hint { font-size: 0.8em; color: var(--adofs-muted); min-height: 1.2em; }

.adofs .adofs-seg { display: inline-flex; flex: 0 0 auto; background: var(--adofs-tint); border-radius: 8px; padding: 2px; }
.adofs .adofs-seg label { display: flex; margin: 0; cursor: pointer; }
.adofs .adofs-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.adofs .adofs-seg span { display: block; white-space: nowrap; padding: 3px 10px; border-radius: 6px; font-size: 12.5px; font-weight: 600; line-height: 1.5; color: var(--adofs-muted); transition: background .15s, color .15s; }
.adofs .adofs-seg input:checked + span { background: var(--adofs-surface); color: var(--adofs-ink); box-shadow: 0 1px 2px rgba(19,38,42,.15); }
.adofs .adofs-seg input:focus-visible + span { outline: 2px solid var(--adofs-accent); outline-offset: 1px; }

.adofs .adofs-goal { border-top: 1px solid var(--adofs-line); padding-top: 18px; display: flex; flex-direction: column; gap: 18px; }
.adofs .adofs-slider { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.adofs .adofs-slider-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 0.92em; }
.adofs .adofs-slider-head > span { font-weight: 600; color: var(--adofs-ink); }
.adofs .adofs-slider-head strong { font-weight: 700; color: var(--adofs-accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.adofs .adofs-slider input[type="range"] {
	-webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin: 8px 0; padding: 0; border: 0; border-radius: 99px; cursor: pointer;
	background: linear-gradient(to right, var(--adofs-accent) 0, var(--adofs-accent) var(--adofs-pct, 50%), var(--adofs-line) var(--adofs-pct, 50%), var(--adofs-line) 100%);
}
.adofs .adofs-slider input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--adofs-accent); box-shadow: 0 1px 4px rgba(19,38,42,.25); }
.adofs .adofs-slider input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--adofs-accent); box-shadow: 0 1px 4px rgba(19,38,42,.25); }
.adofs .adofs-slider input[type="range"]::-moz-range-track { background: transparent; }
.adofs .adofs-slider input[type="range"]:focus { outline: none; }
.adofs .adofs-slider input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--adofs-accent-soft); }

.adofs .adofs-plan-out { display: flex; flex-direction: column; gap: 12px; }
.adofs .adofs-plan-big { background: var(--adofs-accent); color: var(--adofs-on-accent); border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; }
.adofs .adofs-big-k { font-size: 0.8em; font-weight: 600; opacity: .85; text-transform: uppercase; letter-spacing: .06em; }
.adofs .adofs-big-v { font-size: 2.1em; font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; }
.adofs .adofs-big-s { font-size: 0.85em; opacity: .85; }
.adofs .adofs-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.adofs .adofs-stat { border: 1px solid var(--adofs-line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.adofs .adofs-stat-k { font-size: 0.78em; font-weight: 600; color: var(--adofs-muted); }
.adofs .adofs-stat-v { font-size: 1.15em; font-weight: 700; font-variant-numeric: tabular-nums; }
.adofs .adofs-stat-s { font-size: 0.78em; color: var(--adofs-muted); }
.adofs .adofs-weeks > summary { cursor: pointer; font-size: 0.88em; font-weight: 600; color: var(--adofs-accent); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.adofs .adofs-weeks > summary::-webkit-details-marker { display: none; }
.adofs .adofs-weeks > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.adofs .adofs-weeks[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
.adofs .adofs-weeks .adofs-table-wrap { margin-top: 10px; }
.adofs .adofs-fine { font-size: 0.8em; color: var(--adofs-muted); }
.adofs .adofs-table-wrap { overflow-x: auto; }
.adofs .adofs-table { width: 100%; border-collapse: collapse; font-size: 0.9em; font-variant-numeric: tabular-nums; margin: 0; }
.adofs .adofs-table th,
.adofs .adofs-table td { text-align: left; padding: 6px 8px; border: 0; border-bottom: 1px solid var(--adofs-line); background: none; }
.adofs .adofs-table th { font-weight: 700; color: var(--adofs-muted); font-size: 0.85em; }
@media (max-width: 560px) {
	.adofs .adofs-plan-body { padding: 4px 16px 16px; }
	.adofs .adofs-plan-sum { padding: 16px; }
	.adofs .adofs-fields { gap: 14px 12px; }
	.adofs .adofs-m { grid-column: 1 / -1; }
	.adofs .adofs-plan-sum { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; }
	.adofs .adofs-plan-sum::after { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
	.adofs .adofs-plan-val { grid-column: 1; grid-row: 2; font-size: 0.92em; }
	.adofs .adofs-stats { grid-template-columns: 1fr; gap: 0; border: 1px solid var(--adofs-line); border-radius: 10px; }
	.adofs .adofs-stat { border: 0; border-radius: 0; display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 0 12px; padding: 10px 14px; }
	.adofs .adofs-stat + .adofs-stat { border-top: 1px solid var(--adofs-line); }
	.adofs .adofs-stat-k { font-size: 0.85em; }
	.adofs .adofs-stat-v { grid-column: 2; grid-row: 1 / span 2; font-size: 1.05em; text-align: right; align-self: center; }
	.adofs .adofs-stat-s { grid-column: 1; }
}

.adofs .adofs-today-info { display: flex; flex-direction: column; gap: 6px; flex: 1 1 100%; }
.adofs .adofs-today-head { font-weight: 800; }
.adofs .adofs-bar { height: 10px; border-radius: 99px; background: var(--adofs-accent-soft); overflow: hidden; }
.adofs .adofs-bar i { display: block; height: 100%; background: var(--adofs-accent); border-radius: 99px; }
.adofs .adofs-bar--over i { background: var(--adofs-warn); }

@media (max-width: 420px) {
	.adofs { padding: 14px; margin-inline: 0; }
	.adofs .adofs-total-kcal { font-size: 1.9em; }
}
@media (prefers-reduced-motion: reduce) {
	.adofs * { scroll-behavior: auto; transition: none; }
}
