/* Shared geometry: public service and staff workspace are separate surfaces. */
.public-shell {
  max-width: 1440px;
  margin: 0 auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.site-header {
  min-height: 100px;
  margin: 0 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: 1.2px;
  line-height: 1.15;
  text-decoration: none;
  flex-shrink: 0;
}
.brand:hover {
  text-decoration: none;
}
.brand small {
  font-size: 11px;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--muted);
  display: block;
  margin-top: 6px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--ink);
  font-size: 31px;
  font-weight: 600;
  letter-spacing: -3px;
  padding: 0 5px 4px 0;
  border-radius: 50%;
}
.public-nav {
  display: flex;
  gap: 3px;
}
.public-nav .nav {
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-color: transparent;
  background: transparent;
  font-weight: 500;
  font-size: 13px;
  color: var(--muted);
}
.nav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.public-nav .nav.active {
  color: var(--ink);
  background: var(--soft);
}
.public-main {
  padding: 0 56px;
  flex: 1;
  min-width: 0;
}
.service-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px 0 32px;
  font-size: 11px;
  color: var(--muted);
}
.service-status > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-status > span:first-child:before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--muted);
  border-radius: 50%;
}
.help-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.85fr) minmax(0, 1.4fr);
  gap: clamp(36px, 5vw, 80px);
  padding: 8px 0 48px;
  align-items: start;
}
.help-intro {
  padding-top: 14px;
}
.help-intro h1 {
  font-size: clamp(46px, 4.8vw, 68px);
  line-height: 1.02;
  letter-spacing: -3.5px;
  margin: 25px 0 24px;
  font-weight: 520;
}
.intro-copy {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 32px;
}
.topic-list {
  max-width: 340px;
}
.topic-list button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
  padding: 16px 0;
  font-size: 13px;
  text-align: left;
  font-weight: 450;
}
.topic-list button:hover {
  color: var(--accent);
  padding-left: 5px;
}
.topic-list button span {
  color: var(--accent);
  font-size: 18px;
}
.human-help {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 36px;
  max-width: 350px;
}
.human-symbol {
  font-size: 34px;
  line-height: 1;
  color: var(--accent);
}
.human-help h2 {
  font-size: 15px;
  margin: 0;
  font-weight: 600;
}
.human-help p {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0;
}
.section-page {
  min-height: 65vh;
  padding-bottom: 56px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin: 20px 0 36px;
}
.section-heading h1 {
  max-width: 700px;
  font-size: clamp(30px, 3.6vw, 48px);
}
.section-heading > p {
  max-width: 310px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}
.site-footer {
  margin: 0 56px;
  border-top: 1px solid var(--line);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 11px;
  color: var(--muted);
}
.site-footer p {
  margin: 0;
}
.site-footer a {
  color: var(--muted);
}
/* Staff navigation stays persistent; work content gets the available width. */
.staff-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 100dvh;
}
.staff-sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  padding: 28px 20px;
  background: var(--ink);
  color: white;
  display: flex;
  flex-direction: column;
}
.staff-sidebar .brand {
  color: white;
  font-size: 16px;
  gap: 10px;
  margin-bottom: 54px;
}
.staff-sidebar .brand small {
  color: #bacbd5;
}
.staff-sidebar .brand-mark {
  background: var(--lime);
  color: #173b50;
  width: 36px;
  height: 36px;
  font-size: 28px;
}
.staff-sidebar .section-label {
  color: #98b0be;
  padding-left: 12px;
}
.staff-sidebar nav {
  display: grid;
  gap: 4px;
}
.staff-sidebar .nav {
  text-align: left;
  background: none;
  color: #c5d4dc;
  border: 0;
  font-weight: 450;
  padding: 13px 12px;
  font-size: 13px;
  border-radius: 5px;
}
.staff-sidebar .nav.active {
  background: #ffffff16;
  color: white;
  box-shadow: inset 3px 0 var(--lime);
}
.staff-sidebar .nav:hover {
  background: #ffffff10;
}
.sidebar-bottom {
  margin-top: auto;
  display: grid;
  gap: 18px;
  padding: 32px 12px 0;
  font-size: 12px;
}
.sidebar-bottom a,
.sidebar-bottom button {
  color: #c5d4dc;
  text-align: left;
  font-size: 12px;
}
.staff-main {
  min-width: 0;
}
.staff-topbar {
  padding: 22px 36px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  font-size: 12px;
  background: var(--white);
}
.staff-page {
  max-width: 1300px;
  padding: 34px 36px 60px;
  margin: auto;
}
.staff-page h1 {
  font-size: 34px;
}
.staff-page > #login {
  max-width: 480px;
  margin: 8vh auto;
  padding: 36px;
}
.workspace-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
}
.workspace-heading h1 {
  margin-bottom: 0;
}
@media (max-width: 1100px) {
  .site-header,
  .site-footer {
    margin-left: 32px;
    margin-right: 32px;
  }
  .public-main {
    padding: 0 32px;
  }
  .help-layout {
    gap: 32px;
    grid-template-columns: 0.8fr 1.3fr;
  }
  .staff-shell {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .staff-sidebar {
    padding: 24px 14px;
  }
  .staff-page,
  .staff-topbar {
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media (max-width: 760px) {
  .site-header {
    min-height: 78px;
    margin: 0 20px;
    gap: 10px;
    flex-wrap: wrap;
    padding: 16px 0 0;
  }
  .brand {
    font-size: 16px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 27px;
  }
  .public-nav {
    width: 100%;
    justify-content: space-between;
    margin-top: 14px;
    gap: 0;
  }
  .public-nav .nav {
    flex: 1;
    justify-content: center;
    padding: 12px 6px;
    border-radius: 4px 4px 0 0;
    font-size: 12px;
  }
  .public-main {
    padding: 0 20px;
  }
  .service-status {
    margin: 18px 0 20px;
  }
  .help-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 0 32px;
  }
  .help-intro {
    padding: 0;
  }
  .help-intro .eyebrow,
  .help-intro .intro-copy,
  .help-intro .topic-list,
  .help-intro .human-help {
    display: none;
  }
  .help-intro h1 {
    margin: 0;
    font-size: 36px;
    letter-spacing: -1.5px;
  }
  .help-intro h1 br {
    display: none;
  }
  .help-intro h1 br:after {
    content: " ";
  }
  .site-footer {
    margin: 0 20px;
    flex-wrap: wrap;
    padding: 22px 0;
  }
  .site-footer p {
    display: none;
  }
  .section-heading {
    display: block;
    margin: 26px 0;
  }
  .section-heading > p {
    max-width: none;
    margin: 12px 0;
  }
  .section-heading h1 {
    font-size: 36px;
  }
  .section-page {
    min-height: 60vh;
  }
  .staff-shell {
    display: block;
  }
  .staff-sidebar {
    position: static;
    height: auto;
    padding: 18px 20px 0;
  }
  .staff-sidebar .brand {
    margin-bottom: 20px;
  }
  .staff-sidebar .section-label,
  .sidebar-bottom {
    display: none;
  }
  .staff-sidebar nav {
    display: flex;
    overflow-x: auto;
    gap: 0;
  }
  .staff-sidebar .nav {
    white-space: nowrap;
    border-radius: 3px 3px 0 0;
    padding: 12px;
  }
  .staff-topbar {
    padding: 16px 20px;
  }
  .staff-page {
    padding: 24px 20px 40px;
  }
  .staff-page h1 {
    font-size: 28px;
  }
  .workspace-heading {
    align-items: center;
  }
  .workspace-heading .eyebrow {
    margin-bottom: 8px;
  }
}
