body {
  font-family: 'Inter', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #0f172a;
  color: #f1f5f9;
}

a {
  color:#3b82f6;
}

a:hover {
  text-decoration:underline;
}

/* Promoted apps */
.promoted-app-placements {
  position: relative;
  z-index: 1400;
}

.promoted-app-side,
.promoted-app-mobile {
  display: none;
}

.promoted-app-card {
  box-sizing: border-box;
  color: #1d1d1f;
  text-decoration: none;
}

.promoted-app-card:hover,
.promoted-app-card:focus-visible {
  color: #1d1d1f;
  text-decoration: none;
  outline: none;
}

.promoted-app-card img {
  display: block;
  flex: 0 0 auto;
  object-fit: cover;
  border: 1px solid #e5e5e7;
  box-sizing: border-box;
}

.promoted-app-card-copy {
  min-width: 0;
}

.promoted-app-card-copy strong,
.promoted-app-card-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.promoted-app-card-copy strong {
  color: #1d1d1f;
}

.promoted-app-card-copy small {
  color: #01875f;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
}

.promoted-app-card-description {
  display: block;
  color: #6e6e73;
}

@media (min-width: 1440px) {
  .promoted-app-side {
    position: fixed;
    top: 50%;
    z-index: 1400;
    display: flex;
    width: min(220px, calc((100vw - 1096px) / 2));
    max-height: calc(100vh - 32px);
    flex-direction: column;
    gap: 10px;
    transform: translateY(-50%);
  }

  .promoted-app-side-left {
    left: 12px;
  }

  .promoted-app-side-right {
    right: 12px;
  }

  .promoted-app-side > p {
    margin: 0;
    color: #6e6e73;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
  }

  .promoted-app-side-list {
    display: grid;
    gap: 10px;
    overflow-y: auto;
    padding: 2px;
    scrollbar-width: thin;
  }

  .promoted-app-side .promoted-app-card {
    display: grid;
    min-width: 0;
    min-height: 96px;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    box-shadow: 0 12px 30px -24px rgba(29, 29, 31, 0.55);
    backdrop-filter: blur(14px);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  }

  .promoted-app-side .promoted-app-card:hover,
  .promoted-app-side .promoted-app-card:focus-visible {
    border-color: #01875f;
    box-shadow: 0 16px 34px -24px rgba(1, 135, 95, 0.6);
    transform: translateY(-1px);
  }

  .promoted-app-side .promoted-app-card:focus-visible {
    outline: 3px solid rgba(1, 135, 95, 0.2);
    outline-offset: 2px;
  }

  .promoted-app-side .promoted-app-card img {
    width: 48px;
    height: 48px;
    border-radius: 11px;
  }

  .promoted-app-side .promoted-app-card-copy strong {
    display: block;
    overflow: visible;
    font-size: 0.86rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
    text-overflow: clip;
    white-space: normal;
  }

  .promoted-app-side .promoted-app-card-copy small {
    margin-top: 5px;
    font-size: 0.62rem;
  }

  .promoted-app-side .promoted-app-card-description {
    display: block;
    margin-top: 5px;
    overflow: visible;
    font-size: 0.72rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
    white-space: normal;
  }
}

@media (max-width: 1439px) {
  body.has-promoted-app-placements {
    box-sizing: border-box;
  }

  body.has-promoted-app-top {
    padding-top: 72px;
  }

  body.has-promoted-app-bottom {
    padding-bottom: 58px;
  }

  .promoted-app-mobile {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 1400;
    display: flex;
    height: 58px;
    align-items: stretch;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
  }

  .promoted-app-mobile-top {
    top: 0;
    height: 72px;
    flex-direction: column;
    border-bottom: 1px solid #d2d2d7;
    box-shadow: 0 12px 28px -24px rgba(29, 29, 31, 0.65);
  }

  .promoted-app-mobile-bottom {
    bottom: 0;
    border-top: 1px solid #d2d2d7;
    box-shadow: 0 -12px 28px -24px rgba(29, 29, 31, 0.65);
  }

  .promoted-app-mobile-label {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    height: 16px;
    flex: 0 0 16px;
    align-items: flex-end;
    box-sizing: border-box;
    padding: 2px 10px 0;
    color: #01875f;
    font-size: 0.56rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .promoted-app-track-window {
    width: 100%;
    min-width: 0;
    min-height: 0;
    flex: 1 1 auto;
    overflow: hidden;
  }

  .promoted-app-track {
    display: flex;
    gap: 8px;
    width: max-content;
    min-width: 100%;
    height: 100%;
    animation: promoted-app-track-scroll 24s linear infinite;
  }

  .promoted-app-mobile-bottom .promoted-app-track {
    animation-direction: reverse;
  }

  .promoted-app-track-group {
    display: flex;
    flex: none;
    gap: 8px;
    align-items: center;
    padding: 6px 0;
  }

  .promoted-app-track-group:first-child {
    padding-left: 8px;
  }

  .promoted-app-track-group:last-child {
    padding-right: 8px;
  }

  .promoted-app-mobile-top .promoted-app-track-group {
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .promoted-app-mobile .promoted-app-card {
    display: grid;
    min-width: 142px;
    height: 46px;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    padding: 5px 10px 5px 6px;
    background: #f5f5f7;
    border: 1px solid #d2d2d7;
    border-radius: 10px;
  }

  .promoted-app-mobile .promoted-app-card:hover,
  .promoted-app-mobile .promoted-app-card:focus-visible {
    border-color: #01875f;
    background: #eef8f1;
  }

  .promoted-app-mobile .promoted-app-card:focus-visible {
    outline: 3px solid rgba(1, 135, 95, 0.2);
    outline-offset: -3px;
  }

  .promoted-app-mobile .promoted-app-card img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }

  .promoted-app-mobile .promoted-app-card-copy strong {
    font-size: 0.78rem;
    line-height: 1.2;
  }

  .promoted-app-mobile .promoted-app-card-copy small {
    margin-top: 3px;
    font-size: 0.56rem;
  }

  .promoted-app-mobile .promoted-app-card-description {
    display: none;
  }

  @keyframes promoted-app-track-scroll {
    to {
      transform: translateX(calc(-50% - 4px));
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .promoted-app-track-window {
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .promoted-app-track {
    animation: none;
  }

  .promoted-app-track-group[aria-hidden="true"] {
    display: none;
  }
}

/* Home page */
body.home-page {
  background: #fff;
  color: #1d1d1f;
  min-height: 100vh;
}

body.home-page a {
  color: inherit;
}

.home-top-header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 18px 0 0;
  background: #1d1d1f;
  border-bottom: 1px solid #d2d2d7;
}

.home-top-header::before {
  content: none;
}

.home-top-header h1,
.home-top-header .site-name {
  position: relative;
  z-index: 1;
  margin: 0 20px 18px;
  color: #fff;
  font-size: 1.45rem;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
}

.home-top-header h1 a,
.home-top-header .site-name a {
  color: inherit;
  text-decoration: none;
}

.home-top-header h1 a:hover,
.home-top-header h1 a:focus-visible,
.home-top-header .site-name a:hover,
.home-top-header .site-name a:focus-visible {
  color: inherit;
  text-decoration: none;
  outline: none;
}

.home-shell {
  width: min(100% - 40px, 1040px);
  margin: 0 auto;
  padding: 48px 0 96px;
}

.home-hero {
  padding: 0;
  background: transparent;
  color: #1d1d1f;
  text-align: center;
}

.home-hero::before {
  content: none;
}

.home-hero h2 {
  width: min(100%, 900px);
  margin: 0 auto;
  color: #1d1d1f;
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: clamp(2.35rem, 4.5vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 500;
}

.home-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  margin: 0;
  border-top: 1px solid #d2d2d7;
  background: #fff;
}

body.home-page .home-action {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  background: #fff;
  color: #01875f;
  border: 0;
  border-right: 1px solid #d2d2d7;
  border-radius: 0;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: none;
  transition: background 0.2s ease;
}

body.home-page .home-action:last-child {
  border-right: 0;
}

body.home-page .home-action:hover,
body.home-page .home-action:focus-visible {
  background: #f5f5f7;
  color: #01875f;
  text-decoration: none;
  outline: none;
}

.home-hero p {
  width: min(100%, 680px);
  margin: 0 auto;
  color: #424245;
  font-size: 1.25rem;
  line-height: 1.45;
}

.home-quick-add-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  width: min(100%, 680px);
  margin: 48px auto 0;
  padding: 8px;
  box-sizing: border-box;
  background: #f5f5f7;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  box-shadow: 0 18px 44px -36px rgba(0, 0, 0, 0.35);
}

.home-quick-add-form input[type="url"] {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  box-sizing: border-box;
  background: #fff;
  color: #1d1d1f;
  border: 1px solid #d2d2d7;
  border-radius: 6px;
  font: inherit;
  font-size: 1rem;
  outline: none;
}

.home-quick-add-form input[type="url"]::placeholder {
  color: #6e6e73;
}

.home-quick-add-form input[type="url"]:focus {
  border-color: #01875f;
  box-shadow: 0 0 0 3px rgba(1, 135, 95, 0.14);
}

.home-quick-add-form button {
  min-height: 50px;
  padding: 0 24px;
  background: #01875f;
  color: #fff;
  border: 1px solid #01875f;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home-quick-add-form button:hover,
.home-quick-add-form button:focus-visible {
  background: #007a55;
  border-color: #007a55;
  outline: none;
  transform: translateY(-1px);
}

.home-hero .home-quick-add-note {
  width: min(100%, 620px);
  margin-top: 18px;
  color: #6e6e73;
  font-size: 0.95rem;
  line-height: 1.45;
}

.home-quick-add-message {
  display: grid;
  gap: 6px;
  width: min(100%, 680px);
  margin: 14px auto 0;
  padding: 12px 14px;
  box-sizing: border-box;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #991b1b;
  text-align: left;
}

.home-hero .home-quick-add-message p {
  width: auto;
  margin: 0 0 2px;
  color: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
}

.home-quick-add-message span {
  overflow-wrap: anywhere;
  font-size: 0.78rem;
  line-height: 1.4;
}

.home-quick-add-message strong {
  font-weight: 800;
}

.home-hero .home-reciprocity-note {
  width: min(100%, 620px);
  margin-top: 18px;
  color: #424245;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 26px;
}

.home-primary-action,
.home-secondary-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

body.home-page .home-primary-action {
  background: #01875f;
  color: #fff;
}

body.home-page .home-secondary-action {
  background: #f5f5f7;
  color: #1d1d1f;
  border: 1px solid #d2d2d7;
}

.home-primary-action:hover,
.home-primary-action:focus-visible,
.home-secondary-action:hover,
.home-secondary-action:focus-visible {
  text-decoration: none;
  outline: none;
}

.landing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
}

.landing-primary-action,
.landing-secondary-action {
  display: inline-flex;
  min-height: 48px;
  min-width: 136px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

body.home-page .landing-primary-action {
  background: #01875f;
  color: #fff;
  box-shadow: 0 14px 28px -20px rgba(1, 135, 95, 0.8);
}

body.home-page .landing-secondary-action {
  background: #fff;
  color: #1d1d1f;
  border: 1px solid #d2d2d7;
}

.landing-primary-action:hover,
.landing-primary-action:focus-visible,
.landing-secondary-action:hover,
.landing-secondary-action:focus-visible {
  text-decoration: none;
  transform: translateY(-1px);
  outline: none;
}

body.home-page .landing-primary-action:hover,
body.home-page .landing-primary-action:focus-visible {
  background: #00754f;
  color: #fff;
}

body.home-page .landing-secondary-action:hover,
body.home-page .landing-secondary-action:focus-visible {
  background: #f5f5f7;
  color: #1d1d1f;
  border-color: #b9b9bf;
}

.home-section {
  margin-top: 72px;
  text-align: center;
}

.home-hero + .home-section {
  margin-top: 56px;
}

.home-section h2 {
  margin: 0 0 28px;
  color: #6e6e73;
  font-size: 0.88rem;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
  font-weight: 800;
}

.home-step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.home-step-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px;
  box-sizing: border-box;
  background: #f5f5f7;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  color: #1d1d1f;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.home-step-card:hover,
.home-step-card:focus-visible {
  background: #fff;
  border-color: #b9b9bf;
  color: #1d1d1f;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -30px rgba(0, 0, 0, 0.35);
  outline: none;
}

.home-step-card span {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d2d2d7;
  color: #01875f;
  font-weight: 800;
}

.home-step-card.platform-card span {
  width: auto;
  height: auto;
  padding: 7px 12px;
  font-size: 0.8rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
  white-space: nowrap;
}

.home-step-card h3 {
  margin: 0;
  max-width: 360px;
  color: #01875f;
  font-size: 1.35rem;
  line-height: 1.25;
}

body.home-page .home-note {
  width: min(100%, 720px);
  margin: 26px auto 0;
  color: #424245;
  font-size: 1.05rem;
  line-height: 1.55;
}

body.home-page .home-step-grid + .home-note {
  width: min(100%, 900px);
}

.home-app-showcase {
  width: min(100%, 760px);
  margin: 32px auto 0;
}

.home-app-showcase-title {
  margin: 0 0 16px;
  color: #424245;
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 700;
}

.home-app-showcase-window {
  overflow: hidden;
  padding: 4px 0;
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}

.home-app-showcase-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: home-app-showcase-scroll 28s linear infinite;
}

@media (hover: hover) and (pointer: fine) {
  .home-app-showcase-window:hover .home-app-showcase-track {
    animation-play-state: paused;
  }
}

.home-app-showcase-group {
  display: flex;
  flex: none;
  gap: 18px;
}

.home-app-showcase-group a {
  display: block;
  flex: none;
  border-radius: 13px;
}

.home-app-showcase-group a:focus-visible {
  outline: 3px solid rgba(1, 135, 95, 0.28);
  outline-offset: 3px;
}

.home-app-showcase-group img {
  display: block;
  width: 54px;
  height: 54px;
  object-fit: cover;
  border: 1px solid #e5e5e7;
  border-radius: 13px;
  box-sizing: border-box;
}

@keyframes home-app-showcase-scroll {
  to {
    transform: translateX(calc(-50% - 9px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-app-showcase-track {
    animation: none;
  }

  .home-app-showcase-group[aria-hidden="true"] {
    display: none;
  }
}

.blog-card-grid,
.blog-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  text-align: left;
}

.blog-card-grid {
  row-gap: 20px;
}

.blog-list-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.blog-card,
.blog-list-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 14px;
  background: #f5f5f7;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  color: #1d1d1f;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover,
.blog-card:focus-visible,
.blog-list-card:hover,
.blog-list-card:focus-visible {
  background: #fff;
  border-color: #b9b9bf;
  color: #1d1d1f;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -30px rgba(0, 0, 0, 0.35);
  outline: none;
}

.blog-list-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  background: #d2d2d7;
}

.blog-card span,
.blog-list-card span {
  color: #01875f;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.28;
}

.blog-card {
  display: block;
  padding: 18px;
  margin: 0;
}

.blog-list-card p {
  margin: 0;
  color: #424245;
  line-height: 1.5;
}

body.home-page .blog-section-link {
  margin-top: 34px;
  padding-top: 12px;
}

.blog-post {
  width: min(100%, 760px);
  margin: 0 auto;
  padding-top: 26px;
}

body.home-page .blog-back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: #01875f;
  font-weight: 800;
  text-decoration: none;
}

body.home-page .blog-back-link:hover,
body.home-page .blog-back-link:focus-visible {
  color: #00754f;
  text-decoration: underline;
  outline: none;
}

.blog-post h2 {
  margin: 0 0 22px;
  color: #1d1d1f;
  font-size: 2.4rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.blog-post > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  background: #d2d2d7;
}

.blog-post-content {
  margin-top: 28px;
  color: #1d1d1f;
  font-size: 1.08rem;
  line-height: 1.72;
  text-align: left;
}

.blog-post-content p {
  margin: 0 0 20px;
}

.blog-admin-panel {
  width: min(100%, 820px);
  margin: 34px auto 0;
  padding: 24px;
  background: #f5f5f7;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  text-align: left;
}

.blog-admin-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.blog-admin-panel h2 {
  margin: 0 0 18px;
  color: #1d1d1f;
  font-size: 1.35rem;
  line-height: 1.2;
}

.blog-admin-heading h2 {
  margin-bottom: 0;
}

body.home-page .blog-admin-heading a,
body.home-page .blog-admin-actions a,
body.home-page .blog-admin-post-actions a {
  color: #01875f;
  font-weight: 800;
  text-decoration: none;
}

body.home-page .blog-admin-heading a:hover,
body.home-page .blog-admin-actions a:hover,
body.home-page .blog-admin-post-actions a:hover {
  color: #00754f;
  text-decoration: underline;
}

.blog-admin-form {
  display: grid;
  gap: 10px;
}

.blog-admin-form label {
  color: #1d1d1f;
  font-weight: 800;
}

.blog-admin-form input[type="text"],
.blog-admin-form input[type="password"],
.blog-admin-form input[type="datetime-local"],
.blog-admin-form input[type="file"],
.blog-admin-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  color: #1d1d1f;
  font: inherit;
}

.blog-admin-form textarea {
  resize: vertical;
}

.blog-admin-image-preview {
  width: min(100%, 360px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #d2d2d7;
  background: #fff;
}

.blog-admin-image-preview.is-hidden {
  display: none;
}

.blog-admin-help {
  margin: -4px 0 4px;
  color: #6e6e73;
  font-size: 0.92rem;
  line-height: 1.45;
}

.blog-admin-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.blog-admin-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}

.blog-admin-form button,
.blog-admin-post-actions button {
  width: fit-content;
  border-radius: 8px;
  background: #01875f;
  box-shadow: none;
}

.blog-admin-form button:hover,
.blog-admin-form button:focus-visible {
  background: #00754f;
}

.blog-admin-message {
  width: min(100%, 820px);
  margin: 28px auto 0;
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 800;
  text-align: left;
}

.blog-admin-message.success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}

