/* НутрицияМед — тема «Холодильник».
   Двухцветная: белая эмаль + укропная зелень. Мотивы: холодильник с магнитами, разлинованный дневник питания,
   карточки рецептов, тарелка-разделитель, мерный стакан, кухонные весы, список покупок, сумка-холодильник, прищепки.
   Префикс классов nm-. Шрифты: Marmelad (заголовки), Murecho (текст), Amatic SC (рукописные пометки), все OFL. */

@font-face { font-family: "Murecho"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/murecho-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Murecho"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/murecho-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Murecho"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/murecho-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Murecho"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/murecho-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Murecho"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/murecho-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Murecho"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/murecho-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Murecho"; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/murecho-cyrillic-800-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Murecho"; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/murecho-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Marmelad"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/marmelad-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Marmelad"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/marmelad-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Amatic SC"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/amatic-sc-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Amatic SC"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/amatic-sc-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
	--white: #ffffff;
	--wall: #eef3ec;
	--wall-2: #e2ebe1;
	--g: #1f6a37;
	--g-hi: #2e8049;
	--g-d: #11401f;
	--g-2: #2f5e3d;
	--g-3: #4d7158;
	--g-l: #d9e9da;
	--g-ll: #f1f7f1;
	--line: rgba(17, 64, 31, .14);
	--line-2: rgba(17, 64, 31, .28);
	--rule: rgba(31, 106, 55, .13);
	--shadow: 0 1px 0 rgba(17, 64, 31, .06), 0 14px 28px -18px rgba(17, 64, 31, .45);
	--paper: 0 1px 1px rgba(17, 64, 31, .14), 0 10px 18px -12px rgba(17, 64, 31, .5);
	--f: "Murecho", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--f-d: "Marmelad", "Murecho", Georgia, serif;
	--f-h: "Amatic SC", "Marmelad", cursive;
	--side: 250px;
	--gingham: linear-gradient(90deg, rgba(31, 106, 55, .5) 50%, transparent 50%) 0 0 / 8px 8px, linear-gradient(rgba(31, 106, 55, .5) 50%, transparent 50%) 0 0 / 8px 8px, #ffffff;
}

/* ---------------------------------------------------------------- основа */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
	margin: 0; min-width: 320px; color: var(--g-d); font: 400 16px/1.6 var(--f);
	background-color: var(--wall);
	background-image: linear-gradient(rgba(31, 106, 55, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(31, 106, 55, .06) 1px, transparent 1px);
	background-size: 56px 56px;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--g); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--g-d); }
:focus-visible { outline: 3px solid var(--g); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 .8em; }
ul, ol { margin: 0; padding: 0; }
.nm-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nm-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--white); color: var(--g-d); font-weight: 700; }
.nm-skip:focus { top: 12px; }
.nm-wrap { width: min(1320px, 100% - 48px); margin-inline: auto; }
.nm-ico { flex: none; display: block; }

.nm-h1 { font: 400 clamp(28px, 3.2vw, 38px)/1.12 var(--f-d); color: var(--g-d); letter-spacing: -.005em; overflow-wrap: anywhere; }
.nm-h2 { font: 400 clamp(23px, 2.4vw, 29px)/1.2 var(--f-d); color: var(--g-d); }
.nm-h3 { font: 400 21px/1.25 var(--f-d); color: var(--g-d); }
.nm-kicker { margin: 0 0 6px; font: 700 23px/1 var(--f-h); color: var(--g); letter-spacing: .02em; }
.nm-kicker a { color: inherit; text-decoration: none; }
.nm-kicker a:hover { text-decoration: underline; }
.nm-more { display: inline-flex; align-items: center; gap: 6px; color: var(--g); font-weight: 700; font-size: 14px; text-decoration: none; }
.nm-more::after { content: "→"; transition: transform .2s; }
.nm-more:hover { color: var(--g-d); text-decoration: underline; }
.nm-more:hover::after { transform: translateX(3px); }
.nm-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px 3px 8px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--g-ll); color: var(--g-d); font: 500 13px/1.45 var(--f); text-decoration: none; white-space: nowrap; }
.nm-chip .nm-ico { color: var(--g); }
.nm-chip:hover { background: var(--g-l); color: var(--g-d); }
.nm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border: 1.5px solid var(--g); border-radius: 12px; background: var(--g); color: var(--white) !important; font: 700 15px/1.15 var(--f); text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.nm-btn:hover { background: var(--g-d); border-color: var(--g-d); }
.nm-btn--ghost { background: var(--white); color: var(--g) !important; }
.nm-btn--ghost:hover { background: var(--g-ll); color: var(--g-d) !important; border-color: var(--g); }
.nm-empty { padding: 18px 20px; border: 1.5px dashed var(--line-2); border-radius: 12px; background: var(--white); color: var(--g-2); list-style: none; }

/* ---------------------------------------------------------------- этапы (префиксы тем) */
.nm-stage { display: inline-flex; align-items: center; gap: 5px; padding: 1px 10px 1px 7px; border: 1.5px solid var(--g); border-radius: 999px; background: var(--white); color: var(--g-d); font: 700 12px/1.6 var(--f); white-space: nowrap; vertical-align: middle; }
.nm-stage::before, .nm-fmag i::before { content: ""; flex: none; display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; font: 800 12px/1 var(--f); }
.nm-stage--naznachili::before, .nm-fmag--naznachili i::before { border: 2px solid currentColor; width: 11px; height: 11px; }
.nm-stage--privykaem { background: var(--g-l); }
.nm-stage--privykaem::before, .nm-fmag--privykaem i::before { background: linear-gradient(90deg, currentColor 50%, transparent 50%); box-shadow: inset 0 0 0 1.6px currentColor; width: 12px; height: 12px; }
.nm-stage--ask { background: var(--g); color: var(--white); }
.nm-stage--ask::before, .nm-fmag--ask i::before { content: "?"; background: var(--white); color: var(--g); }
.nm-stage--trudno { border-style: dashed; }
.nm-stage--trudno::before, .nm-fmag--trudno i::before { content: "!"; border-radius: 3px; background: var(--g-d); color: var(--white); width: 13px; height: 13px; }
.nm-stage--poluchilos { background: var(--g-d); border-color: var(--g-d); color: var(--white); }
.nm-stage--poluchilos::before, .nm-fmag--poluchilos i::before { content: "✓"; background: var(--white); color: var(--g-d); }

/* ---------------------------------------------------------------- лица, звания, репутация */
.nm-face { display: inline-grid; place-items: center; flex: none; border-radius: 50%; overflow: hidden; background: var(--g-l); color: var(--g-d); font: 700 15px/1 var(--f); box-shadow: 0 0 0 2px var(--white), 0 0 0 3.5px var(--g); }
.nm-face img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nm-face--xs { width: 24px; height: 24px; font-size: 12px; letter-spacing: -.04em; box-shadow: 0 0 0 1.5px var(--white), 0 0 0 2.5px var(--g); }
.nm-face--s { width: 32px; height: 32px; font-size: 12.5px; }
.nm-face--m { width: 46px; height: 46px; font-size: 16px; }
.nm-face--l { width: 64px; height: 64px; font-size: 22px; }
.nm-face--xl { width: 168px; height: 168px; border-radius: 4px; font: 400 58px/1 var(--f-d); box-shadow: none; }
.nm-mono-1 { background: var(--g); color: var(--white); }
.nm-mono-2 { background: var(--white); color: var(--g); }
.nm-rank { display: inline-flex; align-items: center; gap: 4px; color: var(--g-2); font-size: 12.5px; font-weight: 500; line-height: 1.3; }
.nm-cup { flex: none; }
.nm-cup__glass { fill: var(--white); stroke: var(--g); stroke-width: 1.5; stroke-linejoin: round; }
.nm-cup__handle { fill: none; stroke: var(--g); stroke-width: 1.5; stroke-linecap: round; }
.nm-cup__fill { fill: var(--g); opacity: .85; }
.nm-cup__ticks { stroke: var(--g-d); stroke-width: 1.1; stroke-linecap: round; opacity: .55; }
.nm-rep { display: inline-flex; align-items: baseline; gap: 4px; color: var(--g-2); font-size: 12.5px; }
.nm-rep b { color: var(--g); font-size: 14px; }

