/* «Неделя на свои» — оформление в духе магазинного ценника и кассового чека.
   Шрифты: Oswald (заголовки и цены), Golos Text (текст), JetBrains Mono (чек, коды, цифры).
   Все три — SIL Open Font License 1.1, лежат в папке fonts/ и работают офлайн. */

@font-face { font-family: "Oswald"; src: url("../fonts/Oswald.woff2") format("woff2"); font-weight: 200 700; font-display: swap; }
@font-face { font-family: "Golos Text"; src: url("../fonts/GolosText.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrainsMono.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --paper: #f2eee5;      /* фон — как обёрточная бумага */
  --sheet: #fbf9f4;      /* поверхности */
  --ink: #17160f;        /* основной цвет: текст, рамки, главные кнопки */
  --ink-2: #3a382f;
  --on-ink: #f6f2e8;
  --muted: #69655b;
  --rule: #d8d1c2;
  --tag: #ffd42a;        /* жёлтый ценник */
  --tag-ink: #17160f;
  --red: #c42619;        /* скидка, минус, испортилось */
  --red-soft: #f6dcd6;
  --green: #1d6b40;      /* норма выполнена */
  --cold: #245a86;       /* морозилка */
  --receipt: #fffdf8;    /* кассовая лента */
  --receipt-ink: #1d1c17;
  --stamp: #3046a6;      /* синяя печать */
  --f-display: "Oswald", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-body: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --r: 4px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #131311; --sheet: #1c1b18; --ink: #f0ece2; --ink-2: #d5d0c4; --on-ink: #17160f; --muted: #a39e92; --rule: #36342e;
    --red: #ff7a6b; --red-soft: #3b1f1b; --green: #74c996; --cold: #8cbbe6; --receipt: #ece7da;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #131311; --sheet: #1c1b18; --ink: #f0ece2; --ink-2: #d5d0c4; --on-ink: #17160f; --muted: #a39e92; --rule: #36342e;
  --red: #ff7a6b; --red-soft: #3b1f1b; --green: #74c996; --cold: #8cbbe6; --receipt: #ece7da;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html:has(body.big) { font-size: 125%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1rem/1.5 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.big { font-size: 1.25rem; }
h1, h2, h3 { margin: 0 0 0.5rem; font-family: var(--f-display); font-weight: 600; line-height: 1.05; letter-spacing: 0.005em; }
h1 { font-size: clamp(2.1rem, 9vw, 3rem); text-transform: uppercase; }
h2 { font-size: 1.55rem; font-weight: 500; }
h3 { font-size: 1.2rem; font-weight: 500; }
p { margin: 0 0 0.75rem; }
a { color: inherit; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
ol, ul { margin: 0 0 0.75rem; padding-left: 1.3rem; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 1rem 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--on-ink); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--tag); outline-offset: 2px; box-shadow: 0 0 0 5px var(--ink); }

.app { max-width: 46rem; margin: 0 auto; padding: 0 1rem 8rem; min-height: 100vh; outline: none; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.mono { font-family: var(--f-mono); }
.num { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.row { display: flex; gap: 0.5rem; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.spacer { flex: 1; }
.stack > * + * { margin-top: 0.6rem; }
.label { font: 500 0.72rem/1.35 var(--f-mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.lead { font-size: 1.1rem; line-height: 1.45; max-width: 32em; }
.pos { color: var(--green); }
.neg { color: var(--red); }

/* Иконки — линейные SVG, цвет от текста */
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em; }
.i.fill { fill: currentColor; stroke: none; }

/* Заголовки разделов: номер, название, линия */
.sec { margin-top: 2.25rem; }
.sec-h {
  display: flex; align-items: baseline; gap: 0.6rem; margin: 0 0 0.75rem; padding-bottom: 0.45rem;
  border-bottom: 1.5px solid var(--ink); font: 500 1.2rem/1.1 var(--f-display); text-transform: uppercase; letter-spacing: 0.02em;
}
.sec-h .n { font: 500 0.75rem var(--f-mono); color: var(--muted); letter-spacing: 0; }
.sec-h .aside { margin-left: auto; font: 400 0.78rem var(--f-mono); text-transform: none; letter-spacing: 0; color: var(--muted); text-align: right; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.6rem 1.1rem; border: 1.5px solid var(--ink); border-radius: var(--r);
  background: transparent; color: var(--ink); font: 600 1rem/1.2 var(--f-body); cursor: pointer; text-decoration: none;
  transition: background-color 0.15s, color 0.15s, transform 0.08s;
}
.btn:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--ink); color: var(--on-ink); }
.btn.primary:hover { background: var(--ink-2); }
.btn.tag { background: var(--tag); color: var(--tag-ink); border-color: var(--tag-ink); }
.btn.ghost { border-color: transparent; }
.btn.small { min-height: 2.25rem; padding: 0.3rem 0.75rem; font-size: 0.9rem; }
.btn.block { width: 100%; }
.btn.split { justify-content: space-between; text-align: left; font-weight: 500; }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; transform: none; }
.icon-btn { width: 2.75rem; min-height: 2.75rem; padding: 0; }
.btn .amt { font: 600 0.85rem var(--f-mono); white-space: nowrap; }
.btn .arrow { margin-left: auto; }
.nav-top { display: flex; align-items: center; gap: 0.5rem; padding-top: 0.75rem; }
.nav-top .btn.ghost { padding-left: 0.25rem; }

/* Поверхности и списки */
.card { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); padding: 1rem; }
.card.dashed { background: transparent; border-style: dashed; border-color: var(--ink); }
.note { padding: 0.75rem 0.9rem; border-left: 3px solid var(--tag); background: var(--sheet); font-size: 0.92rem; }
.note.warn { border-left-color: var(--red); }
.empty-note { padding: 1rem; border: 1.5px dashed var(--rule); border-radius: var(--r); color: var(--muted); text-align: center; }
.rows { border-top: 1px solid var(--rule); }
.rowi { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 0; border-bottom: 1px solid var(--rule); }
.rowi .body { flex: 1; min-width: 0; }
.rowi .name { display: block; font-weight: 600; line-height: 1.3; }
.rowi .sub { display: block; font-size: 0.84rem; color: var(--muted); }
button.rowi { width: 100%; background: none; border-width: 0 0 1px; border-style: solid; border-color: var(--rule); text-align: left; cursor: pointer; padding-left: 0.25rem; padding-right: 0.25rem; }
button.rowi:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
button.rowi[disabled] { opacity: 0.45; cursor: not-allowed; }
.pic {
  flex: none; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; font-size: 1.45rem; line-height: 1;
  background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r);
}
/* Стикеры продуктов и блюд (js/stickers.js): белая кромка, тень и лёгкий наклон, как у наклейки */
.pic.has-stk { background: none; border: 0; }
.pic-big { width: 4.25rem; height: 4.25rem; margin: 0 0 0.6rem 0.2rem; }
.pic-big .pic { width: 100%; height: 100%; }
.meal .done .i { width: 1rem; height: 1rem; vertical-align: -0.2em; stroke-width: 2.4; }
.promos .promo { position: relative; padding-right: 3.3rem; }
.promos .promo .pic { position: absolute; right: 0.45rem; top: 0.5rem; width: 2.3rem; height: 2.3rem; }
.stk {
  width: 118%; height: 118%; flex: none; overflow: visible; transform: rotate(var(--tilt, 0deg));
  filter: drop-shadow(1.3px 0 0 #fff) drop-shadow(-1.3px 0 0 #fff) drop-shadow(0 1.3px 0 #fff) drop-shadow(0 -1.3px 0 #fff) drop-shadow(0 1.5px 1.5px rgba(23, 22, 15, 0.3));
}
.nut { display: flex; flex-wrap: wrap; gap: 0 0.75rem; font: 400 0.76rem/1.6 var(--f-mono); color: var(--muted); }
.nut > span { white-space: nowrap; }

/* Наклейки: сроки, статусы */
.st {
  display: inline-block; font: 600 0.64rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.05em;
  padding: 0.32rem 0.4rem; border: 1px solid currentColor; border-radius: 2px; white-space: nowrap; color: var(--muted);
}
.st.red { background: var(--red); border-color: var(--red); color: var(--paper); }
.st.amber { background: var(--tag); border-color: var(--tag-ink); color: var(--tag-ink); }
.st.cold { color: var(--cold); }
.st.ok { color: var(--green); }

/* Звёзды */
.stars { display: inline-flex; gap: 1px; color: var(--ink); white-space: nowrap; }
.stars .i { width: 1em; height: 1em; }
.stars .off { color: var(--rule); }

/* ---------- Шапка сайта ---------- */
.site-head {
  display: flex; align-items: center; gap: 0.5rem 1.25rem; flex-wrap: wrap;
  margin: 0 -1rem; padding: 0.6rem 1rem 0; border-bottom: 1.5px solid var(--ink);
}
.brand { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 2.75rem; padding: 0.2rem 0; background: none; border: 0; cursor: pointer; color: var(--ink); }
.brand-mark {
  display: grid; place-items: center; width: 1.9rem; height: 1.7rem; border: 1.5px solid var(--tag-ink); border-radius: 3px;
  background: var(--tag); color: var(--tag-ink); font: 700 1.15rem/1 var(--f-display); transform: rotate(-6deg);
}
.brand-name { font: 600 1.15rem/1 var(--f-display); text-transform: uppercase; letter-spacing: 0.01em; white-space: nowrap; }
.site-nav {
  display: flex; gap: 0.15rem; overflow-x: auto; scrollbar-width: none; flex: 1 1 100%; margin: 0 -1rem; padding: 0 1rem;
  -webkit-mask: linear-gradient(90deg, #000 85%, transparent); mask: linear-gradient(90deg, #000 85%, transparent);
}
.site-nav::-webkit-scrollbar { display: none; }
.nav-link {
  flex: none; padding: 0.7rem 0.6rem 0.65rem; margin-bottom: -1.5px; background: none; border: 0; border-bottom: 3px solid transparent;
  font: 600 0.92rem var(--f-body); color: var(--muted); cursor: pointer; white-space: nowrap;
}
.nav-link:hover { color: var(--ink); }
.nav-link[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.nav-link.nav-play { color: var(--ink); }
.nav-link.nav-play::before { content: ""; display: inline-block; width: 0.5rem; height: 0.5rem; margin-right: 0.4rem; background: var(--tag); box-shadow: 0 0 0 1.5px var(--ink); transform: rotate(45deg) translateY(-0.1rem); }
/* С 760 px все разделы помещаются в строку целиком — без прокрутки и затухания */
@media (min-width: 760px) {
  .site-nav { -webkit-mask: none; mask: none; }
}
.page-top { padding-top: 1.5rem; }
.page-top-row { display: flex; align-items: center; gap: 0.75rem; justify-content: space-between; margin-bottom: 0.35rem; }
.page-top-row .label { margin: 0; }

/* ---------- Ещё на сайте ---------- */
.links3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0.6rem; }
.link-card {
  position: relative; display: flex; flex-direction: column; gap: 0.25rem; padding: 0.9rem 2.6rem 0.9rem 0.9rem; text-align: left; cursor: pointer;
  background: var(--sheet); border: 1.5px solid var(--ink); border-radius: var(--r);
}
.link-card b { font: 500 1.1rem/1.15 var(--f-display); text-transform: uppercase; }
.link-card span { font-size: 0.86rem; color: var(--muted); }
.link-card .i { position: absolute; right: 0.8rem; top: 0.95rem; }
.link-card:hover { background: var(--tag); color: var(--tag-ink); }
.link-card:hover span { color: var(--tag-ink); }

/* ---------- Альбом наклеек ---------- */
.album { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 0.6rem; }
.stk-card {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.25rem; padding: 1rem 0.6rem 0.8rem; text-align: center;
  background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r);
}
.stk-card b { font: 500 1rem/1.15 var(--f-display); text-transform: uppercase; margin-top: 0.35rem; }
.stk-card > span:not(.stk-big):not(.st) { font-size: 0.8rem; color: var(--muted); line-height: 1.3; }
.stk-card .st { margin-top: auto; }
.stk-card .stk-new { position: absolute; top: 0.45rem; right: 0.45rem; margin: 0; }
.stk-big { display: grid; place-items: center; width: 4.2rem; height: 4.2rem; }
.stk-big .stk { width: 100%; height: 100%; }
.stk-card.locked .stk-big { filter: grayscale(1) opacity(0.35); }
.stk-card.locked b { color: var(--muted); }
.stk-card.got { border-color: var(--ink); }

/* ---------- Список покупок ---------- */
.levels.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 559px) { .levels.two { grid-template-columns: 1fr; } }
.trip { margin-top: 1rem; }
.trip-h { display: flex; justify-content: space-between; align-items: baseline; padding: 0.3rem 0; font: 500 1.05rem var(--f-display); text-transform: uppercase; }
.trip-h .mono { font-size: 0.9rem; }
.tick-row { cursor: pointer; }
.tick { flex: none; width: 1.6rem; height: 1.6rem; margin: 0 0.15rem 0 0; accent-color: var(--ink); cursor: pointer; }
.tick-row:has(.tick:checked) .body { opacity: 0.45; text-decoration: line-through; }
.menu { border-top: 1px solid var(--rule); }
.menu-day { display: grid; grid-template-columns: 2.6rem 1fr; gap: 0.6rem; padding: 0.6rem 0; border-bottom: 1px solid var(--rule); font-size: 0.92rem; }
.menu-day .label { display: inline-block; min-width: 5.5rem; }
.menu-wd { font: 600 1.2rem/1.2 var(--f-display); text-transform: uppercase; }
.tiles.six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles.six .tile:nth-child(2n) { border-right: 0; }
.tiles.six .tile:nth-last-child(-n + 2) { border-bottom: 0; }
@media (min-width: 700px) {
  .tiles.six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tiles.six .tile { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
  .tiles.six .tile:nth-child(3n) { border-right: 0; }
  .tiles.six .tile:nth-child(2n):not(:nth-child(3n)) { border-right: 1px solid var(--rule); }
  .tiles.six .tile:nth-last-child(-n + 3) { border-bottom: 0; }
}
.gtable.left th, .gtable.left td { text-align: left; white-space: normal; }
.gtable.left tbody th { font: 600 0.84rem var(--f-body); color: var(--ink); text-transform: none; letter-spacing: 0; border-bottom: 1px solid var(--rule); }

/* ---------- Главная ---------- */
.home { padding-top: 1.75rem; }
.home h1 { font-size: clamp(3.1rem, 16vw, 5.4rem); line-height: 0.9; margin: 0.6rem 0 1rem; }
.home .lead { margin-bottom: 1.5rem; }
.pricetag {
  position: relative; width: min(100%, 21rem); margin: 0.5rem 0 1.75rem; padding: 0.8rem 1rem 0.85rem;
  background: var(--tag); color: var(--tag-ink); border: 2px solid var(--tag-ink); border-radius: var(--r);
  transform: rotate(-1.5deg); transform-origin: 30% 50%;
}
.pricetag .pt-top { display: flex; justify-content: space-between; gap: 1rem; font: 600 0.68rem/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: 0.06em; }
.pricetag .pt-price { font: 600 clamp(3.6rem, 18vw, 4.6rem)/1 var(--f-display); letter-spacing: -0.01em; margin: 0.35rem 0 0.4rem; font-variant-numeric: tabular-nums; }
.pricetag .pt-price small { font-size: 0.5em; font-weight: 500; margin-left: 0.1em; }
.pricetag .pt-bottom { border-top: 1.5px solid var(--tag-ink); padding-top: 0.45rem; font: 500 0.74rem/1.4 var(--f-mono); }
.cta { display: grid; gap: 0.6rem; max-width: 26rem; }
/* Ноутбук, ПК, планшет: ценник справа от заголовка, как на афише */
@media (min-width: 760px) {
  .home { display: grid; grid-template-columns: minmax(0, 1fr) 17.5rem; column-gap: 2.5rem; align-items: start; }
  .home > * { grid-column: 1; }
  .home .pricetag { grid-column: 2; grid-row: 2 / span 3; width: 100%; margin: 2.2rem 0 0; transform: rotate(-3deg); }
}
.steps { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); counter-reset: s; }
.steps li { display: grid; grid-template-columns: 2.4rem 1fr; column-gap: 0.6rem; padding: 0.75rem 0; border-bottom: 1px solid var(--rule); }
.steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font: 500 0.8rem/1.6 var(--f-mono); color: var(--muted); grid-row: span 2; }
.steps li b { font-weight: 600; }
.steps li span { color: var(--muted); font-size: 0.92rem; }
.steps li > b, .steps li > span { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.footer { margin-top: 3rem; padding-top: 1rem; border-top: 1.5px solid var(--ink); font-size: 0.8rem; color: var(--muted); }

/* ---------- Новая неделя ---------- */
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.6rem; }
.choice {
  display: flex; gap: 0.8rem; align-items: flex-start; width: 100%; padding: 0.85rem; text-align: left;
  background: var(--sheet); border: 1.5px solid var(--rule); border-radius: var(--r); cursor: pointer;
}
.choice:hover { border-color: var(--ink); }
.choice[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.choice .title { display: block; font-weight: 700; margin-bottom: 0.15rem; }
.choice .small { display: block; color: var(--muted); }
.ava {
  flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center;
  font: 600 1.2rem/1 var(--f-display); border: 1.5px solid var(--ink);
}
.choice[aria-pressed="true"] .ava { background: var(--ink); color: var(--on-ink); }
.levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 0.6rem; }
.lvl {
  display: block; width: 100%; padding: 0.65rem 0.75rem 0.7rem; text-align: left; cursor: pointer;
  background: var(--sheet); border: 1.5px solid var(--ink); border-radius: var(--r);
}
.lvl .lvl-name { display: block; font: 600 0.72rem var(--f-mono); text-transform: uppercase; letter-spacing: 0.06em; }
.lvl .lvl-price { display: block; font: 600 1.85rem/1.1 var(--f-display); margin: 0.15rem 0 0.35rem; font-variant-numeric: tabular-nums; }
.lvl .lvl-text { display: block; font-size: 0.8rem; line-height: 1.35; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 0.35rem; }
.lvl[aria-pressed="true"] { background: var(--tag); color: var(--tag-ink); border-color: var(--tag-ink); box-shadow: inset 0 0 0 1px var(--tag-ink); }
.lvl[aria-pressed="true"] .lvl-text { color: var(--tag-ink); border-color: rgba(23, 22, 15, 0.3); }
@media (max-width: 559px) {
  .levels { grid-template-columns: 1fr; gap: 0.5rem; }
  .lvl { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name price" "text price"; column-gap: 1rem; align-items: center; }
  .lvl .lvl-name { grid-area: name; }
  .lvl .lvl-price { grid-area: price; margin: 0; }
  .lvl .lvl-text { grid-area: text; border-top: 0; padding-top: 0.1rem; }
}
.field {
  display: block; width: 100%; min-height: 3rem; padding: 0.6rem 0.75rem;
  background: var(--sheet); color: var(--ink); border: 1.5px solid var(--ink); border-radius: var(--r);
}
select.field {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem; cursor: pointer;
  background:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%) calc(100% - 1.15rem) 55% / 6px 6px no-repeat,
    linear-gradient(135deg, var(--ink) 50%, transparent 50%) calc(100% - 0.78rem) 55% / 6px 6px no-repeat,
    var(--sheet);
}
.field.code { font: 600 1.35rem/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.hint { font-size: 0.84rem; color: var(--muted); margin-top: 0.4rem; }

/* ---------- Чек ---------- */
.receipt-wrap { filter: drop-shadow(0 1px 0 var(--rule)) drop-shadow(0 10px 18px rgba(20, 18, 10, 0.08)); margin: 0.75rem 0; }
.receipt {
  --z: 12px;
  background: var(--receipt); color: var(--receipt-ink); padding: calc(var(--z) + 0.9rem) 1.1rem calc(var(--z) + 1rem);
  overflow: hidden; /* печать при «шлёпе» увеличивается — не даём ей расширить страницу */
  font: 400 0.84rem/1.55 var(--f-mono);
  -webkit-mask:
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / var(--z) 51% repeat-x,
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / var(--z) 51% repeat-x;
  mask:
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / var(--z) 51% repeat-x,
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / var(--z) 51% repeat-x;
}
.receipt .r-center { text-align: center; }
.receipt .r-shop { font: 700 1.05rem/1.2 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; }
.receipt .r-sep { border: 0; border-top: 1.5px dashed currentColor; opacity: 0.55; margin: 0.8rem 0; }
.receipt .r-line { display: flex; align-items: baseline; gap: 0.4rem; }
.receipt .r-line > i { flex: 1; min-width: 1rem; border-bottom: 1.5px dotted currentColor; opacity: 0.45; transform: translateY(-0.25em); }
.receipt .r-line > :last-child { white-space: nowrap; font-weight: 600; }
.receipt .r-name { text-transform: uppercase; font-weight: 600; }
.receipt .r-sub { font-size: 0.76rem; opacity: 0.72; margin: -0.05rem 0 0.45rem; }
.receipt .r-total { font: 600 1.6rem/1.2 var(--f-display); text-transform: uppercase; }
.receipt .r-total > i { transform: translateY(-0.3em); }
.receipt .stars { color: var(--receipt-ink); }
.receipt .stars .off { color: rgba(29, 28, 23, 0.22); }
.receipt .r-ok { color: #1d6b40; } .receipt .r-mid { color: #8a5a00; } .receipt .r-bad { color: #b3221a; }
.stamp {
  display: block; width: fit-content; max-width: 92%; margin: 1rem auto 0.4rem; padding: 0.35rem 0.75rem 0.4rem;
  border: 3px double var(--stamp); border-radius: 6px; color: var(--stamp);
  font: 600 1.3rem/1.1 var(--f-display); text-transform: uppercase; letter-spacing: 0.03em; text-align: center;
  transform: rotate(-3.5deg); opacity: 0.92;
}
.barcode { display: block; width: 74%; height: 2.6rem; margin: 0.9rem auto 0.3rem; color: var(--receipt-ink); }
.code-box {
  font: 600 1.9rem/1 var(--f-mono); letter-spacing: 0.12em; text-align: center; padding: 0.9rem 0.5rem;
  border: 1.5px dashed var(--ink); border-radius: var(--r); background: var(--sheet);
}
.code-box.result-code {
  font-size: clamp(1.15rem, 6.2vw, 1.65rem); letter-spacing: 0.06em; margin: 0.5rem 0 0.3rem;
  background: transparent; border-color: currentColor; color: inherit; overflow-wrap: anywhere; user-select: all;
}

/* ---------- Шапка дня ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20; margin: 0 -1rem; padding: 0.55rem 1rem 0.7rem;
  background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-bottom: 1.5px solid var(--ink);
}
.tb-row { display: flex; align-items: center; gap: 0.6rem; }
.topbar .icon-btn { flex: none; }
.tb-day b { display: block; font: 600 1.45rem/1 var(--f-display); text-transform: uppercase; }
.ticks { display: flex; gap: 3px; margin-top: 0.35rem; }
.ticks i { width: 0.8rem; height: 0.28rem; background: var(--rule); }
.ticks i.done { background: var(--ink); }
.ticks i.now { background: var(--tag); box-shadow: 0 0 0 1px var(--ink); }
.tb-money { text-align: right; }
.tb-money .label { font-size: 0.6rem; }
.tb-money b { display: block; font: 600 1.45rem/1 var(--f-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tb-money.low b { color: var(--red); }
.tb-mood { display: flex; flex-direction: column; align-items: center; font: 600 0.72rem/1.1 var(--f-mono); padding: 0 0.2rem; }
.tb-mood .i { width: 1.45rem; height: 1.45rem; stroke-width: 1.6; }
.meters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin-top: 0.55rem; }
.meter .m-lbl { font: 600 0.6rem/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meter .track { position: relative; height: 0.4rem; margin: 0.25rem 0 0.2rem; background: var(--rule); }
.meter .track i { display: block; height: 100%; background: var(--ink); transition: width 0.3s var(--ease); }
.meter.full .track i { background: var(--green); }
.meter .m-val { font: 500 0.66rem/1.1 var(--f-mono); color: var(--muted); font-variant-numeric: tabular-nums; }
/* Узкие телефоны (320–400 px): шапка компактнее, чтобы меню и деньги не уезжали за край */
@media (max-width: 400px) {
  .tb-row { gap: 0.4rem; }
  .tb-day b { font-size: 1.2rem; }
  .tb-money b { font-size: 1.25rem; }
  .topbar .icon-btn { width: 2.3rem; }
  .ticks i { width: 0.62rem; }
}
@media (max-width: 350px) {
  .tb-row { gap: 0.3rem; }
  .tb-day b { font-size: 1.02rem; }
  .tb-day .label { font-size: 0.62rem; letter-spacing: 0.04em; }
  .tb-money b { font-size: 1.1rem; }
  .tb-mood { padding: 0; }
}

/* Телефон боком: шапка прокручивается вместе со страницей, иначе вместе с нижней панелью съедает полэкрана */
@media (max-height: 500px) and (orientation: landscape) {
  .topbar { position: static; }
  .tabs { top: 0; }
}

/* ---------- День ---------- */
.meals { border-top: 1px solid var(--rule); }
.meal { display: grid; grid-template-columns: 3.1rem minmax(0, 1fr) auto; gap: 0.75rem; align-items: center; padding: 0.7rem 0; border-bottom: 1px solid var(--rule); }
.meal .time { font: 500 0.8rem var(--f-mono); color: var(--muted); }
.meal .slot { font: 600 0.68rem var(--f-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.meal .name { font-weight: 600; line-height: 1.3; }
.meal.empty .name { color: var(--muted); font-weight: 400; }
.meal .done { color: var(--green); }
.extras { margin-top: 0.25rem; }
.addsnack { margin-top: 0.75rem; }

.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: var(--sheet); border-top: 1.5px solid var(--ink);
  padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom));
}
.actionbar .inner { max-width: 46rem; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr); gap: 0.5rem; }
.actionbar .inner .btn { min-height: 3.5rem; padding: 0.4rem 0.5rem; flex-direction: column; gap: 0.15rem; font-size: 0.9rem; line-height: 1.15; }
@media (min-width: 560px) { .actionbar .inner .btn { flex-direction: row; gap: 0.5rem; font-size: 1rem; } }
.actionbar .cart-inner { max-width: 46rem; margin: 0 auto; display: flex; gap: 0.75rem; align-items: center; }
.cart-sum { flex: 1; min-width: 0; }
.cart-sum .label { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-sum .small { display: block; line-height: 1.25; }
.cart-sum b { display: block; font: 600 1.45rem/1.05 var(--f-display); font-variant-numeric: tabular-nums; }
.cart-sum .over { color: var(--red); font-weight: 700; }

/* ---------- Магазин ---------- */
.page-h { margin: 1.25rem 0 0.4rem; }
.promos { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 0.6rem; }
.promo {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.15rem; padding: 0.55rem 0.7rem 0.6rem; cursor: pointer; text-align: left;
  background: var(--tag); color: var(--tag-ink); border: 1.5px solid var(--tag-ink); border-radius: var(--r);
}
.promo .pct { font: 600 1.6rem/1 var(--f-display); color: #b3221a; }
.promo .nm { font-weight: 600; font-size: 0.9rem; line-height: 1.25; }
.promo .pr { font: 500 0.72rem var(--f-mono); }
.tabs {
  display: flex; overflow-x: auto; margin: 1.5rem -1rem 0; padding: 0 1rem; border-bottom: 1.5px solid var(--ink);
  scrollbar-width: none; position: sticky; top: calc(var(--tb, 7.6rem) - 1px); z-index: 10; background: var(--paper);
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; padding: 0.75rem 0.8rem 0.6rem; margin-bottom: -1.5px; background: none; border: 0; border-bottom: 3px solid transparent;
  font: 600 0.95rem var(--f-body); color: var(--muted); cursor: pointer;
}
.tab:hover { color: var(--ink); }
.tab[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.product {
  display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) auto; grid-template-areas: "pic info tag" "pic meta step";
  gap: 0.45rem 0.75rem; padding: 0.9rem 0; border-bottom: 1px solid var(--rule); align-items: start;
}
.product .pic { grid-area: pic; }
.product .info { grid-area: info; }
.product .meta { grid-area: meta; align-self: end; display: flex; flex-wrap: wrap; gap: 0.3rem; align-items: center; }
.product .ptag { grid-area: tag; }
.product .stepper { grid-area: step; justify-self: end; }
.product .name { font-weight: 600; line-height: 1.25; }
.product .facts { font: 400 0.74rem/1.55 var(--f-mono); color: var(--muted); margin-top: 0.15rem; }
.ptag {
  position: relative; min-width: 6.4rem; padding: 0.3rem 0.5rem 0.35rem; text-align: right;
  background: var(--sheet); border: 1.5px solid var(--ink); border-radius: 2px;
}
.ptag .p { display: block; font: 600 1.6rem/1 var(--f-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ptag .p small { font-size: 0.55em; font-weight: 500; margin-left: 0.1em; }
.ptag s { display: block; font: 500 0.7rem/1.2 var(--f-mono); opacity: 0.75; }
.ptag .u { display: block; margin-top: 0.3rem; padding-top: 0.25rem; border-top: 1px solid var(--rule); font: 500 0.62rem/1.2 var(--f-mono); color: var(--muted); white-space: nowrap; }
.ptag.sale { background: var(--tag); color: var(--tag-ink); border-color: var(--tag-ink); }
.ptag.sale .u { color: var(--tag-ink); border-color: rgba(23, 22, 15, 0.3); }
.ptag .off { position: absolute; top: -0.55rem; left: -0.5rem; padding: 0.15rem 0.3rem; background: #b3221a; color: #fff; font: 700 0.68rem/1 var(--f-mono); transform: rotate(-4deg); }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--ink); border-radius: var(--r); background: var(--sheet); }
.stepper button { width: 2.5rem; height: 2.35rem; display: grid; place-items: center; background: none; border: 0; cursor: pointer; }
.stepper button:hover:not([disabled]) { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.stepper button[disabled] { opacity: 0.3; cursor: not-allowed; }
.stepper .q { min-width: 1.9rem; text-align: center; font: 600 1rem var(--f-mono); }
.stepper.big .q { min-width: 3.5rem; font: 600 2rem/1 var(--f-display); }
.stepper.big button { width: 3.2rem; height: 3.2rem; }

/* ---------- Кухня ---------- */
.recipes { display: grid; gap: 0.75rem; }
.recipe .head { display: flex; gap: 0.75rem; align-items: flex-start; }
.recipe h3 { margin: 0.1rem 0 0.2rem; }
.ings { list-style: none; padding: 0; margin: 0.7rem 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: 0.1rem 1rem; font-size: 0.88rem; }
.ings li { display: flex; gap: 0.45rem; align-items: baseline; padding: 0.15rem 0; border-bottom: 1px dotted var(--rule); }
.ings li::before { content: ""; flex: none; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--green); transform: translateY(-0.05rem); }
.ings li.miss { color: var(--red); }
.ings li.miss::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--red); }
.ings .amt { margin-left: auto; font: 400 0.76rem var(--f-mono); color: var(--muted); white-space: nowrap; }
.ings li.miss .amt { color: var(--red); }
.tip { font-size: 0.86rem; color: var(--muted); border-left: 3px solid var(--tag); padding-left: 0.6rem; margin: 0 0 0.8rem; }

/* ---------- Окна ---------- */
.modal-back {
  position: fixed; inset: 0; z-index: 50; background: rgba(12, 12, 10, 0.55);
  display: flex; align-items: flex-end; justify-content: center; animation: fade 0.15s ease;
}
.modal {
  position: relative; background: var(--paper); width: 100%; max-width: 36rem; max-height: 92vh; overflow: auto;
  border-top: 1.5px solid var(--ink); border-radius: 10px 10px 0 0;
  padding: 1.25rem 1rem calc(1.25rem + env(safe-area-inset-bottom)); animation: up 0.24s var(--ease);
}
@media (min-width: 700px) {
  .modal-back { align-items: center; }
  .modal { border: 1.5px solid var(--ink); border-radius: 8px; padding: 1.5rem; }
}
.modal:focus { outline: none; box-shadow: none; }
.modal .close { position: absolute; top: 0.6rem; right: 0.6rem; }
.modal h2 { margin-right: 2.5rem; }
.modal .label { margin-bottom: 0.35rem; }
.modal h3 { margin: 1.25rem 0 0.4rem; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.02em; }
.modal .receipt-wrap { margin: 0.5rem 0 0; }
.choices { display: grid; gap: 0.5rem; margin-top: 1rem; }
.effects { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0.25rem 0 1rem; }
.effects .st { font-size: 0.75rem; padding: 0.35rem 0.5rem; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(1.5rem); opacity: 0.6; } }

.toast {
  position: fixed; left: 50%; bottom: 6rem; transform: translate(-50%, 1rem); z-index: 60;
  background: var(--ink); color: var(--on-ink); padding: 0.65rem 1rem; border-radius: var(--r); font-weight: 600; font-size: 0.92rem;
  opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s var(--ease); max-width: calc(100vw - 2rem); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Итоги недели ---------- */
.final { padding-top: 1.25rem; }
.share-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 0.5rem; margin-top: 0.75rem; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.4rem; }
.week .col { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; font: 500 0.68rem/1 var(--f-mono); color: var(--muted); }
.week .bar { position: relative; width: 100%; height: 7rem; display: flex; align-items: flex-end; justify-content: center; }
.week .bar i { display: block; width: 100%; max-width: 2.4rem; background: var(--ink); }
.week .bar i.low { background: repeating-linear-gradient(-45deg, var(--ink) 0 2px, transparent 2px 6px); box-shadow: inset 0 0 0 1.5px var(--ink); }
.week .norm { position: absolute; left: -0.2rem; right: -0.2rem; border-top: 1.5px dashed var(--red); }
.week .day { text-transform: uppercase; color: var(--ink); font-weight: 600; }
.legend { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.75rem; font: 400 0.74rem var(--f-mono); color: var(--muted); }
.legend span::before { content: ""; display: inline-block; width: 0.9rem; height: 0.6rem; margin-right: 0.35rem; background: var(--ink); vertical-align: 0; }
.legend .l-low::before { background: repeating-linear-gradient(-45deg, var(--ink) 0 2px, transparent 2px 5px); box-shadow: inset 0 0 0 1px var(--ink); }
.legend .l-norm::before { height: 0; border-top: 1.5px dashed var(--red); vertical-align: 0.2rem; background: none; }
.tips { list-style: none; padding: 0; margin: 0; counter-reset: t; }
.tips li { display: grid; grid-template-columns: 2rem 1fr; padding: 0.6rem 0; border-bottom: 1px solid var(--rule); }
.tips li::before { counter-increment: t; content: counter(t, decimal-leading-zero); font: 500 0.8rem/1.6 var(--f-mono); color: var(--muted); }
.hbar { display: grid; grid-template-columns: minmax(7rem, 38%) minmax(0, 1fr) auto; gap: 0.6rem; align-items: center; padding: 0.3rem 0; font-size: 0.9rem; }
.hbar .track { height: 0.7rem; background: var(--rule); }
.hbar .track i { display: block; height: 100%; background: var(--ink); }
.hbar .track i.hi { background: var(--red); }
.hbar b { font: 600 0.84rem var(--f-mono); white-space: nowrap; }
.hbar .tagline { font: 500 0.62rem var(--f-mono); text-transform: uppercase; color: var(--green); margin-left: 0.3rem; }

/* ---------- Наставник ---------- */
.dirs { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); border-top: 1px solid var(--rule); }
.dirs > div { padding: 0.8rem 0; border-bottom: 1px solid var(--rule); }
.dirs b { display: block; font: 500 1.05rem/1.2 var(--f-display); text-transform: uppercase; margin-bottom: 0.25rem; }
.dirs p { font-size: 0.9rem; color: var(--muted); margin: 0; }
@media (min-width: 700px) { .dirs { column-gap: 1.5rem; } }
.timeline { margin-left: 0.4rem; border-left: 1.5px solid var(--ink); }
.lesson-step { position: relative; display: grid; grid-template-columns: 3.4rem 1fr; gap: 0.5rem; padding: 0 0 1.1rem 1.1rem; }
.lesson-step::before { content: ""; position: absolute; left: -0.4rem; top: 0.35rem; width: 0.65rem; height: 0.65rem; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); }
.lesson-step:last-child { padding-bottom: 0.2rem; }
.lesson-step .min { font: 600 1.35rem/1.1 var(--f-display); font-variant-numeric: tabular-nums; }
.lesson-step .min small { font: 500 0.7rem var(--f-mono); color: var(--muted); margin-left: 0.1rem; }
.lesson-step p { font-size: 0.92rem; margin: 0.15rem 0 0; }
.topics .lesson-step .min { font-size: 1.1rem; color: var(--red); }
.qlist { padding: 0; margin: 0; list-style: none; counter-reset: q; }
.qlist li { display: grid; grid-template-columns: 2rem 1fr; padding: 0.5rem 0; border-bottom: 1px solid var(--rule); }
.qlist li::before { counter-increment: q; content: counter(q, decimal-leading-zero); font: 500 0.8rem/1.6 var(--f-mono); color: var(--muted); }
.cheat { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0.5rem 1.5rem; margin-top: 1rem; }
.cheat ol { font-size: 0.9rem; padding-left: 0; list-style: none; margin: 0.4rem 0 0; }
.cheat li { display: flex; gap: 0.5rem; padding: 0.3rem 0; border-bottom: 1px dotted var(--rule); }
.cheat li span:last-child { margin-left: auto; font: 600 0.84rem var(--f-mono); white-space: nowrap; }