.blog-admin-message.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.blog-admin-posts {
  display: grid;
  gap: 12px;
}

.blog-admin-post {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
}

.blog-admin-post h3 {
  margin: 0 0 6px;
  color: #1d1d1f;
  font-size: 1rem;
}

.blog-admin-post p {
  margin: 0 0 8px;
  color: #6e6e73;
  word-break: break-word;
}

.blog-admin-post span {
  display: inline-flex;
  padding: 4px 8px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  color: #047857;
  font-size: 0.8rem;
  font-weight: 800;
}

.blog-admin-post-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.blog-admin-post-actions form {
  margin: 0;
}

.blog-admin-post-actions button {
  padding: 8px 12px;
  background: #b91c1c;
  font-size: 0.9rem;
}

.blog-admin-post-actions button:hover,
.blog-admin-post-actions button:focus-visible {
  background: #991b1b;
}

.home-faq {
  width: min(100%, 820px);
  margin-left: auto;
  margin-right: auto;
}

.faq-list {
  display: grid;
  gap: 12px;
  text-align: left;
}

.faq-list details {
  background: #f5f5f7;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: #000;
  font-weight: 700;
}

.faq-list summary::marker {
  color: #01875f;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: #424245;
  line-height: 1.55;
}

.home-contact {
  width: min(100%, 760px);
  margin-right: auto;
  margin-left: auto;
  scroll-margin-top: 24px;
}

.home-contact-form {
  position: relative;
  display: grid;
  gap: 18px;
  margin-top: 28px;
  padding: 24px;
  background: #f5f5f7;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  text-align: left;
}

.home-contact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.home-contact-form label {
  display: grid;
  gap: 8px;
  color: #1d1d1f;
  font-size: 0.88rem;
  font-weight: 700;
}

.home-contact-form label span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.home-contact-form label small {
  color: #6e6e73;
  font-size: 0.75rem;
  font-weight: 600;
}

body.home-page .home-contact-form input,
body.home-page .home-contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 14px;
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  color: #1d1d1f;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  outline: none;
}

body.home-page .home-contact-form textarea {
  min-height: 132px;
  line-height: 1.5;
  resize: vertical;
}

body.home-page .home-contact-form input:focus,
body.home-page .home-contact-form textarea:focus {
  border-color: #01875f;
  box-shadow: 0 0 0 3px rgba(1, 135, 95, 0.14);
}

body.home-page .home-contact-form input:-webkit-autofill,
body.home-page .home-contact-form input:-webkit-autofill:hover {
  -webkit-text-fill-color: #1d1d1f;
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
  caret-color: #1d1d1f;
}

body.home-page .home-contact-form input:-webkit-autofill:focus {
  -webkit-text-fill-color: #1d1d1f;
  -webkit-box-shadow: 0 0 0 1000px #fff inset, 0 0 0 3px rgba(1, 135, 95, 0.14);
  caret-color: #1d1d1f;
}

body.home-page .home-contact-form input:autofill {
  background: #fff !important;
  color: #1d1d1f !important;
}

body.home-page .home-contact-form button {
  min-height: 48px;
  padding: 0 22px;
  box-sizing: border-box;
  justify-self: start;
  background: #01875f;
  border: 1px solid #01875f;
  border-radius: 8px;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: none;
}

body.home-page .home-contact-form button:hover,
body.home-page .home-contact-form button:focus-visible {
  background: #00754f;
  border-color: #00754f;
  outline: none;
  transform: none;
}

.home-contact-message {
  width: min(100%, 680px);
  box-sizing: border-box;
  margin: 22px auto 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}

.home-contact-message.success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}

.home-contact-message.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.home-contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

body.home-page .cookie-banner {
  position: static;
  background: #f5f5f7;
  border-color: #d2d2d7;
  color: #1d1d1f;
  margin: 0 auto 32px;
  box-shadow: 0 22px 70px -34px rgba(0, 0, 0, 0.35);
}

body.home-page .cookie-banner strong {
  color: #000;
}

body.home-page .cookie-banner p {
  color: #424245;
}

body.home-page .cookie-actions .cookie-secondary {
  background: #fff;
  border: 1px solid #d2d2d7;
  color: #1d1d1f;
}

body.home-page .cookie-actions button:not(.cookie-secondary) {
  background: #01875f;
  border: 1px solid #01875f;
  color: #fff;
}

@media (max-width: 840px) {
  .home-top-header h1,
  .home-top-header .site-name {
    font-size: 1.45rem;
  }
}

@media (max-width: 640px) {
  .home-shell {
    width: min(100% - 28px, 1040px);
    padding: 36px 0 72px;
  }

  .home-top-header {
    padding: 16px 0 0;
  }

  .home-top-header h1,
  .home-top-header .site-name {
    font-size: 1.35rem;
  }

  .home-actions {
    gap: 0;
  }

  .home-action {
    min-height: 48px;
    padding: 0 12px;
  }

  .home-hero h2 {
    font-size: clamp(1.9rem, 8.5vw, 2.35rem);
    line-height: 1.16;
  }

  .home-hero p {
    font-size: 1.08rem;
  }

  .home-quick-add-form {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 40px;
    padding: 8px;
  }

  .home-quick-add-form input[type="url"],
  .home-quick-add-form button {
    min-height: 48px;
  }

  .home-section {
    margin-top: 56px;
  }

  .home-hero + .home-section {
    margin-top: 48px;
  }

  .home-step-grid {
    gap: 12px;
  }

  .home-step-card {
    min-height: 172px;
    padding: 22px 16px;
  }

  .home-step-card h3 {
    font-size: 1.08rem;
  }

  .home-contact-form {
    padding: 20px;
  }

  .home-contact-fields {
    grid-template-columns: 1fr;
  }

  body.home-page .home-contact-form button {
    width: 100%;
  }

  .blog-card-grid,
  .blog-list-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    row-gap: 18px;
  }

  .blog-post {
    padding-top: 18px;
  }

  .blog-post h2 {
    font-size: 1.85rem;
  }

  .blog-admin-panel {
    padding: 18px;
  }

  .blog-admin-post {
    flex-direction: column;
  }

  .blog-admin-post-actions {
    justify-content: flex-start;
  }

  body.home-page .cookie-banner {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
}


