:root {
  --bg: #17191d;
  --bg-elevated: #23262c;
  --bg-card: #282c33;
  --border: #3a3f48;
  --text: #f5f1ec;
  --text-muted: rgba(226, 216, 207, 0.88);
  --accent: #e8884a;
  --accent-soft: rgba(232, 136, 74, 0.16);
  --accent-glow: rgba(232, 136, 74, 0.35);
  --danger: #d46a5a;
  --radius: 16px;
  --topbar-h: 56px;
  --bottom-nav-h: 64px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --app-font-scale: 1;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body.app-body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: calc(1rem * var(--app-font-scale));
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
  position: relative;
  overflow-x: hidden;
}

body.app-body::before,
body.app-body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  opacity: 0;
  will-change: transform, opacity;
}

body.app-body::before {
  top: -12vh;
  left: -8vw;
  width: 46vw;
  height: 46vw;
  min-width: 280px;
  min-height: 280px;
  background:
    radial-gradient(circle at center,
      rgba(232, 136, 74, 0.24) 0%,
      rgba(232, 136, 74, 0.12) 38%,
      rgba(232, 136, 74, 0) 72%);
  animation: ambientGlowOne 18s ease-in-out infinite alternate;
}

body.app-body::after {
  right: -10vw;
  bottom: 8vh;
  width: 38vw;
  height: 38vw;
  min-width: 240px;
  min-height: 240px;
  background:
    radial-gradient(circle at center,
      rgba(114, 92, 74, 0.18) 0%,
      rgba(114, 92, 74, 0.08) 42%,
      rgba(114, 92, 74, 0) 72%);
  animation: ambientGlowTwo 22s ease-in-out infinite alternate;
}

body.app-body.has-app-shell {
  overflow: hidden;
  height: 100dvh;
}

body.app-body.has-app-shell #app-root {
  height: 100dvh;
  overflow: hidden;
}

#app-root {
  min-height: 100dvh;
  position: relative;
  z-index: 1;
}

.screen {
  min-height: 100dvh;
  padding: 1.25rem;
  overflow-y: auto;
}

.screen--center {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: max(1.25rem, env(safe-area-inset-top, 0px));
  padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
}

.screen--boot-loading {
  overflow: hidden;
}

.loader {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid rgba(242, 140, 40, 0.2);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
  margin: 0 auto 0.75rem;
}

.loader-text {
  text-align: center;
  color: var(--text-muted);
  margin: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes ambientGlowOne {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.18;
  }
  100% {
    transform: translate3d(5vw, 3vh, 0) scale(1.08);
    opacity: 0.28;
  }
}

@keyframes ambientGlowTwo {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.14;
  }
  100% {
    transform: translate3d(-4vw, -3vh, 0) scale(1.06);
    opacity: 0.24;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.app-body::before,
  body.app-body::after {
    animation: none;
  }
}

.status-card {
  width: min(100%, 400px);
  text-align: center;
  padding: 1.5rem 1.25rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.status-card__logo {
  border-radius: 18px;
  margin: 0 auto 1rem;
}

.status-card__title {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

.status-card__text {
  margin: 0 0 0.65rem;
  line-height: 1.55;
}

.status-card__text--muted {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.status-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.btn--primary {
  background: var(--accent);
  color: #1a1008;
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px var(--accent-glow);
}

.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: rgba(242, 140, 40, 0.4);
  color: var(--accent);
}

.btn--block {
  width: 100%;
}

.btn--google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  background: #ffffff;
  color: #1f1f1f;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn--google:hover {
  background: #f5f5f5;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn--google__icon {
  display: inline-flex;
  line-height: 0;
}

.admin-login {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(242, 140, 40, 0.28);
  background: rgba(242, 140, 40, 0.06);
  text-align: left;
}

.admin-login__form {
  margin-top: 0.25rem;
}

.admin-login__label {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-login__error {
  margin: 0 0 0.65rem;
  color: var(--danger);
  font-size: 0.88rem;
}

.field {
  width: 100%;
  margin-bottom: 0.55rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font: inherit;
}

.field:focus {
  outline: none;
  border-color: rgba(242, 140, 40, 0.5);
}

/* App shell */
.app-shell {
  height: 100dvh;
  max-height: 100dvh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  overflow: hidden;
}

.app-shell--loading .app-topbar__meta {
  visibility: hidden;
  pointer-events: none;
}

.app-shell--loading .app-main {
  overflow: hidden;
}

.app-shell--loading .bottom-nav {
  pointer-events: none;
  opacity: 0.55;
}

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--topbar-h);
  padding: 0 0.85rem;
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.app-topbar__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 0.95rem;
  min-width: 0;
}

.app-topbar__brand img {
  border-radius: 10px;
}

.app-topbar__brand em {
  font-style: normal;
  color: var(--accent);
}

.app-topbar__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.app-topbar__logout {
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  border-radius: 8px;
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 1rem;
}

.app-topbar__settings {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1rem;
}

.app-main {
  flex: 1 1 auto;
  min-height: 0;
  height: 0;
  padding: 0.85rem 0.85rem calc(var(--bottom-nav-h) + var(--safe-bottom) + 0.5rem);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
  scrollbar-gutter: stable;
}

.app-main::-webkit-scrollbar {
  width: 8px;
}

.app-main::-webkit-scrollbar-track {
  background: transparent;
}

