    :root{
      --gold:#85754e;
      --gold2:#6f623f;
    }


    html[data-theme="light"]{
      --soft:#f7f5f1;
      --ink:#10131a;
      --card:#ffffff;
      --muted:#6b7280;
      --border:#e8e2d6;
      --panelShadow: 0 10px 30px rgba(15,30,60,.06);
      --cardShadow: 0 10px 30px rgba(15,30,60,.08);
      --brandBg: rgba(255,255,255,.92);
      --heroA: rgba(133,117,78,.10);
      --heroB: rgba(133,117,78,.04);
      --tableHead: rgba(16,19,26,.03);
      --link: #1f6feb;
      --chartGrid: rgba(16,19,26,.10);
      --chartTick: rgba(16,19,26,.70);
      --chartLine: rgba(133,117,78,.95);
    }

    html[data-theme="dark"]{
      --soft:#0b0f14;
      --ink:#e8edf4;
      --card:#111826;
      --muted:#9aa4b2;
      --border:rgba(255,255,255,.10);
      --panelShadow: 0 16px 60px rgba(0,0,0,.35);
      --cardShadow: 0 16px 60px rgba(0,0,0,.35);
      --brandBg: rgba(10,14,20,.72);
      --heroA: rgba(133,117,78,.14);
      --heroB: rgba(133,117,78,.05);
      --tableHead: rgba(255,255,255,.04);
      --link: #7ab7ff;
      --chartGrid: rgba(255,255,255,.12);
      --chartTick: rgba(255,255,255,.72);
      --chartLine: rgba(199,182,134,.92);
    }

    body{
      background: var(--soft);
      color: var(--ink);
    }

    a{
      color: var(--link);
    }

    a:hover{
      color: var(--link);
      opacity:.9;
    }

    .brandbar{
      position: sticky;
      top: 0;
      z-index: 1020;
      background: var(--brandBg);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border);
      overflow: visible;
      padding-top: 0;
    }

    .brand-title{
      color: var(--ink);
      letter-spacing: .2px;
      white-space: nowrap;
    }

    .brand-pill{
      background: rgba(133,117,78,.10);
      border: 1px solid rgba(133,117,78,.28);
      color: var(--gold);
      font-weight: 700;
    }

    .hero{
      background: linear-gradient(180deg, var(--heroA), var(--heroB));
      border: 1px solid var(--border);
    }

    .btn-gold{
      background: var(--gold);
      border-color: var(--gold);
      color:#fff;
    }

    .btn-gold:hover{
      background: var(--gold2);
      border-color: var(--gold2);
      color:#fff;
    }

    .btn-outline-secondary{
      border-color: var(--border) !important;
      color: var(--ink) !important;
    }

    .btn-outline-secondary:hover{
      background: rgba(255,255,255,.06) !important;
    }

    .card{
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 18px;
      box-shadow: var(--cardShadow);
    }

    .card.border-soft{
      box-shadow: none;
    }

    .badge-soft{
      background: rgba(133,117,78,.10);
      border: 1px solid rgba(133,117,78,.28);
      color: var(--gold);
      font-weight: 700;
    }

    .mono{
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    }

    .text-muted2{
      color: var(--muted) !important;
    }

    .small-note{
      font-size: .9rem;
      color: var(--muted);
    }

    .form-control,
    .form-select{
      background: rgba(255,255,255,.03);
      border-color: var(--border);
      color: var(--ink);
    }

    html[data-theme="light"] .form-control,
    html[data-theme="light"] .form-select{
      background: #fff;
    }

    .form-control::placeholder{
      color: rgba(154,164,178,.9);
    }

    html[data-theme="light"] .form-control::placeholder{
      color: rgba(107,114,128,.9);
    }

    .form-control:focus,
    .form-select:focus{
      border-color: rgba(133,117,78,.6);
      box-shadow: 0 0 0 .25rem rgba(133,117,78,.18);
      color: var(--ink);
      background: rgba(255,255,255,.05);
    }

    html[data-theme="light"] .form-control:focus,
    html[data-theme="light"] .form-select:focus{
      background:#fff;
    }

    .table{
      --bs-table-bg: transparent;
      --bs-table-color: var(--ink);
      --bs-table-border-color: var(--border);
    }

    .table thead th{
      background: var(--tableHead);
      color: var(--ink);
      border-bottom-color: var(--border);
      white-space: nowrap;
    }

    .table tbody td{
      border-top-color: var(--border);
    }

    .section-wrap{
      margin: 1.25rem 0;
    }

    .section-panel{
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 18px;
      box-shadow: var(--panelShadow);
    }

    .modal-content{
      background: var(--card);
      color: var(--ink);
      border: 1px solid var(--border);
      border-radius: 18px;
      box-shadow: 0 18px 60px rgba(0,0,0,.45);
    }

    .modal-header{
      border-bottom: 1px solid var(--border);
    }

    .modal-footer{
      border-top: 1px solid var(--border);
    }

    .modal-title{
      color: var(--gold);
      font-weight: 800;
    }

    .alert-light{
      background: rgba(255,255,255,.04);
      color: var(--ink);
    }

   .ico{
      color: var(--gold);
      margin-right: .5rem;
      width: 1.25rem;
      text-align: center;
    }

    .chart-wrap{
      background: linear-gradient(180deg, rgba(133,117,78,.10), rgba(133,117,78,.03));
      border: 1px solid var(--border);
      border-radius: 18px;
      box-shadow: var(--panelShadow);
    }

    canvas{
      width:100% !important;
      height: 260px !important;
    }

    @media (max-width: 575.98px){
      canvas{
        height: 220px !important;
      }
    }

    .chip{
      display:inline-flex;
      align-items:center;
      gap:.45rem;
      padding:.35rem .6rem;
      border-radius:999px;
      border:1px solid var(--border);
      background: rgba(255,255,255,.03);
      color: var(--ink);
      font-size:.9rem;
      white-space:nowrap;
    }

    html[data-images="off"] img:not(.nohide){
      display:none !important;
    }

    html[data-images="off"] .img-replaced{
      display:block !important;
    }

    .img-replaced{
      display:none;
      border:1px dashed rgba(133,117,78,.35);
      background: rgba(133,117,78,.06);
      color: var(--muted);
      border-radius: 12px;
      padding: .6rem .75rem;
      font-size:.9rem;
    }

    .search-result-card{
      border: 1px solid var(--border);
      border-radius: 16px;
      background: rgba(255,255,255,.03);
      padding: 1rem 1.1rem;
    }

    .search-result-title{
      font-weight: 700;
      color: var(--ink);
      margin-bottom: .25rem;
    }

    .search-result-meta{
      color: var(--muted);
      font-size: .92rem;
      margin-bottom: .55rem;
    }

    .search-result-actions{
      display:flex;
      flex-wrap:wrap;
      gap:.6rem;
      align-items:center;
    }

    .search-result-empty{
      border: 1px dashed rgba(133,117,78,.35);
      background: rgba(133,117,78,.06);
      color: var(--muted);
      border-radius: 14px;
      padding: 1rem 1.1rem;
    }

    .publication-doc-item,
    .publication-subitem,
    .card,
    .btn,
    .publication-download,
    .publication-inline-download{
      transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
    }

    .publication-download,
    .publication-inline-download{
      color: var(--link) !important;
    }

    .publication-doc-item:hover,
    .publication-subitem:hover{
      background: rgba(133,117,78,.08);
      border-color: rgba(133,117,78,.32);
    }

    .publication-doc-item:hover .publication-doc-title,
    .publication-subitem:hover .publication-subtitle{
      color: var(--ink);
    }

    html[data-theme="dark"] .publication-doc-item,
    html[data-theme="dark"] .publication-subitem{
      background: rgba(255,255,255,.03);
      border-color: rgba(255,255,255,.10);
    }

    html[data-theme="dark"] .publication-doc-item:hover,
    html[data-theme="dark"] .publication-subitem:hover{
      background: rgba(255,255,255,.08);
      border-color: rgba(255,255,255,.20);
    }

    html[data-theme="dark"] .publication-doc-title,
    html[data-theme="dark"] .publication-subtitle,
    html[data-theme="dark"] #dokumentumtar .card .fw-semibold,
    html[data-theme="dark"] #vezetes .card .fw-semibold,
    html[data-theme="dark"] #gyakori-adatok td,
    html[data-theme="dark"] #beszerzesek td,
    html[data-theme="dark"] #szerzodesek td,
    html[data-theme="dark"] .search-result-title{
      color: var(--ink);
    }

    html[data-theme="dark"] .publication-download,
    html[data-theme="dark"] .publication-inline-download,
    html[data-theme="dark"] #dokumentumtar a:not(.btn-gold):not(.btn-fovaros),
    html[data-theme="dark"] #vezetes a:not(.btn-gold):not(.btn-fovaros),
    html[data-theme="dark"] #gyakori-adatok a:not(.btn-gold):not(.btn-fovaros),
    html[data-theme="dark"] #beszerzesek a:not(.btn-gold):not(.btn-fovaros),
    html[data-theme="dark"] #szerzodesek a:not(.btn-gold):not(.btn-fovaros){
      color: #9ecbff !important;
    }

    html[data-theme="dark"] .publication-download:hover,
    html[data-theme="dark"] .publication-inline-download:hover,
    html[data-theme="dark"] #dokumentumtar a:not(.btn-gold):not(.btn-fovaros):hover,
    html[data-theme="dark"] #vezetes a:not(.btn-gold):not(.btn-fovaros):hover,
    html[data-theme="dark"] #gyakori-adatok a:not(.btn-gold):not(.btn-fovaros):hover,
    html[data-theme="dark"] #beszerzesek a:not(.btn-gold):not(.btn-fovaros):hover,
    html[data-theme="dark"] #szerzodesek a:not(.btn-gold):not(.btn-fovaros):hover{
      color: #cfe4ff !important;
      opacity: 1;
    }

    html[data-theme="dark"] .btn-outline-secondary{
      background: rgba(255,255,255,.02) !important;
      color: var(--ink) !important;
      border-color: rgba(255,255,255,.14) !important;
    }

    html[data-theme="dark"] .btn-outline-secondary:hover,
    html[data-theme="dark"] .btn-outline-secondary:focus{
      background: rgba(255,255,255,.10) !important;
      color: #ffffff !important;
      border-color: rgba(255,255,255,.28) !important;
      box-shadow: none !important;
      opacity: 1;
    }

    html[data-theme="dark"] #dokumentumtar .btn-outline-secondary,
    html[data-theme="dark"] #vezetes .btn-outline-secondary{
      background: rgba(255,255,255,.04) !important;
    }

    html[data-theme="dark"] .search-result-card{
      background: rgba(255,255,255,.03);
      border-color: rgba(255,255,255,.10);
    }

    html[data-theme="dark"] .search-result-card:hover{
      background: rgba(255,255,255,.06);
      border-color: rgba(255,255,255,.18);
    }

    html[data-theme="dark"] .search-result-meta,
    html[data-theme="dark"] .small-note,
    html[data-theme="dark"] .text-muted2{
      color: var(--muted) !important;
    }

    html[data-theme="dark"] .table tbody tr:hover td,
    html[data-theme="dark"] #gyakori-adatok tbody tr:hover td,
    html[data-theme="dark"] #beszerzesek tbody tr:hover td,
    html[data-theme="dark"] #szerzodesek tbody tr:hover td{
      background: rgba(255,255,255,.04);
    }

    .visually-hidden-focusable:not(:focus):not(:focus-within){
      position:absolute!important;
      width:1px!important;
      height:1px!important;
      padding:0!important;
      margin:-1px!important;
      overflow:hidden!important;
      clip:rect(0,0,0,0)!important;
      white-space:nowrap!important;
      border:0!important;
    }

    .skip-links{
      position:absolute;
      top:0;
      left:0;
      z-index:2000;
    }

    .skip-links a{
      position:absolute;
      left:-9999px;
      top:0;
      background:#111;
      color:#fff !important;
      padding:.85rem 1rem;
      border-radius:0 0 12px 0;
      text-decoration:none !important;
      font-weight:700;
      box-shadow:0 8px 24px rgba(0,0,0,.25);
    }

    .skip-links a:focus{
      left:0;
      top:0;
    }

    :focus-visible{
      outline:3px solid #c99700;
      outline-offset:3px;
      box-shadow:none !important;
    }

    .a11y-toolbar-btn{
      min-width:44px;
      min-height:44px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
    }

    .a11y-floating-trigger{
      position: fixed;
      right: 20px;
      bottom: 20px;
      z-index: 2100;
      width: 64px;
      height: 64px;
      border-radius: 999px;
      border: 2px solid #ffffff;
      background: #0b5fff;
      color: #ffffff;
      box-shadow: 0 14px 36px rgba(0,0,0,.28);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 1.55rem;
    }

    .a11y-floating-trigger:hover,
    .a11y-floating-trigger:focus-visible{
      background: #0047d6;
      color: #ffffff;
      border-color: #ffffff;
      opacity: 1;
      transform: translateY(-1px);
    }

    .a11y-floating-tooltip{
      position: fixed;
      right: 95px;
      bottom: 31px;
      z-index: 2101;
      background: rgba(0,0,0,.92);
      color: #ffffff;
      padding: .6rem .8rem;
      border-radius: 12px;
      font-size: .95rem;
      font-weight: 700;
      box-shadow: 0 10px 26px rgba(0,0,0,.28);
      opacity: 0;
      pointer-events: none;
      transform: translateY(4px);
      transition: opacity .18s ease, transform .18s ease;
      white-space: nowrap;
    }

    .a11y-floating-wrap:hover .a11y-floating-tooltip,
    .a11y-floating-wrap:focus-within .a11y-floating-tooltip{
      opacity: 1;
      transform: translateY(0);
    }

    @media (max-width: 575.98px){
      .a11y-floating-trigger{
        width: 58px;
        height: 58px;
        right: 14px;
        bottom: 14px;
        font-size: 1.4rem;
      }

      .a11y-floating-tooltip{
        right: 78px;
        bottom: 24px;
        max-width: 180px;
        white-space: normal;
      }
    }

    .a11y-offcanvas{
      background: var(--card);
      color: var(--ink);
      border-left:1px solid var(--border);
    }

    .a11y-offcanvas .offcanvas-header{
      border-bottom:1px solid var(--border);
    }

    .a11y-control-card{
      border:1px solid var(--border);
      border-radius:16px;
      background: rgba(255,255,255,.03);
      padding:1rem;
    }

    .a11y-stepper{
      display:flex;
      gap:.5rem;
      flex-wrap:wrap;
    }

    .a11y-stepper .btn{
      min-width:44px;
    }

    .a11y-status{
      border:1px dashed rgba(133,117,78,.35);
      background: rgba(133,117,78,.08);
      border-radius:14px;
      padding:.9rem 1rem;
      color:var(--ink);
    }

    html[data-a11y-font-size="lg"]{
      font-size: 112.5%;
    }

    html[data-a11y-font-size="xl"]{
      font-size: 125%;
    }

    html[data-a11y-readable-font="on"] body,
    html[data-a11y-readable-font="on"] button,
    html[data-a11y-readable-font="on"] input,
    html[data-a11y-readable-font="on"] select,
    html[data-a11y-readable-font="on"] textarea{
      font-family: Arial, Helvetica, Verdana, sans-serif !important;
      letter-spacing:.01em;
    }

    html[data-a11y-underline="on"] a{
      text-decoration: underline !important;
      text-underline-offset: .18em;
      text-decoration-thickness: .12em;
    }

    html[data-a11y-grayscale="on"]{
      filter: grayscale(1);
    }

    html[data-a11y-spacing="wide"] body{
      line-height:1.8;
      word-spacing:.08em;
      letter-spacing:.01em;
    }

    html[data-a11y-spacing="wide"] p,
    html[data-a11y-spacing="wide"] li,
    html[data-a11y-spacing="wide"] td,
    html[data-a11y-spacing="wide"] th,
    html[data-a11y-spacing="wide"] label,
    html[data-a11y-spacing="wide"] .small-note,
    html[data-a11y-spacing="wide"] .text-muted2{
      line-height:1.8 !important;
    }

    html[data-a11y-contrast="high"]{
      --soft:#000000;
      --ink:#ffffff;
      --card:#000000;
      --muted:#f3f3f3;
      --border:#ffffff;
      --panelShadow:none;
      --cardShadow:none;
      --brandBg:#000000;
      --heroA:#000000;
      --heroB:#000000;
      --tableHead:#111111;
      --link:#00ffff;
      --chartGrid: rgba(255,255,255,.35);
      --chartTick: rgba(255,255,255,.96);
      --chartLine: rgba(255,255,255,.98);
    }

    html[data-a11y-contrast="high"] body{
      background:#000 !important;
      color:#fff !important;
    }

    html[data-a11y-contrast="high"] a{
      color:#00ffff !important;
    }

    html[data-a11y-contrast="high"] .btn-outline-secondary{
      background:#000 !important;
      color:#fff !important;
      border-color:#fff !important;
    }

    html[data-a11y-contrast="high"] .btn-outline-secondary:hover,
    html[data-a11y-contrast="high"] .btn-outline-secondary:focus{
      background:#fff !important;
      color:#000 !important;
      border-color:#fff !important;
    }

    html[data-a11y-contrast="high"] .btn-gold{
      background:#ffff00 !important;
      border-color:#ffff00 !important;
      color:#000 !important;
    }

    html[data-a11y-contrast="high"] .badge-soft,
    html[data-a11y-contrast="high"] .brand-pill{
      background:#000 !important;
      color:#fff !important;
      border-color:#fff !important;
    }

    html[data-a11y-contrast="high"] .section-panel,
    html[data-a11y-contrast="high"] .card,
    html[data-a11y-contrast="high"] .hero,
    html[data-a11y-contrast="high"] .chart-wrap,
    html[data-a11y-contrast="high"] .search-result-card,
    html[data-a11y-contrast="high"] .publication-doc-item,
    html[data-a11y-contrast="high"] .publication-subitem,
    html[data-a11y-contrast="high"] .modal-content,
    html[data-a11y-contrast="high"] .input-group-text,
    html[data-a11y-contrast="high"] .form-control,
    html[data-a11y-contrast="high"] .form-select{
      background:#000 !important;
      color:#fff !important;
      border-color:#fff !important;
      box-shadow:none !important;
    }

    html[data-a11y-contrast="high"] .text-muted2,
    html[data-a11y-contrast="high"] .small-note,
    html[data-a11y-contrast="high"] .search-result-meta{
      color:#fff !important;
    }

    html[data-a11y-contrast="high"] .table thead th,
    html[data-a11y-contrast="high"] .table tbody td{
      color:#fff !important;
      border-color:#fff !important;
      background:#000 !important;
    }

    html[data-a11y-contrast="high"] .publication-download,
    html[data-a11y-contrast="high"] .publication-inline-download{
      color:#00ffff !important;
    }

    html[data-a11y-contrast="high"] .btn-close{
      filter: invert(1) grayscale(0) brightness(2);
      opacity: 1 !important;
      background-size: 1.05rem;
    }

    html[data-a11y-contrast="high"] .btn-close:hover,
    html[data-a11y-contrast="high"] .btn-close:focus-visible{
      outline: 2px solid #00ffff;
      outline-offset: 2px;
      box-shadow: none !important;
    }

    .brandbar .brandwrap{
      position: relative;
      min-height: 52px;
    }

    .brandbar .brand-left{
      position: relative;
      padding-left: 128px;
      min-width: 0;
    }