header {
  position: relative;
  text-align: center;
  padding: 40px 0px 40px 0px;
  background: url('../img/background_nav.png') center/cover no-repeat;
  color: #fff;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

header > * {position: relative; z-index: 1;}

/* Custom header styling for the home page */
.home-header {
  padding: 60px 20px 40px;
  background: url('../img/background_nav.png') center/cover no-repeat;
}
.home-header::before {
  background: rgba(0,0,0,0.5);
}

h1 {margin:0; font-size:2.8rem;}
h2.subtitle {color:#e0e0e0; margin-top:10px;}
.stars {text-align:center; margin:0 auto 10px;}
.stars span {color:#999; font-size:1.4rem; margin:0 3px;}
.testimonials {
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:10px;
  gap:0px;
  background:rgba(255,255,255,0.3);
  backdrop-filter:blur(6px);
  border-radius:0px;
  color:#252525;
}
.testimonial-list {
  display:flex;
  overflow-x:auto;
  gap:16px;
  width:100%;
  padding:0 10px 4px;
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.testimonial-list::-webkit-scrollbar {display:none;}
.testimonial {
  min-width:240px;
  background:rgba(255,255,255,0.3);
  padding:10px;
  border-radius:10px;
  box-shadow:0 4px 12px rgba(0,0,0,0.1);
  font-size:0.9rem;
}
.job-search {
  margin:0px auto;
  max-width:800px;
  text-align:center;
  display:flex;
  gap:10px;
  padding:0 20px;
}
.job-search input {
  flex:1;
  width:100%;
  padding:12px 20px;
  font-size:1rem;
  border:1px solid #ccc;
  border-radius:30px;
  box-shadow:0 2px 6px rgba(0,0,0,0.1);
  box-sizing:border-box;
  background:rgba(255,255,255,0.8);
}
.job-search button {
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(4px);
  color: #fff;
}

.job-search button:hover {
  background: rgba(255,255,255,0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.post-job {
  margin-top: 10px;
  text-align: center;
}
.post-job .or-text {
  display: block;
  color: #ddd;
  font-size: 0.9rem;
  font-weight: 500;
}
.post-job-btn {
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 12px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  margin: 10px 0;
}
.post-job-btn:hover {
  background: rgba(255,255,255,0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.job-filter {margin:20px auto; max-width:800px; text-align:center;}
.job-filter label {display:block; margin-bottom:8px; font-weight:600;}
.job-filter select {
  padding:8px 12px;
  font-size:1rem;
  border:1px solid #ccc;
  border-radius:4px;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
  background-size:12px;
  appearance:none;
  cursor:pointer;
}
.selected-keywords {margin-top:10px;}
.selected-keywords span {background:#007bff; color:#fff; padding:5px 10px; border-radius:3px; margin-right:5px; cursor:pointer;}
.jobs {max-width:800px; margin:20px auto;}
.job {background:#fff; margin-bottom:10px; padding:20px; border-radius:6px; box-shadow:0 2px 8px rgba(0,0,0,0.05); transition:transform 0.2s;}
.job:hover {transform:translateY(-2px); box-shadow:0 4px 12px rgba(0,0,0,0.1);}
.job.restricted {
  background:#e6ffed;
  color:#1e4620;
  border:1px dashed #1e4620;
  cursor:pointer;
  text-align:center;
}
.premium-offer {
  max-width: 420px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  text-align: left;
}
.premium-offer ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}
.premium-offer li {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.premium-offer li::before {
  content: "\2713";
  color: #2a5ae0;
  font-weight: bold;
  margin-right: 10px;
}
.price-box {
  display: block;
  padding: 15px 25px;
  margin: 0 auto 20px;
  background: #e0e0e0;
  color: #000;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  width: fit-content;
}

.price-box .price-amount {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #000;
}

.price-box .price-term {
  display: block;
  font-size: 0.9rem;
  color: #666;
}
.premium-offer form {
  text-align: center;
  margin-top: 10px;
}

.already-premium {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  padding: 15px 20px;
  text-align: center;
  font-weight: 600;
  border-radius: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
}
.site-footer {
  width: 100%;
  box-sizing: border-box;
  margin-top: 40px;
  padding: 22px 20px;
  background: #1d1d1f;
  color: #d2d2d7;
}

body.home-page .site-footer,
body.app-page .site-footer {
  margin-top: 0;
}

.site-footer-inner {
  width: min(100%, 1040px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.site-footer .site-footer-link {
  color: #f5f5f7;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.site-footer .site-footer-link:hover,
.site-footer .site-footer-link:focus-visible {
  color: #67d7ae;
  text-decoration: underline;
}

@media (max-width: 560px) {
  .site-footer-inner {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .site-footer-links {
    gap: 18px;
  }
}

.legal-shell {
  width: min(100% - 40px, 860px);
  margin: 0 auto;
  padding: 48px 0 96px;
}

.legal-header {
  padding: 0 0 28px;
  background: transparent;
  color: #1d1d1f;
  text-align: left;
}

.legal-header::before {
  content: none;
}

.legal-header h1 {
  margin: 0;
  color: #1d1d1f;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 600;
}

.legal-header p {
  margin: 12px 0 0;
  color: #6e6e73;
  font-size: 0.92rem;
}

.legal-content {
  color: #1d1d1f;
  font-size: 1rem;
  line-height: 1.7;
}

.legal-content h2 {
  margin: 38px 0 12px;
  color: #1d1d1f;
  font-size: 1.25rem;
  line-height: 1.3;
}

.legal-content p {
  margin: 0 0 16px;
}

.legal-content ul {
  margin: 0 0 18px;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
}

body.legal-page .legal-content a {
  color: #01875f;
  font-weight: 700;
}

@media (max-width: 640px) {
  .legal-shell {
    width: min(100% - 28px, 860px);
    padding: 36px 0 72px;
  }

  .legal-header h1 {
    font-size: 2.2rem;
  }

  .legal-content h2 {
    margin-top: 32px;
  }
}
.navbar {
  background: rgba(15, 23, 42, 0.88);
  color: #fff;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 12px 32px -28px rgba(15, 23, 42, 0.85);
  width: 100%;
  box-sizing: border-box;
  flex-wrap: wrap;
}
.navbar a {
  color: #f8fafc;
  text-decoration: none;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.navbar a:hover,
.navbar a:focus-visible {
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.18);
  box-shadow: 0 14px 32px -24px rgba(59, 130, 246, 0.75);
  outline: none;
}
.navbar .greeting {
  margin-left: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5f5;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.navbar .logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}
.navbar .logo a {
  align-items: center;
  padding: 0;
  color: #fff;
}
.logo-icon {
  height: 20px;
  margin-right: 6px;
}
.navbar .logo-full {display:flex; align-items:center;}
.navbar .logo-short {display:none; align-items:center;}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.6);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  padding: 0;
}
.nav-toggle img {
  width: 22px;
  height: 22px;
  display: block;
}
.nav-toggle:hover,
.nav-toggle:focus-visible,
.nav-toggle.active {
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(30, 41, 59, 0.85);
  box-shadow: 0 10px 28px -18px rgba(59, 130, 246, 0.6);
  outline: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-links a {
  white-space: nowrap;
}

@media (max-width: 780px) {
  .navbar {
    padding: 12px 18px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    order: 3;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.18);
  }

  .nav-links.is-open {
    display: flex;
    box-shadow: 0 20px 38px -28px rgba(15, 23, 42, 0.85);
  }

  .nav-links a,
  .nav-links .greeting {
    margin: 0;
    width: 100%;
    justify-content: flex-start;
    border-radius: 12px;
    padding: 12px 14px;
    white-space: normal;
  }

  .nav-links .greeting {
    background: rgba(148, 163, 184, 0.2);
  }
}
.comment-section {margin-top:40px; background:#fff; padding:20px; border-radius:8px; box-shadow:0 2px 8px rgba(0,0,0,0.05);}
.comment {background:#f9f9f9; padding:15px; border-radius:6px; margin-bottom:10px; box-shadow:0 2px 4px rgba(0,0,0,0.05);}

.job-detail {max-width:900px; margin:20px auto; background:#fff; padding:40px; border-radius:10px; box-shadow:0 8px 20px rgba(0,0,0,0.08);}
.job-detail h1 {margin-top:0;}
.job-info {display:flex; gap:20px; margin-bottom:20px;}
.job-info div {background:#f0f9ff; padding:15px 20px; border-radius:6px; box-shadow:0 2px 4px rgba(0,0,0,0.05);}
.job-description {margin-bottom:20px; line-height:1.6;}
.apply-link {margin-top:20px;}

.comment-form textarea {
  width:100%;
  padding:15px;
  margin-bottom:10px;
  border:1px solid #ccc;
  border-radius:6px;
  font-size:1rem;
  box-sizing:border-box;
  resize:vertical;
}
.comment-form button {display:block; margin-top:10px;}

button,
.apply-link a {
  background: linear-gradient(135deg, #2a5ae0, #00aaff);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.job-search button {
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(4px);
  color: #fff;
}

button:hover,
.apply-link a:hover {
  background: linear-gradient(135deg, #1d4ec4, #0091dd);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.contact-form-container {
  max-width: 500px;
  margin: 20px auto;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-form label {
  display: block;
  margin-top: 10px;
  margin-bottom: 5px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 15px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  box-sizing: border-box;
}

.contact-form textarea {height: 150px; resize: vertical;}

.success-message {
  background: #d4edda;
  color: #155724;
  padding: 10px 15px;
  border-radius: 4px;
  margin-bottom: 15px;
}

.green-box {
  background: #d4edda;
  color: #155724;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #c3e6cb;
}

.premium-benefits ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.back-container {
  text-align:left;
  margin-bottom:20px;
}
.back-btn {
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin:0;
  padding:12px 20px;
  border-radius:30px;
  background:linear-gradient(135deg,#2a5ae0,#00aaff);
  color:#fff;
  text-decoration:none;
  font-weight:600;
  border:none;
  box-shadow:0 4px 10px rgba(0,0,0,0.1);
  transition:background .2s, transform .2s, box-shadow .2s;
}
.back-btn:hover {
  background:linear-gradient(135deg,#1d4ec4,#0091dd);
  transform:translateY(-2px);
  box-shadow:0 6px 16px rgba(0,0,0,0.15);
}

.premium-container {
  max-width: 600px;
  margin: 40px auto;
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.policy-container {
  max-width: 900px;
  margin: 40px auto;
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  line-height: 1.6;
}
.policy-section {margin-top: 30px;}
.policy-section h3 {margin-top: 20px;}
.text-muted {color: #6c757d;}

@media (max-width: 600px) {
  .job-search {
    flex-direction:column;
    padding:0 10px;
    gap:12px;
  }
  .job-search input,
  .job-search button {
    width:100%;
  }
  .jobs {
    padding:0 10px;
  }
  .home-header {
    padding:48px 16px 32px;
  }
  .home-header h1 {
    font-size:2.2rem;
  }
  h2.subtitle {
    font-size:1.1rem;
  }
  .card {
    margin:24px auto;
    padding:20px;
    width:calc(100% - 32px);
  }
  .steps {
    font-size:1.05rem;
  }
  .steps li {
    padding:14px 16px 14px 52px;
  }
  .steps li::before {
    left:16px;
    width:26px;
    height:26px;
  }
}

/* Dark theme additions */
.card {
  max-width:900px;
  margin:40px auto;
  width:calc(100% - 40px);
  background:#1e293b;
  padding:30px;
  border-radius:8px;
  box-shadow:0 4px 12px rgba(0,0,0,0.5);
  box-sizing:border-box;
}

.steps {
  list-style:none;
  counter-reset:step;
  font-size:1.2rem;
  line-height:1.8;
  padding:0;
}
.steps li {
  counter-increment:step;
  margin-bottom:20px;
  padding:15px 20px 15px 60px;
  background:#334155;
  border-radius:6px;
  position:relative;
}
.steps li::before {
  content:counter(step);
  position:absolute;
  left:20px;
  top:50%;
  transform:translateY(-50%);
  background:#3b82f6;
  color:#fff;
  width:30px;
  height:30px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:bold;
}

.home-note {
  margin: 20px 0 0;
  color: #cbd5f5;
  font-size: 1.05rem;
  text-align: center;
}

.account-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(59, 130, 246, 0.16);
  border: 1px solid rgba(96, 165, 250, 0.35);
}

.account-banner strong {
  display: block;
  color: #f8fafc;
  margin-bottom: 4px;
}

.account-banner p {
  margin: 0;
  color: #dbeafe;
  line-height: 1.45;
}

.account-banner a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.privacy-section p {
  margin: 0;
  color: #cbd5f5;
  line-height: 1.6;
}

.danger-button {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.danger-button:hover {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
}

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 960px;
  margin: 0 auto;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 24px 80px -32px rgba(0, 0, 0, 0.9);
}

.cookie-banner strong {
  display: block;
  margin-bottom: 6px;
  color: #f8fafc;
}

.cookie-banner p {
  margin: 0;
  color: #cbd5f5;
  line-height: 1.45;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.cookie-actions .cookie-secondary {
  background: rgba(148, 163, 184, 0.18);
  border: 1px solid rgba(148, 163, 184, 0.28);
}

@media (max-width: 720px) {
  .account-banner,
  .cookie-banner,
  .cookie-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .account-banner a,
  .cookie-actions button {
    width: 100%;
  }
}

input:not([type="checkbox"]) {
  background:#334155;
  color:#f1f5f9;
  border:1px solid #475569;
  border-radius:4px;
  padding:8px;
}

button {
  background:#3b82f6;
  color:#fff;
  border:none;
  border-radius:4px;
  padding:8px 15px;
  cursor:pointer;
  transition:background 0.2s;
}
button:hover {background:#2563eb;}

.app-list {list-style:none; padding:0; margin:0;}
.app-item {display:flex; align-items:center; justify-content:space-between; padding:10px 0; border-bottom:1px solid #334155;}
.app-info {display:flex; align-items:center; gap:10px;}
.app-icon {width:40px;height:40px;border-radius:8px;}
.app-url {flex:1; margin-right:10px; word-break:break-all;}
.review-count {margin-left:10px; color:#94a3b8; font-size:0.9rem;}

.app-add-form input[type="url"],
.app-add-form input[type="text"] {
  width:80%;
  margin-bottom:10px;
}
.app-add-form input[type="file"] {
  margin-bottom:10px;
}

.switch {position:relative; display:inline-block; width:40px; height:20px;}
.switch input {opacity:0; width:0; height:0;}
.slider {position:absolute; cursor:pointer; top:0; left:0; right:0; bottom:0; background:#475569; transition:.4s; border-radius:20px;}
.slider:before {position:absolute; content:""; height:16px; width:16px; left:2px; bottom:2px; background:white; transition:.4s; border-radius:50%;}
input:checked + .slider {background:#3b82f6;}
input:checked + .slider:before {transform:translateX(20px);}

/* Review page */
body.try-apps-page {
  background: radial-gradient(circle at top, rgba(59,130,246,0.18), rgba(15,23,42,0.92) 45%, #0f172a 85%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px 48px;
}

body.try-apps-page .card {
  max-width: 960px;
  width: 100%;
}

body.try-apps-page .navbar {
  width: 100%;
}

.review-card {
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.88));
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.review-card > * {
  width: 100%;
}

.review-card::before {
  content: "";
  position: absolute;
  inset: -30% auto auto -20%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(59,130,246,0.35), transparent 70%);
  filter: blur(2px);
  opacity: 0.8;
}

.review-card-header {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
  align-items: center;
  text-align: center;
}

.review-card-header h2 {
  margin: 0;
  font-size: 2rem;
}

.status-message {
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #e0f2fe;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.95rem;
}
.status-message.success {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.5);
  color: #bbf7d0;
}
.status-message.error {
  background: rgba(248, 113, 113, 0.2);
  border-color: rgba(248, 113, 113, 0.55);
  color: #fecaca;
}
.status-message.warning {
  background: rgba(251, 191, 36, 0.18);
  border-color: rgba(251, 191, 36, 0.45);
  color: #fef3c7;
}

.review-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
  margin-bottom: 32px;
  justify-items: center;
}

@media (min-width: 900px) {
  .review-content {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: start;
  }
}

.review-app-panel,
.review-example {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 18px 45px -30px rgba(15, 23, 42, 0.9);
}

.review-app-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.review-card .app-info {
  margin-bottom: 0;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.review-card .app-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.65);
}

.app-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}

.app-details h3 {
  margin: 0;
  font-size: 1.5rem;
  color: #f8fafc;
}

.review-card .app-info .open-app-btn {
  margin-left: 0;
  align-self: flex-start;
}

.open-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 12px 20px -12px rgba(59, 130, 246, 0.8);
}

.open-app-btn:hover {
  background: linear-gradient(135deg, #60a5fa, #2563eb);
}

.app-detail {
  text-align: center;
}

.app-detail .app-icon {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  margin-bottom: 10px;
}

body.app-page {
  min-height: 100vh;
  margin: 0;
  background: #f5f5f7;
  color: #1d1d1f;
}

body.app-page a {
  color: inherit;
}

body.app-page .home-top-header {
  background: #1d1d1f;
}

body.app-page .home-action {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  background: #fff;
  color: #01875f;
  border: 0;
  border-right: 1px solid #d2d2d7;
  border-radius: 0;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: none;
  transition: background 0.2s ease;
}

body.app-page .home-action:last-child {
  border-right: 0;
}

body.app-page .home-action:hover,
body.app-page .home-action:focus-visible {
  background: #f5f5f7;
  color: #01875f;
  text-decoration: none;
  outline: none;
}

.app-detail-shell {
  width: min(100% - 40px, 920px);
  margin: 0 auto;
  padding: 26px 0 72px;
}

body.app-page .app-detail-back {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  color: #01875f;
  font-weight: 800;
  text-decoration: none;
}

body.app-page .app-detail-back:hover,
body.app-page .app-detail-back:focus-visible {
  border-color: #01875f;
  text-decoration: none;
  outline: none;
}

.app-detail-page-header {
  margin-bottom: 16px;
}

.app-detail-page-header p {
  margin: 0 0 6px;
  color: #6e6e73;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.app-detail-page-header h1,
.app-detail-page-header h2 {
  margin: 0;
  color: #1d1d1f;
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.app-detail-panel {
  display: grid;
  gap: 18px;
  padding: 22px;
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  box-shadow: 0 16px 36px -32px rgba(29, 29, 31, 0.45);
}

.app-detail-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.app-detail-icon {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 12px 28px -22px rgba(29, 29, 31, 0.8);
}

.app-detail-title {
  min-width: 0;
}

body.app-page .platform-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border: 1px solid #d2d2d7;
  border-radius: 999px;
  background: #fff;
  color: #424245;
  font-size: 0.82rem;
  font-weight: 800;
}

body.app-page .platform-pill.platform-google_play {
  background: #eef8f1;
  border-color: #01875f;
  color: #01875f;
}

.app-detail-title h1,
.app-detail-title h2 {
  margin: 8px 0 8px;
  color: #1d1d1f;
  font-size: 1.65rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.app-detail-title p {
  max-width: 620px;
  margin: 0;
  color: #424245;
  font-size: 0.98rem;
  line-height: 1.5;
}

body.app-page .app-detail-open {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  background: #01875f;
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

body.app-page .app-detail-open:hover,
body.app-page .app-detail-open:focus-visible {
  background: #00754f;
  color: #fff;
  text-decoration: none;
  outline: none;
}

.public-app-actions {
  display: grid;
  gap: 9px;
  min-width: 174px;
}

body.app-page .public-app-store-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid #01875f;
  border-radius: 8px;
  color: #01875f;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

body.app-page .public-app-store-link:hover,
body.app-page .public-app-store-link:focus-visible {
  background: #eef8f1;
  color: #00754f;
  text-decoration: none;
  outline: none;
}

.app-detail-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.app-detail-stats div {
  padding: 16px;
  background: #f5f5f7;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
}

.app-detail-stats span {
  display: block;
  margin-bottom: 8px;
  color: #6e6e73;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.app-detail-stats strong {
  display: block;
  color: #1d1d1f;
  font-size: 1.55rem;
  line-height: 1.05;
}

.app-detail-note {
  padding: 16px;
  background: #eef8f1;
  border: 1px solid rgba(1, 135, 95, 0.24);
  border-radius: 8px;
}

.app-detail-note h2,
.app-detail-note h3 {
  margin: 0 0 8px;
  color: #1d1d1f;
  font-size: 1rem;
  line-height: 1.25;
}

.app-detail-note p {
  margin: 0;
  color: #424245;
  font-size: 0.95rem;
  line-height: 1.5;
}

.app-private-feedback {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: #f5f5f7;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
}

.app-private-feedback-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.app-private-feedback-header h3 {
  margin: 0;
  color: #1d1d1f;
  font-size: 1rem;
}

.app-private-feedback-header span {
  display: inline-flex;
  min-width: 28px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 999px;
  color: #01875f;
  font-size: 0.8rem;
  font-weight: 800;
}

.app-private-feedback-empty {
  margin: 0;
  color: #6e6e73;
  font-size: 0.92rem;
}

.app-private-feedback-list {
  display: grid;
  gap: 10px;
}

.app-private-feedback-list article {
  padding: 14px;
  background: #fff;
  border: 1px solid #e5e5e7;
  border-radius: 8px;
}

.app-private-feedback-list p {
  margin: 0;
  color: #1d1d1f;
  font-size: 0.94rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.app-private-feedback-list time {
  display: block;
  margin-top: 10px;
  color: #6e6e73;
  font-size: 0.78rem;
  font-weight: 700;
}

body.app-page .cookie-banner {
  position: static;
  background: #f5f5f7;
  border-color: #d2d2d7;
  color: #1d1d1f;
  margin: 32px auto 0;
  box-shadow: none;
}

body.app-page .cookie-banner strong {
  color: #000;
}

body.app-page .cookie-banner p {
  color: #424245;
}

body.app-page .cookie-actions .cookie-secondary {
  background: #fff;
  border: 1px solid #d2d2d7;
  color: #1d1d1f;
}

body.app-page .cookie-actions button:not(.cookie-secondary) {
  background: #01875f;
  border: 1px solid #01875f;
  color: #fff;
}

@media (max-width: 720px) {
  .app-detail-shell {
    width: min(100% - 28px, 920px);
    padding: 22px 0 56px;
  }

  .app-detail-panel {
    padding: 16px;
  }

  .app-detail-hero {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .app-detail-open {
    width: 100%;
    box-sizing: border-box;
  }

  .public-app-actions,
  .public-app-store-link {
    width: 100%;
    box-sizing: border-box;
  }

  .app-detail-stats {
    grid-template-columns: 1fr;
  }
}

.review-description {
  color: #cbd5f5;
  margin: 0;
  font-size: 1rem;
}

.review-tips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}

.review-tips li {
  position: relative;
  padding: 14px 16px 14px 42px;
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 12px;
  font-size: 0.95rem;
  color: #e2e8f0;
  text-align: left;
}

.review-tips li::before {
  content: "\2713";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #38bdf8;
  font-weight: 700;
  font-size: 1.1rem;
}

.review-example {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  color: #e2e8f0;
  align-items: center;
}

.review-example h3 {
  margin: 0;
  font-size: 1.3rem;
}

.review-example p {
  margin: 0;
  color: #cbd5f5;
  font-size: 0.95rem;
}

.review-example img {
  width: min(100%, 400px);
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 18px 35px -20px rgba(15, 23, 42, 0.9);
  margin: 0 auto;
}

.review-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

.file-upload {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 20px;
  border: 1px dashed rgba(148, 163, 184, 0.35);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.55);
  color: #e2e8f0;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.file-upload:hover {
  border-color: rgba(96, 165, 250, 0.8);
  background: rgba(30, 41, 59, 0.65);
}

.file-upload span {
  font-weight: 600;
  font-size: 1rem;
}

.file-upload input[type="file"] {
  width: 100%;
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 10px;
  padding: 10px;
  color: #f8fafc;
  cursor: pointer;
}

.review-form button {
  align-self: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 14px 28px -20px rgba(59, 130, 246, 0.9);
}

.no-app-message {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #cbd5f5;
}

@media (max-width: 768px) {
  body.try-apps-page {
    padding: 0 16px 40px;
  }

  body.try-apps-page .card {
    padding: 24px 20px;
  }

  .review-card .app-info {
    flex-direction: column;
  }

  .review-card .app-icon {
    width: 64px;
    height: 64px;
  }

  .open-app-btn {
    width: 100%;
    justify-content: center;
  }

  .review-example img {
    width: min(100%, 340px);
  }

  .file-upload {
    padding: 16px 18px;
  }
}

@media (max-width: 480px) {
  body.try-apps-page {
    padding: 0 12px 32px;
  }

  .review-card-header h2 {
    font-size: 1.6rem;
  }

  .review-description,
  .review-example p {
    font-size: 0.9rem;
  }

  .review-tips li {
    font-size: 0.9rem;
    padding: 12px 14px 12px 38px;
  }

  .review-form button,
  .open-app-btn {
    width: 100%;
  }
}

/* Profile page */
body.profile-page {
  background: radial-gradient(circle at top, rgba(79, 70, 229, 0.18), rgba(15, 23, 42, 0.95) 55%, #0f172a 90%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px 48px;
}

body.profile-page .navbar {
  width: 100%;
  align-self: stretch;
}

.profile-card {
  width: 100%;
  max-width: 1100px;
  margin-top: 32px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.88));
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 20px 60px -20px rgba(15, 23, 42, 0.7);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.profile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.profile-email span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  background: rgba(148, 163, 184, 0.15);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 999px;
  padding: 8px 16px;
  color: #e2e8f0;
}

.profile-points {
  margin: 4px 0 0;
  font-size: 1rem;
}

.profile-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.profile-section h3 {
  margin: 0;
}

.profile-card .app-add-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.profile-card .form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.profile-card .form-grid input[type="text"],
.profile-card .form-grid input[type="url"],
.profile-card .form-grid input[type="file"] {
  width: 100%;
  padding: 12px 16px;
  box-sizing: border-box;
}

.profile-card .form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.checkbox-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: #e2e8f0;
}

.profile-card .form-actions button {
  margin-left: auto;
  padding: 10px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6366f1, #3b82f6);
  box-shadow: 0 10px 25px -12px rgba(99, 102, 241, 0.9);
}

.profile-card .form-actions button:hover {
  background: linear-gradient(135deg, #4f46e5, #2563eb);
}

.profile-card .app-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-card .app-item {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.profile-card .app-info {
  display: flex;
  flex: 1;
  align-items: flex-start;
  gap: 16px;
}

.profile-card .app-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  box-shadow: 0 10px 28px -12px rgba(15, 23, 42, 0.8);
}

.profile-card .app-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-card .app-name {
  font-weight: 600;
  color: #f8fafc;
}

.profile-card .app-open {
  font-size: 0.85rem;
  color: #38bdf8;
  text-decoration: none;
}

.profile-card .app-open:hover {
  text-decoration: underline;
}

.profile-card .app-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.28);
  font-size: 0.85rem;
  color: #bfdbfe;
}

.profile-card .app-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.empty-state {
  padding: 18px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px dashed rgba(148, 163, 184, 0.35);
  color: #cbd5f5;
  text-align: center;
}

.review-history {
  overflow-x: auto;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.55);
  -webkit-overflow-scrolling: touch;
}

.review-history table {
  width: 100%;
  border-collapse: collapse;
  min-width: 580px;
}

.review-history th,
.review-history td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.review-history th {
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #a5b4fc;
}

.review-history tbody tr:last-child td {
  border-bottom: none;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

.status-pill.status-pending {
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #facc15;
}

.status-pill.status-approved {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
}

.status-pill.status-rejected {
  background: rgba(248, 113, 113, 0.15);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #f87171;
}

.screenshot-link {
  color: #38bdf8;
  font-weight: 600;
}

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

@media (max-width: 720px) {
  .profile-card .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-card .form-actions button {
    margin-left: 0;
    width: 100%;
  }

  .profile-card .app-controls {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 640px) {
  body.profile-page {
    padding-left: 0;
    padding-right: 0;
  }

  .profile-card {
    padding: 26px 20px;
  }

  .profile-header {
    align-items: flex-start;
  }

  .review-history table {
    min-width: 0;
  }

  .review-history thead {
    display: none;
  }

  .review-history tbody {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .review-history tr {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.6);
  }

  .review-history td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: none;
    padding: 0;
  }

  .review-history td::before {
    content: attr(data-label);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
  }

  .review-history td .status-pill,
  .review-history td .screenshot-link {
    margin-left: auto;
  }
}

/* Profile light redesign */
body.profile-page {
  background: #fff;
  color: #1d1d1f;
  align-items: stretch;
  padding: 0;
}

body.profile-page .home-top-header {
  width: 100%;
  box-sizing: border-box;
}

body.profile-page .home-action {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  background: #fff;
  color: #01875f;
  border: 0;
  border-right: 1px solid #d2d2d7;
  border-radius: 0;
  font-weight: 700;
  text-decoration: none;
  box-shadow: none;
  transition: background 0.2s ease;
}

body.profile-page .home-action:last-child {
  border-right: 0;
}

body.profile-page .home-action:hover,
body.profile-page .home-action:focus-visible {
  background: #f5f5f7;
  color: #01875f;
  text-decoration: none;
  outline: none;
}

body.profile-page .profile-card {
  width: min(100% - 40px, 1100px);
  margin: 32px auto 0;
  background: #fff;
  border: 1px solid #d2d2d7;
  color: #1d1d1f;
  box-shadow: none;
}

body.profile-page .profile-header h2 {
  margin: 0;
  color: #000;
  font-size: 1.55rem;
}

body.profile-page .profile-points {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  margin: 0 auto;
  padding: 12px 20px;
  background: #f5f5f7;
  border: 1px solid #d2d2d7;
  border-radius: 14px;
  color: #01875f;
  text-align: center;
}

body.profile-page .profile-points-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

body.profile-page .profile-points-label > span {
  color: #6e6e73;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

body.profile-page .profile-points-help {
  position: relative;
  display: inline-flex;
  width: 17px;
  height: 17px;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

body.profile-page .profile-points-help summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  box-sizing: border-box;
  border: 1px solid #d2d2d7;
  border-radius: 50%;
  background: #fff;
  color: #6e6e73;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  list-style: none;
}

body.profile-page .profile-points-help summary::-webkit-details-marker {
  display: none;
}

body.profile-page .profile-points-help summary::marker {
  content: "";
}

body.profile-page .profile-points-help summary:hover,
body.profile-page .profile-points-help summary:focus-visible {
  border-color: #01875f;
  color: #01875f;
  outline: none;
}

body.profile-page .profile-points-help-text {
  position: absolute;
  z-index: 5;
  top: calc(100% + 8px);
  left: 50%;
  width: 220px;
  padding: 10px 12px;
  border: 1px solid #d2d2d7;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(29, 29, 31, 0.14);
  color: #424245;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  text-transform: none;
  transform: translateX(-50%);
}

body.profile-page .profile-points-help:not([open]) .profile-points-help-text {
  display: none;
}

body.profile-page .profile-points strong {
  font-size: 1.8rem;
  line-height: 1.05;
}

body.profile-page .profile-points-value.is-empty {
  color: #d70015;
}

body.profile-page .profile-points-value.is-low {
  color: #c45500;
}

body.profile-page .profile-points-value.is-healthy {
  color: #01875f;
}

body.profile-page .profile-points-cta {
  margin-top: 7px;
  color: #01875f;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
}

body.profile-page .profile-points-cta:hover,
body.profile-page .profile-points-cta:focus-visible {
  color: #006c4c;
  text-decoration: underline;
}

body.profile-page .profile-email span,
body.profile-page .stat-pill,
body.profile-page .status-pill {
  background: #f5f5f7;
  border: 1px solid #d2d2d7;
  color: #424245;
}

body.profile-page a.stat-pill {
  background: #eef8f1;
  border-color: rgba(1, 135, 95, 0.45);
  color: #006c4c;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

body.profile-page a.stat-pill:hover,
body.profile-page a.stat-pill:focus-visible {
  background: #01875f;
  border-color: #01875f;
  color: #fff;
  outline: none;
  text-decoration: none;
}

.profile-account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
}

.profile-account-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid #d2d2d7;
  border-radius: 999px;
  background: #fff;
  color: #01875f;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.profile-account-actions a:hover,
.profile-account-actions a:focus-visible {
  background: #f5f5f7;
  color: #01875f;
  text-decoration: none;
  outline: none;
}

body.profile-page .account-banner {
  background: #f5f5f7;
  border: 1px solid #d2d2d7;
}

body.profile-page .account-banner strong {
  color: #000;
}

body.profile-page .account-banner p {
  color: #424245;
}

body.profile-page .account-banner a,
body.profile-page .profile-card .form-actions button {
  background: #01875f;
  border: 1px solid #01875f;
  color: #fff;
  box-shadow: none;
}

body.profile-page .account-banner a:hover,
body.profile-page .profile-card .form-actions button:hover {
  background: #006c4c;
  border-color: #006c4c;
  color: #fff;
  text-decoration: none;
}

body.profile-page .account-banner-quiet {
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
}

body.profile-page .account-banner-quiet strong {
  margin-bottom: 2px;
  font-size: 0.92rem;
}

body.profile-page .account-banner-quiet p {
  font-size: 0.86rem;
}

body.profile-page .account-banner-quiet a {
  min-height: 32px;
  padding: 0 14px;
  background: #fff;
  border-color: #d2d2d7;
  color: #01875f;
  font-size: 0.88rem;
}

body.profile-page .account-banner-quiet a:hover,
body.profile-page .account-banner-quiet a:focus-visible {
  background: #fff;
  border-color: #01875f;
  color: #01875f;
  outline: none;
}

body.profile-page .profile-section h3 {
  color: #6e6e73;
  font-size: 0.88rem;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
  font-weight: 800;
}

body.profile-page .profile-card .form-grid input[type="text"],
body.profile-page .profile-card .form-grid input[type="url"],
body.profile-page .profile-card .form-grid input[type="file"] {
  background: #fff;
  border: 1px solid #d2d2d7;
  color: #1d1d1f;
  border-radius: 10px;
}

body.profile-page .profile-card .form-grid input::placeholder {
  color: #86868b;
}

body.profile-page .app-add-form .form-grid {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px;
  background: #f5f5f7;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  box-sizing: border-box;
}

body.profile-page .app-add-form .form-grid input[type="url"] {
  width: 100%;
  height: 50px;
  margin: 0;
  padding: 0 16px;
  border-radius: 6px;
}

body.profile-page .app-add-form .form-grid button {
  align-self: center;
  height: 50px;
  margin: 0;
  padding: 0 24px;
  background: #01875f;
  border: 1px solid #01875f;
  border-radius: 6px;
  color: #fff;
  font: inherit;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

body.profile-page .app-add-form .form-grid button:hover,
body.profile-page .app-add-form .form-grid button:focus-visible {
  background: #006c4c;
  border-color: #006c4c;
  outline: none;
}

body.profile-page .app-add-note {
  margin: -8px 0 0;
  color: #6e6e73;
  font-size: 0.92rem;
  line-height: 1.4;
}

body.profile-page .app-add-note-strong {
  margin-top: -12px;
  color: #424245;
  font-weight: 700;
}

@media (max-width: 720px) {
  body.profile-page .app-add-form .form-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body.profile-page .app-add-form .form-grid input[type="url"],
  body.profile-page .app-add-form .form-grid button {
    width: 100%;
    height: 48px;
    box-sizing: border-box;
  }
}

body.profile-page .checkbox-inline {
  color: #424245;
}

body.profile-page input[type="checkbox"] {
  accent-color: #01875f;
}

body.profile-page .profile-card .app-item {
  border-bottom: 1px solid #d2d2d7;
}

body.profile-page .profile-card .app-name {
  color: #01875f;
  text-decoration: none;
}

body.profile-page .profile-card .app-name:hover {
  text-decoration: underline;
}

body.profile-page .profile-card .app-control-form {
  display: flex;
  align-items: center;
  margin: 0;
}

body.profile-page .profile-card .app-delete-button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #f87171;
  border-radius: 999px;
  background: #fff;
  color: #b91c1c;
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: none;
}

body.profile-page .profile-card .app-delete-button:hover,
body.profile-page .profile-card .app-delete-button:focus-visible {
  background: #fff1f2;
  border-color: #b91c1c;
  color: #991b1b;
  outline: none;
}

body.profile-page .profile-card .app-open,
body.profile-page .review-app-link,
body.profile-page .screenshot-link {
  color: #01875f;
}

body.profile-page .review-app-link {
  font-weight: 700;
  text-decoration: none;
}

body.profile-page .review-app-link:hover,
body.profile-page .review-app-link:focus-visible {
  text-decoration: underline;
  outline: none;
}

body.profile-page .empty-state,
body.profile-page .review-history {
  background: #f5f5f7;
  border: 1px solid #d2d2d7;
  color: #424245;
}

body.profile-page .review-history {
  border-radius: 8px;
  box-shadow: none;
}

body.profile-page .review-history table {
  min-width: 680px;
  color: #1d1d1f;
}

body.profile-page .review-history th,
body.profile-page .review-history td {
  border-bottom: 1px solid #d2d2d7;
}

body.profile-page .review-history th {
  color: #6e6e73;
  letter-spacing: 0;
}

body.profile-page .platform-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border: 1px solid #d2d2d7;
  border-radius: 999px;
  background: #fff;
  color: #424245;
  font-size: 0.82rem;
  font-weight: 700;
}

body.profile-page .platform-pill.platform-google_play {
  background: #eef8f1;
  border-color: #01875f;
  color: #01875f;
}

body.profile-page .status-pill.status-pending {
  background: #fff8e1;
  border-color: #facc15;
  color: #8a5a00;
}

body.profile-page .status-pill.status-approved {
  background: #eef8f1;
  border-color: #01875f;
  color: #01875f;
}

body.profile-page .status-pill.status-rejected {
  background: #fff1f2;
  border-color: #f87171;
  color: #b91c1c;
}

body.profile-page .privacy-section p {
  color: #424245;
}

body.profile-page .danger-button {
  background: #fff;
  border: 1px solid #f87171;
  color: #b91c1c;
  box-shadow: none;
}

body.profile-page .danger-button:hover,
body.profile-page .danger-button:focus-visible {
  background: #fff1f2;
  border-color: #b91c1c;
  color: #991b1b;
  outline: none;
}

body.profile-page input:checked + .slider {
  background: #01875f;
}

body.profile-page .status-message {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: #eef8f1;
  border: 1px solid #01875f;
  color: #0b5f45;
}

body.profile-page .status-message a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #01875f;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

body.profile-page .status-message a:hover,
body.profile-page .status-message a:focus-visible {
  background: #006c4c;
  color: #fff;
  text-decoration: none;
  outline: none;
}

body.profile-page .status-message.error {
  background: #fff1f2;
  border-color: #f87171;
  color: #b91c1c;
}

body.profile-page .status-message.warning {
  background: #fff8e1;
  border-color: #facc15;
  color: #8a5a00;
}

body.profile-page .cookie-banner {
  position: static;
  background: #f5f5f7;
  border-color: #d2d2d7;
  color: #1d1d1f;
  margin: 32px auto 0;
  box-shadow: none;
}

body.profile-page .cookie-banner strong {
  color: #000;
}

body.profile-page .cookie-banner p {
  color: #424245;
}

body.profile-page .cookie-actions .cookie-secondary {
  background: #fff;
  border: 1px solid #d2d2d7;
  color: #1d1d1f;
}

body.profile-page .cookie-actions button:not(.cookie-secondary) {
  background: #01875f;
  border: 1px solid #01875f;
  color: #fff;
}

@media (max-width: 640px) {
  body.profile-page {
    padding-bottom: 0;
  }

  body.profile-page .account-banner a {
    width: 100%;
    box-sizing: border-box;
  }

  body.profile-page .profile-card {
    width: min(100% - 28px, 1100px);
    padding: 24px 18px;
  }

  body.profile-page .profile-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
  }

  body.profile-page .profile-title {
    min-width: 0;
  }

  body.profile-page .profile-header h2 {
    font-size: 1.25rem;
  }

  body.profile-page .profile-email {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    min-width: 0;
  }

  body.profile-page .profile-email span {
    max-width: 46vw;
    padding: 7px 10px;
    overflow: hidden;
    font-size: 0.78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .profile-account-actions {
    grid-column: 1 / -1;
    width: 100%;
    margin-left: 0;
  }

  body.profile-page .profile-points {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 16px;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 14px 18px;
  }

  body.profile-page .profile-points strong {
    font-size: 1.65rem;
  }

  body.profile-page .profile-points-label {
    justify-content: flex-start;
  }

  body.profile-page .profile-points-label > span {
    line-height: 17px;
  }

  body.profile-page .profile-points-help {
    position: relative;
  }

  body.profile-page .profile-points-help-text {
    top: calc(100% + 8px);
    right: auto;
    left: 50%;
    width: min(220px, calc(100vw - 56px));
    box-sizing: border-box;
    transform: translateX(-30%);
  }

  body.profile-page .profile-points-cta {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 2px;
  }

  body.profile-page .review-history {
    padding: 10px;
    background: #f5f5f7;
    border-color: #d2d2d7;
    overflow-x: hidden;
  }

  body.profile-page .review-history table {
    width: 100%;
    min-width: 0;
  }

  body.profile-page .review-history tbody {
    gap: 10px;
  }

  body.profile-page .review-history tr {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
  }

  body.profile-page .review-history td {
    display: grid;
    grid-template-columns: minmax(72px, auto) minmax(0, 1fr);
    min-width: 0;
    color: #1d1d1f;
  }

  body.profile-page .review-history td::before {
    color: #6e6e73;
    letter-spacing: 0;
  }

  body.profile-page .review-history td > * {
    min-width: 0;
    justify-self: end;
    text-align: right;
  }

  body.profile-page .review-app-link {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

/* Try Apps light redesign */
body.try-apps-page {
  background: #fff;
  color: #1d1d1f;
  align-items: stretch;
  padding: 0;
}

body.try-apps-page .home-top-header {
  width: 100%;
  box-sizing: border-box;
}

body.try-apps-page .home-action {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  background: #fff;
  color: #01875f;
  border: 0;
  border-right: 1px solid #d2d2d7;
  border-radius: 0;
  font-weight: 700;
  text-decoration: none;
  box-shadow: none;
  transition: background 0.2s ease;
}

body.try-apps-page .home-action:last-child {
  border-right: 0;
}

body.try-apps-page .home-action:hover,
body.try-apps-page .home-action:focus-visible,
body.try-apps-page .home-action[aria-current="page"] {
  background: #f5f5f7;
  color: #01875f;
  text-decoration: none;
  outline: none;
}

body.try-apps-page .review-card {
  width: min(100% - 40px, 1100px);
  max-width: none;
  margin: 32px auto 0;
  overflow: visible;
  background: #fff;
  border: 1px solid #d2d2d7;
  color: #1d1d1f;
  box-shadow: none;
  backdrop-filter: none;
  text-align: left;
}

body.try-apps-page .review-card > *,
body.try-apps-page .review-app-panel,
body.try-apps-page .review-example,
body.try-apps-page .review-platform-section,
body.try-apps-page .review-form,
body.try-apps-page .file-upload,
body.try-apps-page .file-upload input[type="file"] {
  box-sizing: border-box;
}

body.try-apps-page .review-form,
body.try-apps-page .file-upload input[type="file"] {
  min-width: 0;
}

body.try-apps-page .review-card::before {
  content: none;
}

body.try-apps-page .review-card-header {
  margin-bottom: 24px;
  align-items: flex-start;
  text-align: left;
}

body.try-apps-page .review-card-header h2 {
  margin: 0;
  color: #000;
  font-size: 1.55rem;
}

body.try-apps-page .review-platform-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  margin-bottom: 24px;
  padding: 16px;
  background: #f5f5f7;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
}

body.try-apps-page .review-platform-section.needs-choice {
  align-items: stretch;
  flex-direction: column;
  text-align: center;
}

body.try-apps-page .review-platform-section.needs-choice .review-platform-form {
  align-self: center;
}

body.try-apps-page .review-platform-section h3 {
  margin: 0;
  color: #6e6e73;
  font-size: 0.88rem;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
  font-weight: 800;
}

body.try-apps-page .review-platform-section p {
  margin: 6px 0 0;
  color: #424245;
  font-size: 0.92rem;
  line-height: 1.4;
}

body.try-apps-page .review-platform-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(96px, 1fr));
  gap: 0;
  width: min(100%, 280px);
  overflow: hidden;
  border: 1px solid #d2d2d7;
  border-radius: 999px;
  background: #fff;
}

body.try-apps-page .review-platform-form button {
  min-height: 38px;
  padding: 0 16px;
  background: #fff;
  border: 0;
  border-right: 1px solid #d2d2d7;
  border-radius: 0;
  color: #01875f;
  font-weight: 800;
  box-shadow: none;
}

body.try-apps-page .review-platform-form button:last-child {
  border-right: 0;
}

body.try-apps-page .review-platform-form button:hover,
body.try-apps-page .review-platform-form button:focus-visible {
  background: #f5f5f7;
  color: #01875f;
  outline: none;
}

body.try-apps-page .review-platform-form button.is-selected {
  background: #01875f;
  color: #fff;
}

body.try-apps-page .review-content {
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 24px;
  align-items: stretch;
  justify-items: stretch;
}

body.try-apps-page .review-app-panel,
body.try-apps-page .review-example {
  background: #f5f5f7;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  box-shadow: none;
  color: #1d1d1f;
}

body.try-apps-page .review-app-panel {
  align-items: center;
  text-align: center;
}

body.try-apps-page .review-card .app-info {
  justify-content: center;
  align-items: center;
}

body.try-apps-page .review-card .app-icon {
  box-shadow: none;
}

body.try-apps-page .app-details {
  align-items: center;
  text-align: center;
}

body.try-apps-page .app-details h3 {
  color: #01875f;
  font-size: 1.35rem;
}

body.try-apps-page .review-card .app-info .open-app-btn {
  align-self: center;
}

body.try-apps-page .open-app-btn,
body.try-apps-page .review-form button {
  background: #01875f;
  border: 1px solid #01875f;
  color: #fff;
  box-shadow: none;
}

body.try-apps-page .open-app-btn:hover,
body.try-apps-page .open-app-btn:focus-visible,
body.try-apps-page .review-form button:hover,
body.try-apps-page .review-form button:focus-visible {
  background: #006c4c;
  border-color: #006c4c;
  color: #fff;
  text-decoration: none;
  outline: none;
}

body.try-apps-page .review-app-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 520px);
  margin: 0 auto;
}

body.try-apps-page .show-another-app,
body.try-apps-page .app-issue-report > summary {
  display: flex;
  min-height: 40px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  color: #424245;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

body.try-apps-page .app-issue-report > summary {
  list-style: none;
}

body.try-apps-page .app-issue-report > summary::-webkit-details-marker {
  display: none;
}

body.try-apps-page .show-another-app:hover,
body.try-apps-page .show-another-app:focus-visible,
body.try-apps-page .app-issue-report > summary:hover,
body.try-apps-page .app-issue-report > summary:focus-visible {
  border-color: #01875f;
  color: #01875f;
  text-decoration: none;
  outline: none;
}

body.try-apps-page .app-issue-report[open] {
  grid-column: 1 / -1;
}

body.try-apps-page .app-issue-report[open] > summary {
  border-color: #01875f;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  color: #01875f;
}

body.try-apps-page .app-issue-form {
  display: grid;
  gap: 18px;
  padding: 20px;
  background: #fff;
  border: 1px solid #01875f;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  color: #1d1d1f;
  text-align: left;
}

body.try-apps-page .app-issue-form fieldset {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

body.try-apps-page .app-issue-form legend,
body.try-apps-page .app-issue-details > span {
  margin-bottom: 10px;
  color: #1d1d1f;
  font-size: 0.94rem;
  font-weight: 800;
}

body.try-apps-page .app-issue-form fieldset label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #424245;
  font-size: 0.9rem;
  line-height: 1.4;
  cursor: pointer;
}

body.try-apps-page .app-issue-form input[type="radio"] {
  margin: 3px 0 0;
  accent-color: #01875f;
}

body.try-apps-page .app-issue-details {
  display: grid;
  gap: 8px;
}

body.try-apps-page .app-issue-details > span {
  margin-bottom: 0;
}

body.try-apps-page .app-issue-details small {
  color: #6e6e73;
  font-size: 0.8rem;
}

body.try-apps-page .app-issue-details textarea {
  width: 100%;
  min-height: 92px;
  box-sizing: border-box;
  padding: 11px 12px;
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  color: #1d1d1f;
  font: inherit;
  line-height: 1.45;
  resize: vertical;
}

body.try-apps-page .app-issue-details textarea:focus {
  border-color: #01875f;
  outline: 3px solid rgba(1, 135, 95, 0.14);
}

body.try-apps-page .app-issue-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.try-apps-page .app-issue-form-actions button {
  min-height: 40px;
  padding: 0 16px;
  background: #01875f;
  border: 1px solid #01875f;
  border-radius: 8px;
  color: #fff;
  box-shadow: none;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
}

body.try-apps-page .app-issue-form-actions button:hover,
body.try-apps-page .app-issue-form-actions button:focus-visible {
  background: #006c4c;
  border-color: #006c4c;
  color: #fff;
  outline: none;
  transform: none;
}

body.try-apps-page .app-issue-form-actions .app-issue-cancel {
  background: #fff;
  border-color: #d2d2d7;
  color: #424245;
}

body.try-apps-page .app-issue-form-actions .app-issue-cancel:hover,
body.try-apps-page .app-issue-form-actions .app-issue-cancel:focus-visible {
  background: #f5f5f7;
  border-color: #6e6e73;
  color: #1d1d1f;
}

body.try-apps-page .review-description,
body.try-apps-page .review-example p,
body.try-apps-page .no-app-message {
  color: #424245;
}

body.try-apps-page .review-tips li {
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  color: #424245;
}

body.try-apps-page .review-tips li::before {
  color: #01875f;
}

body.try-apps-page .review-example {
  display: block;
  align-items: stretch;
  overflow: hidden;
  padding: 0;
  text-align: center;
}

body.try-apps-page .review-example summary {
  cursor: pointer;
  padding: 18px 20px;
  color: #000;
  font-size: 0.88rem;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
  font-weight: 800;
}

body.try-apps-page .review-example summary::marker {
  color: #01875f;
}

body.try-apps-page .review-example summary:hover,
body.try-apps-page .review-example summary:focus-visible {
  color: #01875f;
  outline: none;
}

body.try-apps-page .review-example-body {
  display: grid;
  gap: 16px;
  margin-top: 0;
  padding: 0 20px 20px;
}

body.try-apps-page .review-example img {
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  box-shadow: none;
}

body.try-apps-page .review-app-panel,
body.try-apps-page .review-example {
  width: 100%;
}

body.try-apps-page .file-upload {
  width: 100%;
  max-width: 100%;
  background: #f5f5f7;
  border: 1px dashed #d2d2d7;
  border-radius: 8px;
  color: #1d1d1f;
}

body.try-apps-page .file-upload:hover {
  background: #fff;
  border-color: #01875f;
}

body.try-apps-page .file-upload input[type="file"] {
  width: 100%;
  max-width: 100%;
  background: #fff;
  border: 1px solid #d2d2d7;
  color: #1d1d1f;
}

body.try-apps-page .private-feedback-field {
  display: grid;
  width: 100%;
  gap: 8px;
  color: #1d1d1f;
  text-align: left;
}

body.try-apps-page .private-feedback-field > span {
  font-size: 1rem;
  font-weight: 700;
}

body.try-apps-page .private-feedback-field > span small {
  color: #6e6e73;
  font-size: 0.82rem;
  font-weight: 600;
}

body.try-apps-page .private-feedback-field textarea {
  width: 100%;
  min-height: 112px;
  box-sizing: border-box;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  color: #1d1d1f;
  font: inherit;
  line-height: 1.5;
  resize: vertical;
  outline: none;
}

body.try-apps-page .private-feedback-field textarea:focus {
  border-color: #01875f;
  box-shadow: 0 0 0 3px rgba(1, 135, 95, 0.14);
}

body.try-apps-page .private-feedback-field > small {
  color: #6e6e73;
  font-size: 0.82rem;
  line-height: 1.45;
}

body.try-apps-page .status-message {
  background: #eef8f1;
  border: 1px solid #01875f;
  color: #0b5f45;
}

body.try-apps-page .status-message.error {
  background: #fff1f2;
  border-color: #f87171;
  color: #b91c1c;
}

body.try-apps-page .status-message.warning {
  background: #fff8e1;
  border-color: #facc15;
  color: #8a5a00;
}

body.try-apps-page .no-app-message {
  padding: 18px;
  background: #f5f5f7;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  text-align: center;
}

body.try-apps-page .cookie-banner {
  position: static;
  background: #f5f5f7;
  border-color: #d2d2d7;
  color: #1d1d1f;
  margin: 32px auto 0;
  box-shadow: none;
}

body.try-apps-page .cookie-banner strong {
  color: #000;
}

body.try-apps-page .cookie-banner p {
  color: #424245;
}

body.try-apps-page .cookie-actions .cookie-secondary {
  background: #fff;
  border: 1px solid #d2d2d7;
  color: #1d1d1f;
}

body.try-apps-page .cookie-actions button:not(.cookie-secondary) {
  background: #01875f;
  border: 1px solid #01875f;
  color: #fff;
}

@media (max-width: 768px) {
  body.try-apps-page {
    padding: 0;
  }

  body.try-apps-page .review-card {
    width: min(100% - 28px, 1100px);
    padding: 24px 18px;
  }

  body.try-apps-page .review-card-header h2 {
    font-size: 1.35rem;
  }

  body.try-apps-page .review-app-panel,
  body.try-apps-page .review-platform-section,
  body.try-apps-page .review-example {
    padding: 18px;
  }

  body.try-apps-page .review-example {
    padding: 0;
  }

  body.try-apps-page .review-platform-section {
    align-items: stretch;
    flex-direction: column;
  }

  body.try-apps-page .review-card .app-info {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    justify-content: stretch;
    text-align: left;
  }

  body.try-apps-page .app-details {
    display: contents;
    min-width: 0;
  }

  body.try-apps-page .app-details h3 {
    align-self: center;
    margin: 0;
    font-size: 1.18rem;
    text-align: left;
  }

  body.try-apps-page .review-card .app-info .open-app-btn {
    grid-column: 1 / -1;
    width: 100%;
    box-sizing: border-box;
    margin-top: 2px;
    justify-content: center;
  }

  body.try-apps-page .review-app-actions {
    grid-template-columns: 1fr;
  }

  body.try-apps-page .app-issue-report[open] {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  body.try-apps-page .review-card .app-info {
    align-items: center;
  }

  body.try-apps-page .review-card .app-icon {
    width: 58px;
    height: 58px;
    border-radius: 12px;
  }
}

/* Admin review page */
body.admin-review-page {
  min-height: 100vh;
  margin: 0;
  background: #f5f5f7;
  color: #1d1d1f;
}

body.admin-review-page .home-top-header {
  width: 100%;
  box-sizing: border-box;
}

.admin-review-shell {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding: 26px 0 64px;
}

.admin-panel {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  color: #1d1d1f;
  text-align: left;
  box-shadow: 0 10px 28px -26px rgba(29, 29, 31, 0.35);
}

.admin-panel-header::before,
.moderation-card-header::before {
  content: none;
}

.admin-panel-header h2 {
  margin: 0;
  color: #1d1d1f;
  font-size: 1.35rem;
  line-height: 1.2;
}

.admin-panel-header p {
  max-width: 760px;
  margin: 7px 0 0;
  color: #6e6e73;
  font-size: 0.92rem;
  line-height: 1.45;
}

.admin-review-account {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: #6e6e73;
  font-size: 0.86rem;
  font-weight: 700;
}

body.admin-review-page .admin-review-account a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  color: #1d1d1f;
  font-weight: 800;
  text-decoration: none;
}

body.admin-review-page .admin-review-account a:hover,
body.admin-review-page .admin-review-account a:focus-visible {
  border-color: #01875f;
  color: #01875f;
  outline: none;
}

body.admin-review-page .status-message {
  background: #eef8f1;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  color: #047857;
}

body.admin-review-page .status-message.error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

body.admin-review-page .status-message.warning {
  background: #fff8e1;
  border-color: #facc15;
  color: #8a5a00;
}

body.admin-review-page .empty-state {
  margin: 0;
  padding: 18px 20px;
  background: #fff;
  border: 1px dashed #d2d2d7;
  border-radius: 8px;
  color: #6e6e73;
}

.review-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}

.moderation-card {
  min-width: 0;
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 12px 30px -28px rgba(29, 29, 31, 0.35);
}

.moderation-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 18px 0;
  background: transparent;
  color: #1d1d1f;
  text-align: left;
}

.moderation-app-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.moderation-app-info .app-icon {
  width: 52px;
  height: 52px;
  border: 1px solid #e5e5ea;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: none;
}

.moderation-app-info .app-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.moderation-app-info .submitted-meta {
  margin: 0;
}

.moderation-card-header h3 {
  margin: 0;
  color: #1d1d1f;
  font-size: 1.1rem;
}

.submitted-meta {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: #6e6e73;
}

body.admin-review-page .app-link {
  display: inline-flex;
  min-height: 36px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  color: #01875f;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

body.admin-review-page .app-link:hover,
body.admin-review-page .app-link:focus-visible {
  border-color: #01875f;
  color: #00754f;
  text-decoration: none;
  outline: none;
}

.moderation-preview {
  padding: 0 18px;
}

.moderation-preview img {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  background: #f5f5f7;
  box-shadow: none;
}

.moderation-private-feedback {
  margin: 0 18px;
  padding: 14px 16px;
  background: #f5f5f7;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
}

.moderation-private-feedback strong {
  display: block;
  margin-bottom: 7px;
  color: #6e6e73;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.moderation-private-feedback p {
  margin: 0;
  color: #424245;
  font-size: 0.92rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.moderation-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding: 0 18px 18px;
}

.btn-approve,
.btn-reject {
  flex: 1;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 800;
  box-shadow: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-approve {
  background: #01875f;
  border: 1px solid #01875f;
  color: #fff;
}

.btn-approve:hover,
.btn-approve:focus-visible {
  background: #00754f;
  border-color: #00754f;
  outline: none;
  transform: none;
}

.btn-reject {
  background: #fff;
  border: 1px solid #f87171;
  color: #b91c1c;
}

.btn-reject:hover,
.btn-reject:focus-visible {
  background: #fef2f2;
  border-color: #dc2626;
  color: #991b1b;
  outline: none;
  transform: none;
}

@media (max-width: 720px) {
  .admin-review-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 24px;
  }

  .admin-panel-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .moderation-card-header {
    flex-direction: column;
    align-items: stretch;
  }

  body.admin-review-page .app-link {
    width: fit-content;
  }
}

@media (max-width: 460px) {
  .admin-review-account {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }

  .moderation-actions {
    flex-direction: column;
  }
}

.console-page {
  min-height: 100vh;
  margin: 0;
  background: #f5f5f7;
  color: #1d1d1f;
}

.console-page a {
  color: inherit;
}

.console-page-authenticated .home-top-header {
  background: #1d1d1f;
}

.console-login-shell {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  padding: 24px;
  box-sizing: border-box;
}

.console-login-panel {
  width: min(100%, 360px);
  padding: 24px;
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  box-shadow: 0 18px 46px -34px rgba(29, 29, 31, 0.45);
}

.console-login-form {
  display: grid;
  gap: 12px;
}

.console-login-form label {
  color: #424245;
  font-size: 0.86rem;
  font-weight: 800;
}

.console-login-form input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  color: #1d1d1f;
  font: inherit;
}

.console-login-form input:focus {
  border-color: #01875f;
  outline: 3px solid rgba(1, 135, 95, 0.14);
}

.console-login-form button {
  min-height: 44px;
  margin-top: 4px;
  border-radius: 8px;
  background: #01875f;
  box-shadow: none;
}

.console-login-form button:hover,
.console-login-form button:focus-visible {
  background: #00754f;
  transform: none;
}

.console-shell {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding: 26px 0 64px;
}

.console-dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  box-shadow: 0 10px 28px -26px rgba(29, 29, 31, 0.35);
}

.console-dashboard-header p {
  margin: 5px 0 0;
  color: #6e6e73;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.console-dashboard-header h1 {
  margin: 0;
  color: #1d1d1f;
  font-size: 1.35rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.console-dashboard-header a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  color: #1d1d1f;
  font-weight: 800;
  text-decoration: none;
}

.console-dashboard-header a:hover,
.console-dashboard-header a:focus-visible {
  border-color: #01875f;
  color: #01875f;
  text-decoration: none;
  outline: none;
}

.console-header-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.console-period-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 2px;
  padding: 4px;
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
}

.console-period-tabs a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 6px;
  color: #424245;
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
}

.console-period-tabs a:hover,
.console-period-tabs a:focus-visible {
  background: #f5f5f7;
  color: #01875f;
  text-decoration: none;
  outline: none;
}

.console-period-tabs a.is-active {
  background: #01875f;
  color: #fff;
}

.console-filter-note {
  margin: 10px 0 0;
  color: #b45309;
  font-size: 0.86rem;
  font-weight: 700;
}

.console-panel {
  margin-top: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  box-shadow: 0 12px 30px -28px rgba(29, 29, 31, 0.35);
}

.console-panel h2 {
  margin: 0 0 16px;
  color: #1d1d1f;
  font-size: 1rem;
  line-height: 1.2;
}

.console-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.console-panel-heading h2 {
  margin: 0;
}

.console-panel-heading a,
.console-pagination a,
.console-user-link {
  color: #01875f;
  font-weight: 800;
  text-decoration: none;
}

.console-panel-heading a:hover,
.console-panel-heading a:focus-visible,
.console-pagination a:hover,
.console-pagination a:focus-visible,
.console-user-link:hover,
.console-user-link:focus-visible {
  color: #00754f;
  text-decoration: underline;
}

.console-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

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

.console-stat {
  padding: 18px;
  background: #f5f5f7;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  text-align: left;
}

.console-stat span {
  display: block;
  margin-bottom: 10px;
  color: #6e6e73;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.console-stat strong {
  display: block;
  color: #1d1d1f;
  font-size: 2.25rem;
  line-height: 1;
}

.console-stat small {
  display: block;
  margin-top: 8px;
  color: #86868b;
  font-size: 0.76rem;
  font-weight: 700;
}

.console-trend-heading p {
  margin: 5px 0 0;
  color: #6e6e73;
  font-size: 0.88rem;
  line-height: 1.4;
}

.console-chart-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

.console-chart-metrics button {
  min-height: 34px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 999px;
  box-shadow: none;
  color: #6e6e73;
  font-size: 0.8rem;
  font-weight: 800;
}

.console-chart-metrics button:hover,
.console-chart-metrics button:focus-visible {
  background: #f5f5f7;
  border-color: var(--metric-color);
  color: var(--metric-color);
  transform: none;
}

.console-chart-metrics button.is-active {
  background: #f5f5f7;
  border-color: var(--metric-color);
  box-shadow: inset 0 -2px 0 var(--metric-color);
  color: var(--metric-color);
}

.console-chart-frame {
  position: relative;
  width: 100%;
  overflow-x: auto;
  border: 1px solid #e5e5ea;
  border-radius: 8px;
  background: #fbfbfd;
}

.console-chart-frame svg {
  display: block;
  width: 100%;
  min-width: 620px;
  height: auto;
  cursor: crosshair;
}

.console-chart-grid-line {
  stroke: #e5e5ea;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.console-chart-axis-label {
  fill: #86868b;
  font-size: 12px;
  font-weight: 700;
}

.console-chart-area {
  opacity: 0.09;
}

.console-chart-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.console-chart-point {
  stroke: #fff;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.console-chart-hover-line {
  stroke: #86868b;
  stroke-dasharray: 4 4;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.console-chart-hover-point {
  stroke: #fff;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.console-chart-tooltip {
  position: absolute;
  z-index: 2;
  min-width: 130px;
  max-width: 220px;
  padding: 9px 11px;
  transform: translate(-50%, -100%);
  background: #1d1d1f;
  border-radius: 7px;
  box-shadow: 0 10px 26px -14px rgba(0, 0, 0, 0.55);
  color: #fff;
  pointer-events: none;
  text-align: left;
  white-space: nowrap;
}

.console-chart-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  border: 6px solid transparent;
  border-top-color: #1d1d1f;
  transform: translateX(-50%);
}

.console-chart-tooltip span,
.console-chart-tooltip strong {
  display: block;
}

.console-chart-tooltip span {
  margin-bottom: 3px;
  color: #d2d2d7;
  font-size: 0.72rem;
  font-weight: 700;
}

.console-chart-tooltip strong {
  font-size: 0.82rem;
  line-height: 1.3;
}

.console-chart-summary {
  margin: 10px 0 0;
  color: #6e6e73;
  font-size: 0.84rem;
  font-weight: 700;
}

.console-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.console-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  color: #1d1d1f;
  text-align: left;
}

.console-table th,
.console-table td {
  padding: 12px;
  border-bottom: 1px solid #e5e5ea;
  vertical-align: top;
}

.console-table tbody tr:last-child td {
  border-bottom: 0;
}

.console-table th {
  color: #6e6e73;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.console-sort-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.console-sort-link span {
  color: #a1a1a6;
  font-size: 0.88rem;
  letter-spacing: 0;
}

.console-sort-link:hover,
.console-sort-link:focus-visible,
.console-sort-link.is-active,
.console-sort-link.is-active span {
  color: #01875f;
}

.console-table td {
  word-break: break-word;
}

.console-users-table,
.console-user-apps-table {
  min-width: 900px;
}

.console-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
  color: #6e6e73;
  font-size: 0.88rem;
  font-weight: 800;
}

.console-user-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.console-user-summary article {
  min-width: 0;
  padding: 16px;
  background: #f5f5f7;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
}

.console-user-summary span,
.console-user-details dt {
  display: block;
  color: #6e6e73;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.console-user-summary strong {
  display: block;
  margin-top: 8px;
  color: #1d1d1f;
  font-size: 1.05rem;
  line-height: 1.3;
}

.console-user-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid #e5e5ea;
}

.console-user-details div {
  min-width: 0;
}

.console-user-details dd {
  margin: 6px 0 0;
  overflow-wrap: anywhere;
  color: #1d1d1f;
  font-weight: 700;
}

.console-app-status {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
}

.console-app-status.is-active {
  background: #ecfdf5;
  color: #047857;
}

.console-app-status.is-paused {
  background: #f5f5f7;
  color: #6e6e73;
}

.console-visitor-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.console-visitor-pill.is-person {
  background: #ecfdf5;
  color: #047857;
}

.console-visitor-pill.is-bot {
  background: #fef3c7;
  color: #92400e;
}

.console-visitor-pill.is-suspicious {
  background: #fef2f2;
  color: #b91c1c;
}

.console-visitor-cell small {
  display: block;
  margin-top: 5px;
  color: #86868b;
  font-size: 0.72rem;
  line-height: 1.25;
}

.console-user-agent {
  max-width: 360px;
  color: #6e6e73;
  font-size: 0.78rem;
  line-height: 1.35;
}

.console-contact-table {
  min-width: 900px;
}

.console-contact-table a {
  color: #01875f;
}

.console-contact-message-text {
  min-width: 260px;
  max-width: 420px;
  color: #424245;
  font-size: 0.9rem;
  line-height: 1.45;
}

.console-contact-status {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
}

.console-contact-status.is-new {
  background: #ecfdf5;
  color: #047857;
}

.console-contact-status.is-read {
  background: #f5f5f7;
  color: #6e6e73;
}

.console-contact-action {
  margin-top: 8px;
}

.console-contact-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background: #f5f5f7;
  border: 1px dashed #d2d2d7;
  border-radius: 8px;
  color: #6e6e73;
  font-weight: 700;
}

.console-contact-empty a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 6px;
  color: #01875f;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.console-contact-empty a:hover,
.console-contact-empty a:focus-visible {
  border-color: #01875f;
  color: #00754f;
  outline: none;
}

.console-contact-action button {
  min-height: 30px;
  padding: 0 10px;
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 6px;
  color: #424245;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
}

.console-contact-action button:hover,
.console-contact-action button:focus-visible {
  background: #f5f5f7;
  border-color: #01875f;
  color: #01875f;
  outline: none;
  transform: none;
}

.console-app-issues-table {
  min-width: 1080px;
}

.console-app-issue-app,
.console-app-issue-reporter,
.console-app-issue-text {
  min-width: 180px;
}

.console-app-issue-app > a,
.console-app-issue-reporter > a {
  color: #01875f;
  font-weight: 800;
  text-decoration: none;
}

.console-app-issue-app > a:hover,
.console-app-issue-app > a:focus-visible,
.console-app-issue-reporter > a:hover,
.console-app-issue-reporter > a:focus-visible {
  color: #00754f;
  text-decoration: underline;
}

.console-app-issue-app small,
.console-app-issue-reporter small,
.console-app-issue-text span {
  display: block;
  margin-top: 7px;
  color: #6e6e73;
  font-size: 0.8rem;
  line-height: 1.4;
}

.console-app-issue-app small a {
  color: #01875f;
  font-weight: 700;
}

.console-app-issue-app .console-app-status {
  margin-top: 9px;
}

.console-app-issue-text strong {
  display: block;
  color: #1d1d1f;
  font-size: 0.9rem;
}

.console-app-issue-status {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
}

.console-app-issue-status.is-new {
  background: #fef3c7;
  color: #92400e;
}

.console-app-issue-status.is-resolved {
  background: #ecfdf5;
  color: #047857;
}

.console-app-issue-status.is-dismissed {
  background: #f5f5f7;
  color: #6e6e73;
}

.console-app-issue-actions {
  display: grid;
  gap: 7px;
  margin-top: 9px;
}

.console-app-issue-actions button {
  min-height: 30px;
  padding: 0 10px;
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 6px;
  color: #424245;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
}

.console-app-issue-actions button:hover,
.console-app-issue-actions button:focus-visible {
  background: #f5f5f7;
  border-color: #01875f;
  color: #01875f;
  outline: none;
  transform: none;
}

.console-app-issue-actions button.is-danger {
  border-color: #fca5a5;
  color: #b91c1c;
}

.console-app-issue-actions button.is-danger:hover,
.console-app-issue-actions button.is-danger:focus-visible {
  background: #fef2f2;
  border-color: #dc2626;
  color: #991b1b;
}

.console-promotions-panel .console-panel-heading p {
  margin: 5px 0 0;
  color: #6e6e73;
  font-size: 0.86rem;
  line-height: 1.4;
}

.console-promotion-summary {
  margin-bottom: 16px;
}

.console-promotion-create {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas:
    "app app description description"
    "starts ends submit submit";
  gap: 10px;
  align-items: start;
  margin-bottom: 18px;
  padding: 14px;
  background: #f5f5f7;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
}

.console-promotion-create label,
.console-promotion-update label {
  display: grid;
  gap: 6px;
  color: #6e6e73;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.console-promotion-create select,
.console-promotion-create input,
.console-promotion-create textarea,
.console-promotion-update input:not([type="checkbox"]),
.console-promotion-update textarea {
  width: 100%;
  min-height: 40px;
  box-sizing: border-box;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 7px;
  color: #1d1d1f;
  font: inherit;
}

.console-promotion-create textarea,
.console-promotion-update textarea {
  min-height: 64px;
  line-height: 1.4;
  resize: vertical;
}

.console-promotion-create select:focus,
.console-promotion-create input:focus,
.console-promotion-create textarea:focus,
.console-promotion-update input:focus,
.console-promotion-update textarea:focus {
  border-color: #01875f;
  outline: 3px solid rgba(1, 135, 95, 0.14);
}

.console-promotion-create button,
.console-promotion-update button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  background: #01875f;
  border: 0;
  border-radius: 7px;
  box-shadow: none;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.console-promotion-create button:hover,
.console-promotion-create button:focus-visible,
.console-promotion-update button:hover,
.console-promotion-update button:focus-visible {
  background: #00754f;
  outline: none;
  transform: none;
}

.console-promotions-table {
  min-width: 1100px;
}

.console-promotion-app {
  display: flex;
  min-width: 230px;
  align-items: center;
  gap: 10px;
}

.console-promotion-app > img {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  object-fit: cover;
  border: 1px solid #e5e5e7;
  border-radius: 10px;
}

.console-promotion-app > span,
.console-promotion-app small {
  display: block;
}

.console-promotion-app a {
  color: #01875f;
  font-weight: 800;
  text-decoration: none;
}

.console-promotion-app small {
  margin-top: 5px;
  color: #6e6e73;
  font-size: 0.75rem;
  line-height: 1.3;
}

.console-promotion-status {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.console-promotion-status.is-active {
  background: #ecfdf5;
  color: #047857;
}

.console-promotion-status.is-scheduled {
  background: #eff6ff;
  color: #1d4ed8;
}

.console-promotion-status.is-expired,
.console-promotion-status.is-disabled,
.console-promotion-status.is-paused {
  background: #f5f5f7;
  color: #6e6e73;
}

.console-promotion-update {
  display: grid;
  min-width: 520px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "description description"
    "starts ends"
    "enabled submit";
  gap: 8px;
  align-items: stretch;
}

.console-promotion-app-field {
  grid-area: app;
}

.console-promotion-description-field {
  grid-area: description;
}

.console-promotion-start-field {
  grid-area: starts;
}

.console-promotion-end-field {
  grid-area: ends;
}

.console-promotion-submit {
  grid-area: submit;
  align-self: end;
  justify-self: end;
  width: min(100%, 180px);
}

.console-promotion-field-help {
  color: #86868b;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.console-promotion-enabled {
  grid-area: enabled;
  display: flex !important;
  min-height: 40px;
  align-items: center;
  gap: 6px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: nowrap;
}

.console-promotion-enabled input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #01875f;
}

.console-empty-state {
  margin: 0;
  padding: 14px 16px;
  background: #f5f5f7;
  border: 1px dashed #d2d2d7;
  border-radius: 8px;
  color: #6e6e73;
}

.console-message {
  width: min(100%, 420px);
  margin: 0 auto 14px;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 800;
}

.console-message.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.console-message.success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}

@media (max-width: 720px) {
  .console-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 24px;
  }

  .console-dashboard-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .console-dashboard-header a {
    width: fit-content;
  }

  .console-header-actions {
    justify-content: flex-start;
  }

  .console-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .console-panel {
    padding: 14px;
  }

  .console-chart-frame svg {
    min-width: 560px;
  }

  .console-user-summary,
  .console-user-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .console-promotion-create {
    grid-template-columns: 1fr;
    grid-template-areas:
      "app"
      "description"
      "starts"
      "ends"
      "submit";
    align-items: stretch;
  }

  .console-promotion-submit {
    justify-self: stretch;
    width: 100%;
  }
}

@media (max-width: 460px) {
  .console-summary-grid {
    grid-template-columns: 1fr;
  }

  .console-user-summary,
  .console-user-details {
    grid-template-columns: 1fr;
  }
}
