:root {
  --navy: #06295b;
  --ink: #08244d;
  --blue: #0a3f92;
  --green: #2daf58;
  --lime: #80d51f;
  --soft: #eef7fb;
  --line: #d8e6ef;
  --muted: #476080;
  --shadow: 0 18px 55px rgba(8, 36, 77, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 66px;
  padding: 10px clamp(20px, 5vw, 70px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(216, 230, 239, 0.72);
}

.site-header,
#home,
.site-footer {
  max-width: 1720px;
  margin-right: auto;
  margin-left: auto;
}

.brand img,
.footer-brand img {
  width: 220px;
  height: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2vw, 34px);
  font-size: 14px;
  font-weight: 650;
}

.nav a {
  padding: 18px 0 16px;
  border-bottom: 2px solid transparent;
}

.nav a.active {
  border-color: var(--navy);
}

.header-cta,
.button,
.event-preview aside a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 750;
}

.header-cta {
  padding: 0 28px;
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 28px rgba(45, 175, 88, 0.22);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(380px, 0.86fr) minmax(520px, 1fr);
  gap: clamp(36px, 5vw, 78px);
  min-height: 570px;
  padding: 58px clamp(28px, 5vw, 86px) 66px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 30%, rgba(45, 175, 88, 0.15), transparent 25%),
    linear-gradient(90deg, #f7fbfd 0%, #ffffff 48%, #eef7f9 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(0deg, rgba(247, 251, 253, 0.95), rgba(247, 251, 253, 0));
  pointer-events: none;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 18px;
  color: #11973e;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 560px;
  margin-bottom: 20px;
  color: var(--navy);
  font-size: clamp(52px, 6vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

.lead {
  max-width: 560px;
  margin-bottom: 30px;
  color: #102d5b;
  font-size: clamp(20px, 2.1vw, 24px);
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.button {
  padding: 0 28px;
  border: 1.5px solid var(--navy);
}

.button.primary {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
}

.button.secondary {
  background: #fff;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(90px, 1fr));
  gap: 24px;
  max-width: 560px;
  color: #12315f;
  text-align: center;
  font-size: 14px;
  line-height: 1.2;
}

.icon,
.card-icon {
  display: block;
  width: 31px;
  height: 31px;
  margin: 0 auto 8px;
  background: var(--green);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

.icon.bars,
.card-icon.bars {
  mask-image: linear-gradient(#000 0 0);
  background:
    linear-gradient(var(--blue), var(--blue)) 4px 16px / 5px 12px no-repeat,
    linear-gradient(var(--blue), var(--blue)) 14px 9px / 5px 19px no-repeat,
    linear-gradient(var(--green), var(--green)) 24px 3px / 5px 25px no-repeat;
}

.icon.people,
.icon.group {
  border-radius: 50%;
  box-shadow: -11px 8px 0 -3px var(--green), 11px 8px 0 -3px var(--green), 0 18px 0 -5px var(--green);
}

.icon.heart {
  width: 28px;
  height: 25px;
  clip-path: path("M14 24 C5 16 0 12 0 6 C0 2 3 0 7 0 C10 0 12 2 14 5 C16 2 18 0 21 0 C25 0 28 2 28 6 C28 12 23 16 14 24 Z");
}

.hero-visual {
  min-height: 480px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.report-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(216, 230, 239, 0.86);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-report {
  position: relative;
  z-index: 2;
  width: min(620px, 100%);
  padding: 18px;
}

.report-head,
.section-intro,
.output-section,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.report-head h2 {
  margin-bottom: 2px;
  font-size: 25px;
}

.report-head p,
.metric-grid small,
.event-preview small {
  color: var(--muted);
  font-size: 11px;
}

.report-head img {
  width: 110px;
  align-self: start;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin: 16px 0;
}

.metric-grid div {
  min-height: 78px;
  padding: 13px;
  border-radius: 8px;
  background: #f2f8fb;
}

.metric-grid strong {
  display: block;
  color: var(--navy);
  font-size: 24px;
  line-height: 1;
}

.metric-grid span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
}

.insight-box,
.mini-insight {
  border-radius: 8px;
  background: linear-gradient(135deg, #dbf4e7, #f1fbf5);
}

.insight-box {
  display: flex;
  gap: 12px;
  margin: -94px 0 14px 58%;
  padding: 13px;
  font-size: 12px;
}

.insight-box span {
  width: 14px;
  height: 24px;
  flex: 0 0 14px;
  border-radius: 999px 999px 999px 0;
  background: var(--lime);
}

.chart p {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
}

.chart svg {
  width: 100%;
  height: 100px;
  border-top: 1px solid #e4eef4;
  background-image:
    linear-gradient(#e4eef4 1px, transparent 1px),
    linear-gradient(90deg, #e4eef4 1px, transparent 1px);
  background-size: 100% 34px, 55px 100%;
}

.hand-note {
  position: absolute;
  right: clamp(18px, 5vw, 70px);
  bottom: 38px;
  color: var(--navy);
  font-family: "Bradley Hand", "Segoe Print", cursive;
  font-size: 25px;
  line-height: 1.05;
  transform: rotate(-8deg);
}

.hand-note::after {
  content: "";
  display: block;
  width: 150px;
  height: 5px;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--green);
}

.story-section {
  padding: 50px clamp(28px, 5vw, 86px) 26px;
  background: #edf6fb;
}

.section-intro {
  align-items: center;
  margin-bottom: 26px;
}

.section-intro > div {
  max-width: 650px;
}

.section-intro h2,
.output-copy h2,
.uk-content h2 {
  color: var(--navy);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.08;
  margin-bottom: 14px;
}

.section-intro p,
.output-copy p,
.uk-content p,
.feature-card p {
  color: #17365f;
  font-size: 18px;
}

blockquote {
  max-width: 430px;
  margin: 0;
  padding-left: 44px;
  border-left: 1px solid #c7d9e5;
  font-style: italic;
}

blockquote span {
  display: block;
  height: 30px;
  color: var(--green);
  font-size: 76px;
  line-height: 0.6;
  font-style: normal;
}

blockquote p {
  margin-bottom: 12px;
  font-size: 18px;
}

cite {
  font-size: 14px;
  font-style: normal;
  font-weight: 750;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  min-height: 270px;
  padding: 24px 22px 20px;
  border: 1px solid #dce9f0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(8, 36, 77, 0.06);
}

.feature-card .card-icon {
  margin: 0 0 12px;
  background: var(--navy);
}

.card-icon.trend {
  width: 34px;
  height: 24px;
  border: solid var(--navy);
  border-width: 0 0 4px 4px;
  transform: skew(-26deg) rotate(-36deg);
  mask-image: none;
  background: transparent;
}

.card-icon.bulb {
  width: 22px;
  height: 29px;
  border-radius: 50% 50% 45% 45%;
  background: var(--navy);
  mask-image: none;
}

.card-icon.document {
  width: 26px;
  height: 30px;
  border: 3px solid var(--navy);
  border-radius: 3px;
  background: transparent;
  mask-image: none;
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.feature-card p {
  font-size: 16px;
}

.feature-card img,
.mini-report {
  width: 100%;
  margin-top: 18px;
  border: 1px solid #dbe8f0;
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(8, 36, 77, 0.08);
}

.mini-insight {
  margin-top: 22px;
  padding: 18px;
  font-size: 15px;
}

.mini-report {
  overflow: hidden;
  background: #fff;
}

.mini-report img {
  width: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.mini-report strong,
.mini-report span {
  display: block;
  padding: 0 12px;
}

.mini-report strong {
  padding-top: 10px;
}

.mini-report span {
  padding-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
}

.output-section {
  align-items: center;
  padding: 40px clamp(28px, 5vw, 86px);
  background: #fff;
}

.output-copy {
  flex: 0 1 460px;
}

.output-copy a {
  font-weight: 800;
  color: var(--navy);
}

.event-preview {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1fr) minmax(220px, 0.72fr);
  width: min(880px, 100%);
  min-height: 330px;
  overflow: hidden;
  border: 1px solid #d7e4ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(8, 36, 77, 0.12);
}

.event-preview > img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  object-position: center;
}

.event-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}

.event-main h3 {
  color: var(--navy);
  font-size: 24px;
  margin-bottom: 8px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.tabs span {
  padding: 10px 16px;
  border-radius: 6px;
  background: #f2f7fb;
  font-size: 12px;
  font-weight: 750;
}

.tabs span:first-child {
  border: 1px solid #8ac6ad;
  background: #fff;
}

.event-preview aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  border-left: 1px solid #dbe8f0;
}

.event-preview aside p {
  font-size: 13px;
  font-weight: 800;
}

.event-preview aside strong,
.event-preview aside small {
  display: block;
}

.event-preview aside a {
  width: 100%;
  min-height: 44px;
  margin: 16px 0;
  color: #fff;
  background: var(--green);
  font-size: 14px;
}

.uk-section {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 45%, rgba(128, 213, 31, 0.32), transparent 28%),
    linear-gradient(135deg, #06295b 0%, #0a3f92 56%, #0b6c55 100%);
}

.uk-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 25, 58, 0.24), rgba(5, 25, 58, 0)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 76px);
}

.uk-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: center;
  min-height: 220px;
  padding: 32px clamp(28px, 5vw, 86px);
}

.uk-content h2,
.uk-content p {
  color: #fff;
  max-width: 670px;
}

.uk-content h2 {
  text-shadow: none;
}

.map-card {
  display: flex;
  gap: 18px;
  padding: 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.map-card p {
  margin: 0;
  font-size: 15px;
}

.pin {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 3px solid var(--lime);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.privacy-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(28px, 5vw, 86px);
  background: #e8f3f8;
  border-top: 1px solid #d2e2eb;
  border-bottom: 1px solid #d2e2eb;
}

.privacy-strip p {
  max-width: 850px;
  margin: 0;
  color: #17365f;
  font-size: 14px;
}

.privacy-strip div {
  display: flex;
  gap: 18px;
  font-size: 14px;
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.8fr 1fr;
  gap: 40px;
  padding: 42px clamp(28px, 5vw, 86px) 24px;
  background: #fff;
}

@media (min-width: 1500px) {
  .hero {
    grid-template-columns: minmax(460px, 0.74fr) minmax(620px, 1fr);
  }

  .hero-copy {
    max-width: 620px;
  }

  .section-intro,
  .feature-grid,
  .output-section,
  .uk-content,
  .privacy-strip,
  .site-footer {
    max-width: 1500px;
    margin-right: auto;
    margin-left: auto;
  }

  .story-section {
    padding-right: 0;
    padding-left: 0;
  }
}

.footer-brand p {
  margin-top: 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-footer nav {
  display: grid;
  gap: 8px;
  align-content: start;
  font-size: 14px;
}

.site-footer strong {
  margin-bottom: 4px;
}

.footer-quote {
  justify-self: end;
  max-width: 260px;
  color: var(--navy);
  font-size: 18px;
  font-style: italic;
  text-align: right;
}

.footer-bottom {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid #d9e7ef;
  color: var(--muted);
  font-size: 12px;
}

.legal-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 70px 24px;
  background: #fff;
}

.login-page {
  min-height: calc(100vh - 86px);
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 70px);
  background:
    radial-gradient(circle at 84% 24%, rgba(45, 175, 88, 0.14), transparent 28%),
    linear-gradient(135deg, #f7fbfd 0%, #fff 52%, #eaf6f4 100%);
}

.login-shell {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(300px, 420px);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.login-copy h1 {
  max-width: 720px;
}

.login-steps {
  display: grid;
  gap: 14px;
  max-width: 540px;
  margin-top: 34px;
}

.login-steps div {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid #d9e8ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.login-steps strong {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
}

.login-steps span {
  color: var(--navy);
  font-size: 17px;
  font-weight: 800;
}

.login-card {
  padding: 30px;
  border: 1px solid #d9e8ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.login-card h2 {
  color: var(--navy);
  font-size: 30px;
  line-height: 1.1;
  margin-bottom: 14px;
}

.login-card p {
  color: #17365f;
  font-size: 17px;
  margin-bottom: 24px;
}

.legal-page h1 {
  font-size: clamp(42px, 5vw, 64px);
}

.legal-page h2 {
  color: var(--navy);
  margin-top: 34px;
}

.legal-page p,
.legal-page li {
  color: #17365f;
  font-size: 18px;
}

.legal-page a {
  color: var(--blue);
  font-weight: 800;
}

.admin-body {
  min-height: 100vh;
  background: #eef6fb;
}

.admin-body button,
.admin-body input,
.admin-body select {
  font: inherit;
}

.admin-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 264px;
  display: flex;
  flex-direction: column;
  padding: 24px 14px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(45, 175, 88, 0.28), transparent 28%),
    #08244d;
}

.admin-brand {
  display: block;
  padding: 0 10px 28px;
}

.admin-brand img {
  width: 200px;
  filter: brightness(0) invert(1);
}

.admin-nav {
  display: grid;
  gap: 6px;
}

.admin-nav a {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 760;
}

.admin-nav a.active,
.admin-nav a:hover {
  color: #fff;
  background: rgba(45, 175, 88, 0.34);
}

.admin-nav strong {
  min-width: 24px;
  padding: 3px 7px;
  border-radius: 999px;
  color: #fff;
  background: #ec3f4a;
  font-size: 12px;
  text-align: center;
}

.admin-sidebar-note {
  margin-top: auto;
  padding: 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.admin-sidebar-note p {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.admin-sidebar-note strong {
  font-size: 18px;
  line-height: 1.15;
}

.admin-main {
  margin-left: 264px;
  padding: 24px clamp(22px, 3vw, 36px) 44px;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.admin-kicker {
  margin-bottom: 4px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-topbar h1 {
  max-width: none;
  margin-bottom: 2px;
  font-size: 34px;
  line-height: 1.1;
}

.admin-topbar p {
  color: var(--muted);
}

.admin-account {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--navy);
}

.admin-account strong,
.admin-account span {
  display: block;
}

.admin-account span {
  color: var(--muted);
  font-size: 13px;
}

.status-pill {
  padding: 7px 12px;
  border-radius: 999px;
  color: #0c7d35 !important;
  background: #def6e6;
  font-weight: 800;
}

.admin-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-weight: 850;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.admin-stat-grid article,
.admin-panel {
  border: 1px solid #d8e6ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 38px rgba(8, 36, 77, 0.08);
}

.admin-stat-grid article {
  min-height: 128px;
  padding: 18px;
}

.admin-stat-grid span,
.admin-stat-grid small {
  display: block;
}

.admin-stat-grid span {
  color: var(--muted);
  font-weight: 750;
}

.admin-stat-grid strong {
  display: block;
  margin: 6px 0 4px;
  color: var(--navy);
  font-size: 34px;
  line-height: 1;
}

.admin-stat-grid small {
  color: #118a3e;
  font-size: 13px;
  font-weight: 750;
}

.admin-stat-grid small.danger {
  color: #d82635;
}

.admin-panel {
  padding: 18px;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.panel-heading.compact {
  align-items: center;
}

.panel-heading h2 {
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 24px;
}

.panel-heading p {
  margin: 0;
  color: var(--muted);
}

.panel-heading button,
.quick-actions button {
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font-weight: 850;
  cursor: default;
}

.panel-heading button {
  min-height: 44px;
  padding: 0 18px;
}

.panel-heading a {
  color: var(--blue);
  font-weight: 850;
}

.admin-filters {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(150px, 210px));
  gap: 12px;
  margin-bottom: 16px;
}

.admin-filters label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-filters input,
.admin-filters select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d8e6ef;
  border-radius: 8px;
  padding: 0 13px;
  color: var(--navy);
  background: #fff;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  color: var(--navy);
}

.admin-table th,
.admin-table td {
  padding: 13px 12px;
  border-bottom: 1px solid #e0ebf1;
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  color: #385476;
  background: #f3f8fb;
  font-size: 13px;
  font-weight: 850;
}

.admin-table td {
  font-size: 14px;
}

.admin-table td strong,
.admin-table td span {
  display: block;
}

.admin-table td > span,
.admin-table td strong + span {
  color: var(--muted);
  font-size: 12px;
}

.type-badge,
.state {
  display: inline-flex !important;
  width: fit-content;
  min-height: 24px;
  align-items: center;
  border-radius: 6px;
  padding: 0 8px;
  font-size: 12px !important;
  font-weight: 800;
}

.type-badge.blue {
  color: #0850b5 !important;
  background: #dfeeff;
}

.type-badge.green {
  color: #087a33 !important;
  background: #dff6e7;
}

.type-badge.gold {
  color: #966100 !important;
  background: #fff1c9;
}

.type-badge.pink {
  color: #a4124e !important;
  background: #ffe0ec;
}

.state {
  color: #0d7b36 !important;
  background: #def6e6;
}

.state.inactive {
  color: #5d6980 !important;
  background: #e7edf2;
}

.text-action {
  border: 0;
  color: var(--blue);
  background: transparent;
  font-weight: 850;
}

.text-action.warning {
  color: #b64d00;
}

.admin-lower-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(210px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.ticket-list,
.role-list,
.quick-actions {
  display: grid;
  gap: 10px;
}

.ticket-list div,
.role-list div,
.activity-list li {
  position: relative;
  min-height: 58px;
  padding: 12px;
  border-radius: 8px;
  background: #f6fafc;
}

.ticket-list strong,
.ticket-list span,
.role-list strong,
.role-list span,
.activity-list strong,
.activity-list span {
  display: block;
}

.ticket-list span,
.role-list span,
.activity-list span {
  color: var(--muted);
  font-size: 13px;
}

.ticket-list em {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #946900;
  background: #fff0bf;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.ticket-list em.urgent {
  color: #bb1524;
  background: #ffe0e5;
}

.activity-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.activity-list li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.quick-actions button {
  min-height: 42px;
  background: #f1f7fb;
  color: var(--navy);
  text-align: left;
  padding: 0 13px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero,
  .output-section,
  .section-intro,
  .privacy-strip {
    display: block;
  }

  .hero-visual {
    margin-top: 40px;
  }

  .feature-grid,
  .uk-content,
  .site-footer,
  .login-shell {
    grid-template-columns: 1fr 1fr;
  }

  .admin-sidebar {
    position: static;
    width: auto;
  }

  .admin-main {
    margin-left: 0;
  }

  .admin-topbar,
  .admin-account {
    display: block;
  }

  .admin-account {
    margin-top: 18px;
  }

  .admin-stat-grid,
  .admin-lower-grid,
  .admin-filters {
    grid-template-columns: 1fr 1fr;
  }

  .event-preview {
    margin-top: 28px;
  }

  .privacy-strip div {
    margin-top: 12px;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 10px 18px;
  }

  .brand img {
    width: 178px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: 50px;
  }

  .hero-points,
  .feature-grid,
  .uk-content,
  .site-footer,
  .event-preview,
  .login-shell,
  .admin-stat-grid,
  .admin-lower-grid,
  .admin-filters {
    grid-template-columns: 1fr;
  }

  .hero-report {
    width: 100%;
  }

  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .insight-box {
    margin: 0 0 14px;
  }

  .hand-note {
    display: none;
  }

  blockquote {
    margin-top: 28px;
    padding-left: 24px;
  }

  .event-preview > img {
    width: calc(100% - 24px);
  }

  .event-preview aside {
    border-left: 0;
    border-top: 1px solid #dbe8f0;
  }

  .footer-quote {
    justify-self: start;
    text-align: left;
  }

  .footer-bottom {
    display: grid;
    gap: 8px;
  }
}