/* ---------------------------------------------------------------- магниты и прищепки */
.nm-magnet { position: absolute; z-index: 2; top: -10px; left: calc(50% - 11px); width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #79b48a 0 14%, var(--g) 46%, #12461f 100%); box-shadow: 0 3px 4px rgba(17, 64, 31, .38), inset 0 -2px 3px rgba(0, 0, 0, .2); }
.nm-magnet--1 { left: 18px; width: 26px; height: 18px; border-radius: 7px; }
.nm-magnet--2 { left: auto; right: 22px; border-radius: 0 60% 0 60%; transform: rotate(10deg); }
.nm-magnet--3 { left: 26%; width: 18px; height: 24px; border-radius: 50% 50% 46% 46%; }
.nm-magnet--big { top: -16px; left: calc(50% - 17px); width: 34px; height: 34px; }
.nm-peg { position: absolute; z-index: 2; top: -18px; left: calc(50% - 8px); width: 16px; height: 36px; border-radius: 4px 4px 3px 3px; background: linear-gradient(90deg, var(--white) 0 42%, var(--g) 42% 58%, var(--white) 58%); box-shadow: 0 0 0 1.6px var(--g), 0 5px 6px rgba(17, 64, 31, .3); }
.nm-peg::after { content: ""; position: absolute; left: -3px; right: -3px; top: 12px; height: 5px; border-radius: 3px; background: var(--g); }
.nm-peg--big { top: -24px; left: calc(50% - 11px); width: 22px; height: 50px; }
.nm-peg--big::after { top: 17px; height: 7px; }

/* ---------------------------------------------------------------- верхняя полоса */
.nm-top { position: sticky; top: 0; z-index: 40; background: var(--g); color: var(--white); }
.nm-top::after { content: ""; display: block; height: 7px; background: var(--gingham); box-shadow: 0 6px 12px -8px rgba(17, 64, 31, .5); }
.nm-top__in { display: flex; align-items: center; gap: 14px; min-height: 66px; }
.nm-logo { display: inline-flex; align-items: center; gap: 10px; flex: none; color: var(--white); text-decoration: none; }
.nm-logo:hover { color: var(--white); }
.nm-logo__mark { flex: none; }
.nm-logo__txt { display: grid; line-height: 1.05; }
.nm-logo__name { font: 400 23px/1.05 var(--f-d); letter-spacing: .005em; }
.nm-logo__sub { font: 700 18px/1.05 var(--f-h); letter-spacing: .03em; opacity: .92; }
.nm-menu { flex: 1; min-width: 0; }
.nm-menu__list { display: flex; justify-content: center; gap: 4px; list-style: none; }
.nm-dd { position: relative; }
.nm-dd__btn { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 8px 12px; border: 0; border-radius: 11px; background: transparent; color: var(--white); font: 500 15px/1.1 var(--f); cursor: pointer; white-space: nowrap; transition: background .18s, color .18s; }
.nm-dd__btn:hover { background: rgba(255, 255, 255, .14); }
.nm-dd.is-cur > .nm-dd__btn { box-shadow: inset 0 -3px 0 var(--white); border-radius: 11px 11px 4px 4px; }
.nm-dd__btn[aria-expanded="true"] { background: var(--white); color: var(--g-d); box-shadow: none; }
.nm-dd__chev { transition: transform .2s; }
.nm-dd__btn[aria-expanded="true"] .nm-dd__chev { transform: rotate(180deg); }
.nm-dd__panel { position: absolute; z-index: 45; top: calc(100% + 12px); left: 50%; width: 370px; padding: 14px 12px 12px; border-radius: 16px; background: var(--white); color: var(--g-d); box-shadow: 0 0 0 1px var(--line), 0 24px 48px -18px rgba(17, 64, 31, .55); transform: translateX(-50%); display: none; }
.nm-dd__panel::before { content: ""; position: absolute; left: 16px; right: 16px; top: 0; height: 6px; border-radius: 0 0 4px 4px; background: var(--gingham); }
.nm-dd__btn[aria-expanded="true"] + .nm-dd__panel { display: block; animation: nm-drop .18s ease-out; }
.nm-dd__all { display: block; margin: 4px 6px 8px; font: 700 21px/1.1 var(--f-h); color: var(--g); text-decoration: none; letter-spacing: .02em; }
.nm-dd__all:hover { text-decoration: underline; }
.nm-dd__panel ul { list-style: none; }
.nm-dd__l { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--g-d); text-decoration: none; }
.nm-dd__l .nm-ico { color: var(--g); }
.nm-dd__l:hover, .nm-dd__l.is-on { background: var(--g-ll); color: var(--g-d); }
.nm-dd__t { font-size: 15px; font-weight: 500; line-height: 1.25; }
.nm-dd__n { color: var(--g-3); font-size: 12.5px; white-space: nowrap; }
.nm-find { position: relative; display: flex; align-items: center; flex: none; }
.nm-find__in { width: 210px; height: 42px; padding: 8px 44px 8px 14px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .16); color: var(--white); font: 15px/1.2 var(--f); transition: background .2s, width .25s; }
.nm-find__in::placeholder { color: rgba(255, 255, 255, .86); }
.nm-find__in:focus { width: 260px; background: var(--white); color: var(--g-d); outline: 0; }
.nm-find__in:focus::placeholder { color: var(--g-3); }
.nm-find__go { position: absolute; right: 3px; top: 3px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 9px; background: transparent; color: var(--white); cursor: pointer; }
.nm-find__in:focus + .nm-find__go { color: var(--g); }
.nm-find--m { display: none; }
.nm-me { position: relative; flex: none; }
.nm-me__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 5px 14px 5px 6px; border: 1.5px solid rgba(255, 255, 255, .7); border-radius: 999px; background: transparent; color: var(--white); font: 700 15px/1 var(--f); cursor: pointer; }
.nm-me__btn > .nm-ico { margin-left: 6px; }
.nm-me__btn:hover, .nm-me__btn[aria-expanded="true"] { background: var(--white); color: var(--g-d); border-color: var(--white); }
.nm-me__l { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nm-me__panel { position: absolute; z-index: 46; top: calc(100% + 14px); right: 0; width: 330px; padding: 18px; border-radius: 16px; background: var(--white); color: var(--g-d); box-shadow: 0 0 0 1px var(--line), 0 24px 48px -18px rgba(17, 64, 31, .55); display: none; }
.nm-me__panel.is-open { display: block; animation: nm-drop .18s ease-out; }
.nm-burger { display: none; align-items: center; gap: 8px; min-height: 42px; padding: 6px 12px; border: 1.5px solid rgba(255, 255, 255, .7); border-radius: 12px; background: transparent; color: var(--white); font: 700 14px/1 var(--f); cursor: pointer; }
.nm-burger__i { display: grid; gap: 4px; width: 18px; }
.nm-burger__i i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.nm-burger[aria-expanded="true"] { background: var(--white); color: var(--g-d); }
.nm-burger[aria-expanded="true"] .nm-burger__i i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nm-burger[aria-expanded="true"] .nm-burger__i i:nth-child(2) { opacity: 0; }
.nm-burger[aria-expanded="true"] .nm-burger__i i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nm-scrim { position: fixed; inset: 0; z-index: 35; background: rgba(17, 64, 31, .28); }

.nm-login__p { margin: 0 0 12px; color: var(--g-2); font-size: 14px; }
.nm-field { margin: 0 0 10px; }
.nm-field label { display: block; margin-bottom: 4px; color: var(--g-2); font-size: 13.5px; font-weight: 500; }
.nm-field .textbox { width: 100%; }
.nm-field .button { width: 100%; }
.nm-field--row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.nm-check { display: inline-flex !important; align-items: center; gap: 6px; margin: 0 !important; color: var(--g-d) !important; }
.nm-mine__who { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.nm-mine__who span { display: grid; }
.nm-mine__who a { font-size: 13.5px; }
.nm-mine__links { list-style: none; border-top: 1px solid var(--line); }
.nm-mine__links a { display: block; padding: 9px 4px; border-bottom: 1px solid var(--line); color: var(--g-d); text-decoration: none; font-size: 15px; }
.nm-mine__links a:hover { color: var(--g); background: var(--g-ll); }
.nm-pm[data-n="0"] { display: none; }
.nm-pm { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 4px; padding: 0 6px; border-radius: 999px; background: var(--g); color: var(--white); font-size: 12px; }

.nm-crumbs { padding: 12px 0 0; font-size: 14px; }
.nm-crumbs__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.nm-crumbs__nav a { color: var(--g-2); text-decoration: none; }
.nm-crumbs__nav a:hover { color: var(--g); text-decoration: underline; }
.nm-crumbs__nav .active { color: var(--g-d); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: min(640px, 100%); }
.nm-crumbs__sep { color: var(--g-3); }
.nm-page--index .nm-crumbs { display: none; }
.nm-main { padding: 18px 0 48px; }
.nm-page--index .nm-main { padding-top: 22px; }

/* ---------------------------------------------------------------- главная: холодильник */
.nm-fridge { position: relative; border-radius: 34px; background: linear-gradient(102deg, var(--white) 0%, #f6f9f5 46%, var(--white) 62%, #f3f7f2 100%); box-shadow: inset 0 0 0 2px var(--white), 0 0 0 1px var(--line-2), 0 5px 0 #d2ded1, 0 40px 70px -40px rgba(17, 64, 31, .55); }
.nm-fridge__top { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 34px; padding: 30px 60px 22px 40px; }
.nm-fridge__top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 4px; background: linear-gradient(var(--wall-2), #f9fbf8); box-shadow: 0 1px 0 var(--line-2), 0 -1px 0 var(--line); }
.nm-fridge__door { position: relative; padding: 30px 62px 34px 40px; }
.nm-fridge__grip { position: absolute; right: 20px; top: 34px; width: 13px; height: 190px; border-radius: 9px; background: linear-gradient(90deg, #154d27 0%, var(--g) 35%, #3f9159 55%, var(--g) 80%); box-shadow: 3px 4px 0 rgba(17, 64, 31, .16); }
.nm-fridge__grip--top { top: auto; bottom: 22px; height: 84px; }
.nm-hello { min-width: 0; }
.nm-hello .nm-h1 { font-size: clamp(30px, 3vw, 40px); }
.nm-h1__sub { display: block; margin-top: 4px; font: 700 clamp(25px, 2.2vw, 30px)/1 var(--f-h); color: var(--g); letter-spacing: .02em; }
.nm-hello__p { max-width: 62ch; margin: 12px 0 0; color: var(--g-2); font-size: 15.5px; }
.nm-hello__side { display: grid; justify-items: end; align-content: start; gap: 10px; }
.nm-deco { width: 200px; height: auto; }
.nm-deco__m > * { fill: var(--g); }
.nm-deco__m:nth-child(2) > *:first-child { fill: var(--white); stroke: var(--g); stroke-width: 3; }
.nm-deco__m:nth-child(2) .nm-deco__tick { stroke: var(--g); }
.nm-deco__leaf { fill: var(--g-hi) !important; }
.nm-deco__tick { fill: none !important; stroke: var(--white); stroke-width: 2.6; stroke-linecap: round; }
.nm-total { margin: 0; color: var(--g-2); font-size: 14px; }
.nm-total b { color: var(--g-d); font-size: 17px; }
.nm-stagebar { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.nm-stagebar__l { margin: 0; font: 700 25px/1 var(--f-h); color: var(--g); letter-spacing: .02em; }
.nm-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.nm-fmag { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 6px 14px 6px 11px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--white); color: var(--g-d); font: 500 14px/1.1 var(--f); cursor: pointer; box-shadow: 0 2px 0 rgba(17, 64, 31, .1); transition: background .18s, color .18s, transform .18s, box-shadow .18s; }
.nm-fmag i { display: inline-flex; color: var(--g); }
.nm-fmag b { min-width: 20px; padding: 1px 6px; border-radius: 999px; background: var(--g-ll); color: var(--g-d); font-size: 12px; text-align: center; }
.nm-fmag b:empty { display: none; }
.nm-fmag:hover { border-color: var(--g); transform: translateY(-1px); box-shadow: 0 4px 0 rgba(17, 64, 31, .14); }
.nm-fmag.is-on { border-color: var(--g); background: var(--g); color: var(--white); }
.nm-fmag.is-on i { color: var(--white); }
.nm-fmag.is-on b { background: var(--white); color: var(--g-d); }
.nm-fmag.is-zero { opacity: .55; }

.nm-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; align-items: start; }
.nm-board:focus-visible { outline-offset: 8px; }
.nm-board__hint { display: none; }
.nm-col { min-width: 0; }
.nm-col__head { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4px 12px; padding: 13px 16px 13px 12px; border-radius: 16px; background: var(--g); color: var(--white); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .16), 0 6px 12px -6px rgba(17, 64, 31, .55); }
.nm-col__mag { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--g); box-shadow: inset 0 -2px 0 rgba(17, 64, 31, .18); }
.nm-col__h { font: 400 21px/1.15 var(--f-d); }
.nm-col__h a { color: var(--white); text-decoration: none; }
.nm-col__h a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; }
.nm-col__tot { font-size: 13px; opacity: .92; }
.nm-col__forum { margin-top: 20px; padding-top: 14px; border-top: 2px dashed var(--line-2); }
.nm-col__forum:first-of-type { border-top: 0; padding-top: 4px; }
.nm-col__sub { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.nm-col__sub a { display: inline-flex; align-items: flex-start; gap: 8px; color: var(--g-d); font: 700 15px/1.3 var(--f); text-decoration: none; }
.nm-col__sub a .nm-ico { color: var(--g); margin-top: -1px; }
.nm-col__sub a:hover { color: var(--g); text-decoration: underline; }
.nm-col__cnt { flex: none; min-width: 28px; padding: 2px 8px; border-radius: 999px; background: var(--g-l); color: var(--g-d); font-size: 12.5px; font-weight: 700; text-align: center; }
.nm-col__more { display: inline-block; margin-top: 10px; color: var(--g); font-size: 13.5px; font-weight: 700; text-decoration: none; }
.nm-col__more::after { content: " →"; }
.nm-col__more:hover { text-decoration: underline; }
.nm-cards { list-style: none; }
.nm-card { position: relative; margin: 18px 0 0; padding: 18px 14px 12px; border-radius: 3px; background: var(--white); box-shadow: var(--paper); transform: rotate(var(--r, 0deg)); transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease; }
.nm-card:hover, .nm-card:focus-within { transform: rotate(0deg) translateY(-3px); box-shadow: 0 2px 2px rgba(17, 64, 31, .14), 0 18px 26px -14px rgba(17, 64, 31, .55); z-index: 3; }
.nm-card--lined { background-image: linear-gradient(transparent 25px, var(--rule) 25px, var(--rule) 26px, transparent 26px); background-size: 100% 26px; background-position: 0 12px; }
.nm-card--grid { background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px); background-size: 13px 13px; }
.nm-card--recipe { padding-top: 26px; }
.nm-card--recipe .nm-card__band { position: absolute; left: 0; right: 0; top: 0; height: 12px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, rgba(31, 106, 55, .32) 50%, transparent 50%) 0 0 / 12px 12px, linear-gradient(rgba(31, 106, 55, .32) 50%, transparent 50%) 0 0 / 12px 12px, var(--white); border-bottom: 1.5px solid var(--g); }
.nm-card--plain { background: var(--g-ll); }
.nm-card--pin { padding-top: 22px; }
.nm-card--empty { padding: 14px; color: var(--g-3); font-size: 14px; background: transparent; box-shadow: none; border: 1.5px dashed var(--line-2); transform: none; }
.nm-card__t { display: block; margin: 8px 0 10px; color: var(--g-d); font: 500 15.5px/1.38 var(--f); text-decoration: none; overflow-wrap: anywhere; }
.nm-card__t::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.nm-card__t:hover { color: var(--g); text-decoration: underline; }
.nm-card__by { position: relative; display: flex; align-items: center; gap: 7px; margin: 0; font-size: 13px; color: var(--g-3); }
.nm-card__nick { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--g-d); font-weight: 700; }
.nm-card__n { margin-left: auto; white-space: nowrap; }
.nm-card__n b { color: var(--g-d); }
.nm-board.is-filtered .nm-card:not(.is-match) { opacity: .22; }
.nm-board.is-filtered .nm-card.is-match { box-shadow: 0 0 0 2px var(--g), var(--paper); }

.nm-sep { display: flex; align-items: center; gap: 16px; margin: 40px 0 26px; }
.nm-sep span { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 10px, transparent 10px 18px); }
.nm-sep svg { flex: none; }

