/* Közlöny Figyelő – „a hivatalos lap, emberi nyelven”
   Papír + pecsétkék tinta; a zászló pirosa és zöldje csak ítéletszínként. */
:root {
  --paper: #F1F2F4;      /* háttér */
  --sheet: #FFFFFF;      /* lap */
  --ink: #171A21;        /* szöveg */
  --ink-2: #5A6170;      /* másodlagos szöveg */
  --rule: #DADDE3;       /* elválasztók */
  --stamp: #2A3FB0;      /* pecsétkék – fő akcentus */
  --stamp-wash: #E8EBFA;
  --red: #CE2939;        /* zászlópiros – ellentmond */
  --green: #3F6B47;      /* zászlózöld – teljesít */
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --r: 6px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0F1115; --sheet: #171A20; --ink: #E8EAF0; --ink-2: #9AA1AF; --rule: #2A2F38;
    --stamp: #93A3FF; --stamp-wash: #1E2440; --red: #FF6F7B; --green: #84BE8C;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.55 var(--sans); font-variation-settings: "wdth" 100;
}
a { color: inherit; }
:focus-visible { outline: 2.5px solid var(--stamp); outline-offset: 2px; border-radius: 3px; }
.muted { color: var(--ink-2); }

/* ---------- fejléc ---------- */
.mast { background: var(--stamp); color: #fff; padding-top: env(safe-area-inset-top); position: sticky; top: 0; z-index: 10; }
.mast-inner { max-width: 720px; margin: 0 auto; padding: 12px 18px 4px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.mark {
  font: 700 26px/1 var(--serif); font-style: italic; width: 36px; height: 36px; display: grid; place-items: center;
  border: 2px solid rgba(255,255,255,.85); border-radius: 50%;
}
.wm-text { font-weight: 750; font-size: 1.22rem; letter-spacing: -.01em; font-variation-settings: "wdth" 72; }
.bell { position: relative; background: none; border: 0; color: #fff; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.bell:hover { background: rgba(255,255,255,.12); }
.bell .dot { position: absolute; top: 10px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--stamp); }
.tabs { max-width: 720px; margin: 0 auto; display: flex; gap: 22px; padding: 0 18px; }
.tabs a {
  text-decoration: none; padding: 10px 0 11px; font-weight: 600; font-size: .95rem; color: rgba(255,255,255,.72);
  border-bottom: 3px solid transparent;
}
.tabs a.on { color: #fff; border-bottom-color: #fff; }
@media (prefers-color-scheme: dark) { .mast { background: #1B2350; } }

main { max-width: 720px; margin: 0 auto; padding: 18px 18px 72px; }

/* ---------- keresés ---------- */
.search { position: relative; margin-bottom: 8px; }
.search input {
  width: 100%; font: inherit; padding: 12px 14px 12px 40px; border-radius: var(--r);
  border: 1px solid var(--rule); background: var(--sheet); color: var(--ink);
}
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--ink-2); }

/* ---------- lista: főkönyv-szerű sorok ---------- */
.month { font-weight: 700; font-size: .9rem; color: var(--ink-2); margin: 26px 0 8px; font-variation-settings: "wdth" 85; }
.ledger { background: var(--sheet); border-radius: var(--r); }
.entry {
  display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 18px 16px; text-decoration: none;
  border-top: 1px solid var(--rule);
}
.entry:first-child { border-top: 0; }
.entry:hover .headline { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.num .n {
  display: block; font-weight: 800; font-size: 2.6rem; line-height: .9; letter-spacing: -.02em;
  font-variation-settings: "wdth" 62; color: var(--stamp);
}
.num .d { display: block; margin-top: 6px; font-size: .8rem; line-height: 1.3; color: var(--ink-2); }
.kind { font-size: .8rem; font-weight: 600; color: var(--stamp); margin: 0 0 2px; }
.headline { font-weight: 650; font-size: 1.06rem; line-height: 1.35; margin: 0; }
.facts { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 8px 0 0; font-size: .82rem; color: var(--ink-2); }
.verdicts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.v { font-size: .78rem; font-weight: 650; padding: 2px 8px; border-radius: 3px; border: 1.5px solid; }
.v.contra { color: var(--red); }
.v.ok { color: var(--green); }
.pending { color: var(--ink-2); font-style: italic; }
.failed { color: var(--red); font-size: .9rem; }

/* a legfrissebb szám kiemelten */
.today { background: var(--sheet); border-radius: var(--r); padding: 22px 18px 18px; margin-bottom: 6px; border-top: 4px solid var(--stamp); text-decoration: none; display: block; }
.today-top { display: flex; align-items: flex-end; gap: 14px; }
.today .n { font-weight: 800; font-size: 5.2rem; line-height: .8; letter-spacing: -.03em; font-variation-settings: "wdth" 62; color: var(--stamp); }
.today .meta { font-size: .85rem; color: var(--ink-2); line-height: 1.35; padding-bottom: 4px; }
.today .meta b { color: var(--ink); font-weight: 650; display: block; }
.today .headline { font-size: 1.3rem; font-weight: 700; line-height: 1.3; margin-top: 16px; font-variation-settings: "wdth" 92; }
.mini-toc { list-style: none; margin: 14px 0 0; padding: 0; font-size: .92rem; }
.mini-toc li { display: grid; grid-template-columns: 18px 1fr; padding: 4px 0; }
.mini-toc li::before { content: "§"; color: var(--stamp); font-weight: 700; }
.mini-toc .more { color: var(--stamp); font-weight: 600; }
.mini-toc .more::before { content: ""; }

/* ---------- részletes nézet ---------- */
.back { display: inline-block; text-decoration: none; color: var(--stamp); font-weight: 600; font-size: .92rem; margin-bottom: 14px; }
.issue-head { display: flex; align-items: flex-end; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.issue-head .n { font-weight: 800; font-size: 6rem; line-height: .78; letter-spacing: -.03em; font-variation-settings: "wdth" 62; color: var(--stamp); }
.issue-head .meta { font-size: .88rem; color: var(--ink-2); line-height: 1.4; padding-bottom: 6px; }
.issue-head .meta b { color: var(--ink); display: block; font-size: 1rem; }
.lede { font-size: 1.4rem; line-height: 1.3; font-weight: 700; margin: 18px 0 8px; font-variation-settings: "wdth" 90; max-width: 34ch; }
.section { margin-top: 30px; }
.section > h2 { font-size: 1.15rem; font-weight: 750; margin: 0 0 10px; font-variation-settings: "wdth" 80; display: flex; align-items: baseline; gap: 8px; }
.section > h2 small { font-weight: 500; font-size: .85rem; color: var(--ink-2); }
.sheet-block { background: var(--sheet); border-radius: var(--r); padding: 4px 16px; }

.toc { list-style: none; margin: 0; padding: 0; }
.toc li { display: grid; grid-template-columns: 22px 1fr; gap: 2px; padding: 14px 0; border-top: 1px solid var(--rule); }
.toc li:first-child { border-top: 0; }
.toc .para { font: 700 1.1rem/1.3 var(--serif); font-style: italic; color: var(--ink-2); }
.toc li.major .para { color: var(--stamp); }
.toc .ref { display: flex; justify-content: space-between; gap: 10px; font-size: .82rem; color: var(--ink-2); }
.toc .ref b { color: var(--ink); font-weight: 650; }
.toc .t { font-weight: 650; margin: 2px 0 3px; line-height: 1.35; }
.toc .desc { margin: 0; font-size: .95rem; max-width: 62ch; }
.toc .who { margin: 5px 0 0; font-size: .82rem; color: var(--ink-2); }
.toc li.major .t::after { content: "jelentős"; margin-left: 8px; font-size: .7rem; font-weight: 650; color: var(--stamp); background: var(--stamp-wash); padding: 1px 6px; border-radius: 3px; vertical-align: 2px; }

.points { margin: 0; padding: 6px 0 6px 20px; }
.points li { margin: 6px 0; padding-left: 4px; }
.points li::marker { color: var(--stamp); }
.prose { margin: 0; padding: 12px 0; max-width: 64ch; }

.actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 12px; }
.disclaimer { font-size: .8rem; color: var(--ink-2); max-width: 60ch; }

/* ---------- gombok ---------- */
.btn {
  font: 600 .93rem var(--sans); padding: 11px 16px; border-radius: var(--r); cursor: pointer; text-decoration: none;
  display: inline-block; border: 1.5px solid var(--rule); background: var(--sheet); color: var(--ink);
}
.btn:hover { border-color: var(--ink-2); }
.btn.primary { background: var(--stamp); border-color: var(--stamp); color: #fff; }
@media (prefers-color-scheme: dark) { .btn.primary { color: #0F1115; } }
.textbtn { background: none; border: 0; padding: 6px 0; font: 600 .92rem var(--sans); color: var(--stamp); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.loadmore { width: 100%; margin-top: 12px; }

/* ---------- Ígéret-figyelő: pecsétek ---------- */
.intro { color: var(--ink-2); max-width: 60ch; margin: 0 0 16px; }
.seg { display: inline-flex; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); padding: 3px; margin-bottom: 14px; }
.seg button { font: 600 .85rem var(--sans); border: 0; background: none; color: var(--ink-2); padding: 8px 12px; border-radius: 4px; cursor: pointer; }
.seg button.on { background: var(--ink); color: var(--sheet); }

.hit { background: var(--sheet); border-radius: var(--r); padding: 18px 16px 16px; margin-bottom: 10px; position: relative; }
.section .hit { border: 1px solid var(--rule); }
.hit-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.hit-top .hit-issue { margin: 0; }
.stamp {
  display: inline-block; transform: rotate(-4deg); margin-left: auto;
  font-weight: 800; font-size: .82rem; font-variation-settings: "wdth" 75; letter-spacing: .02em;
  padding: 3px 9px; border: 2.5px solid currentColor; border-radius: 4px; opacity: .92;
  mix-blend-mode: multiply;
}
@media (prefers-color-scheme: dark) { .stamp { mix-blend-mode: normal; } }
.hit.contra .stamp { color: var(--red); }
.hit.fulfil .stamp { color: var(--green); }
.hit-issue { font-size: .82rem; font-weight: 600; color: var(--stamp); text-decoration: none; }
.said { font: italic 400 1.12rem/1.4 var(--serif); margin: 0 0 4px; }
.said::before { content: "„"; }
.said::after { content: "”"; }
.attr { font-size: .82rem; color: var(--ink-2); margin: 0; }
.attr a { color: var(--stamp); }
.vs { display: grid; grid-template-columns: 22px 1fr; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--rule); }
.vs .para { font: italic 700 1.1rem/1.2 var(--serif); color: var(--stamp); }
.vs .law b { display: block; font-weight: 650; }
.vs .law span { font-size: .85rem; color: var(--ink-2); }
.why { margin: 10px 0 0; font-size: .95rem; max-width: 62ch; }
.quote { margin: 10px 0 0; padding: 2px 0 2px 12px; border-left: 3px solid var(--rule); font: italic 400 .92rem/1.45 var(--serif); color: var(--ink-2); }
.conf { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .78rem; color: var(--ink-2); }
.bars { display: inline-flex; gap: 2px; }
.bars i { width: 14px; height: 5px; border-radius: 1px; background: var(--rule); }
.bars i.on { background: var(--ink-2); }

.plist { list-style: none; margin: 0; padding: 0; }
.prom { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 14px 0; border-top: 1px solid var(--rule); }
.prom:first-child { border-top: 0; }
.prom.off .said, .prom.off .attr { opacity: .45; }
.prom .said { margin-right: 0; font-size: 1.02rem; }
.prom .note { font-size: .78rem; color: var(--ink-2); margin: 4px 0 0; }
.prom-act { display: flex; gap: 6px; align-items: flex-start; }
.switch { position: relative; width: 42px; height: 24px; border-radius: 12px; border: 0; background: var(--rule); cursor: pointer; padding: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--sheet); transition: transform .15s; }
.switch[aria-checked="true"] { background: var(--stamp); }
.switch[aria-checked="true"]::after { transform: translateX(18px); }
.icon-del { width: 30px; height: 24px; border: 0; background: none; color: var(--ink-2); cursor: pointer; border-radius: 4px; }
.icon-del:hover { color: var(--red); }
.catag { font-size: .72rem; font-weight: 650; color: var(--stamp); background: var(--stamp-wash); padding: 1px 6px; border-radius: 3px; margin-right: 6px; }

.addp { margin: 6px 0 14px; }
.addp summary { cursor: pointer; color: var(--stamp); font-weight: 650; padding: 8px 0; list-style: none; }
.addp summary::-webkit-details-marker { display: none; }
.addp summary::before { content: "+ "; }
.addp[open] summary::before { content: "– "; }
#pform { display: grid; gap: 10px; padding-bottom: 10px; }
#pform label { display: grid; gap: 4px; font-size: .82rem; font-weight: 600; color: var(--ink-2); }
#pform textarea, #pform input, #pform select {
  font: inherit; font-weight: 400; color: var(--ink); padding: 10px 12px; border-radius: var(--r);
  border: 1px solid var(--rule); background: var(--paper); width: 100%;
}
#pform textarea { font-family: var(--serif); font-style: italic; font-size: 1.05rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- üres és töltő állapot ---------- */
.empty { padding: 36px 8px; color: var(--ink-2); max-width: 46ch; }
.empty b { color: var(--ink); display: block; font-size: 1.05rem; margin-bottom: 4px; }
.skel { height: 96px; border-radius: var(--r); background: var(--sheet); margin-bottom: 8px; position: relative; overflow: hidden; }
.skel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--paper), transparent); animation: sk 1.3s infinite; transform: translateX(-100%); }
@keyframes sk { to { transform: translateX(100%); } }

/* ---------- párbeszédablak, értesítés-sáv ---------- */
dialog { border: 0; border-radius: 10px; padding: 0; max-width: 440px; width: calc(100% - 24px); background: var(--sheet); color: var(--ink); }
dialog::backdrop { background: rgba(15,17,21,.5); }
.sheet { padding: 22px 20px 18px; }
.sheet h2 { margin: 0 0 6px; font-size: 1.35rem; font-weight: 750; font-variation-settings: "wdth" 80; }
.sheet h3 { margin: 20px 0 4px; font-size: 1rem; font-weight: 700; }
.btnrow { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 4px; }
.hint { font-size: .86rem; background: var(--stamp-wash); padding: 10px 12px; border-radius: var(--r); }
code { display: block; padding: 8px 10px; background: var(--paper); border-radius: var(--r); word-break: break-all; font-size: .85rem; }

#toast {
  position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); transform: translate(-50%, 16px);
  background: var(--ink); color: var(--sheet); padding: 11px 18px; border-radius: var(--r); font-size: .9rem; font-weight: 500;
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s; max-width: 90vw; z-index: 20;
}
#toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* az egyetlen szándékos mozgás: a pecsét „rányomása” */
@keyframes press { from { transform: rotate(-4deg) scale(1.6); opacity: 0; } 70% { opacity: .95; } to { transform: rotate(-4deg) scale(1); opacity: .92; } }
.hit .stamp.press { animation: press .35s cubic-bezier(.2,.9,.3,1.2) both; }
@media (prefers-reduced-motion: reduce) { .hit .stamp.press, .skel::after { animation: none; } }