.app-main::-webkit-scrollbar-thumb {
  background: rgba(242, 140, 40, 0.28);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.app-main::-webkit-scrollbar-thumb:hover {
  background: rgba(242, 140, 40, 0.45);
  background-clip: padding-box;
}

@supports (scrollbar-color: auto) {
  .app-main {
    scrollbar-width: thin;
    scrollbar-color: rgba(242, 140, 40, 0.35) transparent;
  }
}

.app-admin-note {
  display: none;
  margin: 0;
  padding: 0.25rem 0.5rem 0.5rem;
  text-align: center;
  font-size: 0.68rem;
  color: #555;
}

/* Home placeholder */
.home-screen {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.home-greeting {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.home-hero {
  padding: 0.15rem 0 0.25rem;
}

.home-profile-line {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: capitalize;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.55rem;
  border-radius: 24px;
  border: 1px solid rgba(242, 140, 40, 0.22);
  background: var(--bg-card);
}

.search-form--page {
  margin-bottom: 0.85rem;
  border-radius: 16px;
}

.search-form__icon {
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}

.search-form__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 16px; /* ≥16px — inače iOS Safari zumira polje pri fokusu */
  outline: none;
}

.search-form__input::placeholder {
  color: var(--text-muted);
}

.search-form__submit {
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.2rem 0.35rem;
  line-height: 1;
}

.search-bar {
  display: none;
}

.brzo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  padding: 0.42rem 0.72rem 0.42rem 0.48rem;
  border: 0;
  border-radius: 16px;
  background: var(--accent);
  color: #1a1008;
  font: inherit;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  flex-shrink: 0;
  white-space: nowrap;
}

.brzo-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px var(--accent-glow);
}

.brzo-btn__bolt {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  animation: boltPulse 1.8s ease-in-out infinite;
}

.brzo-btn__bolt-svg {
  width: 1rem;
  height: 1rem;
  display: block;
  color: #1a1008;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.14));
}

.brzo-btn__label {
  display: inline-block;
  color: #1a1008;
  opacity: 1;
}

.auto-izbor-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 30vh;
  text-align: center;
  gap: 0.6rem;
}

.auto-izbor-loading__ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid rgba(232, 136, 74, 0.16);
  border-top-color: rgba(232, 136, 74, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spin 1.1s linear infinite;
}

.auto-izbor-loading__core {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(232, 136, 74, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spinReverse 1.7s linear infinite;
}

.auto-izbor-loading__bolt {
  width: 19px;
  height: 19px;
  color: #1a1008;
  animation: autoIzborBoltPulse 1.15s ease-in-out infinite;
}

.auto-izbor-loading__text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
  min-height: 2.4em;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

@keyframes boltPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }
  50% {
    transform: scale(1.06);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      0 0 12px rgba(232, 136, 74, 0.22);
  }
}

@keyframes spinReverse {
  to { transform: rotate(-360deg); }
}

@keyframes autoIzborBoltPulse {
  0%, 100% {
    transform: scale(0.92);
    opacity: 0.78;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 0.8rem;
}

.chip--btn {
  cursor: pointer;
  font: inherit;
}

.chip--active {
  border-color: rgba(242, 140, 40, 0.5);
  background: var(--accent-soft);
  color: var(--accent);
}

.chip--more-cities {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px dashed rgba(242, 140, 40, 0.55);
  background: rgba(242, 140, 40, 0.06);
  color: var(--accent);
  font-weight: 600;
}

.chip--more-cities__arrow {
  font-size: 0.65rem;
  line-height: 1;
  opacity: 0.9;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.home-card {
  padding: 0.9rem;
  border-radius: 18px;
  border: 1px solid #3a3f48;
  background: linear-gradient(145deg, #2a2d34, #23262d);
  min-height: 116px;
  text-align: left;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}

.home-card--btn {
  cursor: pointer;
  font: inherit;
  color: inherit;
  width: 100%;
  transition: transform 0.15s, border-color 0.15s;
}

.home-card--btn:hover {
  transform: translateY(-1px);
  border-color: rgba(232, 136, 74, 0.45);
}

.home-card--blue,
.home-card--green,
.home-card--purple,
.home-card--neutral {
  background: linear-gradient(145deg, #2a2d34, #23262d);
  border-color: #3a3f48;
}

.city-chips-block {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.city-chips-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.3rem;
  margin: 0 -0.15rem;
  padding-left: 0.15rem;
  padding-right: 0.15rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(242, 140, 40, 0.45) transparent;
}

.city-chips-scroll::-webkit-scrollbar {
  height: 5px;
}

.city-chips-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(242, 140, 40, 0.45);
}

.city-chips-scroll .chip {
  flex-shrink: 0;
}

.city-chips-scroll--expanded {
  flex-wrap: wrap;
  align-content: flex-start;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: 9.25rem;
  padding-right: 0.35rem;
  scrollbar-width: thin;
}

.city-chips-scroll--expanded::-webkit-scrollbar {
  width: 5px;
  height: auto;
}

.city-chips-scroll--expanded .chip--more-cities {
  width: 100%;
  justify-content: center;
  margin-top: 0.15rem;
}

.city-chips-label {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
}

.city-chips-hint {
  margin: 0;
  font-size: 0.72rem;
  color: var(--text-muted);
  opacity: 0.85;
}

.kalkulator-card {
  padding: 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.kalkulator-card__text {
  margin: 0 0 0.5rem;
}

.kalkulator-card__hint {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.home-card__icon {
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.35rem;
}

.home-card__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.55rem;
  background: var(--icon-circle-fill, #1c1f25);
  color: var(--icon-circle-color, currentColor);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-card__icon-wrap--top {
  color: #e8884a;
  border-color: rgba(232, 136, 74, 0.28);
}

.home-card__icon-wrap--slobodan {
  border-color: rgba(232, 136, 74, 0.28);
}

.home-card__icon-wrap--blizu {
  color: #e0a96d;
  border-color: rgba(224, 169, 109, 0.28);
}

.home-card__icon-wrap--kalkulator {
  color: #c88b4a;
  border-color: rgba(200, 139, 74, 0.28);
}

.home-card__icon-svg {
  width: 24px;
  height: 24px;
  display: block;
}

.home-card__icon-svg--construction {
  width: 20px;
  height: 20px;
}

.provjereno-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(242, 140, 40, 0.45);
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  vertical-align: middle;
  white-space: nowrap;
}

.provjereno-badge__icon {
  flex-shrink: 0;
}

.busy-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 197, 66, 0.45);
  background: rgba(255, 255, 255, 0.04);
  color: #f5c542;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.profile-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin: 0.35rem 0 0.5rem;
}

.job-card__foot .provjereno-badge,
.detail-card__meta .provjereno-badge {
  margin-left: 0.25rem;
}

.tip-card__report {
  margin-top: 0.5rem;
}

.home-card h3 {
  margin: 0 0 0.25rem;
  font-size: 0.88rem;
}

.home-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.screen-scroll {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: min-content;
  padding-bottom: 0.5rem;
}

.app-main:has(.screen-feed--scroll) {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 0.35rem);
}

.screen-feed {
  display: flex;
  flex-direction: column;
  min-height: min-content;
}

.screen-feed--scroll {
  flex: 1;
  min-height: 0;
}

.screen-feed__head {
  position: sticky;
  top: 0;
  z-index: 12;
  margin: -0.85rem -0.85rem 0;
  padding: 0.85rem 0.85rem 0.7rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.94) 72%, rgba(0, 0, 0, 0));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}

