.kozjel-bills {
  display: grid;
  gap: 24px;
}

.kozjel-bills__header h2 {
  margin: 0 0 6px;
}

.kozjel-bills__header p {
  margin: 0;
  opacity: 0.8;
}

.kozjel-bills__filters,
.kozjel-bill-card,
.kozjel-stats-box,
.kozjel-representative-box,
.kozjel-vote-box,
.kozjel-bills__empty,
.kozjel-bills--error {
  border: 1px solid #d9d9d9;
  border-radius: 14px;
  background: #fff;
  padding: 18px;
}

.kozjel-bills__filter-grid,
.kozjel-bill-card__member-area,
.kozjel-stats-grid {
  display: grid;
  gap: 16px;
}

.kozjel-bills__filter-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.kozjel-bills__filters label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.kozjel-bills__filters input,
.kozjel-bills__filters select,
.kozjel-vote-select {
  min-height: 42px;
  border: 1px solid #cfcfcf;
  border-radius: 10px;
  padding: 8px 12px;
  width: 100%;
}

.kozjel-bills__filter-actions,
.kozjel-vote-box__controls {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.kozjel-bills__filter-actions button,
.kozjel-vote-submit {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  padding: 10px 16px;
  cursor: pointer;
}

.kozjel-bill-card summary {
  cursor: pointer;
  list-style: none;
}

.kozjel-bill-card summary::-webkit-details-marker {
  display: none;
}

.kozjel-bill-card__summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.kozjel-bill-card__summary-main,
.kozjel-bill-card__summary-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.kozjel-pill {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #d9d9d9;
  font-size: 13px;
}

.kozjel-bill-card__content {
  margin-top: 16px;
  display: grid;
  gap: 16px;
}

.kozjel-bill-card__details p,
.kozjel-login-note,
.kozjel-warning {
  margin: 0 0 10px;
}

.kozjel-warning {
  border-left: 4px solid #c68a00;
  background: #fff9e8;
  padding: 10px 12px;
  border-radius: 8px;
}

.kozjel-vote-message.is-success {
  color: #0a7a31;
}

.kozjel-vote-message.is-error {
  color: #a32020;
}

.kozjel-representative-box--featured {
  border: 1px solid #d9e1ea;
  border-left: 4px solid #0f2747;
  background: #f8fbff;
}

.kozjel-representative-box__empty,
.kozjel-representative-box__text {
  color: #1e293b;
  line-height: 1.6;
}

.kozjel-rep-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.kozjel-rep-person__avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #0f2747;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: .03em;
}

.kozjel-rep-person__meta {
  min-width: 0;
}

.kozjel-rep-person__name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.kozjel-rep-person__name {
  font-weight: 700;
  font-size: 18px;
  color: #0f172a;
}

.kozjel-rep-person__district {
  font-size: 13px;
  color: #475569;
  margin-top: 2px;
}

.kozjel-badge-icon {
  width: 18px;
  height: 18px;
  max-width: 40px;
  max-height: 40px;
  display: inline-block;
  vertical-align: middle;
  object-fit: contain;
}

.kozjel-stats-box h4 {
  margin: 0 0 10px;
}

.kozjel-bar {
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: #ececec;
  overflow: hidden;
}

.kozjel-bar span {
  display: block;
  height: 100%;
  background: #09162f;
}

.kozjel-stat-row {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.kozjel-stat-row__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.kozjel-stat-row__label {
  font-weight: 600;
  color: #0f172a;
}

.kozjel-stat-row__meta {
  font-size: 13px;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.kozjel-stat-row__verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.kozjel-stat-row__value,
.kozjel-stats-box__empty {
  font-size: 12px;
  color: #64748b;
}

.kozjel-pagination {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.kozjel-pagination a {
  padding: 8px 12px;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  text-decoration: none;
}

.kozjel-pagination a.is-active {
  font-weight: 700;
}

@media (min-width: 900px) {
  .kozjel-bill-card__member-area,
  .kozjel-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}


.kozjel-pill--rep {
  border: 0;
  font-weight: 700;
}

.kozjel-pill--rep.is-support {
  background: #e9f9ef;
  color: #166534;
}

.kozjel-pill--rep.is-partial {
  background: #fff7e6;
  color: #9a6700;
}

.kozjel-pill--rep.is-reject {
  background: #feecec;
  color: #b42318;
}

.kozjel-pill--rep.is-neutral {
  background: #eef2f7;
  color: #475569;
}

.kozjel-representative-box__badge-row {
  margin: 0 0 10px;
}

.kozjel-vote-box--rep .kozjel-rep-form {
  display: grid;
  gap: 12px;
}

.kozjel-rep-form__row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 220px);
  gap: 12px;
}

.kozjel-rep-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.kozjel-rep-form textarea,
.kozjel-rep-form select {
  width: 100%;
  box-sizing: border-box;
}

.kozjel-rep-form__textarea-wrap textarea {
  min-height: 140px;
  border: 1px solid #cfcfcf;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
}

.kozjel-rep-submit {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  padding: 10px 16px;
  cursor: pointer;
  width: fit-content;
}

.kozjel-vote-box--locked {
  background: #f8fafc;
}

@media (max-width: 760px) {
  .kozjel-rep-form__row {
    grid-template-columns: 1fr;
  }
}

.kozjel-bill-card__share,
.kozjel-issue-card__share {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.kozjel-share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #d0d7de;
  background: #fff;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.2;
}

.kozjel-share-button:hover {
  text-decoration: none;
}

.kozjel-share-message {
  font-size: 13px;
}

.kozjel-share-message.is-success {
  color: #0a7a33;
}

.kozjel-share-message.is-error {
  color: #b42318;
}



.kozjel-share-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-left: 14px;
  vertical-align: middle;
}

.kozjel-share-inline__label {
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
}

.kozjel-share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1f5fae;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 400;
}

.kozjel-share-button:hover {
  color: #174a87;
  background: transparent;
}

.kozjel-share-social-icon,
.kozjel-share-instagram-icon,
.kozjel-share-facebook-icon,
.kozjel-share-linkedin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  text-decoration: none;
}

.kozjel-share-social-icon svg,
.kozjel-share-instagram-icon svg,
.kozjel-share-facebook-icon svg,
.kozjel-share-linkedin-icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

.kozjel-share-message {
  flex-basis: 100%;
  margin-left: 0;
  font-size: 12px;
}

