/*
 * WYRE Labs — Design System
 *
 * Uses the existing WYRE typography:
 *   Naste-Bold.ttf  → display / headings
 *   Revoxa.ttf      → body / interface
 *
 * Uses the existing repository logo:
 *   /logo.png
 */

@font-face {
  font-family: "Naste";
  src: url("../../Naste-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Revoxa";
  src: url("../../Revoxa.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #080d17;
  --bg-soft: #0d1420;
  --fg: #f4f5f7;
  --muted: #858e9c;
  --muted-light: #a5aeba;
  --line: #202938;
  --line-light: #303b4b;
  --cyan: #09c5ee;

  --content-width: 1180px;
  --page-padding: 5vw;

  --font-display: "Naste", Arial, sans-serif;
  --font-body: "Revoxa", Arial, sans-serif;
  --font-mono: monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

/* =========================================================
   Shared typography
   ========================================================= */

.eyebrow {
  margin: 0 0 24px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .15em;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
}

h1 em,
h2 em {
  font-family: Georgia, serif;
  font-weight: 400;
  font-style: italic;
}

.text-link {
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 1px solid #495465;
  font-size: 13px;
}

.text-link:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

.section {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 120px 30px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 60px;
}

.section-heading h2,
.two-column h2 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 78px);
  line-height: .9;
  letter-spacing: -.05em;
}

.section-heading > p:last-child,
.two-column > div:last-child p,
.page-intro > p:last-child {
  color: var(--muted);
}

/* =========================================================
   Header / navigation
   ========================================================= */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 76px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 var(--page-padding);

  background: rgba(8, 13, 23, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand img {
  display: block;
  width: 108px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  color: #9da6b3;
}

.nav > a:hover,
.nav > a.is-active {
  color: var(--fg);
}

.nav-cta {
  padding: 10px 14px;
  border: 1px solid #354050;
  letter-spacing: .08em;
  font-size: 11px;
}

.nav-cta:hover,
.nav-cta.is-active {
  color: var(--cyan) !important;
  border-color: var(--cyan);
}

.dropdown {
  position: relative;
}

.dropdown__button {
  padding: 20px 0;
  border: 0;
  background: transparent;
  color: #9da6b3;
  cursor: pointer;
  font-size: 13px;
}

.dropdown__button:hover {
  color: var(--fg);
}

.dropdown__menu {
  position: absolute;
  top: 62px;
  right: -20px;

  display: none;
  width: 270px;
  padding: 8px;

  background: #0d1420;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
}

.dropdown:hover .dropdown__menu,
.dropdown.is-open .dropdown__menu {
  display: block;
}

.dropdown__menu a {
  display: block;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}

.dropdown__menu a:last-child {
  border-bottom: 0;
}

.dropdown__menu a:hover,
.dropdown__menu a.is-active {
  background: #111b29;
}

.dropdown__menu strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
}

.dropdown__menu small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 1px;
  margin: 5px 0;
  background: var(--fg);
}

/* =========================================================
   Buttons
   ========================================================= */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 13px 20px;
  border: 1px solid #354050;
  background: transparent;
  color: var(--fg);

  font-size: 12px;
  cursor: pointer;
}



/* Ghost buttons */
.button--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-light);
}

.button--ghost:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