.screen-feed--scroll .screen-feed__head {
  position: static;
  margin: 0;
  padding: 0 0 0.7rem;
}

.screen-feed__head--scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.screen-feed__head .poslovi-tabs {
  margin-bottom: 0.65rem;
}

.screen-feed__head .back-link {
  display: inline-block;
  margin-bottom: 0.35rem;
}

.screen-feed__body {
  padding-top: 0.15rem;
  padding-bottom: 5rem;
}

.screen-feed--scroll .screen-feed__body {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
  scrollbar-gutter: stable;
}

.screen-feed--scroll .screen-feed__body::-webkit-scrollbar {
  width: 8px;
}

.screen-feed--scroll .screen-feed__body::-webkit-scrollbar-track {
  background: transparent;
}

.screen-feed--scroll .screen-feed__body::-webkit-scrollbar-thumb {
  background: rgba(242, 140, 40, 0.28);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.screen-feed--scroll .screen-feed__body::-webkit-scrollbar-thumb:hover {
  background: rgba(242, 140, 40, 0.45);
  background-clip: padding-box;
}

@supports (scrollbar-color: auto) {
  .screen-feed--scroll .screen-feed__body {
    scrollbar-width: thin;
    scrollbar-color: rgba(242, 140, 40, 0.35) transparent;
  }
}

.screen-feed .fab {
  position: fixed;
}

.screen-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.screen-subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.section-label {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.back-link {
  color: var(--text-muted);
  font-size: 0.88rem;
  text-decoration: none;
}

.back-link:hover {
  color: var(--accent);
}

.screen-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 45vh;
  padding: 1rem 0;
  box-sizing: border-box;
}

.empty-state {
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px dashed var(--border);
  color: var(--text-muted);
  text-align: center;
}

.empty-state--error {
  border-color: rgba(255, 107, 107, 0.35);
  color: #ffb3b3;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
}

.kategorije-header {
  padding: 1.1rem 1rem 0.25rem;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(242, 140, 40, 0.1), var(--bg-card));
  margin-bottom: 0.85rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.kategorije-header__accent {
  display: block;
  width: 42px;
  height: 8px;
  border-radius: 999px;
  background: rgba(232, 136, 74, 0.35);
  margin-bottom: 0.65rem;
}

.kategorije-header .screen-title {
  margin-top: 0;
}

.kategorije-header .screen-subtitle {
  margin-bottom: 0.85rem;
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.category-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), var(--bg-card));
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.category-card:hover {
  border-color: rgba(242, 140, 40, 0.4);
  transform: translateY(-1px);
}

.category-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1c1f25;
  color: rgba(232, 136, 74, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.category-card__icon-svg {
  width: 22px;
  height: 22px;
  display: block;
}

.category-card__body {
  flex: 1;
  min-width: 0;
}

.category-card__name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.category-card__sub {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.category-card__cta {
  flex-shrink: 0;
  font-size: 0.72rem;
  color: var(--text-muted);
  opacity: 0.8;
}

.category-tile {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}

.category-tile:hover {
  border-color: rgba(242, 140, 40, 0.4);
  transform: translateY(-1px);
}

.category-tile__name {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
}

.user-list,
.job-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.user-card {
  display: flex;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), var(--bg-card));
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.user-card:hover {
  border-color: rgba(242, 140, 40, 0.4);
  transform: translateY(-1px);
}

.user-card__avatar,
.profile-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(242, 140, 40, 0.22), rgba(242, 140, 40, 0.08));
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  border: 1px solid rgba(242, 140, 40, 0.2);
  overflow: hidden;
}