.brandbar .brand-logo{
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100px;
  height: 100px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
  z-index: 1030;
  overflow: hidden;

  pointer-events: auto;   /* EZ A LÉNYEG */
  cursor: pointer;
}

.brandbar .brand-logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;

  cursor: pointer;
}

    .brandbar .actions-mobile .btn{
      padding: .35rem .55rem;
      line-height: 1;
    }

    @media (max-width: 575.98px){
      .brandbar .brandwrap{
        min-height: 50px;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: .5rem !important;
      }

      .brandbar .brand-left{
        padding-left: 104px;
        padding-top: 6px;
      }

      .brandbar .brand-logo{
        width: 90px;
        height: 90px;
        top: 0;
        transform: none;
      }

      .brandbar .brand-title{
        width: 100%;
        white-space: normal;
        line-height: 1.15;
      }

      .brandbar .brand-subrow{
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .5rem;
        padding-left: 104px;
        min-width: 0;
      }

      .brandbar .brand-subrow .brand-pill{
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
        max-width: 56vw;
      }
    }

    .publication-group + .publication-group{
      margin-top: 1.25rem;
    }

    .publication-group-title{
      color: var(--gold);
      font-weight: 800;
      font-size: 1.08rem;
      margin-bottom: .85rem;
    }

    .publication-doc-list,
    .publication-doc-sublist{
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .publication-doc-item,
    .publication-subitem{
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: .9rem 1rem;
      border: 1px solid var(--border);
      border-radius: 14px;
      background: rgba(255,255,255,.03);
    }

    .publication-doc-item + .publication-doc-item,
    .publication-subitem + .publication-subitem{
      margin-top: .75rem;
    }

    .publication-doc-title,
    .publication-subtitle{
      font-weight: 600;
      color: var(--ink);
    }

    .publication-download,
    .publication-inline-download{
      display: inline-flex;
      align-items: center;
      gap: .45rem;
      white-space: nowrap;
      font-weight: 600;
      text-decoration: none;
    }

    .publication-inline-download{
      margin-left: 1rem;
    }

    .publication-accordion .accordion-item{
      background: transparent;
      border: 1px solid var(--border);
      border-radius: 16px;
      overflow: hidden;
      box-shadow: none;
    }

    .publication-accordion .accordion-button{
      background: rgba(133,117,78,.08);
      color: var(--ink);
      font-weight: 700;
      box-shadow: none;
    }

    .publication-accordion .accordion-button:not(.collapsed){
      background: rgba(133,117,78,.12);
      color: var(--ink);
    }

    .publication-accordion .accordion-body{
      background: transparent;
    }

    @media (max-width: 767.98px){
      .publication-doc-item,
      .publication-subitem{
        flex-direction: column;
        align-items: flex-start;
      }

      .publication-inline-download{
        margin-left: 0;
        margin-top: .45rem;
      }
    }

    .chip-fovaros{
  background-color:#0b265f;
  color:#ffffff !important;
  border:1px solid #0b265f;
  font-weight:600;
}

.chip-fovaros:hover,
.chip-fovaros:focus,
.chip-fovaros:focus-visible{
  background-color:#091f4d;
  color:#ffffff !important;
  border-color:#091f4d;
  text-decoration:none;
  opacity:1;
}

.chip-fovaros i{
  color:#ffffff !important;
}

.btn-fovaros{
  background-color:#0b265f;
  color:#ffffff !important;
  border-color:#0b265f;
  font-weight:600;
}

.btn-fovaros:hover,
.btn-fovaros:focus,
.btn-fovaros:focus-visible{
  background-color:#091f4d;
  color:#ffffff !important;
  border-color:#091f4d;
  opacity:1;
}

.btn-fovaros i{
  color:#ffffff !important;
}

.hero-header .hero-main{
  max-width: 980px;
}

.hero-header .hero-title{
  color: var(--gold);
}

.hero-header .hero-lead{
  color: var(--ink);
  font-weight: 650;
  max-width: 920px;
}

.hero-header .hero-sublead{
  font-weight: 400;
}

.hero-header .hero-actions .btn{
  min-height: 52px;
}

.hero-header .hero-sidecard{
  box-shadow: var(--cardShadow);
}

.hero-header .hero-csv-card{
  box-shadow: none;
}

.hero-header .hero-sidecard .small .d-flex + .d-flex{
  margin-top: .35rem;
}

@media (min-width: 992px){
  .hero-header .hero-sidecard{
    position: sticky;
    top: 100px;
  }
}

@media (max-width: 991.98px){
  .hero-header .hero-main{
    max-width: 100%;
  }

  .hero-header .hero-lead{
    max-width: 100%;
  }
}

@media (max-width: 767.98px){
  .hero-header .hero-actions{
    display: grid !important;
    grid-template-columns: 1fr;
  }

  .hero-header .hero-actions .btn,
  .hero-header .hero-actions a.btn{
    width: 100%;
  }
}

html[data-theme="dark"] .chip-fovaros{
  background-color:#102d6d;
  border-color:#17387f;
  color:#ffffff !important;
}

html[data-theme="dark"] .chip-fovaros:hover,
html[data-theme="dark"] .chip-fovaros:focus,
html[data-theme="dark"] .chip-fovaros:focus-visible{
  background-color:#1a3d8c;
  border-color:#1a3d8c;
  color:#ffffff !important;
}

html[data-theme="dark"] .btn-fovaros{
  background-color:#102d6d;
  border-color:#17387f;
  color:#ffffff !important;
}

html[data-theme="dark"] .btn-fovaros:hover,
html[data-theme="dark"] .btn-fovaros:focus,
html[data-theme="dark"] .btn-fovaros:focus-visible{
  background-color:#1a3d8c;
  border-color:#1a3d8c;
  color:#ffffff !important;
}

html[data-a11y-contrast="high"] .chip-fovaros{
  background:#000 !important;
  color:#fff !important;
  border-color:#fff !important;
}

html[data-a11y-contrast="high"] .chip-fovaros:hover,
html[data-a11y-contrast="high"] .chip-fovaros:focus,
html[data-a11y-contrast="high"] .chip-fovaros:focus-visible{
  background:#fff !important;
  color:#000 !important;
  border-color:#fff !important;
}

html[data-a11y-contrast="high"] .chip-fovaros i{
  color: currentColor !important;
}

html[data-a11y-contrast="high"] .btn-fovaros{
  background:#000 !important;
  color:#fff !important;
  border-color:#fff !important;
}

html[data-a11y-contrast="high"] .btn-fovaros:hover,
html[data-a11y-contrast="high"] .btn-fovaros:focus,
html[data-a11y-contrast="high"] .btn-fovaros:focus-visible{
  background:#fff !important;
  color:#000 !important;
  border-color:#fff !important;
}

html[data-a11y-contrast="high"] .btn-fovaros i{
  color: currentColor !important;
}



#kozponti-kereso{
  margin-top: 2rem;
}