/* ---------------------------------------------------------------- вау: листок вопросов и неделя на доске */
.nm-prep__head { max-width: 860px; margin-bottom: 20px; }
.nm-prep__p { margin: 10px 0 0; color: var(--g-2); }
.nm-prep__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 34px; align-items: start; }
.nm-prep__form { display: grid; gap: 18px; padding: 24px; border-radius: 22px; background: var(--white); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.nm-pick { margin: 0; padding: 0; border: 0; min-width: 0; }
.nm-pick legend, .nm-pick--own label { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; padding: 0; font: 400 19px/1.2 var(--f-d); color: var(--g-d); }
.nm-pick--own small { font: 400 13px var(--f); color: var(--g-3); }
.nm-pick__n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--g); color: var(--white); font: 700 14px/1 var(--f); }
.nm-pick__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.nm-pick__o { position: relative; cursor: pointer; }
.nm-pick__o input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nm-pick__o span { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--white); color: var(--g-d); font-size: 14.5px; font-weight: 500; transition: background .18s, border-color .18s, color .18s; }
.nm-pick__o span .nm-ico { color: var(--g); }
.nm-pick--multi .nm-pick__o span::before { content: ""; width: 16px; height: 16px; border: 2px solid var(--g); border-radius: 4px; background: var(--white); }
.nm-pick__o:hover span { border-color: var(--g); }
.nm-pick__o input:checked + span { border-color: var(--g); background: var(--g); color: var(--white); }
.nm-pick__o input:checked + span .nm-ico { color: var(--white); }
.nm-pick--multi .nm-pick__o input:checked + span::before { border-color: var(--white); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l3 3 6-6.6' fill='none' stroke='%231f6a37' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.nm-pick__o input:focus-visible + span { outline: 3px solid var(--g); outline-offset: 2px; }
.nm-pick--own input { width: 100%; }
.nm-leaf { position: relative; margin: 10px 0 0; padding: 36px 30px 24px; border-radius: 3px; background-color: var(--white); background-image: linear-gradient(transparent 27px, var(--rule) 27px, var(--rule) 28px, transparent 28px); background-size: 100% 28px; background-position: 0 6px; box-shadow: var(--paper); transform: rotate(-.7deg); }
.nm-leaf::before { content: ""; position: absolute; top: 0; bottom: 0; left: 52px; width: 4px; border-left: 1px solid rgba(31, 106, 55, .4); border-right: 1px solid rgba(31, 106, 55, .4); }
.nm-leaf > * { position: relative; padding-left: 36px; }
.nm-leaf__h { margin: 0 0 6px; font: 400 27px/1.15 var(--f-d); color: var(--g-d); }
.nm-leaf__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 18px; margin: 0 0 6px; font: 700 21px/28px var(--f-h); color: var(--g); letter-spacing: .02em; }
.nm-leaf__blank { display: inline-block; width: 90px; border-bottom: 1.5px solid var(--g); vertical-align: -3px; }
.nm-leaf__sit { margin: 0 0 4px; font-size: 15px; font-weight: 700; line-height: 28px; }
.nm-leaf__list { list-style: none; counter-reset: q; margin: 0 0 10px; }
.nm-leaf__list li { position: relative; counter-increment: q; margin: 0; padding: 0 0 0 34px; font-size: 15px; line-height: 28px; animation: nm-ink .3s ease-out both; }
.nm-leaf__list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border: 1.6px solid var(--g); border-radius: 3px; background: var(--white); }
.nm-leaf__list li::after { content: counter(q) "."; position: absolute; left: 20px; top: 0; font-size: 12px; font-weight: 700; color: var(--g-3); }
.nm-leaf__list li.is-own { font-style: italic; }
.nm-leaf__take { margin: 0 0 8px; font-size: 14px; line-height: 28px; color: var(--g-2); }
.nm-leaf__take b { color: var(--g-d); }
.nm-leaf__warn { margin: 0 0 12px; padding-top: 6px; border-top: 1.5px dashed var(--line-2); font-size: 13px; line-height: 22px; color: var(--g-2); }
.nm-leaf__act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.nm-week { margin-top: 34px; padding: 26px 28px 22px; border-radius: 22px; background: var(--white); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.nm-week__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: 6px 22px; margin-bottom: 16px; }
.nm-week__head p { margin: 0; color: var(--g-2); font-size: 14.5px; }
.nm-week__prog { justify-self: end; padding: 6px 14px; border-radius: 999px; background: var(--g-ll); color: var(--g-d) !important; font-weight: 700; white-space: nowrap; }
.nm-week__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.nm-week__g { display: grid; align-content: start; gap: 6px; margin: 0; padding: 16px 16px 14px; border: 1.5px solid var(--line-2); border-radius: 14px; background-image: linear-gradient(transparent 31px, var(--rule) 31px, var(--rule) 32px, transparent 32px); background-size: 100% 32px; background-position: 0 50px; min-width: 0; }
.nm-week__g legend { display: inline-flex; align-items: center; gap: 8px; padding: 0 8px; font: 400 19px/1.1 var(--f-d); color: var(--g-d); }
.nm-week__g legend .nm-ico { color: var(--g); }
.nm-week__g label { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; align-items: start; padding: 4px 0; font-size: 14.5px; line-height: 1.45; cursor: pointer; }
.nm-week__g input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 1px 0 0; border: 2px solid var(--g); border-radius: 5px; background: var(--white); cursor: pointer; transition: background .15s; }
.nm-week__g input:checked { background: var(--g) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l3 3 6-6.6' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.nm-week__g input:checked + span { color: var(--g-3); text-decoration: line-through; text-decoration-color: rgba(31, 106, 55, .55); }
.nm-week__g .nm-more { margin-top: 6px; font-size: 13.5px; }
.nm-week__foot { margin: 16px 0 0; }

/* ---------------------------------------------------------------- раздел: шапка, полка разделов, карточки-рецепты */
.nm-fhead { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px 22px; align-items: start; margin: 8px 0 26px; padding: 30px 30px 24px; border-radius: 20px; background: var(--white); box-shadow: 0 0 0 1px var(--line), var(--shadow); overflow: hidden; }
.nm-fhead::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--gingham); }
.nm-fhead__mag { display: grid; place-items: center; width: 78px; height: 78px; border-radius: 50%; background: var(--g); color: var(--white); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .18), 0 6px 12px -6px rgba(17, 64, 31, .6); }
.nm-fhead__d { max-width: 70ch; margin: 10px 0 6px; color: var(--g-2); }
.nm-fhead__n { margin: 0; color: var(--g-3); font-size: 14px; }
.nm-fhead__n b { color: var(--g-d); }
.nm-shelf { margin: 0 0 26px; }
.nm-shelf__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; list-style: none; }
.nm-shelf--cat .nm-h3 { margin: 0 0 12px; }
.nm-shelf__i { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; padding: 20px 20px 16px; border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.nm-shelf__mag { grid-row: span 2; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--g-ll); color: var(--g); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.nm-shelf__t { font: 400 21px/1.2 var(--f-d); }
.nm-shelf__t a { color: var(--g-d); text-decoration: none; }
.nm-shelf__t a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.nm-shelf__t a:hover { color: var(--g); text-decoration: underline; }
.nm-shelf__d { margin: 6px 0; color: var(--g-2); font-size: 14.5px; }
.nm-shelf__last { position: relative; z-index: 1; margin: 0; font-size: 13.5px; color: var(--g-3); }
.nm-shelf__lt { color: var(--g-3); }
.nm-shelf__n { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 6px 0 0; color: var(--g-3); font-size: 13px; }
.nm-shelf__n b { color: var(--g-d); }

.nm-recipes__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 10px; }
.nm-sortline { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 18px; font-size: 13.5px; color: var(--g-3); }
.nm-sortline a { color: var(--g-2); }
.nm-rlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; list-style: none; }
.nm-rlist--one { grid-template-columns: minmax(0, 1fr); }
.nm-rsep { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; font: 700 24px/1 var(--f-h); color: var(--g); letter-spacing: .02em; }
.nm-rsep::after { content: ""; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px); }
.nm-rcard { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 0 0 14px; border-radius: 4px; background-color: var(--white); background-image: linear-gradient(transparent 25px, var(--rule) 25px, var(--rule) 26px, transparent 26px); background-size: 100% 26px; background-position: 0 50px; box-shadow: var(--paper); transition: transform .2s, box-shadow .2s; }
.nm-rcard:hover, .nm-rcard:focus-within { transform: translateY(-2px); box-shadow: 0 2px 2px rgba(17, 64, 31, .14), 0 18px 26px -16px rgba(17, 64, 31, .55); }
.nm-rcard.is-sticky { background-color: var(--g-ll); }
.nm-rcard__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-height: 46px; padding: 8px 18px 6px; border-bottom: 2px solid var(--g); background: var(--white); border-radius: 4px 4px 0 0; }
.nm-rcard.is-sticky .nm-rcard__head { background: var(--g-ll); }
.nm-rcard__no { margin-right: auto; font: 700 21px/1 var(--f-h); color: var(--g); letter-spacing: .02em; }
.nm-rcard__t { margin: 12px 18px 4px; font: 500 18px/1.38 var(--f); }
.nm-rcard__t a { color: var(--g-d); text-decoration: none; }
.nm-rcard__t a::after { content: ""; position: absolute; inset: 0; }
.nm-rcard__t a:hover { color: var(--g); text-decoration: underline; }
.nm-rcard__ex { margin: 0 18px 10px; color: var(--g-2); font-size: 14.5px; line-height: 26px; }
.nm-rcard__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: auto 18px 0; padding-top: 6px; font-size: 13px; color: var(--g-3); }
.nm-rcard__who { display: grid; line-height: 1.25; }
.nm-rcard__who b { color: var(--g-d); font-size: 14px; }
.nm-rcard__n { margin-left: auto; white-space: nowrap; }
.nm-rcard__n b { color: var(--g-d); }
.nm-rcard__last { flex-basis: 100%; }
.nm-rcard .nm-chip, .nm-rcard__head .nm-stage { position: relative; z-index: 1; }
.nm-pages-in { position: relative; z-index: 1; margin-left: 6px; font-size: 13px; }
.nm-rlist.is-filtered .nm-rcard:not(.is-match), .nm-rlist.is-filtered .nm-rsep { display: none; }
.nm-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 22px 0 0; }
.nm-bar__r { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.nm-modtools:not(:empty) { margin-top: 14px; }

/* ---------------------------------------------------------------- тема: дневник питания */
.nm-diary { position: relative; margin-top: 30px; border-radius: 6px; background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(17, 64, 31, .6), 0 4px 0 var(--wall-2); }
.nm-diary__head { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; padding: 38px 36px 24px; border-bottom: 3px double var(--g); }
.nm-diary__head > * { grid-column: 1; }
.nm-diary__label { margin: 0; font: 700 26px/1 var(--f-h); color: var(--g); letter-spacing: .03em; }
.nm-diary__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.nm-diary__h1 { font-size: clamp(27px, 3.1vw, 40px); max-width: 30ch; }
.nm-diary__meta { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 4px 0 0; }
.nm-diary__meta div { display: grid; }
.nm-diary__meta dt { color: var(--g-3); font-size: 12.5px; }
.nm-diary__meta dd { margin: 0; font-size: 15px; font-weight: 500; }
.nm-diary__meta dd b { color: var(--g); }
.nm-diary__act { grid-column: 2 !important; grid-row: 1 / span 4; align-self: start; }
.nm-diary__cols { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); padding: 4px 0; border-bottom: 1px solid var(--line-2); font: 700 21px/1.2 var(--f-h); color: var(--g); letter-spacing: .03em; }
.nm-diary__cols span { padding: 2px 20px 2px 36px; }
.nm-diary__cols span + span { padding-left: 26px; }
.nm-row { position: relative; display: grid; grid-template-columns: var(--side) minmax(0, 1fr); border-bottom: 1px solid rgba(31, 106, 55, .3); }
.nm-row:last-child { border-bottom: 0; }
.nm-anchor { position: absolute; top: -90px; }
.nm-row__side { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 18px 36px; box-shadow: inset -1px 0 0 rgba(31, 106, 55, .5), inset -5px 0 0 var(--white), inset -6px 0 0 rgba(31, 106, 55, .5); min-width: 0; }
.nm-row--op .nm-row__side { background: var(--g-ll); box-shadow: inset -1px 0 0 rgba(31, 106, 55, .5), inset -5px 0 0 var(--g-ll), inset -6px 0 0 rgba(31, 106, 55, .5); }
.nm-row__when { display: flex; align-items: baseline; gap: 8px; color: var(--g); text-decoration: none; }
.nm-row__when:hover .nm-row__day { text-decoration: underline; }
.nm-row__time { font: 700 34px/1 var(--f-h); letter-spacing: .02em; }
.nm-row__day { color: var(--g-3); font-size: 13px; }
.nm-row__who { display: flex; align-items: center; gap: 11px; min-width: 0; }
.nm-row__id { display: grid; gap: 3px; min-width: 0; }
.nm-row__nick { margin: 0; font-weight: 700; font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; }
.nm-row__nick a { color: var(--g-d); text-decoration: none; }
.nm-row__nick a:hover { color: var(--g); text-decoration: underline; }
.nm-facts { display: grid; gap: 4px; margin: 0; }
.nm-facts div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 6px; font-size: 13px; line-height: 1.35; }
.nm-facts dt { color: var(--g-3); }
.nm-facts dd { margin: 0; color: var(--g-d); overflow-wrap: anywhere; }
.nm-row__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; }
.nm-row__no { color: var(--g-3); font-size: 12.5px; }
.nm-optag { padding: 1px 9px; border-radius: 999px; background: var(--g-l); color: var(--g-d); font-size: 12px; font-weight: 700; }
.nm-row__entry { min-width: 0; padding: 18px 36px 14px 26px; background-image: linear-gradient(transparent 27px, var(--rule) 27px, var(--rule) 28px, transparent 28px); background-size: 100% 28px; background-position: 0 18px; }
.nm-post__body { font-size: 16px; line-height: 28px; overflow-wrap: anywhere; }
.nm-post__body p:last-child { margin-bottom: 0; }
.nm-re { margin: 0 0 6px; line-height: 22px; }
.nm-re a { display: inline-flex; align-items: center; gap: 6px; padding: 2px 11px 2px 8px; border-radius: 999px; background: var(--g-ll); color: var(--g-2); font-size: 13px; font-weight: 500; text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); }
.nm-re a:hover { color: var(--g-d); background: var(--g-l); }
.nm-row__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 12px; }
.postbit_buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.postbit_buttons > a { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 11px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--white); color: var(--g-2); font-size: 13px; text-decoration: none; }
.postbit_buttons > a:hover { border-color: var(--g); color: var(--g-d); background: var(--g-ll); }
.postbit_buttons > a span { background: none !important; padding: 0 !important; }
.post_management_buttons { margin-left: auto; }
.post_meta:empty, .post_meta:has(> .post_edit:empty):not(:has(> span:not(.post_edit):not(:empty))) { display: none; }
.post_meta { margin-top: 8px; color: var(--g-3); font-size: 12.5px; }
.nm-row--head { grid-template-columns: minmax(0, 1fr); border-bottom: 3px solid var(--g); }
.nm-row--head .nm-row__side { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 26px; padding: 22px 36px 6px; box-shadow: none; background: none; }
.nm-row--head .nm-row__when { flex-direction: column; gap: 2px; }
.nm-row--head .nm-row__time { font-size: 40px; }
.nm-row--head .nm-row__nick { font-size: 17px; }
.nm-row--head .nm-facts { grid-auto-flow: column; gap: 6px 22px; }
.nm-row--head .nm-facts div { grid-template-columns: none; gap: 0; }
.nm-row--head .nm-row__tags { margin-left: auto; }
.nm-row--head .nm-row__entry { padding: 14px 36px 22px; background-image: linear-gradient(transparent 31px, var(--rule) 31px, var(--rule) 32px, transparent 32px); background-size: 100% 32px; background-position: 0 14px; }
.nm-row--head .nm-post__body { font-size: 18px; line-height: 32px; }
.nm-row.is-flash { animation: nm-flash 1.8s ease-out; }
.nm-bar--thread { margin-top: 20px; }
.nm-guest { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 20px 0 0; padding: 16px 20px; border-radius: 14px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.nm-guest p { margin: 0; color: var(--g-2); }
.nm-nextprev { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin: 24px 0 0; font-size: 14px; }
.nm-nextprev a { color: var(--g-2); }
.nm-tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; margin-top: 14px; font-size: 14px; }
.thread_tools { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; }
.thread_tools li { background: none !important; padding: 0 !important; }