.button--primary {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

.button--primary:hover {
  background: var(--cyan);
  border-color: var(--cyan);
}

.button--full {
  width: 100%;
}

/* =========================================================
   Home
   ========================================================= */

.hero {
  min-height: 100vh;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 160px 30px 80px;

  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 70px;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin: 0 0 38px;
  font-size: clamp(72px, 10vw, 145px);
  line-height: .8;
  letter-spacing: -.07em;
}

.hero__lead {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 38px;
}

.hero__visual {
  position: relative;
  height: 470px;
  overflow: hidden;

  display: grid;
  place-items: center;

  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.hero__grid {
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(rgba(9, 197, 238, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 197, 238, .06) 1px, transparent 1px);

  background-size: 42px 42px;
  transform: perspective(500px) rotateX(58deg) scale(1.4);
  transform-origin: center bottom;
}

.hero__core {
  position: relative;
  z-index: 2;

  width: 175px;
  height: 175px;

  display: grid;
  place-items: center;

  border: 1px solid var(--cyan);
  border-radius: 50%;
  background: rgba(8, 13, 23, .9);
  box-shadow: 0 0 90px rgba(9, 197, 238, .1);
}

.hero__core img {
  width: 105px;
  height: auto;
}

.hero__node {
  position: absolute;
  z-index: 3;

  padding: 8px 11px;

  color: #b9c5cf;
  border: 1px solid #3b4756;
  background: #0c141e;

  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .15em;
}

.hero__node--one { top: 16%; left: 10%; }
.hero__node--two { top: 24%; right: 9%; }
.hero__node--three { bottom: 18%; left: 11%; }
.hero__node--four { bottom: 12%; right: 11%; }

.statement {
  padding: 130px var(--page-padding);
  border-top: 1px solid var(--line);
}

.statement h2 {
  max-width: 950px;
  margin: 0 0 25px;

  font-family: var(--font-display);
  font-size: clamp(50px, 8vw, 105px);
  line-height: .84;
  letter-spacing: -.06em;
}

.statement > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.product-card {
  min-height: 300px;
  padding: 36px;

  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);

  transition: .2s;
}

.product-card:nth-child(even) {
  border-right: 0;
}

.product-card:hover {
  background: var(--bg-soft);
}

.product-card__number {
  color: #566273;
  font-family: var(--font-mono);
  font-size: 10px;
}

.product-card h3 {
  margin: 65px 0 12px;
  font-size: 34px;
  letter-spacing: -.04em;
}

.product-card p {
  max-width: 470px;
  color: var(--muted);
}

.product-card .text-link {
  margin-top: 25px;
}

.process {
  padding: 120px var(--page-padding);
  border-top: 1px solid var(--line);
  background: #0b111b;
}

.process__grid {
  max-width: var(--content-width);
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(5, 1fr);

  border-top: 1px solid var(--line-light);
}

.process__grid article {
  min-height: 220px;
  padding: 25px 18px;
  border-right: 1px solid var(--line-light);
}

.process__grid article:last-child {
  border-right: 0;
}

.process__grid span {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10px;
}

.process__grid h3 {
  margin: 55px 0 8px;
  font-size: 23px;
}

.process__grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.cta {
  max-width: var(--content-width);
  margin: 100px auto;
  padding: 55px 40px;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;

  border: 1px solid var(--line);
}

.cta h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 65px;
  line-height: .85;
}

.cta p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
}

/* =========================================================
   Inner pages
   ========================================================= */

.inner {
  padding-top: 76px;
}

.page-intro {
  padding: 150px var(--page-padding) 110px;
  border-bottom: 1px solid var(--line);
}

.page-intro h1 {
  max-width: 1100px;
  margin: 0 0 35px;

  font-size: clamp(70px, 10vw, 145px);
  line-height: .82;
  letter-spacing: -.07em;
}