#kozponti-kereso .section-panel{
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(11,38,95,.14), transparent 30%),
    radial-gradient(circle at bottom left, rgba(133,117,78,.12), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(248,245,239,.96));
  border: 1px solid rgba(11,38,95,.16);
  box-shadow:
    0 20px 50px rgba(11,38,95,.10),
    0 8px 24px rgba(133,117,78,.08);
}

#kozponti-kereso .section-panel::before{
  content:"Kiemelt kereső";
  position:absolute;
  top:18px;
  right:18px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  padding:.42rem .82rem;
  border-radius:999px;
  background:#0b265f;
  color:#fff;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.02em;
  box-shadow:0 10px 24px rgba(11,38,95,.20);
}

#kozponti-kereso .section-panel::after{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:6px;
  background:linear-gradient(180deg, #0b265f 0%, var(--gold) 100%);
  border-radius:18px 0 0 18px;
}

#kozponti-kereso .kozponti-kereso-head{
  position: relative;
  z-index: 1;
  padding-right: 150px;
}

#kozponti-kereso h2{
  font-size:1.5rem;
  margin-bottom:.3rem;
}

#kozponti-kereso .kozponti-kereso-desc{
  max-width:780px;
  font-size:.98rem;
}

#kozponti-kereso .kozponti-kereso-badge{
  background: rgba(11,38,95,.08);
  border: 1px solid rgba(11,38,95,.18);
  color: #0b265f;
  font-weight: 700;
}