/* содержимое сообщений */
.post_body blockquote { margin: 4px 0 14px; padding: 6px 16px 8px; border-left: 4px solid var(--g); border-radius: 0 10px 10px 0; background: var(--g-ll); color: var(--g-2); font-size: 15px; line-height: 26px; }
.post_body blockquote cite { display: block; margin-bottom: 2px; color: var(--g); font-style: normal; font-weight: 700; font-size: 13.5px; }
.post_body blockquote cite > span { display: none; }
.post_body .codeblock { margin: 4px 0 14px; padding: 10px 14px; border-radius: 10px; background: var(--g-d); color: var(--white); overflow-x: auto; line-height: 1.5; }
.post_body .codeblock .title { color: var(--g-l); font-size: 12.5px; margin-bottom: 4px; }
.post_body ul, .post_body ol { padding-left: 1.4em; margin: 0 0 .5em; }
.signature { margin-top: 12px; padding-top: 8px; border-top: 1px dashed var(--line-2); color: var(--g-3); font-size: 13.5px; line-height: 1.5; }

/* ---------------------------------------------------------------- профиль: карточка на магните */
.nm-pcard { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px 34px; align-items: start; margin: 28px 0 30px; padding: 40px 36px 30px; border-radius: 6px; background-color: var(--white); background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px); background-size: 22px 22px; box-shadow: var(--paper), 0 0 0 1px var(--line); transform: rotate(-.4deg); }
.nm-pcard__photo { margin: 0; padding: 10px 10px 30px; background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 10px 18px -10px rgba(17, 64, 31, .55); transform: rotate(-2.2deg); }
.nm-pcard__name { font-size: clamp(30px, 3.4vw, 42px); }
.nm-pcard__rank { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 10px 0 14px; }
.nm-pcard__rank .nm-rank { font-size: 14.5px; }
.nm-pcard__rank .nm-cup { width: 28px; height: 28px; }
.nm-pcard__dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; margin: 0 0 14px; padding: 14px 16px; border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.nm-pcard__dl div { display: grid; min-width: 0; }
.nm-pcard__dl .is-wide { grid-column: 1 / -1; }
.nm-pcard__dl dt { color: var(--g-3); font-size: 12.5px; }
.nm-pcard__dl dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.nm-pcard__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font-size: 14px; }
.nm-pcard__nums { display: grid; gap: 12px; list-style: none; }
.nm-pcard__nums li { display: grid; justify-items: center; width: 132px; padding: 12px 10px; border-radius: 16px; background: var(--g); color: var(--white); text-align: center; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .16); }
.nm-pcard__nums li:nth-child(2) { background: var(--white); color: var(--g-d); box-shadow: inset 0 0 0 2px var(--g); }
.nm-pcard__nums b { font: 400 30px/1.05 var(--f-d); }
.nm-pcard__nums span { font-size: 12.5px; line-height: 1.3; }
.nm-person__grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(260px, 1fr); gap: 30px; align-items: start; }
.nm-plist .nm-h2 { margin-bottom: 14px; }
.nm-ladder { padding: 22px 24px; border-radius: 20px; background: var(--white); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.nm-ladder__jug { position: relative; margin: 18px 34px 0 4px; }
.nm-ladder__jug::after { content: ""; position: absolute; right: -30px; top: 40px; width: 30px; height: 120px; border: 3px solid var(--g); border-left: 0; border-radius: 0 26px 26px 0; }
.nm-ladder__cup { position: relative; height: 336px; margin: 0; border: 3px solid var(--g); border-top: 0; border-radius: 0 0 26px 26px; overflow: hidden; background: var(--white); }
.nm-ladder__cup::before { content: ""; position: absolute; top: 0; left: -3px; right: -3px; height: 3px; background: var(--g); }
.nm-ladder__fill { position: absolute; left: 0; right: 0; bottom: 0; height: var(--lvl, 20%); background: linear-gradient(rgba(31, 106, 55, .26), rgba(31, 106, 55, .16)); border-top: 3px solid var(--g); transition: height .8s ease-out; }
.nm-ladder__list { position: relative; display: flex; flex-direction: column-reverse; height: 100%; list-style: none; }
.nm-ladder__list li { position: relative; display: grid; flex: 1; align-content: start; padding: 4px 12px 0 54px; border-top: 1.5px solid rgba(31, 106, 55, .5); }
.nm-ladder__list li:last-child { border-top: 0; }
.nm-ladder__list li::before { content: ""; position: absolute; left: 0; top: -1.5px; width: 40px; height: 3px; background: var(--g); }
.nm-ladder__t { font-size: 14.5px; font-weight: 700; color: var(--g-3); line-height: 1.25; }
.nm-ladder__n { font-size: 12px; color: var(--g-3); }
.nm-ladder__list li.is-past .nm-ladder__t { color: var(--g-2); }
.nm-ladder__list li.is-now .nm-ladder__t { color: var(--g-d); }
.nm-ladder__list li.is-now .nm-ladder__t::after { content: " ← сейчас"; font: 700 18px/1 var(--f-h); color: var(--g); letter-spacing: .02em; }
.nm-ladder__p { margin: 14px 0 0; color: var(--g-3); font-size: 13px; }
.nm-person__extra:not(:empty) { margin-top: 22px; }

/* ---------------------------------------------------------------- сообщения и переходы */
.nm-msg { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: start; max-width: 780px; margin: 30px auto; padding: 30px; border-radius: 20px; background: var(--white); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.nm-msg--go { margin-top: 14vh; }
.nm-msg__t { font-size: 26px; margin-bottom: 10px; }
.nm-msg__body { color: var(--g-2); }
.nm-msg__body ol, .nm-msg__body ul { padding-left: 1.3em; }
.nm-msg__foot { margin: 14px 0 0; }

/* ---------------------------------------------------------------- подвал */
.nm-foot { margin-top: 40px; background: var(--g); color: var(--white); }
.nm-foot__towel { height: 16px; background: linear-gradient(90deg, rgba(31, 106, 55, .55) 50%, transparent 50%) 0 0 / 16px 16px, linear-gradient(rgba(31, 106, 55, .55) 50%, transparent 50%) 0 0 / 16px 16px, var(--white); }
.nm-foot__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) auto; gap: 22px 36px; padding: 30px 0 36px; }
.nm-foot__name { margin: 0 0 6px; font: 400 23px/1.1 var(--f-d); }
.nm-foot__brand p:last-child { margin: 0; font-size: 14px; opacity: .95; }
.nm-foot__warn { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--white); color: var(--g-d); font-size: 14px; line-height: 1.5; }
.nm-foot__warn svg { flex: none; color: var(--g); margin-top: 1px; }
.nm-foot__warn b { display: block; font: 400 17px/1.3 var(--f-d); color: var(--g-d); }
.nm-foot__links { display: grid; align-content: start; gap: 6px; font-size: 14.5px; }
.nm-foot__links a { color: var(--white); text-decoration: none; }
.nm-foot__links a:hover { text-decoration: underline; color: var(--white); }