.user-card__avatar--img,
.profile-card__avatar--img {
  object-fit: cover;
  background: var(--bg-elevated);
}

.user-card__verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  margin-left: 0.25rem;
  border-radius: 999px;
  background: rgba(76, 175, 80, 0.2);
  color: #7ddf8a;
  font-size: 0.62rem;
  vertical-align: middle;
}

.user-card__name,
.profile-card__name {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
}

.user-card__meta,
.profile-card__meta {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.user-card__rating,
.profile-card__rating {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  color: var(--accent);
}

.job-card {
  display: block;
  padding: 0.95rem 1rem 0.95rem 1.1rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  border-left: 3px solid rgba(242, 140, 40, 0.55);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), var(--bg-card));
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.job-card:hover {
  border-color: rgba(242, 140, 40, 0.4);
  transform: translateY(-1px);
}

.job-card__head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: flex-start;
}

.job-card__author-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.job-card__author-main {
  flex: 1;
  min-width: 0;
}

.job-card__city-chip {
  flex-shrink: 0;
  align-self: flex-start;
  padding: 0.35rem 0.65rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.listing-avatar {
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(242, 140, 40, 0.55);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), var(--bg-card));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.listing-avatar__initial {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.listing-avatar__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-author__line {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: var(--accent);
  line-height: 1.35;
}

.listing-author__name {
  font-weight: 600;
}

.listing-author__role {
  margin: 0.15rem 0 0;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.listing-author-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 0.75rem 0 1rem;
  padding: 0.85rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.listing-author-detail__body {
  flex: 1;
  min-width: 0;
}

.listing-author-detail .listing-author__line {
  font-size: 0.85rem;
}

.listing-author-detail .btn {
  margin-top: 0.65rem;
}

.job-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
}

.job-card__date {
  color: var(--text-muted);
  font-size: 0.72rem;
  white-space: nowrap;
}

.job-card__meta,
.job-card__desc,
.job-card__foot {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.job-card__foot {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  color: var(--text);
  font-size: 0.78rem;
}

.job-card--with-actions {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.job-card--with-actions .job-card__body {
  display: block;
  padding: 0.95rem 1rem 0.85rem 1.1rem;
  text-decoration: none;
  color: inherit;
}

.job-card--with-actions:hover {
  border-color: rgba(242, 140, 40, 0.4);
  transform: translateY(-1px);
}

.job-card__strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  padding: 0.55rem 0.85rem 0.75rem;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.18);
}

.profile-card {
  padding: 1.25rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(242, 140, 40, 0.08), var(--bg-card));
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.14);
}

.profile-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.profile-card__avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.profile-card .profile-card__avatar {
  margin: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #1f232a;
  color: #f2eee8;
  border: 2px solid rgba(240, 152, 88, 0.92);
  font-size: 1.45rem;
}

.profile-card .profile-card__avatar--img {
  background: #1f232a;
}

.profile-card__quick-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: flex-start;
  justify-content: flex-end;
  margin-left: auto;
  max-width: 220px;
}

.profile-quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  background: none;
  border: 0;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.62rem;
  cursor: pointer;
  padding: 0.15rem;
  font-family: inherit;
  min-width: 46px;
}

.profile-quick-action__icon {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  color: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-quick-action__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: #111;
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}

.profile-status-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0 0.25rem;
  padding: 0.45rem 0.75rem;
  border-radius: 12px;
  border: 1.5px solid var(--accent);
  background: rgba(255, 255, 255, 0.03);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  font-family: inherit;
}

.profile-status-toggle--busy {
  border-color: rgba(255, 120, 100, 0.55);
  color: #ff8a78;
}

.profile-status-toggle__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6ee7a0;
}

.profile-status-toggle--busy .profile-status-toggle__dot {
  background: #ff6b57;
}

.profile-status-toggle:disabled {
  opacity: 0.6;
  cursor: wait;
}

.profile-card__meta--row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.profile-status-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
}

.profile-status-chip--free {
  color: #1f7a45;
  background: rgba(110, 231, 160, 0.16);
  border-color: rgba(110, 231, 160, 0.45);
}

.profile-status-chip--busy {
  color: #b33a2a;
  background: rgba(255, 138, 120, 0.14);
  border-color: rgba(255, 138, 120, 0.45);
}

.profile-quick-action__label {
  line-height: 1.2;
  text-align: center;
}

.profile-avatar-upload {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #252930;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  border: 2px solid var(--bg-card);
  line-height: 1;
}

.profile-remove-photo {
  margin-top: 0.65rem;
}

.profile-progress {
  margin: 0.55rem 0 0;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  text-align: left;
}

.profile-progress__title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
}

.profile-progress__hint {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--text-muted);
}

.profile-progress__bar {
  margin-top: 0.55rem;
  height: 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--border) 80%, transparent);
  overflow: hidden;
}

.profile-progress__bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 0.25s ease;
}