#kozponti-kereso .kozponti-kereso-form{
  position:relative;
  z-index:1;
}

#kozponti-kereso .input-group-text{
  background: rgba(11,38,95,.05) !important;
  border-color: rgba(11,38,95,.16) !important;
  color: #0b265f !important;
}

#kozponti-kereso .form-control,
#kozponti-kereso .form-select{
  min-height:58px;
  border-width:1px;
  border-color: rgba(11,38,95,.14);
  box-shadow: 0 10px 24px rgba(15,30,60,.05);
}

#kozponti-kereso .form-control{
  font-size:1.05rem;
}

#kozponti-kereso .form-control:focus,
#kozponti-kereso .form-select:focus{
  border-color: rgba(11,38,95,.42);
  box-shadow: 0 0 0 .25rem rgba(11,38,95,.10);
}

#kozponti-kereso .kozponti-kereso-submit{
  min-height:58px;
  min-width: 180px;
  box-shadow: 0 12px 26px rgba(133,117,78,.20);
}

#kozponti-kereso .small-note{
  position:relative;
  z-index:1;
  margin-top:1rem !important;
  padding:.85rem 1rem;
  border-radius:14px;
  background: rgba(11,38,95,.04);
  border:1px solid rgba(11,38,95,.10);
  color: var(--ink);
}

#kozponti-kereso #globalSearchResults{
  position:relative;
  z-index:1;
}

#kozponti-kereso .search-result-card{
  border: 1px solid rgba(11,38,95,.10);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(6px);
  padding: 1.15rem 1.2rem;
  transition: all .18s ease;
  box-shadow: 0 10px 24px rgba(15,30,60,.04);
}

#kozponti-kereso .search-result-card:hover{
  border-color: rgba(11,38,95,.28);
  background: rgba(255,255,255,.92);
  transform: translateY(-1px);
}

#kozponti-kereso .search-result-title{
  font-weight: 800;
  font-size: 1.06rem;
  color: var(--ink);
  margin-bottom: .25rem;
}

#kozponti-kereso .search-result-meta{
  color: var(--muted);
  font-size: .91rem;
  margin-bottom: .65rem;
}

#kozponti-kereso .search-result-actions{
  display:flex;
  align-items:center;
  gap:.6rem;
  flex-wrap:wrap;
}

#kozponti-kereso .search-result-empty{
  border: 1px dashed rgba(11,38,95,.24);
  background: rgba(11,38,95,.05);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  color: var(--ink);
}

#kozponti-kereso .search-snippet{
  line-height: 1.58;
}

#kozponti-kereso .search-snippet mark{
  background: #ffe08a;
  color: #111;
  padding: 0 .2rem;
  border-radius: .2rem;
  font-weight: 700;
}

#kozponti-kereso .search-keyword{
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: .4rem;
}

html[data-theme="dark"] #kozponti-kereso .section-panel{
  background:
    radial-gradient(circle at top right, rgba(122,183,255,.16), transparent 32%),
    radial-gradient(circle at bottom left, rgba(133,117,78,.12), transparent 28%),
    linear-gradient(135deg, rgba(16,45,109,.50), rgba(17,24,38,.98) 55%, rgba(24,31,46,.98));
  border-color: rgba(122,183,255,.16);
  box-shadow: 0 24px 60px rgba(0,0,0,.34);
}

html[data-theme="dark"] #kozponti-kereso .section-panel::before{
  background:#17387f;
  color:#fff;
}

html[data-theme="dark"] #kozponti-kereso .kozponti-kereso-badge{
  background: rgba(122,183,255,.12);
  border-color: rgba(122,183,255,.22);
  color: #cfe4ff;
}

html[data-theme="dark"] #kozponti-kereso .input-group-text{
  background: rgba(122,183,255,.08) !important;
  border-color: rgba(255,255,255,.14) !important;
  color: #cfe4ff !important;
}

html[data-theme="dark"] #kozponti-kereso .form-control,
html[data-theme="dark"] #kozponti-kereso .form-select{
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.14);
  box-shadow:none;
}

html[data-theme="dark"] #kozponti-kereso .small-note{
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.10);
  color: var(--ink);
}

html[data-theme="dark"] #kozponti-kereso .search-result-card{
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.10);
  box-shadow:none;
}

html[data-theme="dark"] #kozponti-kereso .search-result-card:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(122,183,255,.24);
}

html[data-theme="dark"] #kozponti-kereso .search-result-empty{
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.14);
  color: var(--ink);
}

html[data-theme="dark"] #kozponti-kereso .search-snippet mark{
  background: #ffd24d;
  color: #111;
}