@media (max-width: 420px) {
  .entry { grid-template-columns: 70px 1fr; gap: 12px; padding: 16px 12px; }
  .num .n { font-size: 2.2rem; }
  .today .n { font-size: 4.4rem; }
  .issue-head .n { font-size: 5rem; }
}

/* ===== v3: szűrő, megosztás, naptár, állapot, idővonal, javaslatok ===== */
.tabs { gap: 20px; }
.tabcount { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px;
  border-radius: 9px; background: #fff; color: var(--stamp); font-size: .72rem; font-weight: 750; vertical-align: 1px; }
@media (prefers-color-scheme: dark) { .tabcount { color: #1B2350; } }

.chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 6px; }
.chips button { font: 600 .84rem var(--sans); padding: 6px 12px; border-radius: 99px; border: 1px solid var(--rule);
  background: var(--sheet); color: var(--ink-2); cursor: pointer; }
.chips button.on { background: var(--stamp); border-color: var(--stamp); color: #fff; }
@media (prefers-color-scheme: dark) { .chips button.on { color: #0F1115; } }

.topline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.topline .back { margin: 0; }
.sharebtn { display: inline-flex; align-items: center; gap: 6px; font: 600 .82rem var(--sans); color: var(--stamp);
  background: none; border: 1px solid transparent; padding: 5px 8px; border-radius: 4px; cursor: pointer; }
.sharebtn:hover { border-color: var(--rule); background: var(--sheet); }
.item-actions { display: flex; gap: 6px; align-items: center; margin: 6px 0 0 -8px; }
.minilink { font: 600 .82rem var(--sans); color: var(--stamp); text-decoration: none; padding: 5px 8px; border-radius: 4px; }
.minilink:hover { background: var(--stamp-wash); }
.hit-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; }
.hit-foot .conf { margin: 0; }
.focus { animation: flash 2s ease-out; }
@keyframes flash { 0%, 30% { background: var(--stamp-wash); } 100% { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .focus { animation: none; outline: 2px solid var(--stamp); } }

.vb { display: inline-block; font-size: .72rem; font-weight: 650; padding: 1px 6px; border-radius: 3px; margin-left: 4px;
  color: var(--ink-2); background: var(--paper); vertical-align: 1px; }
.vb.ok { color: var(--green); background: color-mix(in srgb, var(--green) 12%, transparent); }
.said.paraphrase { font-style: normal; font-family: var(--sans); font-weight: 600; font-size: 1.02rem; }
.said.paraphrase::before, .said.paraphrase::after { content: ""; }
.small { font-size: .85rem; }

/* naptár */
.cal-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; }
.check { display: inline-flex; gap: 6px; align-items: center; font-size: .9rem; font-weight: 600; color: var(--ink-2); margin-left: 4px; }
.check input { accent-color: var(--stamp); width: 18px; height: 18px; }
.day { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--rule); }
.day.past { opacity: .55; }
.day-date { text-align: center; }
.day-date .dn { display: block; font-weight: 800; font-size: 2.3rem; line-height: .95; font-variation-settings: "wdth" 62; color: var(--stamp); }
.day-date .dm { display: block; font-weight: 650; font-size: .85rem; }
.day-date .dw { display: block; font-size: .75rem; color: var(--ink-2); }
.day.is-today .day-date .dw { color: var(--stamp); font-weight: 700; }
.day-items { list-style: none; margin: 0; padding: 0; }
.day-items li { background: var(--sheet); border-radius: var(--r); padding: 10px 12px; margin-bottom: 6px; border-left: 3px solid var(--rule); }
.day-items li.major { border-left-color: var(--stamp); }
.day-items a { text-decoration: none; display: block; }
.day-items a b { display: block; font-size: .82rem; font-weight: 650; color: var(--ink-2); }
.day-items a span { font-weight: 600; line-height: 1.35; }
.day-items small { display: block; margin-top: 3px; color: var(--ink-2); }

/* ígéretek: állapotsáv */
.sbar { display: flex; height: 12px; border-radius: 3px; overflow: hidden; gap: 2px; margin: 4px 0 8px; }
.sbar i { display: block; min-width: 6px; }
.slegend { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 14px; padding: 0; font-size: .82rem; color: var(--ink-2); }
.slegend li { display: inline-flex; align-items: center; gap: 5px; }
.slegend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.slegend b { color: var(--ink); }
.s-ok { background: var(--green); } .s-part { background: color-mix(in srgb, var(--green) 50%, var(--sheet)); }
.s-mix { background: #B7791F; } .s-contra { background: var(--red); }
.s-late { background: color-mix(in srgb, var(--red) 45%, var(--sheet)); } .s-none { background: var(--rule); }
.schip { font-size: .74rem; font-weight: 700; padding: 2px 8px; border-radius: 3px; white-space: nowrap; color: #fff; }
.schip.s-none { color: var(--ink-2); } .schip.s-part, .schip.s-late { color: var(--ink); }
.seg em { font-style: normal; color: var(--red); margin-left: 2px; }
.seg button.on em { color: inherit; }

.prom { align-items: start; }
.prom-link { text-decoration: none; display: block; }
.prom-link:hover .said { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prom-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.evn { font-size: .74rem; color: var(--ink-2); }
.inactive { margin: 12px 0; }
.inactive summary { cursor: pointer; color: var(--ink-2); font-weight: 600; padding: 6px 0; }
.formhint { font-size: .82rem; color: var(--ink-2); margin: -2px 0 2px; }

/* ígéret részletes */
.pdetail { background: var(--sheet); border-radius: var(--r); padding: 20px 18px; border-left: 4px solid var(--stamp); }
.said.big { font-size: 1.45rem; line-height: 1.35; }
.sum { font-size: .92rem; margin: 10px 0 0; }
.pstatus { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 14px 16px; border-radius: var(--r);
  background: var(--sheet); border-left: 6px solid; }
.pstatus.s-ok, .pstatus.s-part, .pstatus.s-mix, .pstatus.s-contra, .pstatus.s-late, .pstatus.s-none { background: var(--sheet); }
.pstatus.s-ok { border-color: var(--green); } .pstatus.s-part { border-color: color-mix(in srgb, var(--green) 50%, var(--sheet)); }
.pstatus.s-mix { border-color: #B7791F; } .pstatus.s-contra { border-color: var(--red); }
.pstatus.s-late { border-color: color-mix(in srgb, var(--red) 45%, var(--sheet)); } .pstatus.s-none { border-color: var(--rule); }
.pstatus b { font-size: 1.1rem; text-transform: none; }
.pstatus p { margin: 2px 0 0; font-size: .88rem; color: var(--ink-2); }
.due { text-align: right; }
.due span { display: block; font-size: .78rem; color: var(--ink-2); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 4px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 86px; top: 8px; bottom: 8px; width: 2px; background: var(--rule); }
.timeline li { display: grid; grid-template-columns: 74px 1fr; gap: 24px; padding: 8px 0; position: relative; }
.timeline li::after { content: ""; position: absolute; left: 77px; top: 13px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--sheet); border: 2.5px solid var(--ink-2); }
.timeline li.contra::after { border-color: var(--red); background: var(--red); }
.timeline li.fulfil::after { border-color: var(--green); background: var(--green); }
.timeline li.tl-start::after { border-color: var(--stamp); }
.timeline li.tl-due::after { border-style: dashed; }
.timeline li.tl-due.late b { color: var(--red); }
.tl-date { font-size: .82rem; font-weight: 650; color: var(--ink-2); text-align: right; padding-top: 2px; }
.timeline p { margin: 2px 0 0; font-size: .9rem; }
.timeline a { color: var(--stamp); font-weight: 600; }
.peditform { display: grid; gap: 10px; padding: 14px 16px; }
.peditform label { display: grid; gap: 4px; font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.peditform input, .peditform select { font: inherit; color: var(--ink); padding: 10px 12px; border-radius: var(--r); border: 1px solid var(--rule); background: var(--paper); }
.btn.danger { color: var(--red); }

/* javaslatok */
.sugg { background: var(--sheet); border-radius: var(--r); padding: 16px; margin-bottom: 10px; border-left: 4px solid var(--stamp); }
.sugg .sum .catag { margin-right: 8px; }
.sugg .btnrow { margin-bottom: 0; }
#pform { padding: 14px 16px; }
#pform input[type=date] { min-height: 42px; }
.seg em.redpill { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--red); color: #fff; font-size: .72rem; font-weight: 750; margin-left: 4px; }
.seg button.on em.redpill { color: #fff; }

/* „Miért született?” – a hivatalos indoklás a jogszabálynál */
.whybox { margin: 10px 0 2px; padding: 10px 12px; background: var(--stamp-wash); border-radius: var(--r); font-size: .92rem; }
.whybox p { margin: 0 0 6px; }
.whybox .whybox-h { font-weight: 700; color: var(--stamp); margin-bottom: 4px; }
.whybox a { font-weight: 600; color: var(--stamp); text-decoration: none; }
.whybox a:hover { text-decoration: underline; }
.who a { color: var(--stamp); font-weight: 600; }