.kozjel-share-message.is-success { color: #0a7a33; }
.kozjel-share-message.is-error { color: #b42318; }


@media (max-width: 700px) {
  .kozjel-bill-card__summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .kozjel-bill-card__summary-main {
    align-items: flex-start;
  }

  .kozjel-card-title {
    flex-basis: 100%;
    margin-top: 4px;
  }

  .kozjel-share-inline {
    margin-left: 6px;
    gap: 6px;
  }
}


/* unified filters + width */
.kozjel-bills{display:grid;gap:24px;max-width:1290px;width:100%;margin:0 auto}
.kozjel-bills__header,.kozjel-bills__filters,.kozjel-bill-card,.kozjel-stats-box,.kozjel-representative-box,.kozjel-vote-box,.kozjel-bills__empty,.kozjel-bills--error{max-width:1290px;width:100%;margin-left:auto;margin-right:auto}
.kozjel-bills__filters{padding:20px 22px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:16px;align-items:end}
.kozjel-bills__filter-grid{display:contents}
.kozjel-bills__filters label{display:grid;gap:8px;min-width:0;font-weight:700}
.kozjel-bills__filters input,.kozjel-bills__filters select,.kozjel-vote-select{min-height:39px;height:39px;padding:0 14px;border:1px solid #cfd7e3;border-radius:20px;background:#f4f7fb;color:#1f2937;box-shadow:none}
.kozjel-bills__filter-actions{margin-top:0;display:flex;gap:12px;align-items:center;white-space:nowrap;flex-wrap:nowrap}
.kozjel-bills__filter-actions button,.kozjel-bills__filter-actions a,.kozjel-vote-submit{min-height:39px;height:39px;display:inline-flex;align-items:center;justify-content:center;border-radius:20px;box-sizing:border-box}
.kozjel-bills__filter-actions button,.kozjel-vote-submit{padding:0 22px;border:1px solid #d7dee8;background:#eef2f7;color:#295991;font-weight:700;box-shadow:none}
.kozjel-bills__filter-actions a{width:39px;min-width:39px;padding:0;border:1px solid #d7dee8;background:#fff;color:transparent;position:relative;overflow:hidden;font-size:0;text-decoration:none}
.kozjel-bills__filter-actions a::before,.kozjel-bills__filter-actions a::after{content:'';position:absolute;width:22px;height:2.5px;background:#64748b;border-radius:999px}
.kozjel-bills__filter-actions a::before{transform:rotate(45deg)}
.kozjel-bills__filter-actions a::after{transform:rotate(-45deg)}
.kozjel-pill{min-width:96px;justify-content:center;white-space:nowrap}
@media (max-width:1180px){.kozjel-bills__filters{grid-template-columns:repeat(2,minmax(0,1fr))}.kozjel-bills__filter-actions{grid-column:1/-1}}
@media (max-width:700px){.kozjel-bills{max-width:none}.kozjel-bills__filters{grid-template-columns:1fr}.kozjel-bills__filter-actions{grid-column:auto;justify-content:flex-start}}


.kozjel-bill-card,
.kozjel-bill-card * {
  box-sizing: border-box;
}

.kozjel-bill-card__member-area {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.kozjel-vote-box,
.kozjel-representative-box,
.kozjel-stats-box {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.kozjel-vote-box,
.kozjel-representative-box {
  padding: 16px 18px;
}

.kozjel-vote-box h4,
.kozjel-representative-box h4,
.kozjel-stats-box h4 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.25;
}

.kozjel-stats-slot {
  min-width: 0;
}

.kozjel-stats-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.kozjel-stats-box {
  padding: 14px 16px;
}

.kozjel-stat-row {
  gap: 4px;
  margin-bottom: 10px;
}

.kozjel-stat-row:last-child {
  margin-bottom: 0;
}

.kozjel-stat-row__top {
  align-items: baseline;
  gap: 8px;
}

.kozjel-stat-row__label {
  font-size: 14px;
  line-height: 1.2;
}

.kozjel-stat-row__meta {
  font-size: 12px;
  gap: 8px;
}

.kozjel-bar {
  height: 10px;
}

.kozjel-stat-row__value,
.kozjel-stats-box__empty {
  font-size: 11px;
}

.kozjel-vote-box__controls,
.kozjel-bills__filter-actions {
  margin-top: 10px;
}

@media (max-width: 900px) {
  .kozjel-bill-card__member-area,
  .kozjel-stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .kozjel-vote-box,
  .kozjel-representative-box,
  .kozjel-stats-box,
  .kozjel-bill-card,
  .kozjel-bills__filters {
    padding: 14px;
  }

  .kozjel-vote-box h4,
  .kozjel-representative-box h4,
  .kozjel-stats-box h4 {
    font-size: 16px;
  }

  .kozjel-stat-row__top {
    display: grid;
    gap: 2px;
  }

  .kozjel-stat-row__meta {
    white-space: normal;
  }
}

.kozjel-follow-form {
  display: inline-flex;
  margin: 0;
}

/* Follow button visual alignment only */
.kozjel-share-inline .kozjel-follow-form {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.kozjel-share-inline .kozjel-follow-button {
  border: 1px solid #0f766e !important;
  background: #0f766e !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 7px 12px !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: none !important;
  min-height: 32px;
  gap: 5px;
}

.kozjel-share-inline .kozjel-follow-button::before {
  content: '☆';
  font-size: 14px;
  line-height: 1;
}

.kozjel-share-inline .kozjel-follow-button.kozjel-follow-button--active {
  background: #fff !important;
  color: #0f766e !important;
}

.kozjel-share-inline .kozjel-follow-button.kozjel-follow-button--active::before {
  content: '★';
}

.kozjel-share-inline .kozjel-follow-button:hover,
.kozjel-share-inline .kozjel-follow-button:focus {
  border-color: #0f766e !important;
  background: #0f766e !important;
  color: #fff !important;
  text-decoration: none !important;
}

.kozjel-share-inline .kozjel-follow-button.kozjel-follow-button--active:hover,
.kozjel-share-inline .kozjel-follow-button.kozjel-follow-button--active:focus {
  background: #fff !important;
  color: #0f766e !important;
}

@media (max-width: 700px) {
  .kozjel-share-inline .kozjel-follow-button {
    width: 32px;
    min-width: 32px;
    height: 32px;
    padding: 0 !important;
    overflow: hidden;
    font-size: 0 !important;
  }

  .kozjel-share-inline .kozjel-follow-button::before {
    font-size: 18px;
    margin: 0;
  }
}

/* Follow/share inline alignment fix */
.kozjel-bill-card__summary-main {
  align-items: center;
}

.kozjel-bill-card__summary-main > strong,
.kozjel-bill-card__summary-main > .kozjel-share-inline {
  flex: 0 0 auto;
}

.kozjel-bill-card__summary-main > .kozjel-share-inline {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  vertical-align: middle;
}

.kozjel-share-inline .kozjel-follow-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

@media (max-width: 700px) {
  .kozjel-bill-card__summary-main > .kozjel-share-inline {
    gap: 6px;
  }

  .kozjel-bill-card__summary-main > .kozjel-share-inline .kozjel-share-inline__label {
    display: none;
  }
}

/* Follow/share compact equal-height controls */
.kozjel-share-inline {
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
}

.kozjel-share-inline__label {
  white-space: nowrap !important;
  flex: 0 0 auto !important;
}

.kozjel-share-inline .kozjel-share-button:not(.kozjel-follow-button) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 32px !important;
  height: 32px !important;
  padding: 0 8px !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  flex: 0 0 auto !important;
}

.kozjel-share-inline .kozjel-share-social-icon,
.kozjel-share-inline .kozjel-share-instagram-icon,
.kozjel-share-inline .kozjel-share-facebook-icon,
.kozjel-share-inline .kozjel-share-linkedin-icon,
.kozjel-share-inline .kozjel-share-social-icon svg,
.kozjel-share-inline .kozjel-share-instagram-icon svg,
.kozjel-share-inline .kozjel-share-facebook-icon svg,
.kozjel-share-inline .kozjel-share-linkedin-icon svg {
  width: 32px !important;
  height: 32px !important;
  flex: 0 0 32px !important;
}

.kozjel-share-inline .kozjel-follow-form {
  width: 32px !important;
  height: 32px !important;
  flex: 0 0 32px !important;
}

.kozjel-share-inline .kozjel-follow-button {
  width: 32px !important;
  min-width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  border-radius: 999px !important;
  font-size: 0 !important;
  line-height: 1 !important;
  overflow: hidden !important;
  gap: 0 !important;
  flex: 0 0 32px !important;
}

.kozjel-share-inline .kozjel-follow-button::before {
  font-size: 18px !important;
  line-height: 1 !important;
  margin: 0 !important;
}

@media (max-width: 700px) {
  .kozjel-share-inline {
    gap: 6px !important;
  }
  .kozjel-share-inline__label {
    display: none !important;
  }
}

/* Bill list UI refinement: spacing, title row, title size */
.kozjel-bills__list {
  display: grid;
  gap: 20px;
}

.kozjel-bill-card__summary-main > .kozjel-card-title {
  flex: 0 0 100%;
  width: 100%;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
}

/* Bill summary meta pills: keep topic and status compact on the top row */
.kozjel-bill-card__summary {
  align-items: flex-start;
}

.kozjel-bill-card__summary-meta {
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: nowrap;
  flex: 0 0 auto;
  min-width: 0;
  white-space: nowrap;
  line-height: 1;
}

.kozjel-bill-card__summary-meta .kozjel-pill,
.kozjel-bill-card__summary-meta .kozjel-pill--topic,
.kozjel-bill-card__summary-meta .kozjel-pill--status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  flex: 0 0 auto;
  box-sizing: border-box;
}

@media (max-width: 700px) {
  .kozjel-bill-card__summary-meta {
    gap: 6px;
  }
  .kozjel-bill-card__summary-meta .kozjel-pill,
  .kozjel-bill-card__summary-meta .kozjel-pill--topic,
  .kozjel-bill-card__summary-meta .kozjel-pill--status {
    height: 28px;
    min-height: 28px;
    padding: 0 10px;
    font-size: 11px;
  }
}

.kozjel-auth-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #d9e0e7;
  border-radius: 14px;
  background: #f8fafc;
  padding: 14px 16px;
}

.kozjel-auth-cta__text {
  color: #1e293b;
  font-weight: 600;
  line-height: 1.4;
}

.kozjel-auth-cta__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.kozjel-auth-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
}

.kozjel-auth-cta__button--login {
  border: 1px solid #0f766e;
  background: #fff;
  color: #0f766e !important;
}

.kozjel-auth-cta__button--register {
  border: 1px solid #0f766e;
  background: #0f766e;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.18);
}

@media (max-width: 640px) {
  .kozjel-auth-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .kozjel-auth-cta__actions {
    width: 100%;
  }

  .kozjel-auth-cta__button {
    flex: 1 1 0;
  }
}

/* Instagram icon size alignment */
.kozjel-share-inline .kozjel-follow-button,
.kozjel-share-inline--issue .kozjel-follow-button,
.kozjel-share-inline .kozjel-share-facebook-icon,
.kozjel-share-inline .kozjel-share-instagram-icon,
.kozjel-share-inline .kozjel-share-linkedin-icon,
.kozjel-share-inline--issue .kozjel-share-facebook-icon,
.kozjel-share-inline--issue .kozjel-share-instagram-icon,
.kozjel-share-inline--issue .kozjel-share-linkedin-icon {
  width: 32px !important;
  min-width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  flex: 0 0 32px !important;
  box-sizing: border-box !important;
}

.kozjel-share-inline .kozjel-follow-button::before,
.kozjel-share-inline--issue .kozjel-follow-button::before {
  font-size: 22px !important;
  line-height: 1 !important;
}

.kozjel-share-inline .kozjel-share-facebook-icon svg,
.kozjel-share-inline .kozjel-share-instagram-icon svg,
.kozjel-share-inline .kozjel-share-linkedin-icon svg,
.kozjel-share-inline--issue .kozjel-share-facebook-icon svg,
.kozjel-share-inline--issue .kozjel-share-instagram-icon svg,
.kozjel-share-inline--issue .kozjel-share-linkedin-icon svg {
  width: 32px !important;
  height: 32px !important;
  display: block !important;
}


/* Instagram/favorite/share icon final alignment */
.kozjel-share-inline .kozjel-follow-form,
.kozjel-share-inline .kozjel-follow-button,
.kozjel-share-inline .kozjel-share-facebook-icon,
.kozjel-share-inline .kozjel-share-instagram-icon,
.kozjel-share-inline .kozjel-share-linkedin-icon {
  width: 34px !important;
  min-width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  flex: 0 0 34px !important;
  box-sizing: border-box !important;
  padding: 0 !important;
}

.kozjel-share-inline .kozjel-follow-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  line-height: 1 !important;
  font-size: 0 !important;
}

.kozjel-share-inline .kozjel-follow-button::before {
  font-size: 22px !important;
  line-height: 1 !important;
  margin: 0 !important;
}

.kozjel-share-inline .kozjel-share-facebook-icon svg,
.kozjel-share-inline .kozjel-share-instagram-icon svg,
.kozjel-share-inline .kozjel-share-linkedin-icon svg {
  width: 34px !important;
  height: 34px !important;
  display: block !important;
  flex: 0 0 34px !important;
}


/* Instagram mobilefix v2: exact 30px icon controls */
.kozjel-share-inline .kozjel-follow-form,
.kozjel-share-inline .kozjel-follow-button,
.kozjel-share-inline .kozjel-share-facebook-icon,
.kozjel-share-inline .kozjel-share-instagram-icon,
.kozjel-share-inline .kozjel-share-linkedin-icon {
  width: 30px !important;
  min-width: 30px !important;
  max-width: 30px !important;
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  flex: 0 0 30px !important;
  box-sizing: border-box !important;
  padding: 0 !important;
}
.kozjel-share-inline .kozjel-share-facebook-icon svg,
.kozjel-share-inline .kozjel-share-instagram-icon svg,
.kozjel-share-inline .kozjel-share-linkedin-icon svg {
  width: 30px !important;
  height: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;
  flex: 0 0 30px !important;
  display: block !important;
}
.kozjel-share-inline .kozjel-follow-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  font-size: 0 !important;
  line-height: 1 !important;
  gap: 0 !important;
}
.kozjel-share-inline .kozjel-follow-button::before {
  font-size: 19px !important;
  line-height: 1 !important;
  margin: 0 !important;
}


/* Mobile order fix: bill number + copy, then favorite; keep favorite visible. */
@media (max-width: 700px) {
  .kozjel-bill-card__summary-main {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) 30px 30px !important;
    grid-auto-rows: auto !important;
    align-items: center !important;
    column-gap: 8px !important;
    row-gap: 7px !important;
    inline-size: 100% !important;
    max-inline-size: 100% !important;
    min-inline-size: 0 !important;
  }

  .kozjel-bill-card__summary-main > strong {
    grid-column: 1 !important;
    grid-row: 1 !important;
    inline-size: auto !important;
    width: auto !important;
    max-inline-size: 42vw !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    align-self: center !important;
  }

  .kozjel-bill-card__summary-main > .kozjel-share-inline {
    display: contents !important;
  }

  .kozjel-share-inline .kozjel-share-inline__label {
    display: none !important;
  }

  .kozjel-share-inline .kozjel-share-copy {
    grid-column: 2 / 5 !important;
    grid-row: 1 !important;
    inline-size: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 10px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    box-sizing: border-box !important;
  }

  .kozjel-share-inline .kozjel-follow-form {
    display: inline-flex !important;
    grid-column: 1 !important;
    grid-row: 2 !important;
    inline-size: 30px !important;
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    block-size: 30px !important;
    height: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-self: center !important;
    justify-self: start !important;
    overflow: visible !important;
  }

  .kozjel-share-inline .kozjel-follow-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    inline-size: 30px !important;
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    block-size: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 0 !important;
    line-height: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .kozjel-share-inline .kozjel-follow-button::before {
    content: '☆' !important;
    display: block !important;
    font-size: 18px !important;
    line-height: 1 !important;
    margin: 0 !important;
  }

  .kozjel-share-inline .kozjel-follow-button.kozjel-follow-button--active::before {
    content: '★' !important;
  }

  .kozjel-share-inline .kozjel-share-facebook-icon,
  .kozjel-share-inline .kozjel-share-instagram-icon,
  .kozjel-share-inline .kozjel-share-linkedin-icon,
  .kozjel-share-inline .kozjel-share-facebook-icon svg,
  .kozjel-share-inline .kozjel-share-instagram-icon svg,
  .kozjel-share-inline .kozjel-share-linkedin-icon svg {
    inline-size: 30px !important;
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    block-size: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .kozjel-share-inline .kozjel-share-facebook-icon {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }

  .kozjel-share-inline .kozjel-share-instagram-icon {
    grid-column: 3 !important;
    grid-row: 2 !important;
  }

  .kozjel-share-inline .kozjel-share-linkedin-icon {
    grid-column: 4 !important;
    grid-row: 2 !important;
  }

  .kozjel-share-inline .kozjel-share-message {
    grid-column: 1 / 5 !important;
    grid-row: 3 !important;
    inline-size: 100% !important;
    max-inline-size: 100% !important;
    min-inline-size: 0 !important;
    overflow-wrap: anywhere !important;
  }

  .kozjel-bill-card__summary-main > .kozjel-card-title {
    grid-column: 1 / 5 !important;
    grid-row: 4 !important;
    min-inline-size: 0 !important;
    max-inline-size: 100% !important;
  }
}


/* Mobile share row harmonization: keep favorite visible below bill number/link row. */
@media (max-width: 700px) {
  .kozjel-bill-card__summary-main {
    display: grid !important;
    grid-template-columns: minmax(0, max-content) minmax(0, 1fr) 30px 30px 30px !important;
    grid-auto-rows: auto !important;
    align-items: center !important;
    column-gap: 8px !important;
    row-gap: 9px !important;
    inline-size: 100% !important;
    max-inline-size: 100% !important;
    min-inline-size: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .kozjel-bill-card__summary-main > strong,
  .kozjel-bill-card__summary-main > .kozjel-bill-card__identifier {
    grid-column: 1 !important;
    grid-row: 1 !important;
    inline-size: auto !important;
    width: auto !important;
    max-inline-size: 34vw !important;
    min-inline-size: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    align-self: center !important;
  }

  .kozjel-bill-card__summary-main > .kozjel-share-inline,
  .kozjel-share-inline {
    display: contents !important;
  }

  .kozjel-share-inline .kozjel-share-inline__label {
    display: none !important;
  }

  .kozjel-share-inline .kozjel-share-copy {
    grid-column: 2 !important;
    grid-row: 1 !important;
    inline-size: auto !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 4px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    justify-self: start !important;
    align-self: center !important;
    box-sizing: border-box !important;
  }

  .kozjel-share-inline .kozjel-share-facebook-icon {
    grid-column: 3 !important;
    grid-row: 1 !important;
  }

  .kozjel-share-inline .kozjel-share-instagram-icon {
    grid-column: 4 !important;
    grid-row: 1 !important;
  }

  .kozjel-share-inline .kozjel-share-linkedin-icon {
    grid-column: 5 !important;
    grid-row: 1 !important;
  }

  .kozjel-share-inline .kozjel-follow-form {
    display: inline-flex !important;
    grid-column: 1 !important;
    grid-row: 2 !important;
    inline-size: 30px !important;
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    block-size: 30px !important;
    height: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-self: center !important;
    justify-self: start !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  .kozjel-share-inline .kozjel-follow-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    inline-size: 30px !important;
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    block-size: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 0 !important;
    line-height: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .kozjel-share-inline .kozjel-follow-button::before {
    content: '☆' !important;
    display: block !important;
    font-size: 18px !important;
    line-height: 1 !important;
    margin: 0 !important;
  }

  .kozjel-share-inline .kozjel-follow-button.kozjel-follow-button--active::before {
    content: '★' !important;
  }

  .kozjel-share-inline .kozjel-share-facebook-icon,
  .kozjel-share-inline .kozjel-share-instagram-icon,
  .kozjel-share-inline .kozjel-share-linkedin-icon,
  .kozjel-share-inline .kozjel-share-facebook-icon svg,
  .kozjel-share-inline .kozjel-share-instagram-icon svg,
  .kozjel-share-inline .kozjel-share-linkedin-icon svg {
    inline-size: 30px !important;
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    block-size: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .kozjel-share-inline .kozjel-share-message {
    grid-column: 1 / 6 !important;
    grid-row: 3 !important;
    inline-size: 100% !important;
    max-inline-size: 100% !important;
    min-inline-size: 0 !important;
    overflow-wrap: anywhere !important;
  }
}

/* Government-decision extension: consultation deadline emphasis */
.kozjel-bill-card.is-deadline-soon {
    background: #fff7ed;
    border-color: #fb923c;
    box-shadow: 0 8px 24px rgba(251, 146, 60, 0.16);
}

.kozjel-deadline-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.kozjel-deadline-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 3px 9px;
    font-size: 12px;
    font-weight: 700;
    background: #fed7aa;
    color: #9a3412;
    border: 1px solid #fdba74;
}

.kozjel-pill--type {
    background: #eef2ff;
    color: #3730a3;
    border-color: #c7d2fe;
}

/* Votable items: keep still-open reactions visually visible and near the top. */
.kozjel-bill-card.is-votable:not(.is-deadline-soon) {
    background: #f0fdf4;
    border-color: #86efac;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.12);
}

.kozjel-pill--votable {
    background: #dcfce7 !important;
    color: #166534 !important;
    border: 1px solid #86efac !important;
    font-weight: 700 !important;
}

/* Refinements: make active voting clearer and keep the vote controls on one row. */
.kozjel-bill-card__summary-meta .kozjel-pill--votable,
.kozjel-pill--votable {
    background: #16a34a !important;
    color: #ffffff !important;
    border: 1px solid #15803d !important;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.26) !important;
    font-weight: 800 !important;
}

.kozjel-vote-box__controls {
    align-items: center;
}

.kozjel-vote-box__controls .kozjel-vote-box__label {
    margin: 0;
    flex: 0 0 auto;
    white-space: nowrap;
}

.kozjel-vote-box__controls .kozjel-vote-select {
    width: auto;
    min-width: 220px;
    flex: 1 1 260px;
}

.kozjel-vote-box__controls .kozjel-vote-submit {
    flex: 0 0 auto;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .kozjel-vote-box__controls .kozjel-vote-box__label {
        width: 100%;
    }
    .kozjel-vote-box__controls .kozjel-vote-select,
    .kozjel-vote-box__controls .kozjel-vote-submit {
        width: 100%;
    }
}


/* v21.1: only visual fixes for the votable badge and the citizen vote row. */
.kozjel-bill-card .kozjel-bill-card__summary-meta .kozjel-pill.kozjel-pill--votable,
.kozjel-bill-card .kozjel-pill.kozjel-pill--votable,
.kozjel-pill.kozjel-pill--votable {
    background: #15803d !important;
    background-color: #15803d !important;
    color: #ffffff !important;
    border: 1px solid #166534 !important;
    box-shadow: 0 4px 12px rgba(21, 128, 61, 0.28) !important;
    font-weight: 900 !important;
    letter-spacing: 0.01em;
}

.kozjel-vote-box:not(.kozjel-vote-box--rep):not(.kozjel-vote-box--locked) .kozjel-vote-box__controls {
    display: grid !important;
    grid-template-columns: auto minmax(220px, 1fr) auto !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 0 !important;
}

.kozjel-vote-box:not(.kozjel-vote-box--rep):not(.kozjel-vote-box--locked) .kozjel-vote-box__controls .kozjel-vote-box__label {
    margin: 0 !important;
    white-space: nowrap !important;
    line-height: 39px !important;
}

.kozjel-vote-box:not(.kozjel-vote-box--rep):not(.kozjel-vote-box--locked) .kozjel-vote-box__controls .kozjel-vote-select {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
}

.kozjel-vote-box:not(.kozjel-vote-box--rep):not(.kozjel-vote-box--locked) .kozjel-vote-box__controls .kozjel-vote-submit {
    white-space: nowrap !important;
}

@media (max-width: 760px) {
    .kozjel-vote-box:not(.kozjel-vote-box--rep):not(.kozjel-vote-box--locked) .kozjel-vote-box__controls {
        grid-template-columns: 1fr !important;
    }
    .kozjel-vote-box:not(.kozjel-vote-box--rep):not(.kozjel-vote-box--locked) .kozjel-vote-box__controls .kozjel-vote-box__label {
        line-height: 1.25 !important;
    }
}

/* v22.1: final visual-only refinements for votable badge and vote controls. */
.kozjel-bill-card.is-votable:not(.is-deadline-soon) {
    background: #fff !important;
    border-color: #d9d9d9 !important;
    box-shadow: none !important;
}

.kozjel-bill-card .kozjel-bill-card__summary-meta .kozjel-pill.kozjel-pill--votable,
.kozjel-bill-card .kozjel-pill.kozjel-pill--votable,
.kozjel-pill.kozjel-pill--votable {
    background: #15803d !important;
    background-color: #15803d !important;
    color: #ffffff !important;
    border-color: #166534 !important;
    box-shadow: 0 4px 12px rgba(21, 128, 61, 0.30) !important;
    font-weight: 900 !important;
}

.kozjel-vote-box:not(.kozjel-vote-box--rep):not(.kozjel-vote-box--locked) .kozjel-vote-box__controls {
    display: grid !important;
    grid-template-columns: auto minmax(220px, 1fr) auto !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 0 !important;
}

.kozjel-vote-box:not(.kozjel-vote-box--rep):not(.kozjel-vote-box--locked) .kozjel-vote-box__controls .kozjel-vote-box__label {
    margin: 0 !important;
    white-space: nowrap !important;
    line-height: 42px !important;
}

.kozjel-vote-box:not(.kozjel-vote-box--rep):not(.kozjel-vote-box--locked) .kozjel-vote-box__controls .kozjel-vote-select {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
}

.kozjel-vote-box:not(.kozjel-vote-box--rep):not(.kozjel-vote-box--locked) .kozjel-vote-box__controls .kozjel-vote-submit {
    white-space: nowrap !important;
}

.kozjel-vote-box:not(.kozjel-vote-box--rep):not(.kozjel-vote-box--locked) .kozjel-warning {
    margin-top: 18px !important;
}

@media (max-width: 760px) {
    .kozjel-vote-box:not(.kozjel-vote-box--rep):not(.kozjel-vote-box--locked) .kozjel-vote-box__controls {
        grid-template-columns: 1fr !important;
    }
    .kozjel-vote-box:not(.kozjel-vote-box--rep):not(.kozjel-vote-box--locked) .kozjel-vote-box__controls .kozjel-vote-box__label {
        line-height: 1.25 !important;
    }
}

/* v23.1: guest reactions for logged-out visitors. */
.kozjel-guest-vote-box {
  margin-top: 18px;
}

.kozjel-guest-vote-box__intro {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
  color: #475569;
}

.kozjel-guest-vote-box__intro strong {
  color: #0f172a;
  font-weight: 800;
}

.kozjel-guest-vote-note {
  margin-top: 12px;
  color: #64748b;
  font-size: 14px;
}

.kozjel-guest-vote-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.kozjel-guest-vote-controls .kozjel-vote-box__label {
  margin: 0;
  white-space: nowrap;
}

.kozjel-guest-vote-controls .kozjel-guest-vote-select {
  min-width: 220px;
  flex: 1 1 260px;
}

.kozjel-guest-vote-controls .kozjel-guest-vote-submit {
  flex: 0 0 auto;
}

@media (max-width: 720px) {
  .kozjel-guest-vote-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .kozjel-guest-vote-controls .kozjel-guest-vote-select,
  .kozjel-guest-vote-controls .kozjel-guest-vote-submit {
    width: 100%;
  }
}


/* v24.1: guest vote UI fix only. */
.kozjel-guest-vote-box {
  margin-top: 18px;
}

.kozjel-guest-vote-controls {
  display: grid !important;
  grid-template-columns: auto minmax(180px, 360px) auto !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 14px !important;
}

.kozjel-guest-vote-controls .kozjel-vote-box__label {
  margin: 0 !important;
  white-space: nowrap !important;
  line-height: 39px !important;
}

.kozjel-guest-vote-controls .kozjel-guest-vote-select {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 360px !important;
  height: 39px !important;
  min-height: 39px !important;
  padding: 0 14px !important;
  border: 1px solid #cfd7e3 !important;
  border-radius: 20px !important;
  background: #f4f7fb !important;
  color: #1f2937 !important;
  box-shadow: none !important;
}

.kozjel-guest-vote-controls .kozjel-guest-vote-submit {
  height: 39px !important;
  min-height: 39px !important;
  padding: 0 18px !important;
  border-radius: 20px !important;
  line-height: 39px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

.kozjel-guest-vote-note {
  margin-top: 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.kozjel-guest-vote-note__actions {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

.kozjel-guest-vote-note__actions .kozjel-auth-cta__button {
  padding: 7px 12px !important;
  min-height: 34px !important;
  border-radius: 18px !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
}

@media (max-width: 720px) {
  .kozjel-guest-vote-controls {
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  .kozjel-guest-vote-controls .kozjel-vote-box__label {
    line-height: 1.25 !important;
  }

  .kozjel-guest-vote-controls .kozjel-guest-vote-select,
  .kozjel-guest-vote-controls .kozjel-guest-vote-submit {
    max-width: none !important;
    width: 100% !important;
  }
}


/* v26.1: guest vote consent, Turnstile and strict compact layout. */
.kozjel-guest-vote-box .kozjel-guest-vote-controls {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 560px !important;
  margin-top: 16px !important;
}

.kozjel-guest-vote-box .kozjel-vote-box__label {
  flex: 0 0 auto !important;
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 39px !important;
  white-space: nowrap !important;
}

.kozjel-guest-vote-box select.kozjel-vote-select.kozjel-guest-vote-select {
  flex: 0 1 260px !important;
  width: 260px !important;
  max-width: 260px !important;
  min-width: 180px !important;
  height: 39px !important;
  min-height: 39px !important;
  padding: 0 14px !important;
  border: 1px solid #cfd7e3 !important;
  border-radius: 20px !important;
  background-color: #f4f7fb !important;
  color: #1f2937 !important;
  box-shadow: none !important;
}

.kozjel-guest-vote-box button.kozjel-vote-submit.kozjel-guest-vote-submit {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  height: 39px !important;
  min-height: 39px !important;
  padding: 0 22px !important;
  border-radius: 20px !important;
  line-height: 39px !important;
  font-size: 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

.kozjel-guest-consent {
  margin-top: 14px !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 9px !important;
  max-width: 820px !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  color: #526173 !important;
}

.kozjel-guest-consent input[type="checkbox"] {
  margin-top: 3px !important;
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 16px !important;
}

.kozjel-guest-turnstile {
  margin-top: 12px !important;
}

@media (max-width: 720px) {
  .kozjel-guest-vote-box .kozjel-guest-vote-controls {
    max-width: none !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }
  .kozjel-guest-vote-box .kozjel-vote-box__label {
    line-height: 1.25 !important;
  }
  .kozjel-guest-vote-box select.kozjel-vote-select.kozjel-guest-vote-select,
  .kozjel-guest-vote-box button.kozjel-vote-submit.kozjel-guest-vote-submit {
    width: 100% !important;
    max-width: none !important;
  }
}

/* v27: final guest vote UI parity with registered voting controls. */
.kozjel-guest-vote-box .kozjel-guest-vote-controls {
  display: inline-grid !important;
  grid-template-columns: auto 260px auto !important;
  align-items: center !important;
  gap: 12px !important;
  width: auto !important;
  max-width: 50% !important;
  margin-top: 14px !important;
}

.kozjel-guest-vote-box .kozjel-guest-vote-controls .kozjel-vote-box__label {
  margin: 0 !important;
  white-space: nowrap !important;
  line-height: 39px !important;
  font-size: inherit !important;
  font-weight: 400 !important;
}

.kozjel-guest-vote-box .kozjel-guest-vote-controls .kozjel-vote-select,
.kozjel-guest-vote-box select.kozjel-vote-select.kozjel-guest-vote-select {
  width: 260px !important;
  min-width: 260px !important;
  max-width: 260px !important;
  height: 39px !important;
  min-height: 39px !important;
  padding: 0 14px !important;
  border: 1px solid #cfd7e3 !important;
  border-radius: 20px !important;
  background: #f4f7fb !important;
  color: #1f2937 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  flex: 0 0 auto !important;
}

.kozjel-guest-vote-box .kozjel-guest-vote-controls .kozjel-vote-submit,
.kozjel-guest-vote-box button.kozjel-vote-submit.kozjel-guest-vote-submit {
  width: auto !important;
  min-width: 0 !important;
  height: 39px !important;
  min-height: 39px !important;
  padding: 0 22px !important;
  border: 1px solid #d7dee8 !important;
  border-radius: 20px !important;
  background: #eef2f7 !important;
  color: #295991 !important;
  font-weight: 700 !important;
  line-height: 39px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  flex: 0 0 auto !important;
}

.kozjel-guest-consent {
  margin-top: 14px !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 9px !important;
  max-width: 820px !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  color: #526173 !important;
}

.kozjel-guest-consent input[type="checkbox"].kozjel-guest-consent-checkbox {
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  margin: 3px 0 0 0 !important;
  width: 16px !important;
  min-width: 16px !important;
  height: 16px !important;
  min-height: 16px !important;
  flex: 0 0 16px !important;
  accent-color: #15803d !important;
}

.kozjel-guest-turnstile {
  margin-top: 12px !important;
  min-height: 65px !important;
  display: block !important;
}

@media (max-width: 1100px) {
  .kozjel-guest-vote-box .kozjel-guest-vote-controls {
    max-width: 100% !important;
  }
}

@media (max-width: 720px) {
  .kozjel-guest-vote-box .kozjel-guest-vote-controls {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: none !important;
    align-items: stretch !important;
  }
  .kozjel-guest-vote-box .kozjel-guest-vote-controls .kozjel-vote-box__label {
    line-height: 1.25 !important;
  }
  .kozjel-guest-vote-box .kozjel-guest-vote-controls .kozjel-vote-select,
  .kozjel-guest-vote-box select.kozjel-vote-select.kozjel-guest-vote-select,
  .kozjel-guest-vote-box .kozjel-guest-vote-controls .kozjel-vote-submit,
  .kozjel-guest-vote-box button.kozjel-vote-submit.kozjel-guest-vote-submit {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }
}


/* v28: hard override for guest vote controls, consent checkbox and Turnstile visibility. */
.kozjel-guest-vote-box .kozjel-guest-vote-controls--v28,
.kozjel-bills .kozjel-guest-vote-box .kozjel-guest-vote-controls--v28,
.kozjel-vote-box.kozjel-guest-vote-box .kozjel-guest-vote-controls--v28 {
  display: grid !important;
  grid-template-columns: auto minmax(190px, 260px) auto !important;
  align-items: center !important;
  gap: 12px !important;
  width: max-content !important;
  max-width: 50% !important;
  margin-top: 14px !important;
}
.kozjel-guest-vote-box .kozjel-guest-vote-controls--v28 .kozjel-vote-box__label {
  margin: 0 !important;
  white-space: nowrap !important;
  line-height: 39px !important;
  font-size: inherit !important;
  font-weight: 400 !important;
}
.kozjel-guest-vote-box .kozjel-guest-vote-controls--v28 select.kozjel-guest-vote-select,
.kozjel-guest-vote-box .kozjel-guest-vote-controls--v28 .kozjel-vote-select {
  width: 260px !important;
  min-width: 190px !important;
  max-width: 260px !important;
  height: 39px !important;
  min-height: 39px !important;
  border: 1px solid #cfd7e3 !important;
  border-radius: 20px !important;
  padding: 0 14px !important;
  background-color: #f4f7fb !important;
  color: #1f2937 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  flex: 0 0 auto !important;
}
.kozjel-guest-vote-box .kozjel-guest-vote-controls--v28 button.kozjel-guest-vote-submit,
.kozjel-guest-vote-box .kozjel-guest-vote-controls--v28 .kozjel-vote-submit {
  width: auto !important;
  min-width: 0 !important;
  height: 39px !important;
  min-height: 39px !important;
  padding: 0 22px !important;
  border-radius: 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  flex: 0 0 auto !important;
}
.kozjel-guest-consent--v28,
.kozjel-bills .kozjel-guest-consent--v28 {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin-top: 14px !important;
  max-width: 820px !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  color: #526173 !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.kozjel-guest-consent--v28 input[type="checkbox"].kozjel-guest-consent-checkbox {
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  left: auto !important;
  clip: auto !important;
  clip-path: none !important;
  transform: none !important;
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  margin: 2px 0 0 0 !important;
  padding: 0 !important;
  flex: 0 0 18px !important;
  accent-color: #15803d !important;
}
.kozjel-guest-turnstile.cf-turnstile-placeholder,
.kozjel-guest-turnstile.cf-turnstile {
  margin-top: 12px !important;
  min-height: 65px !important;
  display: block !important;
}
@media (max-width: 760px) {
  .kozjel-guest-vote-box .kozjel-guest-vote-controls--v28,
  .kozjel-bills .kozjel-guest-vote-box .kozjel-guest-vote-controls--v28 {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .kozjel-guest-vote-box .kozjel-guest-vote-controls--v28 .kozjel-vote-box__label,
  .kozjel-guest-vote-box .kozjel-guest-vote-controls--v28 select.kozjel-guest-vote-select,
  .kozjel-guest-vote-box .kozjel-guest-vote-controls--v28 button.kozjel-guest-vote-submit {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* v29: always-visible guest vote ratios. */
.kozjel-guest-stats-slot {
  margin-top: 16px;
  min-width: 0;
}

.kozjel-guest-stats-box {
  border: 1px solid rgba(15, 118, 110, 0.16);
  background: #f8fafc;
}

.kozjel-guest-stats-box h4 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.kozjel-stats-box__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #075985;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
}

.kozjel-guest-stats-box__note {
  margin: -4px 0 12px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.35;
}

.kozjel-stat-row--guest .kozjel-stat-row__meta {
  white-space: nowrap;
}


/* v30: mobile anchor/width parity with issues plugin. */
.kozjel-bill-card__summary-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.kozjel-card-title--bill {
  min-width: 0;
}

@media (max-width: 700px) {
  .kozjel-bills,
  .kozjel-bills__list,
  .kozjel-bill-card,
  .kozjel-bill-card__summary,
  .kozjel-bill-card__summary-main,
  .kozjel-bill-card__summary-topline,
  .kozjel-card-title--bill,
  .kozjel-bill-card__summary-meta,
  .kozjel-bill-card__content {
    inline-size: 100% !important;
    max-inline-size: 100% !important;
    min-inline-size: 0 !important;
    overflow-wrap: anywhere !important;
    box-sizing: border-box !important;
  }

  .kozjel-bills,
  .kozjel-bills__list,
  .kozjel-bill-card,
  .kozjel-bill-card__summary {
    overflow-x: clip !important;
  }

  .kozjel-bill-card__summary {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 8px !important;
  }

  .kozjel-bill-card__summary-main {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 6px !important;
  }

  .kozjel-bill-card__summary-topline {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) 30px 30px !important;
    grid-auto-rows: auto !important;
    align-items: center !important;
    column-gap: 8px !important;
    row-gap: 7px !important;
    inline-size: 100% !important;
    max-inline-size: 100% !important;
    min-inline-size: 0 !important;
  }

  .kozjel-bill-card__summary-topline > strong {
    grid-column: 1 !important;
    grid-row: 1 !important;
    inline-size: auto !important;
    width: auto !important;
    max-inline-size: 42vw !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    align-self: center !important;
  }

  .kozjel-card-title--bill {
    display: block !important;
    inline-size: 100% !important;
    max-inline-size: 100% !important;
    min-inline-size: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  .kozjel-bill-card__summary-topline .kozjel-share-inline--bill,
  .kozjel-share-inline--bill {
    display: contents !important;
  }

  .kozjel-share-inline--bill .kozjel-share-inline__label {
    display: none !important;
  }

  .kozjel-share-inline--bill .kozjel-share-copy {
    grid-column: 2 / 5 !important;
    grid-row: 1 !important;
    inline-size: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 10px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    box-sizing: border-box !important;
  }

  .kozjel-share-inline--bill .kozjel-follow-form {
    display: inline-flex !important;
    grid-column: 1 !important;
    grid-row: 2 !important;
    inline-size: 30px !important;
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    block-size: 30px !important;
    height: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-self: center !important;
    justify-self: start !important;
    overflow: visible !important;
  }

  .kozjel-share-inline--bill .kozjel-follow-button {
    display: inline-flex !important;
    inline-size: 30px !important;
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    block-size: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 !important;
    border-radius: 999px !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  .kozjel-share-inline--bill .kozjel-share-facebook-icon {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }

  .kozjel-share-inline--bill .kozjel-share-instagram-icon {
    grid-column: 3 !important;
    grid-row: 2 !important;
  }

  .kozjel-share-inline--bill .kozjel-share-linkedin-icon {
    grid-column: 4 !important;
    grid-row: 2 !important;
  }

  .kozjel-share-inline--bill .kozjel-share-facebook-icon,
  .kozjel-share-inline--bill .kozjel-share-instagram-icon,
  .kozjel-share-inline--bill .kozjel-share-linkedin-icon {
    display: inline-flex !important;
    inline-size: 30px !important;
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    block-size: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: start !important;
    box-sizing: border-box !important;
  }

  .kozjel-share-inline--bill .kozjel-share-facebook-icon svg,
  .kozjel-share-inline--bill .kozjel-share-instagram-icon svg,
  .kozjel-share-inline--bill .kozjel-share-linkedin-icon svg {
    inline-size: 30px !important;
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    block-size: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
    display: block !important;
  }

  .kozjel-bill-card__summary-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-top: 8px !important;
  }

  .kozjel-bill-card__summary-meta .kozjel-pill {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }
}

/* v31: Bills mobile share row - keep identifier + share actions on one top row. */
@media (max-width: 700px) {
  .kozjel-bill-card__summary-topline {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex-wrap: nowrap !important;
    overflow: hidden !important;
  }

  .kozjel-bill-card__summary-topline > strong {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    max-width: 34vw !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 30px !important;
  }

  .kozjel-bill-card__summary-topline > .kozjel-share-inline {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 5px !important;
    flex-wrap: nowrap !important;
    overflow: hidden !important;
  }

  .kozjel-bill-card__summary-topline .kozjel-share-inline__label,
  .kozjel-bill-card__summary-topline .kozjel-share-message,
  .kozjel-bill-card__summary-topline .kozjel-follow-form {
    display: none !important;
  }

  .kozjel-bill-card__summary-topline .kozjel-share-copy {
    flex: 1 1 auto !important;
    min-width: 82px !important;
    max-width: 132px !important;
    width: auto !important;
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 8px !important;
    font-size: 12px !important;
    line-height: 30px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .kozjel-bill-card__summary-topline .kozjel-share-facebook-icon,
  .kozjel-bill-card__summary-topline .kozjel-share-instagram-icon,
  .kozjel-bill-card__summary-topline .kozjel-share-linkedin-icon {
    flex: 0 0 30px !important;
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .kozjel-bill-card__summary-topline .kozjel-share-facebook-icon svg,
  .kozjel-bill-card__summary-topline .kozjel-share-instagram-icon svg,
  .kozjel-bill-card__summary-topline .kozjel-share-linkedin-icon svg {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
  }
}

/* Parent-child tree layout: only positions existing cards, card internals remain unchanged. */
.kozjel-bill-tree-children {
  max-width: 1290px;
  width: calc(100% - 32px);
  margin: -4px auto 8px auto;
  padding-left: 28px;
  border-left: 2px solid #dbe3ee;
  display: grid;
  gap: 16px;
  box-sizing: border-box;
}

.kozjel-bill-tree-child {
  position: relative;
}

.kozjel-bill-tree-child::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 28px;
  width: 18px;
  border-top: 2px solid #dbe3ee;
}

.kozjel-bill-tree-child .kozjel-bill-card {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.kozjel-bill-tree-group {
  max-width: 1290px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  gap: 12px;
}

.kozjel-bill-tree-group__title {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  color: #334155;
  padding: 0 2px;
}

.kozjel-bill-tree-group > .kozjel-bill-tree-children {
  width: calc(100% - 32px);
  margin-top: 0;
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .kozjel-bill-tree-children {
    width: calc(100% - 16px);
    padding-left: 18px;
  }

  .kozjel-bill-tree-child::before {
    left: -18px;
    width: 12px;
  }
}