.profile-progress__list {
  margin: 0.5rem 0 0;
  padding: 0 0 0 1.1rem;
  list-style: disc;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.profile-progress__list li {
  margin: 0.15rem 0;
}

.profile-missing-hints {
  margin: 0.55rem 0 0;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  text-align: left;
}

.profile-missing-hints__title {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--text-muted);
}

.profile-missing-hints__list {
  margin: 0.35rem 0 0;
  padding: 0 0 0 1.05rem;
  list-style: disc;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.profile-missing-hints__list li {
  margin: 0.12rem 0;
}

.profile-card__desc,
.profile-contact-box {
  margin: 0.55rem 0 0;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  text-align: left;
}

.profile-contact-box__title {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--accent);
}

.profile-contact-box__summary {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--text-muted);
}

.profile-card__email {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.phase-note {
  margin: 0;
  color: #666;
  font-size: 0.75rem;
  text-align: center;
}

@media (min-width: 768px) {
  .profile-card__head {
    align-items: center;
  }

  .profile-card__quick-actions {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
  }

  .profile-quick-action {
    padding: 0.25rem 0.1rem;
  }
}

.auth-card {
  text-align: left;
  width: min(100%, 420px);
}

@media (min-width: 768px) {
  .screen--auth {
    padding: 2rem 1.25rem;
  }

  .screen--auth .status-card {
    width: min(100%, 520px);
    padding: 1.75rem 1.5rem;
  }

  .screen--auth .auth-card {
    width: min(100%, 520px);
    max-width: none;
  }
}

.auth-card--wide {
  width: min(100%, 440px);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.field-label {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.auth-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.auth-check input {
  margin-top: 0.2rem;
}

.auth-check a {
  color: var(--accent);
}

.auth-consent {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0.25rem 0 0.85rem;
  padding: 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  text-align: left;
}

.auth-radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
}

.auth-radio {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
}

.business-fields {
  margin: 0.5rem 0 0.75rem;
  padding: 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  text-align: left;
}

.profile-representation {
  margin: 0.35rem 0 0;
  padding: 0;
}

.profile-representation__title {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.profile-representation__name,
.profile-representation__meta {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.profile-representation__note {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  color: var(--text-muted);
  opacity: 0.9;
}

.auth-switch {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.auth-switch a {
  color: var(--accent);
  font-weight: 600;
}

.auth-switch--prep {
  margin-top: 1rem;
}

.home-phase-note {
  margin: 0.5rem 0 0;
  color: #666;
  font-size: 0.75rem;
  text-align: center;
}

.placeholder-screen {
  text-align: center;
  padding: 2rem 1rem;
}

.placeholder-screen h2 {
  margin: 0 0 0.5rem;
}

.placeholder-screen p {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

/* Bottom nav */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: calc(var(--bottom-nav-h) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: rgba(0, 0, 0, 0.95);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  color: var(--text-muted);
  font-size: 0.68rem;
  text-decoration: none;
  transition: color 0.15s;
}

.bottom-nav__item--active {
  color: var(--accent);
}

.bottom-nav__item--soon {
  opacity: 0.45;
  pointer-events: none;
}

.bottom-nav__icon {
  position: relative;
  font-size: 1.1rem;
  line-height: 1;
}

.bottom-nav__badge {
  position: absolute;
  top: -4px;
  right: -8px;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  border-radius: 999px;
  background: var(--accent);
  color: #1a1008;
  font-size: 0.58rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.bottom-nav__label {
  font-weight: 600;
}

@media (min-width: 768px) {
  .search-form {
    gap: 0.45rem;
    padding: 0.45rem 0.55rem;
  }

  .search-form__input {
    font-size: 0.92rem;
  }

  .search-form__submit {
    font-size: 1.1rem;
    padding: 0.2rem 0.35rem;
  }

  .brzo-btn {
    min-width: 0;
    gap: 0.38rem;
    padding: 0.42rem 0.72rem 0.42rem 0.48rem;
    border-radius: 16px;
    font-size: 0.78rem;
  }

  .brzo-btn__bolt {
    width: 1.7rem;
    height: 1.7rem;
    background: transparent;
    border: 0;
  }

  .brzo-btn__bolt-svg {
    width: 1rem;
    height: 1rem;
    color: #1a1008;
    opacity: 1;
  }

  .auto-izbor-loading {
    min-height: 34vh;
    gap: 0.7rem;
  }

  .auto-izbor-loading__text {
    max-width: 360px;
    font-size: 0.88rem;
  }

  :root {
    --shell-max: min(100%, 720px);
  }

  .app-shell {
    position: relative;
    max-width: var(--shell-max);
    margin: 0 auto;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 48px rgba(0, 0, 0, 0.35);
  }

  .app-main {
    width: 100%;
  }

  .bottom-nav {
    width: var(--shell-max);
    max-width: 100%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    border-radius: 16px 16px 0 0;
  }

  .fab {
    right: max(1rem, calc(50% - var(--shell-max) / 2 + 1rem));
  }
}

@media (min-width: 1024px) {
  :root {
    --shell-max: min(100%, 960px);
  }

  .user-list,
  .job-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .home-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .work-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .my-works-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.85rem;
    overflow: visible;
  }

  .my-work-card {
    width: auto;
  }
}

.inline-link {
  color: var(--accent);
  text-decoration: none;
}

.inline-link:hover {
  text-decoration: underline;
}

.detail-card {
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  margin-top: 0.75rem;
}

.detail-card__title {
  margin: 0;
  font-size: 1.1rem;
}

.detail-card__meta,
.detail-card__budget {
  margin: 0.4rem 0 0;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.detail-card__desc {
  margin: 0.75rem 0 0;
  line-height: 1.55;
  font-size: 0.9rem;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 1rem;
}

.detail-section {
  margin-top: 1.25rem;
}

.detail-section__title {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
}

.status-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.status-badge--pending { color: #f5c542; background: rgba(245, 197, 66, 0.12); }
.status-badge--accepted { color: #6ee7a0; background: rgba(110, 231, 160, 0.12); }
.status-badge--rejected { color: #ff8a8a; background: rgba(255, 138, 138, 0.12); }
.status-badge--completed { color: #8ec5ff; background: rgba(142, 197, 255, 0.12); }

.rating-section {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.rating-section__summary {
  margin: 0 0 0.65rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.rating-section__stars {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.rating-star {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.rating-star--active,
.rating-star:hover {
  color: #f5c542;
}

.settings-group {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.settings-group__title {
  margin: 0 0 0.65rem;
  font-size: 1rem;
}

.settings-text {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.settings-text--muted {
  font-size: 0.82rem;
}

.settings-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.app-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.app-card {
  padding: 0.85rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.app-card__head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: flex-start;
}

.app-card__name {
  margin: 0;
  font-size: 0.92rem;
}

.app-card__name a {
  color: inherit;
  text-decoration: none;
}

.app-card__meta {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.app-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.btn--sm {
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
}

.btn--danger {
  color: #ffb3b3;
  border-color: rgba(255, 107, 107, 0.35);
}

.work-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.work-list--compact .work-card__img {
  width: 56px;
  height: 56px;
}

.work-card {
  display: flex;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  border-left: 3px solid rgba(242, 140, 40, 0.45);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), var(--bg-card));
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.work-card:hover {
  border-color: rgba(242, 140, 40, 0.4);
  transform: translateY(-1px);
}

.work-card__img {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-elevated);
}

.work-card__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.work-card__desc {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
}

.work-card__meta {
  margin: 0.35rem 0 0;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.work-detail__img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.75rem;
}

.home-works {
  margin-top: 0.35rem;
}

.home-works__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.home-works__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.home-works__sub {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.home-works__link {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.home-works__frame {
  position: relative;
  min-height: 220px;
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    linear-gradient(135deg, rgba(242, 140, 40, 0.75), rgba(107, 78, 46, 0.55)) border-box;
}

.home-works__frame--empty {
  display: flex;
  align-items: center;
  min-height: 180px;
  padding: 1.25rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.home-works__slide {
  display: block;
  position: relative;
  min-height: 220px;
  text-decoration: none;
  color: inherit;
}

.home-works__slide--hidden {
  display: none;
}

.home-works__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: var(--bg-elevated);
}

.home-works__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.home-works__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
}

.home-works__desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
}

.home-works__owner {
  margin: 0.35rem 0 0;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.home-works__hint {
  position: absolute;
  top: 0.55rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.45);
}

.home-works__dots {
  display: flex;
  gap: 0.45rem;
  justify-content: center;
  margin-top: 0.55rem;
}

.home-works__dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}

.home-works__dot--active {
  width: 22px;
  background: var(--accent);
}

.poslovi-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.poslovi-tabs__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.poslovi-tabs__btn--active {
  border-color: rgba(242, 140, 40, 0.45);
  background: var(--accent-soft);
  color: var(--accent);
}

.chip-row--filters {
  margin-bottom: 0.75rem;
}

.chip--filter {
  font-size: 0.76rem;
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.work-grid-card {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  border-left: 3px solid rgba(242, 140, 40, 0.45);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), var(--bg-card));
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  transition: border-color 0.15s, transform 0.15s;
}

.work-grid-card:hover {
  border-color: rgba(242, 140, 40, 0.4);
  transform: translateY(-1px);
}

.work-grid-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background: var(--bg-elevated);
}

.work-grid-card__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.work-grid-card__body {
  padding: 0.85rem 0.95rem 1rem;
}

.work-grid-card__desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
}

.work-grid-card__meta {
  margin: 0.35rem 0 0;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.chat-screen {
  display: flex;
  flex-direction: column;
  min-height: calc(100dvh - var(--topbar-h) - var(--bottom-nav-h) - var(--safe-bottom));
  margin: -0.5rem -1rem 0;
}

.chat-header {
  padding: 0 1rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

.chat-header__title {
  margin: 0.35rem 0 0;
  font-size: 1rem;
}

.chat-header__sub {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 200px;
}

.chat-empty {
  color: var(--text-muted);
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.88rem;
}

.chat-bubble {
  max-width: 85%;
  padding: 0.55rem 0.75rem;
  border-radius: 14px;
  font-size: 0.88rem;
}

.chat-bubble--mine {
  align-self: flex-end;
  background: var(--accent-soft);
  border: 1px solid rgba(242, 140, 40, 0.25);
}

.chat-bubble--theirs {
  align-self: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.chat-bubble__sender {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.chat-bubble__text {
  margin: 0;
  line-height: 1.45;
  word-break: break-word;
}

.chat-bubble__time {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-align: right;
}

.chat-bubble__reply {
  margin-bottom: 0.35rem;
  padding: 0.35rem 0.5rem;
  border-left: 3px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.chat-bubble__reply-author {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  opacity: 0.8;
  margin-bottom: 0.1rem;
}

.chat-bubble__reply-text {
  display: block;
  font-size: 0.74rem;
  line-height: 1.35;
  opacity: 0.9;
}

.chat-reply-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0.75rem 0.35rem;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.chat-reply-bar__body {
  flex: 1;
  min-width: 0;
}

.chat-reply-bar__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent);
}

.chat-reply-bar__preview {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-reply-bar__cancel {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.15rem 0.35rem;
}

.chat-msg-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.chat-msg-sheet[hidden],
.chat-msg-details[hidden] {
  display: none !important;
  pointer-events: none !important;
}

.chat-msg-sheet__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}

.chat-msg-sheet__panel {
  position: relative;
  width: min(100%, 480px);
  border-radius: 18px 18px 0 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-bottom: 0;
  padding: 0.85rem 0 1rem;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
}

.chat-msg-sheet__kicker {
  margin: 0 1rem 0.35rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.chat-msg-sheet__preview {
  margin: 0 1rem 0.75rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text);
}

.chat-msg-sheet__actions {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.chat-msg-sheet__action {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
}

.chat-msg-sheet__action:hover {
  background: rgba(255, 255, 255, 0.04);
}

.chat-msg-sheet__action--danger {
  color: #ff7b6b;
  font-weight: 600;
}

.chat-msg-details {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.55);
}

.chat-msg-details__card {
  width: min(100%, 420px);
  max-height: 80vh;
  overflow: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 1rem;
}

.chat-msg-details__title {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.chat-msg-details__hint {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.chat-msg-details__row {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
}

.chat-msg-details__text {
  margin: 0.75rem 0 1rem;
  white-space: pre-wrap;
  line-height: 1.45;
  font-size: 0.9rem;
}

.chat-composer {
  display: flex;
  gap: 0.5rem;
  padding: 0.65rem 1rem calc(0.65rem + var(--safe-bottom));
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.6);
}

.chat-composer__input {
  flex: 1;
  min-width: 0;
}

.chat-composer__send {
  flex-shrink: 0;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
}

.modal-card {
  width: min(100%, 440px);
  max-height: 90dvh;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px 20px 16px 16px;
  padding: 1rem;
}

.modal-card--wide {
  width: min(100%, 480px);
}

.modal-card__title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.modal-card__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.stack-form {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.field--area {
  min-height: 88px;
  resize: vertical;
}

.field--tall {
  min-height: 120px;
}

.form-error {
  color: #ffb3b3;
  font-size: 0.82rem;
  margin: 0 0 0.5rem;
}

.form-hint {
  margin: 0;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.form-hint--warn {
  color: #f5c542;
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.settings-bullets {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.field--compact {
  width: auto;
  min-width: 8rem;
  padding: 0.45rem 0.6rem;
}

.chat-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.chat-menu-btn {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
}

.chat-menu {
  display: none;
  position: absolute;
  right: 1rem;
  top: 3.2rem;
  min-width: 180px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  z-index: 30;
  overflow: hidden;
}

.chat-menu--open {
  display: block;
}

.chat-menu__item {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  padding: 0.7rem 0.85rem;
  font: inherit;
  cursor: pointer;
}

.chat-menu__item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.chat-menu__item--disabled,
.chat-menu__item:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.chat-screen {
  position: relative;
}

.brzo-feedback__choices {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

code {
  font-family: inherit;
  font-size: inherit;
  color: var(--text-muted);
  background: transparent;
  padding: 0;
}

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

.chat-shortcut {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.7rem;
  border-radius: 14px;
  background: var(--accent);
  color: #1a1008;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  flex-shrink: 0;
}

.chat-shortcut:hover {
  filter: brightness(1.05);
}

.chat-shortcut__icon {
  display: block;
  flex-shrink: 0;
}

.chat-shortcut__badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 999px;
  background: #d46a5a;
  color: #fff;
  font-size: 0.55rem;
  font-weight: 700;
  line-height: 14px;
  text-align: center;
}

.job-card__strip .chat-shortcut {
  margin-left: 0.15rem;
}

.outdoor-plan__loading {
  min-height: 4.5rem;
}

.aktivnost-section__body {
  min-height: 0;
}

.aktivnost-section--expanded .aktivnost-section__body {
  min-height: 6rem;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.profile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.profile-card__avatar--img {
  object-fit: cover;
  padding: 0;
}

.profile-upload-btn {
  margin: 0.5rem auto 0;
}

.fab {
  position: fixed;
  right: 1rem;
  bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 1rem);
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #1a1008;
  font-size: 1.6rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px var(--accent-glow);
  z-index: 25;
  transition: transform 0.15s, box-shadow 0.15s;
}

.fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px var(--accent-glow);
}

.app-notif-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}

.app-notif-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  border-radius: 999px;
  background: var(--accent);
  color: #1a1008;
  font-size: 0.58rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(35%, -35%);
  pointer-events: none;
}

.home-tips {
  margin-top: 1rem;
}

.home-tips__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.home-tips__sub {
  margin: 0.2rem 0 0.65rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.tip-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.tip-card {
  padding: 0.85rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.tip-card__head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: flex-start;
}

.tip-card__title {
  margin: 0;
  font-size: 0.92rem;
}

.tip-card__badge {
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
}

.tip-card__teaser {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.tip-card__author {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.tip-card__details {
  margin-top: 0.45rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.kalk-screen .kalk-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.kalk-chip {
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  cursor: pointer;
}

.kalk-chip--active {
  border-color: rgba(242, 140, 40, 0.45);
  background: var(--accent-soft);
  color: var(--accent);
}

.kalk-panel {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.85rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  margin-bottom: 0.75rem;
}

.kalk-line {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.kalk-summary {
  padding: 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(242, 140, 40, 0.25);
  background: var(--accent-soft);
}

.kalk-summary__label,
.kalk-summary__total,
.kalk-summary__range,
.kalk-summary__offer {
  margin: 0.25rem 0;
  font-size: 0.85rem;
}

.my-works-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.my-works-empty {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.my-works-row {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scroll-snap-type: x mandatory;
}

.my-work-card {
  flex: 0 0 280px;
  width: 280px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  scroll-snap-align: start;
}

.my-work-card__img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  display: block;
  background: var(--bg-elevated);
}

.my-work-card__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-muted);
}

.my-work-card__body {
  padding: 0.75rem;
}

.my-work-card__desc {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  line-height: 1.45;
}

.my-work-card__public {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.my-work-card__delete {
  margin-top: 0.35rem;
  border: 0;
  background: transparent;
  color: #ff8f8f;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.my-work-card__delete:hover {
  text-decoration: underline;
}

.work-image-preview {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.work-image-preview img {
  display: block;
  width: 100%;
  max-height: 200px;
  object-fit: cover;
}

.work-image-picker {
  cursor: pointer;
  text-align: center;
}

.profile-card__actions {
  margin-top: 0.75rem;
}

.moj-krug-section {
  margin-top: 1.25rem;
}

.moj-krug-row {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.moj-krug-card {
  flex: 0 0 150px;
  display: flex;
  gap: 0.55rem;
  padding: 0.65rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-decoration: none;
  color: inherit;
}

.moj-krug-card__img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.moj-krug-card__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}

.moj-krug-card__name {
  margin: 0;
  font-size: 0.88rem;
}

.moj-krug-card__meta {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.moj-krug-works {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.65rem;
  overflow-x: auto;
}

.moj-krug-work {
  flex: 0 0 120px;
  text-decoration: none;
  color: inherit;
}

.moj-krug-work__img {
  width: 100%;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

.moj-krug-work__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
}

.moj-krug-work__label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.aktivnost-section,
.outdoor-plan {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.aktivnost-section__toggle,
.outdoor-plan__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border: none;
  background: transparent;
  color: inherit;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.aktivnost-section__title,
.outdoor-plan__title {
  font-size: 1rem;
  font-weight: 600;
}

.aktivnost-section__summary {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.aktivnost-section__inbox {
  display: inline-block;
  margin-top: 0.35rem;
}

.aktivnost-section:not(.aktivnost-section--expanded) .aktivnost-section__body,
.outdoor-plan:not(.outdoor-plan--expanded) .outdoor-plan__body {
  display: none;
}

.aktivnost-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.aktivnost-stat {
  text-align: center;
  padding: 0.5rem 0.25rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.aktivnost-stat__val {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}

.aktivnost-stat__lbl {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.aktivnost-chat-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.aktivnost-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.aktivnost-row__main {
  min-width: 0;
  flex: 1;
}

.aktivnost-row__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.aktivnost-row__remove {
  border: none;
  background: transparent;
  color: var(--text-muted);
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}

.aktivnost-row__remove:hover {
  color: var(--danger);
  background: rgba(255, 107, 107, 0.08);
}

.aktivnost-row__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.aktivnost-row__badge {
  display: inline-flex;
  min-width: 1.25rem;
  justify-content: center;
  margin-top: 0.25rem;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  background: var(--accent);
  color: #1a1008;
  font-size: 0.68rem;
  font-weight: 700;
}

.report-reasons {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.profile-card__tip-status {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--accent);
}

.profile-card__tip-status--muted {
  color: var(--text-muted);
}

.home-tips__own {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: var(--accent);
}

.home-tips__own--muted {
  color: var(--text-muted);
}

.home-tips__empty {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.aktivnost-row__title {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.aktivnost-row__meta {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.aktivnost-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.outdoor-plan__summary {
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.outdoor-plan__detail {
  margin: 0 0 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.notif-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.notif-card {
  display: block;
  padding: 0.85rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-decoration: none;
  color: inherit;
}

.notif-card--unread {
  border-color: rgba(242, 140, 40, 0.35);
  background: rgba(242, 140, 40, 0.06);
}

.notif-card__head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.notif-card__title {
  margin: 0;
  font-size: 0.95rem;
}

.notif-card__date {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.notif-card__meta {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.follow-btn--active {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 520px) {
  .app-topbar {
    padding: 0 0.65rem;
  }

  .app-topbar__brand {
    font-size: 0.82rem;
    gap: 0.4rem;
  }

  .app-topbar__brand img {
    width: 28px;
    height: 28px;
  }

  .app-topbar__meta {
    gap: 0.35rem;
  }
}

@media (max-width: 767px) {
  .app-main {
    scrollbar-gutter: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .app-main::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .screen--center.screen--auth {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .aktivnost-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .modal-overlay {
    align-items: center;
  }

  .modal-card {
    border-radius: 20px;
    width: min(100%, 520px);
  }
}
