.fg-kalk { max-width: 760px; margin: 1.5rem auto; font-size: 1rem; line-height: 1.5; }
.fg-kalk__sor { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .75rem; align-items: end;
  border: 1px solid #c9ccd1; border-radius: 8px; padding: 1rem; margin: 0 0 1rem; }
.fg-kalk__sor legend { font-weight: 600; padding: 0 .25rem; }
.fg-kalk__valtozo { display: contents; }
.fg-kalk__mezo { display: flex; flex-direction: column; gap: .25rem; }
.fg-kalk__sugo { font-size: .875rem; color: #4b5059; line-height: 1.4; }
.fg-kalk__mezo input, .fg-kalk__mezo select { min-height: 44px; padding: .4rem .6rem; font: inherit; border: 1px solid #8a8f98; border-radius: 6px; }
.fg-kalk button { min-height: 44px; padding: .5rem 1rem; font: inherit; border-radius: 6px; cursor: pointer; }
.fg-kalk__szamol { background: #3F6212; color: #fff; border: 0; }
.fg-kalk__uj, .fg-kalk__torol { background: #fff; color: #3F6212; border: 1px solid #3F6212; }
.fg-kalk__gombok { display: flex; gap: .75rem; flex-wrap: wrap; }
.fg-kalk__hiba { margin: 1rem 0; padding: .75rem 1rem; background: #fdecea; color: #7a1a12; border-radius: 6px; }
.fg-kalk__minta { margin: 1rem 0 .5rem; padding: .5rem .75rem; background: #fff4ce; color: #5c4400; border-radius: 6px; }
.fg-kalk__tabla { width: 100%; border-collapse: collapse; margin: .5rem 0; }
.fg-kalk__tabla th, .fg-kalk__tabla td { text-align: left; padding: .4rem .5rem; border-bottom: 1px solid #e1e3e6; }
.fg-kalk__tabla td:last-child, .fg-kalk__tabla th:last-child { text-align: right; white-space: nowrap; }
.fg-kalk__sav { font-size: 1.15rem; font-weight: 700; margin: 1rem 0; }
.fg-kalk__szerkezetek { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .75rem;
  border: 0; padding: 0; margin: 0; }
.fg-kalk__szerkezetek legend { padding: 0; margin-bottom: .25rem; }
.fg-kalk__szerkezet { display: flex; flex-direction: column; gap: .4rem; border: 2px solid #c9ccd1; border-radius: 8px; padding: .5rem; cursor: pointer; }
.fg-kalk__szerkezet:has(input:checked) { border-color: #3F6212; background: #F2F6E9; }
.fg-kalk__szerkezet input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fg-kalk__szerkezet:focus-within { outline: 3px solid #3F6212; outline-offset: 2px; }
.fg-kalk__kep { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; background: #f1f2f4; }
.fg-kalk__kep--ures { border: 1px dashed #8a8f98; }
.fg-kalk__szerkezet-nev { font-size: .95rem; }
.fg-kalk__tabla-doboz { max-width: 100%; overflow-x: auto; }
@media (max-width: 480px) {
  .fg-kalk__tabla { font-size: .9rem; }
  .fg-kalk__kell { display: none; }
  .fg-kalk__tabla td[data-fg="munka"] { white-space: normal; }
}
.fg-kalk__ajanlat { display: grid; gap: .75rem; margin: 1.5rem 0; padding: 1rem; border: 1px solid #c9ccd1; border-radius: 8px; }
.fg-kalk__ajanlat h3 { margin: 0; font-size: 1.1rem; }
.fg-kalk__ajanlat textarea { min-height: 88px; padding: .4rem .6rem; font: inherit; border: 1px solid #8a8f98; border-radius: 6px; }
.fg-kalk__pipa { display: flex; gap: .5rem; align-items: flex-start; }
.fg-kalk__pipa input { width: 22px; height: 22px; margin-top: 2px; }
.fg-kalk__rejtett { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fg-kalk__visszajelzes:empty { display: none; }
.fg-kalk__visszajelzes { padding: .6rem .8rem; border-radius: 6px; background: #F2F6E9; }
.fg-kalk__visszajelzes[data-allapot="hiba"] { background: #fdecea; color: #7a1a12; }
.fg-kalk__visszajelzes[data-allapot="ok"] { background: #e6f4ea; color: #1e4620; }