html[data-a11y-contrast="high"] #kozponti-kereso .section-panel{
  background:#000 !important;
  border:2px solid #fff !important;
  box-shadow:none !important;
}

html[data-a11y-contrast="high"] #kozponti-kereso .section-panel::before{
  background:#fff !important;
  color:#000 !important;
  border:1px solid #fff !important;
}

html[data-a11y-contrast="high"] #kozponti-kereso .section-panel::after{
  background:#fff !important;
}

html[data-a11y-contrast="high"] #kozponti-kereso .kozponti-kereso-badge{
  background:#000 !important;
  color:#fff !important;
  border-color:#fff !important;
}

html[data-a11y-contrast="high"] #kozponti-kereso .input-group-text,
html[data-a11y-contrast="high"] #kozponti-kereso .form-control,
html[data-a11y-contrast="high"] #kozponti-kereso .form-select,
html[data-a11y-contrast="high"] #kozponti-kereso .small-note,
html[data-a11y-contrast="high"] #kozponti-kereso .search-result-card,
html[data-a11y-contrast="high"] #kozponti-kereso .search-result-empty{
  background:#000 !important;
  color:#fff !important;
  border-color:#fff !important;
  box-shadow:none !important;
}

html[data-a11y-contrast="high"] #kozponti-kereso .search-snippet mark{
  background:#fff !important;
  color:#000 !important;
}

@media (max-width: 991.98px){
  #kozponti-kereso .kozponti-kereso-head{
    padding-right: 0;
  }

  #kozponti-kereso .section-panel::before{
    position: static;
    display: inline-flex;
    margin-bottom: .9rem;
  }

  #kozponti-kereso .d-flex.flex-wrap.justify-content-between.align-items-end{
    align-items: flex-start !important;
  }
}

@media (max-width: 767.98px){
  #kozponti-kereso .section-panel{
    padding: 1.15rem !important;
  }

  #kozponti-kereso h2{
    font-size:1.28rem;
  }

  #kozponti-kereso .kozponti-kereso-submit{
    width:100%;
  }
}
/* marad a flex sor */
.publication-doc-item,
.publication-subitem{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

/* bal oldal fixen rugalmas */
.publication-doc-title,
.publication-subtitle{
  flex: 1 1 auto;
  min-width: 0;
}

/* jobb oldali box FIX szélességgel */
.publication-empty-text{
  flex: 0 0 320px;   /* EZ A KULCS */
  max-width: 320px;
  margin-left: 16px;

  padding: 10px 14px;
  border-left: 4px solid #0d6efd;
  background: #f1f6ff;
  color: #1f2d3d;
  font-size: 0.92rem;
  line-height: 1.55;
  border-radius: 6px;
  font-weight: 500;
}
@media (max-width: 767.98px){
  .publication-empty-text{
    flex: 0 0 100%;
    max-width: 100%;
    margin-left: 0;
    margin-top: 8px;
  }
}

#szerzodesek .table thead th{
  white-space: normal !important;
  vertical-align: middle;
  line-height: 1.25;
  min-width: 130px;
}

#szerzodesek .table thead th i{
  display: inline-block;
  margin-bottom: 4px;
}
/* Bootstrap nyíl eltüntetése */
.accordion-button::after {
    display: none;
}

/* + jel */
.accordion-button::before {
    content: "+";
    font-size: 18px;
    font-weight: 700;
    margin-right: 10px;
}

/* nyitott állapot → - jel */
.accordion-button:not(.collapsed)::before {
    content: "–";
}

/* ================================
   SZERZŐDÉSEK – ERŐS SCROLL JELZÉS
================================ */

#szerzodesek .table-responsive{
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  padding-bottom: 22px;

  scrollbar-color: var(--gold) rgba(133,117,78,.18);
  scrollbar-width: auto;
}

/* Chrome / Edge / Safari */
#szerzodesek .table-responsive::-webkit-scrollbar{
  height: 22px;
}

#szerzodesek .table-responsive::-webkit-scrollbar-track{
  background: rgba(133,117,78,.18);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(133,117,78,.28);
}

#szerzodesek .table-responsive::-webkit-scrollbar-thumb{
  background: linear-gradient(90deg, var(--gold), #c9b36f, var(--gold2));
  border-radius: 999px;
  border: 4px solid rgba(255,255,255,.22);
  box-shadow:
    0 0 0 1px rgba(133,117,78,.35),
    0 0 14px rgba(133,117,78,.65);
}

#szerzodesek .table-responsive::-webkit-scrollbar-thumb:hover{
  background: linear-gradient(90deg, #c9b36f, var(--gold), #c9b36f);
}




/* fejléc maradhat olvasható */
#szerzodesek .table thead th{
  white-space: normal !important;
  vertical-align: middle;
  line-height: 1.25;
  min-width: 130px;
}

#szerzodesek .table thead th i{
  display: inline-block;
  margin-bottom: 4px;
}

/* ================================
   DRAG SCROLL UX – SZERZŐDÉSEK
================================ */

/* alap állapot */
#szerzodesek .table-responsive{
  cursor: grab;
  user-select: auto;
  transition: background .2s ease;
}

/* hover → finom visszajelzés */
#szerzodesek .table-responsive:hover{
  background: rgba(133,117,78,.04);
}

/* amikor húzod */
#szerzodesek .table-responsive.dragging{
  cursor: grabbing;
  cursor: -webkit-grabbing;
  user-select: none;

  /* kis vizuális feedback */
  background: rgba(133,117,78,.08);
}

/* drag közben minden elemre tiltjuk a kijelölést */
#szerzodesek .table-responsive.dragging *{
  user-select: none !important;
  pointer-events: none;
}

/* kivételek (ezek maradjanak kattinthatók ha kell) */
#szerzodesek .table-responsive.dragging a,
#szerzodesek .table-responsive.dragging button{
  pointer-events: auto;
}

/* scroll közbeni finom anim */
#szerzodesek .table-responsive{
  scroll-behavior: smooth;
}
.contract-subject-cell{
  min-width: 260px;
  max-width: 320px;
}

.contract-subject-short{
  line-height: 1.35;
}


#szerzodesek .contract-subject-open{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  margin-top: 6px !important;

  padding: 5px 14px !important;   /* 👈 vékonyabb */
  min-height: 28px !important;    /* 👈 alacsonyabb */

  font-size: 12px !important;     /* 👈 kisebb szöveg */
  font-weight: 600 !important;

  line-height: 1 !important;

  color: #fff !important;
  background: linear-gradient(135deg, var(--gold), var(--gold2)) !important;

  border: none !important;
  border-radius: 999px !important;

  box-shadow: 0 4px 10px rgba(133,117,78,.35) !important;

  cursor: pointer;
  transition: all .15s ease;
}

/* hover maradhat finom */
#szerzodesek .contract-subject-open:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(133,117,78,.45);
}




/* ================================
   SZERZŐDÉSEK OLVASHATÓ MODAL
================================ */

.contract-modal-full .modal-dialog{
  max-width: 98vw !important;
  width: 98vw !important;
  margin: 1rem auto !important;
}

.contract-modal-full .modal-content{
  height: 92vh;
  display: flex;
  flex-direction: column;
}

.contract-modal-full .modal-header{
  flex-wrap: wrap;
}

.contract-modal-full .modal-body{
  flex: 1 1 auto;
  overflow: hidden;
}

.contract-modal-full iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contracts-zoom-tools{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(133,117,78,.08);
}

.contracts-zoom-btn,
.contracts-zoom-reset{
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(133,117,78,.35);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.contracts-zoom-btn:hover,
.contracts-zoom-reset:hover{
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #fff;
}

.contracts-zoom-value{
  min-width: 54px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
}

@media (max-width: 575.98px){
  .contracts-zoom-tools{
    width: 100%;
    justify-content: center;
    order: 3;
  }
}


/* ================================
   KÖZÉRDEKŰ ADATIGÉNYLÉS – CTA BLOKK
================================ */

.adatigenyles-section .section-panel{
  overflow: hidden;
}

.adatigenyles-hero{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;

  padding: 24px;
  margin-bottom: 24px;

  border: 1px solid rgba(133,117,78,.22);
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(133,117,78,.16), transparent 32%),
    linear-gradient(135deg, rgba(133,117,78,.10), rgba(255,255,255,.02));
}