.page-intro > p:last-child {
  max-width: 650px;
  margin: 0;
  font-size: 19px;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.two-column > div:last-child p {
  max-width: 650px;
  font-size: 17px;
  line-height: 1.75;
}

.dark-section {
  padding: 120px var(--page-padding);
  background: #070c14;
}

.pillar-grid,
.feature-grid {
  max-width: var(--content-width);
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;

  border-top: 1px solid var(--line-light);
}

.pillar,
.feature-grid article {
  min-height: 250px;
  padding: 35px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.pillar:nth-child(even),
.feature-grid article:nth-child(even) {
  border-right: 0;
}

.pillar > span,
.feature-grid article > span {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10px;
}

.pillar h3,
.feature-grid h3 {
  margin: 45px 0 12px;
  font-size: 28px;
}

.pillar p,
.feature-grid p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-list > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 30px;

  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.service-list strong {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
}

.service-list span {
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-card {
  display: block;
  padding: 45px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.contact-card:hover {
  border-color: var(--cyan);
}

.contact-card span {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
}

.contact-card h2 {
  margin: 45px 0 10px;
  font-size: 32px;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
}

/* =========================================================
   Ask WYRE
   ========================================================= */

.consultation {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 30px 30px 120px;

  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
}

.consultation__copy h2 {
  margin: 0 0 25px;
  font-size: 52px;
  line-height: .9;
}

.consultation__copy > p {
  color: var(--muted);
}

.problem-list {
  list-style: none;
  margin: 30px 0;
  padding: 0;
}

.problem-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.form-card {
  padding: 35px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.form-card label {
  display: block;
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  display: block;

  margin-top: 9px;
  padding: 13px 14px;

  color: var(--fg);
  background: #080e17;
  border: 1px solid #303b4b;
  outline: 0;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  border-color: var(--cyan);
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

/* =========================================================
   Product pages
   ========================================================= */

.product-hero {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 100px 30px;

  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 70px;
  align-items: center;
}

.product-hero h1 {
  margin: 0 0 20px;

  font-family: var(--font-display);
  font-size: clamp(70px, 9vw, 125px);
  line-height: .82;
  letter-spacing: -.07em;
}

.product-hero h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
}

.product-hero__category {
  margin: 0 0 10px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.product-hero__summary {
  max-width: 620px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 19px;
}

.product-visual {
  position: relative;
  height: 390px;
  overflow: hidden;

  display: grid;
  place-items: center;

  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.product-visual::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
}

.product-visual__core {
  position: relative;
  z-index: 2;

  width: 150px;
  height: 150px;

  display: grid;
  place-items: center;

  border: 1px solid var(--cyan);
  border-radius: 50%;

  background: var(--bg);
  color: var(--fg);

  font-family: var(--font-display);
  font-size: 18px;
}

.product-visual > span {
  position: absolute;
  color: #7e8b98;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .12em;
}

.product-visual > span:nth-of-type(1) { top: 17%; left: 11%; }
.product-visual > span:nth-of-type(2) { top: 25%; right: 9%; }
.product-visual > span:nth-of-type(3) { bottom: 18%; left: 12%; }
.product-visual > span:nth-of-type(4) { bottom: 12%; right: 10%; }

.product-description {
  padding-top: 30px;
}

.product-signal {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 110px 30px;
  border-top: 1px solid var(--line);
}

.product-signal blockquote {
  max-width: 900px;
  margin: 0 0 35px;
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 75px);
  line-height: .9;
  letter-spacing: -.05em;
}

/* =========================================================
   Footer
   ========================================================= */

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 25px;

  padding: 28px var(--page-padding);

  border-top: 1px solid var(--line);
  color: #536071;

  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
}

.footer img {
  width: 90px;
  opacity: .8;
}

.footer p {
  margin: 8px 0 0;
}

.footer__links {
  display: flex;
  gap: 25px;
  align-items: center;
}

.footer__links a:hover {
  color: var(--cyan);
}

.footer__copyright {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 850px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;

    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;

    padding: 12px 6vw 22px;

    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav > a,
  .dropdown__button {
    padding: 14px 8px;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .dropdown__menu {
    position: static;
    width: 100%;
    margin: 0;
    box-shadow: none;
  }

  .hero,
  .product-hero,
  .two-column,
  .consultation {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 110px;
  }

  .hero__visual {
    height: 340px;
  }

  .product-grid,
  .pillar-grid,
  .feature-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .product-card,
  .pillar,
  .feature-grid article {
    border-right: 0;
  }

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

  .process__grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .cta {
    display: block;
    margin: 60px 20px;
  }

  .cta .button {
    margin-top: 25px;
  }

  .service-list > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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

  .footer__links {
    flex-wrap: wrap;
  }

  .footer__copyright {
    grid-column: 1;
  }
}

@media (max-width: 500px) {
  :root {
    --page-padding: 6vw;
  }

  .brand img {
    width: 98px;
  }

  .hero h1,
  .page-intro h1 {
    font-size: 64px;
  }

  .hero__lead,
  .page-intro > p:last-child {
    font-size: 17px;
  }

  .hero__visual {
    height: 300px;
  }

  .section,
  .product-hero,
  .consultation {
    padding-left: 20px;
    padding-right: 20px;
  }

  .product-card,
  .pillar,
  .feature-grid article,
  .form-card,
  .contact-card {
    padding: 28px;
  }
}


/* =========================================================
   Staff login
   ========================================================= */

.staff-login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 120px 24px 60px;
  background:
    radial-gradient(circle at 50% 20%, rgba(9, 197, 238, .07), transparent 34%),
    var(--bg);
}

.staff-login-card {
  width: min(100%, 460px);
  padding: 48px;
  border: 1px solid var(--line);
  background: rgba(13, 20, 32, .82);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .24);
}

.staff-login-logo {
  display: inline-block;
  margin-bottom: 54px;
}

.staff-login-logo img {
  display: block;
  width: 108px;
  height: auto;
}

.staff-login-card h1 {
  margin: 0 0 18px;
  font-size: clamp(48px, 9vw, 76px);
  line-height: .9;
  letter-spacing: -.05em;
}

.staff-login-intro {
  margin: 0 0 38px;
  color: var(--muted);
}

.staff-login-card .form {
  display: grid;
  gap: 20px;
}

.staff-login-card label {
  display: grid;
  gap: 9px;
  color: var(--muted-light);
  font-size: 12px;
  letter-spacing: .03em;
}

.staff-login-card input {
  width: 100%;
  padding: 15px 16px;
  color: var(--fg);
  background: #080d17;
  border: 1px solid var(--line-light);
  outline: none;
}

.staff-login-card input:focus {
  border-color: var(--cyan);
}

.staff-login-card input::placeholder {
  color: #5f6876;
}

.staff-login-card button {
  width: 100%;
  margin-top: 8px;
  padding: 15px 18px;
  border: 1px solid var(--cyan);
  background: var(--cyan);
  color: #061019;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .04em;
}

.staff-login-card button:hover {
  filter: brightness(1.08);
}

.staff-login-card button:disabled {
  opacity: .55;
  cursor: wait;
}

.form-message {
  min-height: 22px;
  margin: 0;
  font-size: 12px;
}

.form-message--error {
  color: #ff8e8e;
}

.staff-back-link {
  margin-top: 32px;
}

@media (max-width: 500px) {
  .staff-login-page {
    padding: 100px 16px 40px;
  }

  .staff-login-card {
    padding: 32px 24px;
  }
}

/* =========================================================
   STAFF DASHBOARD
   ========================================================= */

.staff-header {
  width: min(var(--content-width), calc(100% - (var(--page-padding) * 2)));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.staff-header .staff-login-logo {
  display: inline-flex;
  align-items: center;
}

.staff-header .staff-login-logo img {
  width: auto;
  height: 34px;
  display: block;
}

.staff-header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.staff-user-name {
  color: var(--muted-light);
  font-size: 14px;
}

.staff-dashboard {
  width: min(var(--content-width), calc(100% - (var(--page-padding) * 2)));
  margin: 0 auto;
  padding: 72px 0 100px;
}

.staff-dashboard-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.staff-dashboard-heading h1 {
  margin-bottom: 14px;
}

.staff-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}

.staff-stat {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 24px;
}

.staff-stat-label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.staff-stat strong {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--fg);
}

.staff-requests-panel,
.staff-request-details {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 28px;
}

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

.staff-panel-heading h2 {
  margin: 4px 0 0;
}

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

.staff-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.staff-table th,
.staff-table td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.staff-table th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.staff-table td {
  color: var(--muted-light);
  font-size: 14px;
}

.staff-table td strong {
  display: block;
  color: var(--fg);
  margin-bottom: 4px;
}

.staff-table td small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.staff-table-empty {
  padding: 40px 14px !important;
  color: var(--muted) !important;
  text-align: center !important;
}

.status-badge {
  display: inline-flex;
  padding: 6px 9px;
  border: 1px solid var(--line-light);
  color: var(--muted-light);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.status-badge--new {
  color: var(--cyan);
  border-color: var(--cyan);
}

.staff-request-details {
  margin-top: 28px;
}

.staff-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.staff-details-grid div,
.staff-problem {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.staff-details-grid span,
.staff-problem > span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.staff-details-grid strong {
  color: var(--fg);
  font-size: 14px;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.staff-problem p {
  margin: 0;
  color: var(--muted-light);
  white-space: pre-wrap;
  line-height: 1.7;
}

.staff-edit-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  margin: 28px 0;
}

.staff-edit-row label {
  display: block;
  color: var(--muted-light);
  font-size: 13px;
}

.staff-edit-row select,
.staff-edit-row textarea {
  width: 100%;
  margin-top: 8px;
  padding: 13px 14px;
  border: 1px solid var(--line-light);
  background: var(--bg);
  color: var(--fg);
  font: inherit;
  outline: none;
}

.staff-edit-row select:focus,
.staff-edit-row textarea:focus {
  border-color: var(--cyan);
}

.form-message--success {
  color: var(--cyan);
}

@media (max-width: 850px) {
  .staff-stats {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .staff-edit-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .staff-header {
    align-items: flex-start;
  }

  .staff-header-actions {
    align-items: flex-end;
    flex-direction: column;
    gap: 10px;
  }

  .staff-dashboard {
    padding-top: 48px;
  }

  .staff-stats,
  .staff-details-grid {
    grid-template-columns: 1fr;
  }

  .staff-requests-panel,
  .staff-request-details {
    padding: 18px;
  }
}
/* Readable font for fields and values that can contain @ or 0 */
.form-card input,
.form-card select,
.form-card textarea,
.staff-login-card input,
.staff-edit-row select,
.staff-edit-row textarea,
.contact-card[href^="mailto:"] h2,
.staff-table td,
.staff-details-grid strong,
.staff-stat strong {
  font-family: Arial, Helvetica, sans-serif;
}