/* ---------------------------------------------------------------- стандартные элементы MyBB */
.tborder { width: 100%; margin: 0 0 18px; border-collapse: separate; border-spacing: 0; border-radius: 14px; overflow: hidden; background: var(--white); color: var(--g-d); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.thead { padding: 12px 16px; background: var(--g); color: var(--white); font: 400 18px/1.25 var(--f-d); text-align: left; }
.thead a, .thead strong { color: var(--white) !important; }
.thead .expcolimage { float: right; }
.tcat { padding: 8px 16px; background: var(--g-l); color: var(--g-d); font: 700 13px/1.3 var(--f); }
.tcat a { color: var(--g-d); }
.trow1, .trow2, .trow_shaded { padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; }
.trow1 { background: var(--white); }
.trow2 { background: #f7faf6; }
.trow_shaded { background: var(--g-ll); }
.trow_selected td, .trow_selected { background: var(--g-l) !important; }
.tfoot { padding: 10px 16px; background: var(--g-ll); color: var(--g-2); }
.tborder td, .tborder th { text-align: left; }
.smalltext { font-size: 13px; color: var(--g-3); }
.largetext { font: 400 19px var(--f-d); }
.float_left { float: left; }
.float_right { float: right; }
.clear { clear: both; }
input.textbox, textarea, select, input[type="text"], input[type="password"], input[type="email"], input[type="search"]:not(.nm-find__in), input[type="number"], input[type="url"] {
	max-width: 100%; padding: 9px 12px; border: 1.5px solid var(--line-2); border-radius: 10px; background: var(--white); color: var(--g-d); font: 16px/1.35 var(--f);
}
textarea { line-height: 1.55; }
input.textbox:focus, textarea:focus, select:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="search"]:not(.nm-find__in):focus { border-color: var(--g); outline: 3px solid rgba(31, 106, 55, .22); outline-offset: 0; }
.button, input.button, button.button, a.button, input[type="submit"], input[type="button"], button[type="submit"]:not(.nm-find__go) {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border: 0; border-radius: 12px;
	background: var(--g); color: var(--white) !important; font: 700 15px/1.1 var(--f); text-decoration: none; cursor: pointer; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18);
}
.button:hover, input.button:hover, input[type="submit"]:hover, button[type="submit"]:not(.nm-find__go):hover { background: var(--g-d); color: var(--white) !important; }
.button span { background: none !important; padding: 0 !important; }
.new_thread_button, .new_reply_button { min-height: 46px; padding: 11px 20px; font-size: 15.5px; white-space: nowrap; }
.closed_button { background: var(--g-3); }
.pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; font-size: 14px; color: var(--g-3); }
.pagination .pages { margin-right: 4px; }
.pagination a, .pagination .pagination_current, .pagination .pagination_next, .pagination .pagination_previous {
	display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--white); color: var(--g-d) !important; text-decoration: none; font-weight: 500;
}
.pagination a:hover { border-color: var(--g); }
.pagination .pagination_current { background: var(--g); border-color: var(--g); color: var(--white) !important; }
.popup_menu { z-index: 50; min-width: 190px; padding: 6px 0; border: 1px solid var(--line-2); border-radius: 12px; background: var(--white); box-shadow: 0 16px 32px -14px rgba(17, 64, 31, .5); }
.popup_menu .popup_item { display: block; padding: 8px 14px; color: var(--g-d) !important; text-decoration: none; font-size: 14.5px; }
.popup_menu .popup_item:hover { background: var(--g-ll); }
.popup_menu .popup_item_container { margin: 0; }
.blocker { z-index: 9999 !important; background: rgba(17, 64, 31, .45) !important; }
.modal { max-width: 560px; padding: 0 !important; border-radius: 16px !important; background: var(--white) !important; color: var(--g-d); box-shadow: 0 24px 60px rgba(17, 64, 31, .4) !important; overflow: hidden; }
.modal .tborder { margin: 0; box-shadow: none; border-radius: 0; border: 0; }
.modal a.close-modal { top: 10px !important; right: 10px !important; width: 30px !important; height: 30px !important; }
.error, div.error { margin: 0 0 16px; padding: 12px 16px; border: 2px dashed var(--g); border-radius: 12px; background: var(--white); color: var(--g-d); }
.error ul { margin: 6px 0 0; padding-left: 1.2em; }
.red_alert, .pm_alert { margin: 0 0 14px; padding: 11px 15px; border-radius: 12px; border: 1.5px solid var(--g); background: var(--g-ll); color: var(--g-d); }
.nm-main > table:not(.tborder) td { vertical-align: top; }
.usercp_nav .usercp_nav_item, .modcp_nav_item { display: block; padding: 6px 0 6px 26px; background-position: 0 50%; }
.sceditor-container { max-width: 100%; border-radius: 10px !important; }
.sceditor-container iframe, .sceditor-container textarea { font-size: 16px !important; }
fieldset { border: 1.5px solid var(--line-2); border-radius: 12px; padding: 10px 14px; }
legend { font-weight: 700; padding: 0 6px; }
#posts_container { position: relative; }
.post.unapproved_post, .post.deleted_post { opacity: .75; }
.ignored_post, .deleted_post_hidden { margin: 0; padding: 10px 14px; background: var(--g-ll); color: var(--g-3); }
.scaleimages img { max-width: 100%; }
#quick_reply_form .tborder { margin-top: 20px; }
.nm-tools__mod form, .nm-modtools .tborder { margin-top: 10px; }