.adatigenyles-lead{
  max-width: 850px;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.65;
  font-weight: 500;
}

.adatigenyles-note{
  color: var(--muted);
  font-size: .94rem;
}

.adatigenyles-actions{
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 280px;
}

.adatigenyles-main-btn{
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(133,117,78,.28);
}

.adatigenyles-rule-btn{
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(133,117,78,.35);
  background: rgba(255,255,255,.04);
  color: var(--ink) !important;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}

.adatigenyles-rule-btn:hover{
  background: rgba(133,117,78,.12);
  border-color: rgba(133,117,78,.55);
  color: var(--ink) !important;
}

.adatigenyles-info-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
  gap: 18px;
}

.adatigenyles-info-card,
.adatigenyles-contact-card{
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.03);
}

.adatigenyles-info-list{
  display: grid;
  gap: 10px;
  color: var(--ink);
}

.adatigenyles-info-list div{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.55;
}

.adatigenyles-info-list i{
  color: var(--gold);
  margin-top: 4px;
}

@media (max-width: 991.98px){
  .adatigenyles-hero,
  .adatigenyles-info-grid{
    grid-template-columns: 1fr;
  }

  .adatigenyles-actions{
    min-width: 0;
  }

  .adatigenyles-main-btn,
  .adatigenyles-rule-btn{
    width: 100%;
  }
}


/* ================================
   SECTION SZÁMOZÁS – KÖR DESIGN
================================ */

.section-title-numbered{
  display: flex;
  align-items: center;
  gap: 10px;
}

/* kör */
.section-number{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;

  border-radius: 50%;

  font-size: 22px !important;
  font-weight: 900;

  color: #fff;
  background: linear-gradient(135deg, var(--gold), var(--gold2));

  box-shadow:
    0 4px 12px rgba(133,117,78,.35),
    inset 0 0 0 2px rgba(255,255,255,.2);

  flex-shrink: 0;
}

/* kis lebegés hover-re */
.section-title-numbered:hover .section-number{
  transform: scale(1.05);
  box-shadow:
    0 6px 18px rgba(133,117,78,.5),
    inset 0 0 0 2px rgba(255,255,255,.25);
}

/* ================================
   MODAL CLOSE (X) – DARK FIX
================================ */

html[data-theme="dark"] .btn-close{
  filter: invert(1) brightness(2);
  opacity: 0.9;
}

/* hover */
html[data-theme="dark"] .btn-close:hover{
  opacity: 1;
}

/* biztos ami biztos – látható maradjon */
.modal-header .btn-close{
  background-size: 1rem;
}

/* ================================
   FOOTER – PRÉMIUM DESIGN
================================ */

.site-footer{
  position: relative;
  padding-top: 20px;
}

/* finom elválasztó vonal */
.site-footer::before{
  content:"";
  display:block;
  width: 120px;
  height: 2px;
  margin: 0 auto 16px auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .6;
}

/* cím */
.footer-title{
  color: var(--gold);
  letter-spacing: .3px;
}

/* link */
.footer-link{
  text-decoration: none;
  transition: all .2s ease;
}

.footer-link:hover{
  color: var(--gold) !important;
  text-decoration: underline;
}

/* fejlesztő blokk */
.footer-dev{
  font-size: .9rem;
}

/* név – hangsúly */
.footer-dev-name{
  position: relative;
  font-weight: 800;
  color: var(--gold);
  margin-left: 4px;
  letter-spacing: .2px;
}

/* aláhúzás anim */
.footer-dev-name::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-2px;
  width:100%;
  height:2px;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  opacity:.7;
  transition: all .2s ease;
}

/* hover */
.footer-dev-name:hover::after{
  opacity:1;
  transform: scaleX(1.05);
}

/* ================================
   SZERZŐDÉSEK + BESZERZÉSEK – SCROLL + DRAG
================================ */

#szerzodesek .table-responsive,
#beszerzesek .table-responsive{
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  padding-bottom: 22px;

  cursor: grab;
  scroll-behavior: smooth;

  scrollbar-color: var(--gold) rgba(133,117,78,.18);
  scrollbar-width: auto;
}

#szerzodesek .table-responsive::-webkit-scrollbar,
#beszerzesek .table-responsive::-webkit-scrollbar{
  height: 22px;
}

#szerzodesek .table-responsive::-webkit-scrollbar-track,
#beszerzesek .table-responsive::-webkit-scrollbar-track{
  background: rgba(133,117,78,.18);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(133,117,78,.28);
}

#szerzodesek .table-responsive::-webkit-scrollbar-thumb,
#beszerzesek .table-responsive::-webkit-scrollbar-thumb{
  background: linear-gradient(90deg, var(--gold), #c9b36f, var(--gold2));
  border-radius: 999px;
  border: 4px solid rgba(255,255,255,.22);
  box-shadow:
    0 0 0 1px rgba(133,117,78,.35),
    0 0 14px rgba(133,117,78,.65);
}

#szerzodesek .table-responsive:hover,
#beszerzesek .table-responsive:hover{
  background: rgba(133,117,78,.04);
}

#szerzodesek .table-responsive.dragging,
#beszerzesek .table-responsive.dragging{
  cursor: grabbing;
  cursor: -webkit-grabbing;
  user-select: none;
  background: rgba(133,117,78,.08);
}

#szerzodesek .table-responsive.dragging table,
#szerzodesek .table-responsive.dragging table *,
#beszerzesek .table-responsive.dragging table,
#beszerzesek .table-responsive.dragging table *{
  user-select: none !important;
  pointer-events: none;
}

#szerzodesek .table-responsive.dragging .szerzodes-scroll-hint,
#beszerzesek .table-responsive.dragging .beszerzes-scroll-hint{
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
}

#szerzodesek .table-responsive.dragging a,
#szerzodesek .table-responsive.dragging button,
#beszerzesek .table-responsive.dragging a,
#beszerzesek .table-responsive.dragging button{
  pointer-events: auto;
}

/* ================================
   JOBBRA HÚZHATÓ – FIXEN LÁTSZÓ (NEM TŰNIK EL)
================================ */

#szerzodesek .table-responsive .szerzodes-scroll-hint,
#beszerzesek .table-responsive .beszerzes-scroll-hint{
  position: sticky;
  top: 8px;
  right: 12px;
  float: right;

  display: flex; /* ❗ mindig látszik */

  align-items: center;
  justify-content: center;

  width: max-content;
  margin: 8px 0 8px auto;

  padding: 7px 12px;
  border-radius: 999px;

  background: linear-gradient(135deg, #0b5fff, #3a8dff);
  color: #fff;

  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(11,95,255,.35);

  pointer-events: none;
  z-index: 20;

  opacity: .65;              /* 👈 alap halvány */
  transition: opacity .2s ease;

  animation: szerzodesScrollHint 1.2s ease-in-out infinite;
}

/* hover vagy használat közben erősebb */
#szerzodesek .table-responsive:hover .szerzodes-scroll-hint,
#beszerzesek .table-responsive:hover .beszerzes-scroll-hint{
  opacity: 1;
}

/* dragging közben is maradjon */
#szerzodesek .table-responsive.dragging .szerzodes-scroll-hint,
#beszerzesek .table-responsive.dragging .beszerzes-scroll-hint{
  opacity: 1;
}


#fb-beszamolok tbody tr:hover td{
  background: rgba(133,117,78,.08);
}
/* ================================
   LIGHT / AUTO / DARK THEME SWITCH
================================ */
.theme-switch{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  box-shadow: 0 8px 22px rgba(15,30,60,.08);
}

.theme-switch button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.theme-switch button i{
  font-size: 14px;
  line-height: 1;
}

.theme-switch button:hover,
.theme-switch button:focus-visible{
  color: var(--ink);
  background: rgba(133,117,78,.10);
  opacity: 1;
}

.theme-switch button[aria-pressed="true"],
.theme-switch button.is-active{
  color: #fff;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  box-shadow: 0 6px 16px rgba(133,117,78,.28);
}

html[data-theme="dark"] .theme-switch{
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 12px 28px rgba(0,0,0,.24);
}

html[data-theme="dark"] .theme-switch button{
  color: var(--muted);
}