/* ---------- Итоги группы ---------- */
textarea.field { min-height: 8.5rem; resize: vertical; line-height: 1.45; font: 400 0.9rem/1.5 var(--f-mono); }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--sheet); border: 1.5px solid var(--ink); border-radius: var(--r); }
.tile { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.85rem 0.9rem; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.tile:nth-child(2n) { border-right: 0; }
.tile:nth-last-child(-n + 2) { border-bottom: 0; }
@media (min-width: 700px) {
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tile { border-bottom: 0; border-right: 1px solid var(--rule); }
  .tile:nth-child(2n) { border-right: 1px solid var(--rule); }
  .tile:last-child { border-right: 0; }
}
.tile b { font: 600 2.1rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.tile span { color: var(--muted); font-size: 0.84rem; line-height: 1.3; }
.compare { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.compare .side { display: flex; flex-direction: column; }
.compare .side b { font: 600 2.6rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.compare .delta { font: 600 1.1rem var(--f-mono); padding: 0.3rem 0.55rem; background: var(--tag); color: var(--tag-ink); border: 1.5px solid var(--tag-ink); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.gtable { width: 100%; border-collapse: collapse; font: 400 0.86rem var(--f-mono); font-variant-numeric: tabular-nums; }
.gtable th { padding: 0.4rem 0.35rem; border-bottom: 1.5px solid var(--ink); font: 600 0.64rem var(--f-mono); text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); white-space: nowrap; }
.gtable td { padding: 0.45rem 0.35rem; border-bottom: 1px solid var(--rule); text-align: center; white-space: nowrap; }
.gtable td.total { font-weight: 700; }
.gtable td.weak { color: var(--red); font-weight: 700; }

/* ---------- Появление экрана ---------- */
.app.enter > * { animation: rise 0.36s var(--ease) both; }
.app.enter > *:nth-child(2) { animation-delay: 0.03s; }
.app.enter > *:nth-child(3) { animation-delay: 0.06s; }
.app.enter > *:nth-child(4) { animation-delay: 0.09s; }
.app.enter > *:nth-child(n + 5) { animation-delay: 0.12s; }
.app.enter .stamp { animation: stamp 0.5s 0.35s cubic-bezier(0.3, 1.5, 0.5, 1) both; }
.app.enter > .topbar, .app.enter > .actionbar { animation: none; }
/* Только сдвиг, без прозрачности: если браузер не проиграет анимацию (фоновая вкладка, слабый телефон), всё равно всё видно */
@keyframes rise { from { transform: translateY(0.75rem); } }
@keyframes stamp { from { transform: rotate(-3.5deg) scale(1.45); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- Печать ---------- */
.print-root { display: none; }
@media print {
  @page { size: A4; margin: 14mm; }
  body { background: #fff; color: #000; font-size: 11pt; }
  body.printing .app, body.printing .actionbar, body.printing #modal-root, body.printing .toast, body.printing .skip { display: none !important; }
  body.printing .print-root { display: block; }
  .print-root h1 { font-size: 18pt; text-transform: none; }
  .print-root h2 { font-size: 13pt; margin-top: 12pt; }
  .print-root table { width: 100%; border-collapse: collapse; margin: 8pt 0; }
  .print-root th, .print-root td { border: 1px solid #555; padding: 6pt; text-align: left; vertical-align: top; }
  .print-root td.blank { height: 28pt; }
  .print-root .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12pt; }
  .print-root .note { font-size: 9pt; color: #444; border: 0; padding: 0; background: none; }
}