/* ---------------------------------------------------------------- анимации */
@keyframes nm-drop { from { opacity: 0; transform: translate(var(--tx, -50%), -6px); } to { opacity: 1; transform: translate(var(--tx, -50%), 0); } }
.nm-me__panel { --tx: 0; }
@keyframes nm-stick { from { opacity: 0; transform: translateY(-10px) rotate(calc(var(--r, 0deg) - 4deg)); } to { opacity: 1; transform: rotate(var(--r, 0deg)); } }
@keyframes nm-ink { from { opacity: 0; transform: translateX(-4px); } to { opacity: 1; transform: none; } }
@keyframes nm-flash { 0%, 30% { background-color: var(--g-l); } 100% { background-color: transparent; } }
.js .nm-card:not(.nm-card--empty) { animation: nm-stick .5s cubic-bezier(.2, .9, .3, 1.3) both; }
.js .nm-cards .nm-card:nth-child(2) { animation-delay: .06s; }
.js .nm-cards .nm-card:nth-child(3) { animation-delay: .12s; }
.js .nm-cards .nm-card:nth-child(4) { animation-delay: .18s; }
.js .nm-col:nth-child(2) .nm-card { animation-delay: .08s; }
.js .nm-col:nth-child(3) .nm-card { animation-delay: .16s; }
.js .nm-col:nth-child(4) .nm-card { animation-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------- адаптивность */
@media (max-width: 1279px) {
	.nm-logo__sub { display: none; }
	.nm-dd__btn > .nm-ico { display: none; }
	.nm-find__in { width: 170px; }
	.nm-find__in:focus { width: 210px; }
	.nm-board { gap: 18px; }
	.nm-fridge__top, .nm-fridge__door { padding-left: 30px; }
}
@media (max-width: 1099px) {
	.nm-board { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
	.nm-prep__grid { grid-template-columns: minmax(0, 1fr); }
	.nm-leaf { max-width: 640px; }
	.nm-week__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nm-week__head { grid-template-columns: minmax(0, 1fr) auto; }
	.nm-week__head p:not(.nm-week__prog) { grid-column: 1 / -1; grid-row: 2; }
	.nm-person__grid { grid-template-columns: minmax(0, 1fr); }
	.nm-pcard { grid-template-columns: auto minmax(0, 1fr); }
	.nm-pcard__nums { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.nm-pcard__nums li { width: auto; }
	.nm-foot__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.nm-foot__links { grid-column: 1 / -1; grid-auto-flow: column; justify-content: start; gap: 6px 22px; }
	.nm-rlist { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 899px) {
	.nm-top__in { gap: 10px; min-height: 60px; }
	.nm-logo__mark { width: 38px; height: 38px; }
	.nm-logo__name { font-size: 21px; }
	.nm-find--d { display: none; }
	.nm-burger { display: inline-flex; }
	.nm-me { margin-left: auto; }
	.nm-menu { position: fixed; z-index: 44; left: 0; right: 0; top: 67px; max-height: calc(100vh - 67px); overflow-y: auto; padding: 14px 16px 22px; background: var(--white); color: var(--g-d); box-shadow: 0 24px 40px -20px rgba(17, 64, 31, .55); display: none; }
	.nm-menu.is-open { display: block; }
	.nm-menu__list { display: grid; justify-content: stretch; gap: 6px; }
	.nm-dd__btn { width: 100%; justify-content: flex-start; min-height: 48px; padding: 10px 14px; border-radius: 12px; background: var(--g-ll); color: var(--g-d); font-size: 16px; }
	.nm-dd__btn > .nm-ico { display: block; color: var(--g); }
	.nm-dd__btn:hover { background: var(--g-l); }
	.nm-dd__chev { margin-left: auto; }
	.nm-dd.is-cur > .nm-dd__btn { box-shadow: inset 4px 0 0 var(--g); border-radius: 12px; }
	.nm-dd__btn[aria-expanded="true"] { background: var(--g); color: var(--white); }
	.nm-dd__btn[aria-expanded="true"] > .nm-ico { color: var(--white); }
	.nm-dd__panel { position: static; width: auto; margin: 6px 0 4px; padding: 8px 4px 4px; transform: none; box-shadow: none; border-radius: 0; }
	.nm-dd__panel::before { display: none; }
	.nm-dd__btn[aria-expanded="true"] + .nm-dd__panel { animation: none; }
	.nm-find--m { display: flex; margin-top: 14px; }
	.nm-find--m .nm-find__in, .nm-find--m .nm-find__in:focus { width: 100%; height: 48px; background: var(--g-ll); color: var(--g-d); box-shadow: inset 0 0 0 1.5px var(--line-2); }
	.nm-find--m .nm-find__in::placeholder { color: var(--g-3); }
	.nm-find--m .nm-find__go { top: 6px; color: var(--g); }
	.nm-fridge__top { grid-template-columns: minmax(0, 1fr); padding: 26px 26px 20px; }
	.nm-hello__side { justify-items: start; grid-auto-flow: column; align-items: center; justify-content: start; }
	.nm-deco { display: none; }
	.nm-fridge__door { padding: 26px 26px 30px; }
	.nm-fridge__grip { right: auto; left: 50%; top: -2px; width: 120px; height: 10px; margin-left: -60px; border-radius: 0 0 8px 8px; }
	.nm-fridge__grip--top { display: none; }
	.nm-fhead { grid-template-columns: auto minmax(0, 1fr); }
	.nm-fhead__act { grid-column: 1 / -1; }
	.nm-shelf__list { grid-template-columns: minmax(0, 1fr); }
	.nm-diary__head { grid-template-columns: minmax(0, 1fr); }
	.nm-diary__act { grid-column: 1 !important; grid-row: auto; }
	.nm-foot__in { grid-template-columns: minmax(0, 1fr); }
	.nm-foot__links { grid-auto-flow: row; }
}
@media (max-width: 759px) {
	.nm-wrap { width: calc(100% - 32px); }
	.nm-me__l { display: none; }
	.nm-me__btn { padding: 5px; }
	.nm-me__btn > .nm-ico { margin: 4px; }
	.nm-me__panel { position: fixed; top: 74px; left: 12px; right: 12px; width: auto; }
	.nm-burger__l { display: none; }
	.nm-burger { padding: 6px 11px; min-height: 44px; }
	.nm-logo__name { font-size: 20px; }
	.nm-fridge { border-radius: 22px; }
	.nm-fridge__top { padding: 22px 18px 18px; }
	.nm-fridge__door { padding: 22px 0 24px; }
	.nm-hello__side { grid-auto-flow: row; justify-items: start; }
	.nm-board { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(84%, 330px); gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-left: 18px; padding: 4px 18px 18px; -webkit-overflow-scrolling: touch; }
	.nm-col { scroll-snap-align: start; }
	.nm-board__hint { display: block; margin: 0 18px; font: 700 21px/1 var(--f-h); color: var(--g); letter-spacing: .02em; text-align: right; }
	.nm-board__hint::after { content: " →"; }
	.nm-fmag { flex: none; min-height: 40px; padding: 6px 12px 6px 9px; font-size: 13.5px; }
	.nm-stagebar { display: grid; gap: 8px; }
	.nm-stagebar .nm-filter { flex-wrap: nowrap; overflow-x: auto; margin: 0 -18px; padding: 2px 18px 8px; scroll-padding-left: 18px; }
	.nm-fridge__grip { display: none; }
	.nm-prep__form { padding: 18px 16px; }
	.nm-leaf { padding: 32px 16px 20px; transform: none; }
	.nm-leaf::before { left: 30px; }
	.nm-leaf > * { padding-left: 26px; }
	.nm-week { padding: 20px 16px 18px; }
	.nm-week__grid { grid-template-columns: minmax(0, 1fr); }
	.nm-week__prog { justify-self: start; }
	.nm-week__head { grid-template-columns: minmax(0, 1fr); }
	.nm-week__head p:not(.nm-week__prog) { grid-row: auto; }
	.nm-fhead { padding: 26px 18px 20px; gap: 12px 16px; }
	.nm-fhead__mag { width: 56px; height: 56px; }
	.nm-fhead__mag .nm-ico { width: 30px; height: 30px; }
	.nm-fhead__act .button { width: 100%; }
	.nm-recipes__head { display: grid; }
	.nm-rcard__t { font-size: 17px; }
	.nm-diary { margin-top: 26px; }
	.nm-diary__head { padding: 32px 18px 20px; }
	.nm-diary__cols { display: none; }
	.nm-diary__rows { padding: 12px 10px 14px; background: var(--wall); }
	.nm-row, .nm-row--head { grid-template-columns: minmax(0, 1fr); margin: 0 0 12px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--white); overflow: hidden; }
	.nm-row:last-child { margin-bottom: 0; border-bottom: 1px solid var(--line-2); }
	.nm-row--head { border: 2px solid var(--g); }
	.nm-row__side, .nm-row--head .nm-row__side { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 14px 14px 10px; box-shadow: none; border-bottom: 1px dashed var(--line-2); }
	.nm-row--op .nm-row__side { box-shadow: none; }
	.nm-row__when, .nm-row--head .nm-row__when { grid-column: 2; grid-row: 1; flex-direction: column; align-items: flex-end; gap: 0; }
	.nm-row__time, .nm-row--head .nm-row__time { font-size: 27px; }
	.nm-row__who { grid-column: 1; grid-row: 1; }
	.nm-facts, .nm-row--head .nm-facts { grid-column: 1 / -1; grid-auto-flow: row; }
	.nm-row--head .nm-facts div { grid-template-columns: 64px minmax(0, 1fr); gap: 6px; }
	.nm-row__tags, .nm-row--head .nm-row__tags { grid-column: 1 / -1; margin-left: 0; }
	.nm-row__entry, .nm-row--head .nm-row__entry { padding: 12px 14px 14px; background-position: 0 12px; }
	.nm-row--head .nm-post__body { font-size: 17px; line-height: 30px; }
	.nm-row--head .nm-row__entry { background-image: linear-gradient(transparent 29px, var(--rule) 29px, var(--rule) 30px, transparent 30px); background-size: 100% 30px; }
	.post_management_buttons { margin-left: 0; }
	.nm-pcard { grid-template-columns: minmax(0, 1fr); padding: 34px 18px 22px; transform: none; justify-items: start; }
	.nm-pcard__photo { justify-self: center; }
	.nm-face--xl { width: 140px; height: 140px; }
	.nm-pcard__dl { grid-template-columns: minmax(0, 1fr); }
	.nm-pcard__nums { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; }
	.nm-pcard__nums b { font-size: 25px; }
	.nm-ladder { padding: 18px 16px; }
	.nm-msg { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; }
	.tborder { display: block; overflow-x: auto; }
	.nm-main table { max-width: 100%; }
	.nm-sep { margin: 30px 0 20px; }
}
@media (max-width: 400px) {
	.nm-logo__name { font-size: 18px; }
	.nm-logo__mark { width: 34px; height: 34px; }
	.nm-top__in { gap: 8px; }
	.nm-row__time, .nm-row--head .nm-row__time { font-size: 25px; }
	.nm-pcard__nums span { font-size: 12px; }
}

/* ---------------------------------------------------------------- печать листка вопросов */
@media print {
	body { background: #fff; }
	body * { visibility: hidden; }
	.nm-leaf, .nm-leaf * { visibility: visible; }
	.nm-leaf { position: absolute; left: 0; top: 0; width: 100%; margin: 0; transform: none; box-shadow: none; }
	.nm-leaf__act, .nm-leaf .nm-magnet { display: none !important; }
	.nm-top { position: static; }
}

/* ---------------------------------------------------------------- ссылки в сообщениях: свой стиль форума — «клетчатая ленточка»
   Под ссылкой полоска 4px из мелкой зелёной кухонной клетки (виши): две полупрозрачные полосы 2px крест-накрест.
   При наведении клетка поднимается на всю высоту бледной подложкой, текст темнеет. Без подчёркивания и без значка. */
:is(.post_body, .signature, [class*="-post__body"]) a.mycode_url {
	color: var(--g); font-weight: 600; text-decoration: none;
	background-image:
		linear-gradient(90deg, rgba(31, 106, 55, .55) 50%, rgba(31, 106, 55, .12) 50%),
		linear-gradient(rgba(31, 106, 55, .55) 50%, rgba(31, 106, 55, .12) 50%);
	background-size: 4px 4px, 4px 4px;
	background-position: 0 100%, 0 100%;
	background-repeat: repeat-x;
	background-blend-mode: multiply;
	padding-bottom: 5px; -webkit-box-decoration-break: clone; box-decoration-break: clone;
	transition: background-size .2s ease, color .2s;
}
:is(.post_body, .signature, [class*="-post__body"]) a.mycode_url:hover {
	color: var(--g-d);
	background-image:
		linear-gradient(90deg, rgba(31, 106, 55, .2) 50%, rgba(31, 106, 55, .05) 50%),
		linear-gradient(rgba(31, 106, 55, .2) 50%, rgba(31, 106, 55, .05) 50%);
	background-size: 8px 8px, 8px 8px;
	background-repeat: repeat;
}
:is(.post_body, .signature, [class*="-post__body"]) a.mycode_url::after { content: none; }