html[data-theme="dark"] .theme-switch button:hover,
html[data-theme="dark"] .theme-switch button:focus-visible{
  color: #fff;
  background: rgba(255,255,255,.08);
}

html[data-theme="dark"] .theme-switch button[aria-pressed="true"],
html[data-theme="dark"] .theme-switch button.is-active{
  color: #fff;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
}

html[data-a11y-contrast="high"] .theme-switch,
html[data-a11y-contrast="high"] .theme-switch button{
  background: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
  box-shadow: none !important;
}

html[data-a11y-contrast="high"] .theme-switch button[aria-pressed="true"],
html[data-a11y-contrast="high"] .theme-switch button.is-active,
html[data-a11y-contrast="high"] .theme-switch button:hover,
html[data-a11y-contrast="high"] .theme-switch button:focus-visible{
  background: #fff !important;
  color: #000 !important;
}

@media (max-width: 575.98px){
  .theme-switch-mobile{
    max-width: 100%;
  }

  .theme-switch-mobile button{
    min-height: 32px;
    padding: 6px 8px;
    font-size: 11px;
  }
}

/* ================================
   BESZERZÉSEK – MEZŐ MODAL GOMBOK
================================ */
#beszerzesek .procurement-field-cell{
  min-width: 220px;
  max-width: 320px;
}

#beszerzesek .procurement-field-short{
  line-height: 1.35;
}

#beszerzesek .procurement-field-open{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  margin-top: 6px !important;
  padding: 5px 14px !important;
  min-height: 28px !important;

  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1 !important;

  color: #fff !important;
  background: linear-gradient(135deg, var(--gold), var(--gold2)) !important;

  border: none !important;
  border-radius: 999px !important;

  box-shadow: 0 4px 10px rgba(133,117,78,.35) !important;
  cursor: pointer;
  transition: all .15s ease;
}

#beszerzesek .procurement-field-open:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(133,117,78,.45) !important;
}

#procurementFieldModalBody{
  white-space: pre-wrap;
  line-height: 1.65;
}


/* ================================
   BESZERZÉSEK – CELLA HOVER
================================ */

#beszerzesek tbody tr:hover td{
  background: rgba(133,117,78,.08);
  transition: background .15s ease;
}

/* finomabb kiemelés csak a “modalos” mezőknél */
#beszerzesek .procurement-field-cell{
  border-radius: 10px;
  padding: 4px 6px;
  transition: background .15s ease, box-shadow .15s ease;
}

#beszerzesek .procurement-field-cell:hover{
  background: rgba(133,117,78,.10);
  box-shadow: inset 0 0 0 1px rgba(133,117,78,.25);
}

/* gomb hover még egy kis boost */
#beszerzesek .procurement-field-open:hover{
  transform: translateY(-1px);
  text-decoration: none !important;
}   


/* ================================
   PDF LETÖLTÉS – FEKETE OUTLINE
================================ */

#beszerzesek a[href$=".pdf"]{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  padding: 6px 14px;
  min-height: 30px;

  font-size: 12px;
  font-weight: 700;

  color: #111 !important;
  text-decoration: none !important;

  background: transparent;
  border: 1px solid #111;
  border-radius: 999px;

  transition: all .18s ease;
}

/* ikon */
#beszerzesek a[href$=".pdf"] i{
  font-size: 13px;
  color: #111;
}

/* hover */
#beszerzesek a[href$=".pdf"]:hover{
  background: #111;
  color: #fff !important;
}

#beszerzesek a[href$=".pdf"]:hover i{
  color: #fff;
}

/* kattintás */
#beszerzesek a[href$=".pdf"]:active{
  transform: scale(.96);
}

/* dark mód – ne vesszen el */
html[data-theme="dark"] #beszerzesek a[href$=".pdf"]{
  border-color: #fff;
  color: #fff !important;
}

html[data-theme="dark"] #beszerzesek a[href$=".pdf"] i{
  color: #fff;
}

html[data-theme="dark"] #beszerzesek a[href$=".pdf"]:hover{
  background: #fff;
  color: #000 !important;
}

html[data-theme="dark"] #beszerzesek a[href$=".pdf"]:hover i{
  color: #000;
}

/* ================================
   SZERZŐDÉSEK – PDF BUTTON (FEKETE OUTLINE)
================================ */

#szerzodesek a[href$=".pdf"]{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  padding: 6px 14px;
  min-height: 30px;

  font-size: 12px;
  font-weight: 700;

  color: #111 !important;
  text-decoration: none !important;

  background: transparent;
  border: 1px solid #111;
  border-radius: 999px;

  transition: all .18s ease;
}

/* ikon */
#szerzodesek a[href$=".pdf"] i{
  font-size: 13px;
  color: #111;
}

/* hover */
#szerzodesek a[href$=".pdf"]:hover{
  background: #111;
  color: #fff !important;
}

#szerzodesek a[href$=".pdf"]:hover i{
  color: #fff;
}

/* kattintás */
#szerzodesek a[href$=".pdf"]:active{
  transform: scale(.96);
}

/* dark mód */
html[data-theme="dark"] #szerzodesek a[href$=".pdf"]{
  border-color: #fff;
  color: #fff !important;
}

html[data-theme="dark"] #szerzodesek a[href$=".pdf"] i{
  color: #fff;
}

html[data-theme="dark"] #szerzodesek a[href$=".pdf"]:hover{
  background: #fff;
  color: #000 !important;
}

html[data-theme="dark"] #szerzodesek a[href$=".pdf"]:hover i{
  color: #000;
}

/* ================================
   PDF BUTTON – GLOBAL (BTN-GOLD FELÜLÍRÁS)
================================ */

a.btn.btn-gold[href$=".pdf"]{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  padding: 6px 14px;
  min-height: 30px;

  font-size: 12px;
  font-weight: 700;

  background: transparent !important;
  color: #111 !important;

  border: 1px solid #111 !important;
  border-radius: 999px;

  box-shadow: none !important;
  text-decoration: none !important;

  transition: all .18s ease;
}

/* ikon */
a.btn.btn-gold[href$=".pdf"] i{
  font-size: 13px;
  color: #111;
}

/* hover */
a.btn.btn-gold[href$=".pdf"]:hover{
  background: #111 !important;
  color: #fff !important;
  border-color: #111 !important;
}

a.btn.btn-gold[href$=".pdf"]:hover i{
  color: #fff;
}

/* kattintás */
a.btn.btn-gold[href$=".pdf"]:active{
  transform: scale(.96);
}

/* DARK MODE */
html[data-theme="dark"] a.btn.btn-gold[href$=".pdf"]{
  border-color: #fff !important;
  color: #fff !important;
}

html[data-theme="dark"] a.btn.btn-gold[href$=".pdf"] i{
  color: #fff;
}

html[data-theme="dark"] a.btn.btn-gold[href$=".pdf"]:hover{
  background: #fff !important;
  color: #000 !important;
}

html[data-theme="dark"] a.btn.btn-gold[href$=".pdf"]:hover i{
  color: #000;
}

/* ================================
   FB BESZÁMOLÓK – PDF BUTTON
================================ */

#fb-beszamolok a[href$=".pdf"]{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  padding: 5px 12px;
  min-height: 28px;

  font-size: 12px;
  font-weight: 700;

  color: #111 !important;
  text-decoration: none !important;

  background: transparent;
  border: 1px solid #111;
  border-radius: 999px;

  transition: all .18s ease;
}

/* ikon */
#fb-beszamolok a[href$=".pdf"] i{
  font-size: 13px;
  color: #111;
}

/* hover */
#fb-beszamolok a[href$=".pdf"]:hover{
  background: #111;
  color: #fff !important;
}

#fb-beszamolok a[href$=".pdf"]:hover i{
  color: #fff;
}

/* kattintás */
#fb-beszamolok a[href$=".pdf"]:active{
  transform: scale(.96);
}

/* dark mód */
html[data-theme="dark"] #fb-beszamolok a[href$=".pdf"]{
  border-color: #fff;
  color: #fff !important;
}

html[data-theme="dark"] #fb-beszamolok a[href$=".pdf"] i{
  color: #fff;
}

