.elementor-21048 .elementor-element.elementor-element-9510c24{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}/* Start custom CSS for html, class: .elementor-element-f8db46c */.widget-title{
  margin:0 0 18px;
  text-align:center;
  font-family:Arial,Helvetica,sans-serif;
  font-weight:800;
  font-size:clamp(22px,3vw,32px);
  line-height:1.25;
  letter-spacing:.01em;
  color:#212121;
  background:linear-gradient(135deg,#212121,#0c2747 55%,#c9a24d);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}
@media (max-width:520px){
  .widget-title{margin:0 0 14px;}
}
.elementor-20849 .elementor-element.elementor-element-94ae792{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}/* Start custom CSS for html, class: .elementor-element-1157999 */:root{
    --navy:#212121;
    --navy-2:#0c2747;
    --gold:#c9a24d;
    --gold-light:#f3e7c7;
    --bg:#f3f4f3;
    --panel:#fff;
    --border:#e4e8ee;
    --text:#10243e;
    --muted:#68768a;
    --soft:#f7f9fb;
    --hover:#fbf8f0;
    --radius:14px;
    --shadow:0 8px 28px rgba(7,26,51,.08);
  }
  .wrap{max-width:1240px;margin:0 auto}
  .page-head{
    position:relative;
    overflow:hidden;
    text-align:center;
    padding:38px 28px 34px;
    margin-bottom:20px;
    border-radius:12px;
    background:linear-gradient(135deg,var(--navy),var(--navy-2));
    border-bottom:3px solid var(--gold);
    color:#fff;
    box-shadow:0 10px 30px rgba(7,26,51,.10);
  }
  .page-head:after{
    content:"";
    position:absolute;
    width:360px;height:360px;
    right:-150px;top:-220px;
    border:1px solid rgba(201,162,77,.35);
    border-radius:50%;
    box-shadow:0 0 0 35px rgba(201,162,77,.04),0 0 0 70px rgba(201,162,77,.025);
  }
  .eyebrow{
    display:block;
    position:relative;
    z-index:1;
    margin-bottom:9px;
    color:var(--gold);
    font-size:11px;
    font-weight:800;
    letter-spacing:.18em;
  }
  .page-head h1{
    position:relative;z-index:1;
    margin:0;
    font-size:30px;
    line-height:1.15;
    font-weight:750;
    letter-spacing:-.02em;
  }
  .page-subtitle{
    position:relative;z-index:1;
    max-width:780px;
    margin:11px auto 0;
    color:rgba(255,255,255,.76);
    font-size:14px;
    line-height:1.55;
  }
  .disclaimer{
    margin:0 0 16px;
    padding:13px 16px;
    border:1px solid #e9dfc7;
    border-left:3px solid var(--gold);
    border-radius:10px;
    background:#fffdf8;
    color:#6e6657;
    font-size:12px;
    line-height:1.55;
  }
  .disclaimer p{margin:0 0 3px}
  .disclaimer p:last-child{margin-bottom:0}
  .toolbar{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:12px;
  }
  .results-count{
    order:4;
    margin-left:auto;
    color:var(--muted);
    font-size:12px;
    font-weight:650;
  }
  .size-filter,.top-toggle-row{
    display:flex;
    gap:6px;
    padding:4px;
    border:1px solid var(--border);
    background:#fff;
    border-radius:12px;
    box-shadow:0 2px 8px rgba(7,26,51,.04);
  }
  .size-btn,.top-btn{
    border:0;
    border-radius:9px;
    background:transparent;
    color:var(--muted);
    font-size:12px;
    font-weight:750;
    letter-spacing:.02em;
    cursor:pointer;
    transition:.18s ease;
  }
  .size-btn{padding:10px 15px}
  .top-btn{padding:10px 17px}
  .size-btn:hover,.top-btn:hover{color:var(--navy);background:#f3f5f7}
  .size-btn.active,.top-btn.active{
    color:#fff;
    background:var(--navy);
    box-shadow:0 3px 9px rgba(7,26,51,.16);
  }
  .activity-filter{
    display:flex;align-items:center;gap:8px;flex:1 1 260px;
  }
  .field-label{
    color:var(--muted);
    font-size:12px;
    font-weight:600;
    white-space:nowrap;
  }
  .inline-link{color:var(--gold);font-weight:700}
  .activity-filter input,.vat-search-row input{
    height:42px;
    border:1px solid var(--border);
    border-radius:10px;
    background:#fff;
    color:var(--text);
    font-size:13px;
    padding:0 13px;
    outline:0;
    transition:.18s ease;
  }
  .activity-filter input{width:90px}
  .activity-filter input:focus,.vat-search-row input:focus{
    border-color:var(--gold);
    box-shadow:0 0 0 3px rgba(201,162,77,.14);
  }
  .reset-btn{
    height:42px;
    padding:0 15px;
    border:1px solid var(--border);
    border-radius:10px;
    background:#fff;
    color:var(--navy);
    font-size:12px;
    font-weight:750;
    cursor:pointer;
    transition:.18s ease;
  }
  .reset-btn:hover{border-color:var(--gold);background:#fffdf8}
  .vat-search-row{
    display:flex;align-items:center;gap:10px;
    margin:0 0 14px;
    padding:14px 16px;
    border:1px solid var(--border);
    border-radius:12px;
    background:#fff;
  }
  .vat-search-row .field-label{color:var(--text);font-size:12px}
  .vat-search-row input{width:280px}
  .top-toggle-row{
    width:max-content;
    margin:0 0 14px;
  }
  .table-panel{
    background:var(--panel);
    border:1px solid var(--border);
    border-radius:12px;
    box-shadow:0 6px 22px rgba(7,26,51,.07);
    overflow:hidden;
  }
  .table-scroll{
    overflow-y:auto;
    overflow-x:hidden;
    max-height:475px;
    scrollbar-width:thin;
    scrollbar-color:#b7bec8 #f1f3f5;
  }
  .table-scroll::-webkit-scrollbar{width:8px}
  .table-scroll::-webkit-scrollbar-track{background:#f1f3f5}
  .table-scroll::-webkit-scrollbar-thumb{background:#b7bec8;border-radius:10px}
  table{
    width:100%;
    max-width:100%;
    table-layout:fixed;
    border-collapse:separate;
    border-spacing:0;
    font-size:12px;
  }
  thead th{
    position:sticky;
    top:0;
    z-index:5;
    background:var(--navy);
    color:#fff;
    text-align:left;
    padding:13px 14px;
    border-bottom:2px solid var(--gold);
    font-size:11px;
    font-weight:750;
    letter-spacing:.02em;
    white-space:normal;
    overflow-wrap:anywhere;
  }
  thead th:first-child{border-top-left-radius:0}
  tbody td{
    padding:11px 14px;
    border-bottom:1px solid var(--border);
    background:#fff;
    color:#24364d;
    white-space:nowrap;
    vertical-align:middle;
  }
  tbody tr:hover td{background:var(--hover)}
  tbody tr:last-child td{border-bottom:0}
  #firms-table th:nth-child(1),#firms-table td:nth-child(1){width:12%}
  #firms-table th:nth-child(2),#firms-table td:nth-child(2){width:12%}
  #firms-table th:nth-child(3),#firms-table td:nth-child(3){width:24%}
  #firms-table th:nth-child(4),#firms-table td:nth-child(4){width:12%}
  #firms-table th:nth-child(5),#firms-table td:nth-child(5){width:12%}
  #firms-table th:nth-child(6),#firms-table td:nth-child(6){width:14%;text-align:right;}
  #firms-table th:nth-child(7),#firms-table td:nth-child(7){width:14%;text-align:right;}
  .col-country{font-weight:650}
  .col-vat{font-variant-numeric:tabular-nums;color:#506077;overflow-wrap:anywhere}
  .col-name{font-weight:700;color:var(--navy);white-space:normal;overflow-wrap:anywhere}
  .col-posIncome,.col-posProfit,.col-totalIncome,.col-profit{font-variant-numeric:tabular-nums}
  .flag-icon{
    display:inline-flex;
    width:24px;height:16px;
    border-radius:3px;
    overflow:hidden;
    box-shadow:0 0 0 1px rgba(7,26,51,.15);
    vertical-align:middle;
  }
  .flag-icon svg{width:100%;height:100%;display:block}
  .empty-msg{padding:40px 14px;text-align:center;color:var(--muted);font-size:13px}
  .search-placeholder{
    padding:70px 20px;
    text-align:center;
    color:var(--muted);
    font-size:14px;
    font-weight:600;
  }
  .activity-label{
    margin:0 0 12px;
    padding:12px 16px;
    background:#fff;
    border:1px solid var(--border);
    border-radius:10px;
    box-shadow:0 2px 8px rgba(7,26,51,.04);
  }
  .activity-label-name, .activity-label-value{
    color:var(--navy);
    font-size:14px;
    font-weight:800;
    text-transform:none;
    letter-spacing:0;
  }
  .activity-label-caption{
    display:block;
    color:var(--muted);
    font-size:14px;
    font-weight:650;
    letter-spacing:.03em;
  }
  /* The searched-for company's own row, wherever it lands in the list. */
  tr.result-row td{
    background:#5ca17b !important;
    color:#fff;
  }
  tr.result-row:hover td{background:#5ca17b}
  tr.result-row .country-name,
  tr.result-row .col-vat,
  tr.result-row .col-name{color:#fff}
  tr.result-row .rank-badge{background:rgba(255,255,255,.9);color:#1c3d2c}
  tr.result-row td.is-sort-key{background:#5ca17b}
  tr.result-row td.is-sort-key .rank-badge{background:#fff;color:#1c3d2c}
  .note{
    margin-top:12px;
    color:#7a8797;
    font-size:11.5px;
    line-height:1.5;
  }
  .note code{background:#eef1f4;padding:2px 5px;border-radius:4px}

  .company-search-field input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,162,77,.14);
  }

  .company-search-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 20px;
    box-sizing: border-box;
    margin: 0 0 14px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(7,26,51,.045);
  }

  .company-search-heading {
    padding-top: 4px;
  }

  .company-search-title {
    display: block;
    color: var(--navy);
    font-size: 14px;
    font-weight: 750;
  }

  .company-search-subtitle {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.4;
  }

  .company-search-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    min-width: 0;
  }

  .company-search-field {
    min-width: 0;
  }

  .company-search-field label {
    display: block;
    margin: 0 0 6px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 650;
  }

  .company-search-field input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #fff;
    color: var(--text);
    font-size: 13px;
    outline: 0;
    transition: .18s ease;
  }

  .company-search-field input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,162,77,.14);
  }

  .activity-code-help {
    margin-top: 6px;
    color: var(--muted);
    font-size: 10.5px;
    line-height: 1.35;
  }

  .company-search-panel .reset-btn {
    align-self: end;
    height: 40px;
  }

  @media (max-width: 900px) {
    .company-search-panel {
      grid-template-columns: 1fr;
      gap: 12px;
    }

    .company-search-fields {
      grid-template-columns: 1fr;
      gap: 14px;
    }

    .company-search-panel .reset-btn {
      width: max-content;
    }
  }

  @media (max-width: 760px) {
    .company-search-panel {
      padding: 13px;
      gap: 12px;
    }

    .company-search-fields {
      grid-template-columns: 1fr;
      gap: 11px;
    }

    .company-search-field input {
      height: 42px;
    }

    .company-search-panel .reset-btn {
      width: 100%;
    }
  }

  @media (max-width: 900px) {
    .table-scroll { max-height: 68vh; }
  }

  @media (max-width: 760px) {
    .page-head {
      padding: 26px 14px;
      margin-bottom: 14px;
    }

    .page-head h1 { font-size: 22px; }

    .toolbar { align-items: stretch; }

    .size-filter { width: 100%; }

    .size-btn {
      flex: 1;
      padding: 9px 8px;
    }

    .activity-filter {
      flex: 1 1 100%;
      flex-wrap: wrap;
    }

    .vat-search-row {
      align-items: stretch;
      flex-direction: column;
      padding: 12px;
    }

    .vat-search-row input { width: 100%; }

    .top-toggle-row { width: 100%; }

    .top-btn {
      flex: 1;
      padding: 9px 6px;
    }

    .table-panel { border-radius: 8px; }

    /* Same mobile strategy as firme_2: cards instead of a squeezed 8-column table. */
    .table-scroll {
      max-height: 90vh;
    }

    table,
    tbody,
    tbody tr,
    tbody td {
      display: block;
      width: 100%;
    }

    thead { display: none; }

    tbody { padding: 10px; }

    tbody tr {
      display: block;
      width: 100%;
      border: 1px solid var(--border);
      border-radius: 10px;
      margin-bottom: 10px;
      padding: 10px 12px;
      background: var(--panel);
      box-shadow: 0 2px 8px rgba(7,26,51,.035);
    }

    tbody tr:hover td { background: transparent; }

    #firms-table tbody td,
    #top99-table tbody td {
      width: 100% !important;
      max-width: 100% !important;
      min-width: 0 !important;
    }

    tbody td {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      gap: 14px;
      padding: 7px 0;
      border: 0;
      border-bottom: 1px solid var(--border);
      white-space: normal;
      text-align: right;
      line-height: 1.35;
    }

    #firms-table tbody td:last-child,
    #top99-table tbody td:last-child { border-bottom: none; }

    tbody td::before {
      content: attr(data-label);
      font-weight: 650;
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: .03em;
      color: var(--muted);
      text-align: left;
      flex: 0 0 40%;
    }

    tbody td.col-country { align-items: center; }

    tbody td.col-country::before,
    tbody td.col-name::before {
      align-self: center;
    }

    tbody td.col-name {
      font-size: 14px;
      font-weight: 750;
      color: var(--navy);
      padding-top: 9px;
      padding-bottom: 10px;
    }

    tbody td.col-name::before {
      font-size: 10px;
    }

    tbody td.col-vat { overflow-wrap: anywhere; }

    tbody td.col-activity { color: #58677b; }

    .empty-msg { padding: 28px 16px; }
  }

  /* UX: separate company finder from company-size tabs */
  .toolbar {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
  }

  .company-search-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 16px;
    padding: 17px 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(7,26,51,.045);
  }

  .company-search-heading {
    padding-top: 4px;
  }

  .company-search-title {
    display: block;
    color: var(--navy);
    font-size: 14px;
    font-weight: 750;
  }

  .company-search-subtitle {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.4;
  }

  .company-search-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    min-width: 0;
  }

  .company-search-field {
    min-width: 0;
  }

  .company-search-field label {
    display: block;
    margin: 0 0 6px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 650;
  }

  .company-search-field input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #fff;
    color: var(--text);
    font-size: 13px;
    outline: 0;
  }

  .company-search-field input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,162,77,.14);
  }

  .activity-code-help {
    margin-top: 6px;
    color: var(--muted);
    font-size: 10.5px;
    line-height: 1.35;
  }

  .company-search-panel .reset-btn {
    align-self: end;
    height: 40px;
  }

  @media (max-width: 900px) {
    .company-search-panel {
      grid-template-columns: 1fr;
      gap: 14px;
    }

    .company-search-fields {
      grid-template-columns: 1fr;
      gap: 14px;
    }

    .company-search-panel .reset-btn {
      width: max-content;
    }
  }

  @media (max-width: 760px) {
    .toolbar {
      margin-bottom: 10px;
    }

    .size-filter {
      width: 100%;
    }

    .size-btn {
      flex: 1;
    }

    .company-search-panel {
      display: block;
      padding: 15px;
      margin-bottom: 14px;
    }

    .company-search-heading {
      padding: 0;
      margin-bottom: 13px;
    }

    .company-search-fields {
      display: grid;
      grid-template-columns: 1fr;
      gap: 12px;
    }

    .company-search-field input {
      height: 42px;
    }

    .company-search-panel .reset-btn {
      width: 100%;
      margin-top: 13px;
    }
  }


  /* Final alignment: reset button sits on the same baseline as the fields. */
  .company-search-panel .reset-btn {
    align-self: start;
    margin-top: 0;
  }

  @media (max-width: 900px) {
    .company-search-panel .reset-btn {
      align-self: start;
      margin-top: 0;
    }
  }

  @media (max-width: 760px) {
    .company-search-panel .reset-btn {
      margin-top: 13px;
    }
  }

  /* ---- Rev: full dataset, both rank columns always visible ---- */
  #firms-table th:nth-child(1),#firms-table td:nth-child(1){width:12%}
  #firms-table th:nth-child(2),#firms-table td:nth-child(2){width:12%}
  #firms-table th:nth-child(3),#firms-table td:nth-child(3){width:24%}
  #firms-table th:nth-child(4),#firms-table td:nth-child(4){width:12%}
  #firms-table th:nth-child(5),#firms-table td:nth-child(5){width:12%}
  #firms-table th:nth-child(6),#firms-table td:nth-child(6){width:14%}
  #firms-table th:nth-child(7),#firms-table td:nth-child(7){width:14%}

  .country-cell{
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-width:0;
  }
  .country-name{
    font-weight:650;
    color:var(--text);
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .flag-icon{flex:0 0 auto}

  .col-totalIncome,.col-profit{
    font-weight:650;
    color:#3d4f68;
  }

  /* Both rank columns stay in the table at all times; the active
     TOP 99 sort key is only highlighted, never hidden. */
  #firms-table th.is-sort-key{background:#3a3838}
  #firms-table th.is-sort-key:after{
    content:"▲";
    margin-left:6px;
    color:var(--gold);
    font-size:9px;
    vertical-align:middle;
  }
  #firms-table td.is-sort-key{
    background:#fbf9f3;
    font-weight:750;
    color:var(--navy);
  }
  tbody tr:hover td.is-sort-key{background:#f7f1e2}

  .rank-badge{
    display:inline-block;
    min-width:26px;
    padding:2px 6px;
    border-radius:6px;
    background:#eef1f5;
    color:#3d4f68;
    font-size:11px;
    font-weight:750;
    text-align:center;
  }
  td.is-sort-key .rank-badge{background:var(--gold-light);color:#6d551d}

  .top-toggle-row{align-items:center}
  .top-note{
    padding:0 12px 0 6px;
    color:var(--muted);
    font-size:11px;
    line-height:1.35;
  }

  .results-count{
    order:4;
    margin-left:auto;
    color:var(--muted);
    font-size:12px;
    font-weight:650;
  }

  .loading-msg{padding:40px 14px;text-align:center;color:var(--muted);font-size:13px}

  @media (max-width:760px){
    .results-count{
      order:5;
      width:100%;
      margin:8px 0 0;
      text-align:center;
    }
    .top-note{padding:8px 0 0;width:100%;text-align:center}
    tbody td.col-country .country-cell{gap:8px}
  }

  .top-controls{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
    margin:0 0 14px;
  }
  .top-controls .top-toggle-row{margin:0}
  @media (max-width:760px){
    .top-controls{gap:8px}
    .top-controls .top-toggle-row{width:100%}
  }/* End custom CSS */

  /* --- Top 99 leaderboard block (sits above the main VAT-search widget) --- */
  .top99-section{margin-bottom:32px}
  .top99-controls{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    flex-wrap:wrap;
    margin:0 0 14px;
  }
  .top99-controls-left{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }
  .top99-controls .size-filter,
  .top99-controls .top-toggle-row{width:max-content}
  .top99-disclaimer{
    flex:0 1 460px;
    text-align:left;
    color:var(--muted);
    font-size:11px;
    line-height:1.5;
  }
  .top99-disclaimer p{margin:0 0 4px}
  .top99-disclaimer p:last-child{margin-bottom:0}
  @media (max-width:760px){
    .top99-controls .size-filter,
    .top99-controls .top-toggle-row{width:100%}
    .top99-controls .size-btn,.top99-controls .top-btn{flex:1;text-align:center}
    .top99-disclaimer{flex-basis:100%;text-align:left}
  }
  #top99-table th:nth-child(1),#top99-table td:nth-child(1){width:8%}
  #top99-table th:nth-child(2),#top99-table td:nth-child(2){width:14%}
  #top99-table th:nth-child(3),#top99-table td:nth-child(3){width:16%}
  #top99-table th:nth-child(4),#top99-table td:nth-child(4){width:32%}
  #top99-table th:nth-child(5),#top99-table td:nth-child(5){width:15%;text-align:right;font-variant-numeric: tabular-nums;}
  #top99-table th:nth-child(6),#top99-table td:nth-child(6){width:15%;text-align:right;font-variant-numeric: tabular-nums;}
  .top99-divider{
    margin:0 0 32px;
    border:0;
    border-top:1px solid var(--border);
  }/* End custom CSS */