html[data-theme="dark"] #fb-beszamolok a[href$=".pdf"]:hover{
  background: #fff;
  color: #000 !important;
}

html[data-theme="dark"] #fb-beszamolok a[href$=".pdf"]:hover i{
  color: #000;
}

/* ================================
   FB ÜLÉSEK – PDF BUTTON + HOVER
================================ */

/* PDF button */
#fb-ulesek a[href$=".pdf"]{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  padding: 5px 12px;
  min-height: 28px;

  font-size: 12px;
  font-weight: 700;

  color: #111 !important;
  text-decoration: none !important;

  background: transparent;
  border: 1px solid #111;
  border-radius: 999px;

  transition: all .18s ease;
}

/* ikon */
#fb-ulesek a[href$=".pdf"] i{
  font-size: 13px;
  color: #111;
}

/* hover */
#fb-ulesek a[href$=".pdf"]:hover{
  background: #111;
  color: #fff !important;
}

#fb-ulesek a[href$=".pdf"]:hover i{
  color: #fff;
}

/* kattintás */
#fb-ulesek a[href$=".pdf"]:active{
  transform: scale(.96);
}

/* DARK MODE */
html[data-theme="dark"] #fb-ulesek a[href$=".pdf"]{
  border-color: #fff;
  color: #fff !important;
}

html[data-theme="dark"] #fb-ulesek a[href$=".pdf"] i{
  color: #fff;
}

html[data-theme="dark"] #fb-ulesek a[href$=".pdf"]:hover{
  background: #fff;
  color: #000 !important;
}

html[data-theme="dark"] #fb-ulesek a[href$=".pdf"]:hover i{
  color: #000;
}


/* ================================
   FB ÜLÉSEK – SOR HOVER
================================ */

#fb-ulesek tbody tr:hover td{
  background: rgba(133,117,78,.08);
  transition: background .15s ease;
}

.adatigenyles-actions {
    display: flex;
    flex-direction: column; /* egymás alá */
    align-items: flex-start; /* BALRA igazítás */
    gap: 10px; /* kis térköz */
}

.adatigenyles-actions a,
.adatigenyles-actions button {
    text-align: left;
}
.procurement-open-btn {
    display: inline-block;
    padding: 10px 14px;      /* EZ a lényeg: nagyobb kattintható felület */
    line-height: 1.4;
    font-size: 14px;
    cursor: pointer;
}

.procurement-open-btn:hover {
    text-decoration: underline;
}

.contract-net-amount{
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: anywhere;
    min-width: 220px;
}

/* ================================
   HIGH CONTRAST – PDF BUTTON FIX
================================ */

html[data-a11y-contrast="high"] a.btn.btn-gold[href$=".pdf"]{
  background: #000 !important;
  color: #fff !important;
  border: 2px solid #fff !important;
  box-shadow: none !important;
}

html[data-a11y-contrast="high"] a.btn.btn-gold[href$=".pdf"] i{
  color: #fff !important;
}

html[data-a11y-contrast="high"] a.btn.btn-gold[href$=".pdf"]:hover,
html[data-a11y-contrast="high"] a.btn.btn-gold[href$=".pdf"]:focus,
html[data-a11y-contrast="high"] a.btn.btn-gold[href$=".pdf"]:focus-visible{
  background: #fff !important;
  color: #000 !important;
  border-color: #fff !important;
  opacity: 1 !important;
}

html[data-a11y-contrast="high"] a.btn.btn-gold[href$=".pdf"]:hover i,
html[data-a11y-contrast="high"] a.btn.btn-gold[href$=".pdf"]:focus i,
html[data-a11y-contrast="high"] a.btn.btn-gold[href$=".pdf"]:focus-visible i{
  color: #000 !important;
}

/* ================================
   HIGH CONTRAST – BESZERZÉSEK PDF FIX
   EZ LEGYEN A CSS LEGUTOLSÓ BLOKKJA
================================ */

html[data-a11y-contrast="high"] #beszerzesek a[href$=".pdf"]{
  background: #000 !important;
  color: #fff !important;
  border: 2px solid #fff !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

html[data-a11y-contrast="high"] #beszerzesek a[href$=".pdf"] i{
  color: #fff !important;
}

html[data-a11y-contrast="high"] #beszerzesek a[href$=".pdf"]:hover,
html[data-a11y-contrast="high"] #beszerzesek a[href$=".pdf"]:focus,
html[data-a11y-contrast="high"] #beszerzesek a[href$=".pdf"]:focus-visible{
  background: #fff !important;
  color: #000 !important;
  border-color: #fff !important;
}

html[data-a11y-contrast="high"] #beszerzesek a[href$=".pdf"]:hover i,
html[data-a11y-contrast="high"] #beszerzesek a[href$=".pdf"]:focus i,
html[data-a11y-contrast="high"] #beszerzesek a[href$=".pdf"]:focus-visible i{
  color: #000 !important;
}

/* ================================
   HIGH CONTRAST – SZERZŐDÉSEK PDF FIX
================================ */

html[data-a11y-contrast="high"] #szerzodesek a[href$=".pdf"]{
  background: #000 !important;
  color: #fff !important;
  border: 2px solid #fff !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

html[data-a11y-contrast="high"] #szerzodesek a[href$=".pdf"] i{
  color: #fff !important;
}

html[data-a11y-contrast="high"] #szerzodesek a[href$=".pdf"]:hover,
html[data-a11y-contrast="high"] #szerzodesek a[href$=".pdf"]:focus,
html[data-a11y-contrast="high"] #szerzodesek a[href$=".pdf"]:focus-visible{
  background: #fff !important;
  color: #000 !important;
  border-color: #fff !important;
}

html[data-a11y-contrast="high"] #szerzodesek a[href$=".pdf"]:hover i,
html[data-a11y-contrast="high"] #szerzodesek a[href$=".pdf"]:focus i,
html[data-a11y-contrast="high"] #szerzodesek a[href$=".pdf"]:focus-visible i{
  color: #000 !important;
}

/* ================================
   HIGH CONTRAST – FB ÜLÉSEK PDF FIX
================================ */

html[data-a11y-contrast="high"] #fb-ulesek a[href$=".pdf"]{
  background: #000 !important;
  color: #fff !important;
  border: 2px solid #fff !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

html[data-a11y-contrast="high"] #fb-ulesek a[href$=".pdf"] i{
  color: #fff !important;
}

html[data-a11y-contrast="high"] #fb-ulesek a[href$=".pdf"]:hover,
html[data-a11y-contrast="high"] #fb-ulesek a[href$=".pdf"]:focus,
html[data-a11y-contrast="high"] #fb-ulesek a[href$=".pdf"]:focus-visible{
  background: #fff !important;
  color: #000 !important;
  border-color: #fff !important;
}

html[data-a11y-contrast="high"] #fb-ulesek a[href$=".pdf"]:hover i,
html[data-a11y-contrast="high"] #fb-ulesek a[href$=".pdf"]:focus i,
html[data-a11y-contrast="high"] #fb-ulesek a[href$=".pdf"]:focus-visible i{
  color: #000 !important;
}

/* ================================
   HIGH CONTRAST – FB BESZÁMOLÓK PDF FIX
================================ */

html[data-a11y-contrast="high"] #fb-beszamolok a[href$=".pdf"]{
  background: #000 !important;
  color: #fff !important;
  border: 2px solid #fff !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

html[data-a11y-contrast="high"] #fb-beszamolok a[href$=".pdf"] i{
  color: #fff !important;
}

html[data-a11y-contrast="high"] #fb-beszamolok a[href$=".pdf"]:hover,
html[data-a11y-contrast="high"] #fb-beszamolok a[href$=".pdf"]:focus,
html[data-a11y-contrast="high"] #fb-beszamolok a[href$=".pdf"]:focus-visible{
  background: #fff !important;
  color: #000 !important;
  border-color: #fff !important;
}

html[data-a11y-contrast="high"] #fb-beszamolok a[href$=".pdf"]:hover i,
html[data-a11y-contrast="high"] #fb-beszamolok a[href$=".pdf"]:focus i,
html[data-a11y-contrast="high"] #fb-beszamolok a[href$=".pdf"]:focus-visible i{
  color: #000 !important;
}