:root {
  --navy: #1e3154;
  --ink: #253955;
  --muted: #627083;
  --teal: #087f96;
  --teal-dark: #096a80;
  --mint: #e5f4f4;
  --paper: #f8f7f2;
  --line: #dee6e8;
  --white: #fff;
  --soft: #eef5f5;
  --shadow: 0 12px 40px #183c3510;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --control-target-size: 44px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: var(--teal);
  text-underline-offset: 3px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}
button[aria-busy="true"] {
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--teal-dark);
  outline-offset: 3px;
}
button {
  transition:
    background 0.18s,
    transform 0.18s;
}
svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
button svg,
a svg {
  vertical-align: middle;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 45px;
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -1.9px;
}
h2 {
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -0.6px;
}
h3 {
  font-size: 18px;
  line-height: 1.4;
}
p {
  color: var(--muted);
}
.sidebar {
  width: 242px;
  overflow-y: auto;
  position: fixed;
  inset: 0 auto 0 0;
  background: #f3f4f0;
  border-right: 1px solid var(--line);
  padding: 16px 17px 21px;
  display: flex;
  flex-direction: column;
  z-index: 20;
  overflow-y: auto;
}
.brand {
  display: block;
  width: 210px;
  margin: 0 auto 13px;
}
.brand img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}
.side-label,
.side-foot {
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 1.35px;
  color: #82918e;
  padding: 0 13px;
  margin-bottom: 17px;
}
.sidebar nav {
  display: grid;
  gap: 7px;
}
.sidebar nav a {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  padding: 13px 14px;
  border-radius: 9px;
  color: #536763;
  font-weight: 500;
  font-size: 13px;
}
.sidebar nav a:hover {
  background: #e5eff0;
}
.sidebar nav a.active {
  color: #096a80;
  background: #deeff1;
  font-weight: 650;
}
.nav-dot {
  display: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  margin-left: auto;
}
.active .nav-dot {
  display: block;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 45px;
}
.community-note {
  padding: 19px 17px 18px;
  background: #1e3154;
  border-radius: 13px;
  color: #eff8f3;
  position: relative;
  overflow: hidden;
}
.community-note .small-icon {
  display: block;
  color: #8cc8b6;
  margin-bottom: 12px;
}
.community-note .small-icon svg {
  width: 31px;
  height: 31px;
}
.community-note strong {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 550;
  display: block;
  letter-spacing: -0.3px;
}
.community-note p {
  font-size: 12px;
  color: #b8cfca;
  margin: 11px 0 19px;
}
.community-note a {
  color: #d6eee1;
  text-decoration: none;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
}
.about-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  text-decoration: none;
  color: #677a75;
  padding: 25px 13px 17px;
}
.side-foot {
  font-size: 8px;
  letter-spacing: 1px;
  margin: 0;
}
.workspace {
  margin-left: 242px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 79px;
  border-bottom: 1px solid var(--line);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.topline {
  font-size: 12px;
  color: #71837d;
}
.topline strong {
  color: #52665e;
  font-weight: 500;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}
.county {
  font-size: 11px;
  color: #60796e;
  display: flex;
  align-items: center;
  gap: 8px;
}
.county i {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: #508f75;
}
.text-button {
  background: none;
  border: none;
  padding: 7px 0;
  color: #4e6761;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
}
.text-button svg {
  width: 15px;
  height: 15px;
}
.icon-button {
  width: 39px;
  height: 39px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #54716c;
}
.menu-toggle {
  display: none;
}
main {
  flex: 1;
  outline: none;
}
.home {
  max-width: 880px;
  margin: auto;
  padding: 64px 42px 39px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 1.7px;
  color: var(--teal);
  font-weight: 650;
  margin-bottom: 18px;
}
.eyebrow svg {
  width: 15px;
  height: 15px;
}
.hero-mark {
  width: 46px;
  height: 46px;
  background: #e4f3f3;
  border: 1px solid #d4e5da;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #23857c;
  margin-bottom: 27px;
  box-shadow: 0 4px 8px #1a72550a;
}
.hero-mark svg {
  width: 27px;
  height: 27px;
}
.home h1 {
  font-size: 49px;
  margin-bottom: 17px;
  max-width: 650px;
}
.home h1 em {
  font-style: normal;
  color: #087f96;
}
.hero-copy {
  font-size: 15px;
  line-height: 1.8;
  max-width: 540px;
  color: #71827d;
  margin-bottom: 26px;
}
.composer {
  background: #fff;
  border: 1px solid #d9e4dc;
  border-radius: 17px;
  box-shadow: 0 9px 30px #294d4010;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.composer:focus-within {
  border-color: #76aca2;
  box-shadow: 0 0 0 3px #8ccdb41a;
}
.composer textarea {
  display: block;
  width: 100%;
  padding: 22px 23px 15px;
  background: transparent;
  border: 0;
  resize: none;
  min-height: 102px;
  color: var(--ink);
  font-size: 15px;
  outline: none;
}
.composer textarea::placeholder {
  color: #8a9791;
}
.composer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 14px 13px 20px;
}
.dictate {
  border: 0;
  background: transparent;
  color: #758a81;
  font-size: 11px;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 7px;
}
.dictate svg {
  width: 17px;
  height: 17px;
}
.dictate.listening {
  color: #b34543;
}
.primary,
.secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  line-height: 1.4;
}
.primary {
  background: #147f79;
  color: white;
}
.primary:hover {
  background: #096965;
}
.secondary {
  color: #315d55;
  background: white;
  border-color: #d5e1d9;
}
.secondary:hover {
  background: #f0f6f1;
}
.primary svg,
.secondary svg {
  width: 17px;
  height: 17px;
}

.composer-note {
  font-size: 10px;
  color: #84928b;
  text-align: center;
  margin: 12px 0 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.composer-note svg {
  width: 12px;
  height: 12px;
}
.examples-label {
  font-size: 11px;
  color: #7f8c83;
  margin-bottom: 11px;
}
.suggestions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.suggestion {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f5f7f3;
  border: 1px solid #e2e8de;
  border-radius: 9px;
  color: #5d756a;
  padding: 10px 13px;
  font-size: 11px;
}
.suggestion:hover {
  background: #e6f0e7;
  border-color: #a8c9b8;
}
.suggestion svg {
  width: 17px;
  height: 17px;
  color: #698f78;
}
.how {
  border-top: 1px solid var(--line);
  margin-top: 42px;
  padding-top: 27px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.how-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.how-number {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #6a917d;
  width: 23px;
  height: 23px;
  border: 1px solid #dce6d9;
  border-radius: 50%;
  background: #f5f8f2;
}
.how-item strong {
  font-size: 11px;
  font-weight: 600;
}
.how-item p {
  font-size: 10px;
  line-height: 1.6;
  margin: 4px 0 0;
  color: #86928a;
}
.site-footer {
  padding: 20px 40px;
  border-top: 1px solid var(--line);
  color: #86938b;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}
.site-footer div {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer a {
  color: var(--muted);
  text-decoration: none;
}
.page {
  max-width: 1130px;
  padding: 43px 40px 60px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 29px;
}
.page-heading h1 {
  font-size: 37px;
  margin-bottom: 12px;
}
.page-heading p {
  max-width: 650px;
  font-size: 14px;
}
.page-heading .eyebrow {
  margin-bottom: 12px;
}
.page-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 5px 18px #214b3905;
}
.filters {
  display: flex;
  gap: 10px;
  padding: 14px;
  background: #eef3ec;
  border-radius: 12px;
  margin-bottom: 17px;
  flex-wrap: wrap;
}
.search-field {
  flex: 1;
  min-width: 200px;
}
.filters input,
.filters select {
  margin: 0;
}
.results-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.resource-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.card-tag {
  font-size: 9px;
  letter-spacing: 1px;
  font-weight: 650;
  color: #3a8b79;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.resource-card h3 {
  font-size: 17px;
  margin-bottom: 5px;
  letter-spacing: -0.25px;
}
.org-name {
  font-size: 11px;
  color: #79897f;
  margin-bottom: 11px;
}
.resource-card p {
  font-size: 12px;
  line-height: 1.65;
  margin-bottom: 14px;
}
.requirements {
  border-left: 2px solid #bdd8c8;
  padding: 0 0 0 10px;
  font-size: 11px;
  line-height: 1.65;
  color: #63776b;
  margin: 2px 0 16px;
  white-space: pre-line;
}
.requirements strong {
  display: block;
  color: #465d51;
  font-size: 10px;
  margin-bottom: 4px;
}
.card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 5px;
}
.card-actions .primary,
.card-actions .secondary {
  font-size: 11px;
  padding: 9px 12px;
}
.details-button {
  font-size: 11px;
  color: #46796a;
  border: 0;
  background: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 8px 4px;
  margin-left: auto;
}
.check-note {
  font-size: 10px;
  color: #8a7959;
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 15px;
}
.check-note svg {
  width: 13px;
  height: 13px;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
}
.empty {
  text-align: center;
  padding: 45px 22px;
  border: 1px dashed #cddccf;
  border-radius: 14px;
  background: #f5f8f1;
}
.empty svg {
  width: 32px;
  height: 32px;
  color: #709879;
  margin-bottom: 12px;
}
.empty h3 {
  margin: 0 0 8px;
}
.empty p {
  max-width: 460px;
  margin: 0 auto 22px;
  font-size: 13px;
}
.chat-active {
  padding-top: 31px;
  max-width: 1050px;
}
.chat-active .hero,
.chat-active .examples,
.chat-active .how {
  display: none;
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 25px;
}
.avatar {
  width: 34px;
  height: 34px;
  background: #e4f3f3;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #188278;
  flex-shrink: 0;
}
.chat-header strong {
  font-size: 13px;
}
.chat-header small {
  font-size: 10px;
  color: #839587;
  display: block;
}
.messages {
  display: grid;
  gap: 25px;
}
.user-message {
  background: #e5eee6;
  border: 1px solid #dce6dc;
  border-radius: 16px 16px 4px 16px;
  max-width: 83%;
  padding: 16px 19px;
  justify-self: end;
  white-space: pre-wrap;
  font-size: 14px;
}
.assistant-message {
  min-width: 0;
}
.assistant-message > p {
  color: #506959;
  font-size: 14px;
  white-space: pre-line;
}
.topic-heading {
  font-size: 12px;
  font-weight: 650;
  margin: 23px 0 10px;
  display: flex;
  gap: 7px;
  align-items: center;
  color: #337461;
}
.topic-heading svg {
  width: 17px;
  height: 17px;
}
.question {
  margin-top: 20px;
  border: 1px solid #bad6c6;
  background: #eff7ef;
  border-radius: 12px;
  padding: 17px;
}
.question p {
  font-size: 14px;
  color: #284e3e;
  margin-bottom: 12px;
}
.question-actions {
  display: flex;
  gap: 8px;
}
.question-actions button {
  padding: 7px 22px;
}
.chat-active .composer {
  margin-top: 28px;
}
.chat-active .composer textarea {
  min-height: 75px;
}
.chat-active .composer-note {
  margin-bottom: 0;
}
.thinking {
  padding: 18px 0;
  font-size: 13px;
  color: #678574;
  display: flex;
  align-items: center;
  gap: 10px;
}
.thinking:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #54a387;
  animation: breathe 1s infinite alternate;
}
@keyframes breathe {
  to {
    opacity: 0.25;
  }
}
.help-next {
  padding: 19px;
  margin-top: 20px;
  background: #f0f3ea;
  border: 1px solid #dfe6d4;
  border-radius: 12px;
}
.account-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.account-help { margin: 22px 0 0; line-height: 1.6; }
#account-work { max-width: 620px; }
#account-setup { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 24px; }
#account-request-form:not([hidden]) { display: grid; gap: 18px; }
#account-request-form .field { margin-bottom: 0; }
#account-request-form .field-label { font-size: 14px; }
#account-organizations-status:empty, #account-organizations-retry[hidden] { display: none; }
#account-request-result:not(:empty) { margin-top: 16px; padding: 16px; background: var(--soft); border-radius: 10px; }
.help-next p {
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  color: #425a3d;
}
.error {
  padding: 12px 15px;
  border: 1px solid #e8c9c1;
  background: #fdf0e9;
  color: #8a4736;
  border-radius: 8px;
  font-size: 13px;
  margin: 14px 0;
}
.success {
  padding: 18px;
  background: #e9f4e8;
  border: 1px solid #c2ddc0;
  color: #365e36;
  border-radius: 11px;
  font-size: 14px;
}
.success p {
  color: inherit;
  margin-bottom: 12px;
}
.success a {
  overflow-wrap: anywhere;
}
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(230px, 1fr);
  gap: 27px;
  align-items: start;
}
.form-aside {
  padding: 26px;
  background: #edf3e9;
  border-radius: 15px;
}
.form-aside h3 {
  font-size: 17px;
}
.form-aside p,
.form-aside li {
  font-size: 13px;
  color: #52684b;
}
.form-aside ul {
  padding-left: 18px;
}
.field {
  margin-bottom: 19px;
}
label.field-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #4f6959;
  margin-bottom: 7px;
}
.field-hint {
  font-size: 11px;
  color: #82917e;
  margin-top: 6px;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.field-grid .field {
  margin: 0 0 18px;
}
input:not([type="checkbox"]),
textarea,
select {
  display: block;
  width: 100%;
  background: #fcfdfa;
  border: 1px solid #dce4d7;
  border-radius: 8px;
  padding: 11px 13px;
  color: #294738;
  min-height: var(--control-target-size);
  max-width: 100%;
}

textarea {
  resize: vertical;
  min-height: 92px;
  line-height: 1.6;
}
input::placeholder,
textarea::placeholder {
  color: #929d8e;
}
fieldset {
  padding: 0;
  border: 0;
  margin: 0 0 20px;
}
legend {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}
.check {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 12px;
  color: #5b705d;
  margin: 11px 0;
}
.check input {
  accent-color: #177f75;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin: 2px 0;
}
.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}
.check-grid .check {
  margin: 4px 0;
}
.choice-card {
  padding: 15px;
  border: 1px solid #d8e3d5;
  border-radius: 9px;
  background: #f9fbf5;
}
.choice-card strong {
  display: block;
  font-size: 13px;
}
.choice-card span {
  font-size: 11px;
  color: #809073;
}
.form-footer {
  border-top: 1px solid var(--line);
  margin-top: 23px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.form-footer small {
  font-size: 10px;
  color: var(--muted);
}
.tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
  padding-bottom: 13px;
}
.tab {
  border: 0;
  background: none;
  padding: 8px 14px;
  color: #52654e;
  font-size: 12px;
  border-radius: 7px;
}
.tab.active {
  background: #deedde;
  color: #286c48;
  font-weight: 650;
}
.board-card .type-tag {
  display: inline-block;
  align-self: flex-start;
  border-radius: 5px;
  padding: 4px 8px;
  background: #e5eee1;
  color: #597f41;
  font-size: 10px;
  margin-bottom: 13px;
}
.board-card.calling .type-tag {
  background: #e4edf0;
  color: #427388;
}
.board-card .deadline {
  font-size: 11px;
  font-weight: 600;
  color: #8a7a54;
}
.status-pill {
  font-size: 10px;
  border: 1px solid #cadcce;
  padding: 4px 8px;
  border-radius: 50px;
  color: #53735a;
  white-space: nowrap;
}
.about-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.about-columns .panel p {
  font-size: 13px;
}
.about-columns .panel h2 {
  font-size: 20px;
}
.about-columns .panel ul {
  padding-left: 19px;
  font-size: 13px;
  color: #65785e;
}
.wide {
  grid-column: 1/-1;
}
.accessibility-statement {
  border-top: 4px solid var(--teal-dark);
  scroll-margin-top: 96px;
}
.statement-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.about-columns .accessibility-statement h2 {
  font-size: 26px;
  margin-bottom: 0;
}
.about-columns .accessibility-statement p {
  font-size: 15px;
  line-height: 1.65;
}
.statement-standard {
  background: var(--mint);
  color: var(--teal-dark);
  border: 1px solid #c5dfe3;
  border-radius: 24px;
  padding: 7px 12px;
  font-size: 14px;
  font-weight: 650;
}
.statement-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 24px;
}
.statement-contact {
  background: var(--soft);
  padding: 20px;
  border-radius: 12px;
  overflow-wrap: anywhere;
}
.statement-contact dl { margin: 0; }
.statement-contact dl > div + div { margin-top: 16px; }
.statement-contact dt { font-weight: 650; color: var(--ink); }
.statement-contact dd { margin: 0; color: var(--muted); }
.statement-contact address { font-style: normal; margin-top: 8px; }
.statement-contact a { color: var(--teal-dark); overflow-wrap: anywhere; }
.statement-date {
  padding-top: 20px;
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
}
@media (max-width: 760px) {
  .statement-columns { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .statement-contact { padding: 16px; }
}
dialog {
  border: 1px solid #d5e2d4;
  border-radius: 20px;
  padding: 32px;
  max-width: 660px;
  width: calc(100% - 32px);
  max-height: 90vh;
  color: var(--ink);
  box-shadow: 0 30px 120px #12302633;
  overflow-y: auto;
}
dialog::backdrop {
  background: #19362e66;
  backdrop-filter: blur(3px);
}
.dialog-close {
  position: absolute;
  right: 17px;
  top: 17px;
}
.resource-dialog h2,
.need-dialog h2,
dialog h2 {
  padding-right: var(--control-target-size);
  margin-top: 14px;
}
.detail-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.detail-row strong {
  font-size: 11px;
  color: #385843;
  display: block;
  margin-bottom: 6px;
}
.detail-row p {
  font-size: 12px;
  color: #657a66;
  white-space: pre-line;
  margin-bottom: 0;
  overflow-wrap: anywhere;
}
.source-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.step-label {
  color: #568267;
  font-size: 10px;
  letter-spacing: 1.1px;
  font-weight: 650;
}
.step-dots {
  display: flex;
  gap: 5px;
  margin: 15px 0 21px;
}
.step-dots span {
  height: 3px;
  flex: 1;
  background: #e6ece0;
  border-radius: 2px;
}
.step-dots .done {
  background: #5c9e7c;
}
.review-story {
  padding: 14px;
  background: #f5f7f0;
  border-radius: 9px;
  font-size: 13px;
  white-space: pre-wrap;
  color: #5c725c;
}
.admin-list {
  display: grid;
  gap: 16px;
}
.usage-counts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.usage-counts dt { font-size: .85rem; color: var(--muted); }
.usage-counts dd { margin: 4px 0 0; font-size: 1.35rem; font-weight: 700; }
.site-usage, #site-usage-report { min-width: 0; }
.site-usage .panel { margin: 0; min-width: 0; }
#site-usage-report { display: grid; gap: 16px; margin-top: 20px; }
.usage-toolbar-panel h2 { margin-top: 0; }
.usage-controls { align-items: end; gap: 10px; }
.usage-controls label { display: grid; gap: 6px; min-width: 180px; }
.usage-controls select { max-width: 100%; }
.usage-controls button { min-height: 42px; }
.usage-controls button:disabled { opacity: .55; cursor: wait; }
.usage-report-overview { background: #f0f6f4; border: 1px solid #d9e7e2; border-radius: 16px; padding: 24px; }
.usage-report-heading { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.usage-report-heading .eyebrow { margin-bottom: 8px; }
.usage-report-heading h3 { margin: 0 0 10px; font-size: 1.35rem; }
.usage-report-label { white-space: nowrap; border: 1px solid #cbded7; border-radius: 20px; padding: 5px 10px; color: #365b50; font-size: .75rem; background: #fff; }
.usage-range { margin: 0; }
.usage-coverage { font-size: .82rem; color: #48645b; line-height: 1.55; border-left: 3px solid #86b5a4; padding-left: 12px; margin: 18px 0; }
.site-usage-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin: 0; }
.site-usage-summary > div { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: white; min-width: 0; }
.site-usage-summary dt { color: #415c55; font-size: .86rem; font-weight: 600; line-height: 1.4; }
.site-usage-summary dd { margin: 12px 0 0; font-size: 2rem; font-weight: 750; font-variant-numeric: tabular-nums; color: var(--navy); line-height: 1.2; }
.site-usage-summary p { font-size: .76rem; color: var(--muted); line-height: 1.5; margin: 10px 0 0; }
.site-usage-summary .usage-comparison { border-top: 1px solid var(--line); padding-top: 10px; }
.usage-trend h3 { margin-top: 0; }
.usage-trend figure { margin: 0; }
.usage-trend svg { width: 100%; height: auto; display: block; max-height: 240px; }
.usage-trend svg text { fill: #52685f; stroke: none; font: 11px system-ui,sans-serif; }
.usage-trend .usage-axis { stroke: #cddbd5; }
.usage-trend .usage-bars { fill: #168a87; stroke: none; }
.usage-trend figcaption { color: var(--muted); font-size: .78rem; line-height: 1.5; margin-top: 12px; }
.usage-insights { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.usage-insights > :last-child:nth-child(odd) { grid-column: 1/-1; }
.usage-insights h3 { margin-top: 0; }
.usage-outcome-headline { display: flex; align-items: center; gap: 16px; margin: 14px 0; }
.usage-outcome-headline strong { color: #176d68; font-size: 2rem; font-variant-numeric: tabular-nums; line-height: 1.2; flex-shrink: 0; }
.usage-outcome-headline p { margin: 0; max-width: 40ch; color: var(--muted); line-height: 1.45; }
.site-usage details { margin-top: 0; }
.site-usage .usage-detail { padding-top: 14px; padding-bottom: 14px; }
.site-usage summary { cursor: pointer; font-weight: 600; padding: 8px 0; color: #315a50; }
.site-usage summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; border-radius: 2px; }
.site-usage details[open] > summary { margin-bottom: 12px; }
.usage-table-scroll { overflow-x: auto; max-width: 100%; margin: 16px 0; }
.usage-table-scroll:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.site-usage-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: .9rem; }
.site-usage-table caption { text-align: left; margin-bottom: 10px; color: var(--muted); }
.site-usage-table th, .site-usage-table td { padding: 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.site-usage-table th[scope="row"] { min-width: 130px; max-width: 240px; overflow-wrap: anywhere; }
.site-usage-table td { font-variant-numeric: tabular-nums; }
.usage-method p { max-width: 78ch; }
#lifeline-usage-print { display: none; }
@media (max-width: 1100px) {
  .site-usage-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 650px) {
  .usage-report-overview { padding: 16px; }
  .usage-report-label { display: none; }
  .usage-insights { grid-template-columns: minmax(0,1fr); }
  .usage-controls { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .usage-controls label { grid-column: 1/-1; min-width: 0; }
  .usage-controls #site-usage-refresh { grid-column: 1/-1; }
  .usage-controls button { padding-left: 8px; padding-right: 8px; }
  .usage-outcome-headline { align-items: start; gap: 12px; }
}
@media (max-width: 440px) {
  .site-usage-summary { gap: 8px; }
  .site-usage-summary > div { padding: 13px; }
  .site-usage-summary dd { font-size: 1.65rem; }
  .site-usage-summary dt { font-size: .78rem; }
  .site-usage-summary p { font-size: .72rem; }
}
@media print {
  @page lifeline-usage {
    margin: 14mm;
    @bottom-right { content: "Alleghany Lifeline · " counter(page); font: 8pt system-ui,sans-serif; color: #374d45; }
  }
  body.usage-printing { display: block !important; background: #fff !important; margin: 0 !important; color: #182e2c !important; }
  body.usage-printing > :not(#lifeline-usage-print) { display: none !important; }
  body.usage-printing > #lifeline-usage-print { display: block !important; page: lifeline-usage; font: 9pt/1.4 system-ui,sans-serif; margin: 0; padding: 0; }
  #lifeline-usage-print * { box-shadow: none !important; }
  #lifeline-usage-print .usage-print-header { border-bottom: 2px solid #196d68; padding-bottom: 10pt; margin-bottom: 12pt; }
  #lifeline-usage-print .usage-print-header > p:first-child { letter-spacing: .08em; font-size: 8pt; font-weight: 600; }
  #lifeline-usage-print h1 { font-size: 22pt; margin: 5pt 0; }
  #lifeline-usage-print h2 { font-size: 12pt; margin: 0 0 5pt; }
  #lifeline-usage-print h3 { font-size: 11pt; margin: 0 0 7pt; }
  #lifeline-usage-print p { margin: 5pt 0; }
  #lifeline-usage-print .fine, #lifeline-usage-print figcaption { font-size: 8pt; line-height: 1.4; color: #374d45; }
  #lifeline-usage-print .usage-coverage { margin: 9pt 0; font-size: 8pt; line-height: 1.4; }
  #lifeline-usage-print .site-usage-summary { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7pt; margin: 10pt 0; break-inside: avoid; }
  #lifeline-usage-print .site-usage-summary > div { border-radius: 5pt; padding: 9pt; }
  #lifeline-usage-print .site-usage-summary dt { font-size: 8pt; }
  #lifeline-usage-print .site-usage-summary dd { font-size: 22pt; margin-top: 7pt; }
  #lifeline-usage-print .site-usage-summary p { font-size: 7pt; line-height: 1.4; }
  #lifeline-usage-print .panel { padding: 11pt 0; margin: 0; border: 0; border-bottom: 1px solid #d8e0dc; border-radius: 0; break-inside: avoid; }
  #lifeline-usage-print .usage-trend svg { max-height: 100pt; }
  #lifeline-usage-print .usage-outcome-headline { margin: 8pt 0; }
  #lifeline-usage-print .usage-outcome-headline strong { font-size: 22pt; }
  #lifeline-usage-print .usage-counts { margin: 9pt 0; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10pt; }
  #lifeline-usage-print .usage-counts dt { font-size: 8pt; }
  #lifeline-usage-print .usage-counts dd { font-size: 13pt; margin-top: 3pt; }
  #lifeline-usage-print .usage-print-method { margin-top: 13pt; break-inside: avoid; }
}

#organization-usage input { width: 100%; box-sizing: border-box; }
#organization-usage .admin-item { overflow-wrap: anywhere; }
.admin-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  background: white;
}
.admin-item.approved-service {
  border-color: #8fc6a4;
  box-shadow: inset 4px 0 0 #43a36c;
}
.admin-item h3 {
  margin-bottom: 7px;
}
.admin-item p {
  font-size: 12px;
  white-space: pre-wrap;
}
.admin-meta {
  font-size: 11px;
  color: #58664d;
  margin-bottom: 12px;
}
.private-box {
  padding: 14px;
  background: #f5eee6;
  border: 1px solid #e8dccf;
  border-radius: 8px;
  margin: 12px 0;
  font-size: 12px;
  white-space: pre-wrap;
}
.admin-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 13px;
}
.admin-toolbar select {
  width: auto;
}
.admin-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}
.admin-nav-group { min-width: 0; }
.admin-nav-label { display: block; font-size: 11px; font-weight: 700; color: #536878; margin: 0 0 8px 10px; }
.admin-nav-group > div { display: flex; flex-wrap: wrap; gap: 5px; }
.admin-nav .tab { display: inline-flex; align-items: center; gap: 8px; white-space: normal; text-align: left; border: 1px solid transparent; }
.admin-nav .tab.active { background: #eaf3ff; border-color: #9dc5f4; color: #164e91; }
.admin-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 23px; min-height: 23px; padding: 2px 7px; border-radius: 20px; background: #176be5; color: white; font-size: 12px; font-weight: 750; line-height: 1.3; }
.admin-badge[hidden] { display: none; }
.approval-intro { border-left: 4px solid #176be5; }
.admin-page .panel, .admin-page .admin-item { min-width: 0; overflow-wrap: anywhere; }
.admin-page select, .admin-page input { min-width: 0; max-width: 100%; }
.admin-page .pagination { flex-wrap: wrap; }
@media (max-width: 760px) {
  .admin-nav { grid-template-columns: 1fr; gap: 12px; padding: 12px; }
  .admin-nav-group { display: grid; grid-template-columns: 56px minmax(0,1fr); gap: 5px; align-items: start; }
  .admin-nav-label { margin: 10px 0 0; }
  .admin-nav .tab { font-size: 12px; padding: 9px; }
  .admin-page .admin-toolbar button { max-width: 100%; }
}
.outbox-body {
  background: #f4f7ef;
  padding: 15px;
  border-radius: 8px;
  font-size: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  padding: 13px 20px;
  background: #244b3e;
  color: white;
  box-shadow: var(--shadow);
  border-radius: 10px;
  font-size: 13px;
  z-index: 100;
  max-width: 90%;
}
.skip {
  position: absolute;
  top: -100px;
  left: 260px;
  z-index: 100;
  background: #fff;
  padding: 12px;
}
.skip:focus {
  top: 8px;
}
.muted {
  color: var(--muted);
}
.fine {
  font-size: 11px;
}
.hidden {
  display: none !important;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 1500px) {
  .home {
    padding-top: 85px;
  }
  .home h1 {
    font-size: 54px;
  }
  .home {
    max-width: 930px;
  }
  .composer textarea {
    min-height: 116px;
  }
  .how {
    margin-top: 55px;
  }
  .page {
    padding-top: 55px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 214px;
    padding-inline: 13px;
  }
  .brand {
    width: 185px;
  }
  .workspace {
    margin-left: 214px;
  }
  .topbar {
    padding-inline: 27px;
  }
  .topline {
    display: none;
  }
  .top-actions {
    width: 100%;
    justify-content: space-between;
  }
  .home {
    padding: 49px 32px 34px;
  }
  .home h1 {
    font-size: 43px;
  }
  .site-footer {
    padding-inline: 27px;
  }
  .site-footer > span {
    display: none;
  }
  .page {
    padding-inline: 27px;
  }
  .resource-grid {
    gap: 11px;
  }
  .resource-card {
    padding: 17px;
  }
  .form-layout {
    grid-template-columns: 1fr;
  }
  .form-aside {
    max-width: none;
  }
  .side-label {
    font-size: 8px;
    padding-inline: 9px;
  }
  .sidebar nav a {
    font-size: 12px;
    padding-inline: 11px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    transform: translateX(-100%);
    width: 242px;
    transition: transform 0.2s;
    box-shadow: 8px 0 40px #19392a22;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .brand {
    width: 210px;
  }
  .workspace {
    margin-left: 0;
  }
  .topbar {
    height: 65px;
    padding-inline: 18px;
    position: relative;
    background: var(--paper);
    z-index: 21;
  }
  .menu-toggle {
    display: flex;
  }
  .top-actions {
    gap: 10px;
  }
  .county {
    font-size: 10px;
  }
  .text-button {
    font-size: 10px;
  }
  .text-button svg {
    display: none;
  }
  .home {
    padding: 34px 22px 29px;
  }
  .hero-mark {
    margin-bottom: 23px;
    width: 40px;
    height: 40px;
  }
  .home h1 {
    font-size: 38px;
    letter-spacing: -1.5px;
  }
  .hero-copy {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 23px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.4px;
  }
  .composer textarea {
    padding: 19px;
    min-height: 111px;
    font-size: 14px;
  }
  .composer-bottom {
    padding-left: 15px;
  }
  .composer-note {
    font-size: 9px;
    margin-bottom: 26px;
  }
  .suggestions {
    gap: 7px;
  }
  .suggestion {
    font-size: 10px;
    padding: 9px 10px;
  }
  .how {
    gap: 15px;
    grid-template-columns: 1fr;
    margin-top: 28px;
    padding-top: 23px;
  }
  .how-item p {
    margin-top: 1px;
  }
  .how-item strong {
    font-size: 12px;
  }
  .how-item {
    gap: 12px;
  }
  .how-item p {
    font-size: 11px;
  }
  .site-footer {
    padding: 19px 22px;
  }
  .site-footer div {
    gap: 9px;
    flex-direction: column;
    font-size: 9px;
  }
  .page {
    padding: 30px 21px 40px;
  }
  .page-heading {
    display: block;
  }
  .page-heading h1 {
    font-size: 32px;
  }
  .page-heading p {
    font-size: 13px;
  }
  .page-actions {
    margin-top: 17px;
  }
  .resource-grid {
    grid-template-columns: 1fr;
  }
  .resource-card {
    padding: 20px;
  }
  .filters {
    padding: 11px;
  }
  .filters input,
  .filters select {
    font-size: 12px;
  }
  .filters select {
    width: 100%;
  }
  .field-grid,
  .about-columns {
    grid-template-columns: 1fr;
  }
  .wide {
    grid-column: auto;
  }
  .page-heading .eyebrow {
    font-size: 9px;
  }
  .panel {
    padding: 20px;
  }
  .tabs {
    overflow-x: auto;
  }
  .tab {
    white-space: nowrap;
  }
  .chat-active {
    padding-top: 21px;
  }
  .user-message {
    max-width: 91%;
    font-size: 13px;
  }
  .assistant-message > p {
    font-size: 13px;
  }
  .check-grid {
    grid-template-columns: 1fr 1fr;
  }
  .form-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .form-footer .primary {
    width: 100%;
  }
  .form-aside {
    padding: 22px;
  }
  dialog {
    padding: 26px 21px;
    border-radius: 16px;
  }
  .resource-dialog h2 {
    font-size: 23px;
  }
  .admin-toolbar {
    align-items: stretch;
  }
  .admin-toolbar select {
    width: 100%;
  }
  .skip {
    left: 15px;
  }
  .results-meta {
    align-items: flex-start;
  }
  .sidebar-bottom {
    padding-top: 35px;
  }
  .chat-header {
    margin-bottom: 20px;
  }
  .chat-active .composer {
    position: relative;
  }
  .topbar .icon-button {
    width: 34px;
    height: 34px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.brand {
  max-width: 100%;
}

.mobile-brand {
  display: none;
}
@media (max-width: 760px) {
  .mobile-brand {
    display: block;
    color: var(--navy);
    font-weight: 650;
    font-size: 12px;
    line-height: 1.3;
  }
  .mobile-brand small {
    display: block;
    font-weight: 400;
    font-size: 8px;
    color: var(--muted);
    margin-top: 3px;
  }
  .county {
    display: none;
  }
  .sidebar {
    padding-top: 69px;
  }
}

/* A quiet, centered starting point using the supplied brand palette. */
.home:not(.chat-active) {
  max-width: 940px;
  padding-top: 72px;
}
.hero {
  text-align: center;
}
.hero-mark {
  margin-left: auto;
  margin-right: auto;
  background: #e4f3f3;
  border-color: #cee6e9;
  color: #087f96;
}
.home h1 {
  margin-left: auto;
  margin-right: auto;
  color: var(--navy);
  font-weight: 650;
}
.hero-copy {
  margin-left: auto;
  margin-right: auto;
  max-width: 510px;
  color: var(--muted);
}
.composer {
  border-color: #cbdfe3;
  box-shadow: 0 10px 35px #1e31540a;
}
.composer:focus-within {
  border-color: #159cb0;
  box-shadow: 0 0 0 3px #159cb014;
}
.home-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 25px;
  margin-top: 32px;
  font-size: 13px;
}
.examples-label {
  text-align: center;
}
.suggestions {
  justify-content: center;
}
.community-note {
  background: var(--navy);
}
@media (max-width: 760px) {
  .home:not(.chat-active) {
    padding-top: 30px;
  }
  .home h1 {
    font-size: 36px;
  }
  .home-links {
    gap: 13px 20px;
  }
}

/* Chat workspace: a compact navigation rail and one clear place to begin. */
:root {
  --paper: #fcfbf8;
}
.sidebar {
  width: 100px;
  padding: 23px 8px 20px;
  background: #f6f7f7;
  border-color: #e9edef;
}
.rail-brand {
  width: 48px;
  height: 48px;
  margin: 0 auto 30px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #159bb1, #29afa2);
  color: white;
}
.rail-brand svg {
  width: 27px;
  height: 27px;
}
.sidebar nav {
  gap: 10px;
}
.sidebar nav a {
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 65px;
  padding: 10px 2px;
  text-align: center;
  border-radius: 12px;
  font-size: 10px;
  line-height: 1.35;
  color: #627083;
}
.sidebar nav a.active {
  background: #e4eff1;
  color: var(--teal-dark);
}
.sidebar nav a svg {
  width: 22px;
  height: 22px;
}
.sidebar-bottom {
  padding-top: 25px;
}
.about-link {
  flex-direction: column;
  gap: 6px;
  padding: 8px 0;
  text-align: center;
  font-size: 9px;
}
.workspace {
  margin-left: 100px;
}
.topbar {
  height: 68px;
  border-bottom: 0;
  padding: 0 34px;
}
.topline {
  display: block;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.4px;
}
.topline strong {
  color: var(--teal);
  font-weight: 700;
}
.top-actions {
  width: auto;
  gap: 25px;
}
#start-over {
  border: 1px solid #e2e7ea;
  padding: 9px 12px;
  border-radius: 9px;
  background: #fff;
  color: var(--navy);
}
.home:not(.chat-active) {
  width: 100%;
  max-width: 890px;
  padding: clamp(25px, 6vh, 70px) 36px 40px;
}
.home-logo {
  display: block;
  width: 270px;
  max-width: 70%;
  height: auto;
  margin: -12px auto 4px;
}
.home h1 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -1.1px;
  margin: 0 auto 10px;
  max-width: none;
}
.hero-copy {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: none;
}
.composer {
  border-radius: 22px;
  border: 1px solid #dfe5e8;
  box-shadow: 0 4px 24px #1e315408;
}
.composer textarea {
  padding: 23px 25px 13px;
  font-size: 16px;
  min-height: 108px;
}
.composer-bottom {
  padding: 0 16px 15px 20px;
  gap: 10px;
}
.composer-controls {
  display: flex;
  align-items: center;
  gap: 19px;
}
.guide-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #627083;
  font-size: 11px;
}
.guide-chip svg {
  width: 15px;
  height: 15px;
  color: #138c9e;
}
#send {
  border-radius: 13px;
  min-height: 42px;
  padding: 10px 15px;
  background: var(--navy);
}
#send:hover {
  background: #30486f;
}
#send svg {
  transform: rotate(-90deg);
  width: 17px;
  height: 17px;
}
.dictate {
  color: #627083;
  font-size: 11px;
  min-width: 44px;
  min-height: 44px;
}
#voice-note {
  font-size: 12px;
  line-height: 1.5;
  margin: 12px 0;
}
.composer-note {
  margin-top: 12px;
  font-size: 10px;
  color: #82909b;
}
.examples {
  margin-top: 29px;
}
.suggestions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 650px;
  margin: auto;
}
.suggestion {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 4px;
  border: 0;
  background: transparent;
  color: #53647b;
  font-size: 12px;
  border-radius: 14px;
}
.suggestion:hover {
  background: #f0f5f5;
}
.shortcut-icon {
  width: 47px;
  height: 47px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #e3f3f0;
  color: #138776;
}
.shortcut-icon svg {
  width: 23px;
  height: 23px;
}
.suggestion:nth-child(2) .shortcut-icon {
  background: #e6eff9;
  color: #4c78aa;
}
.suggestion:nth-child(3) .shortcut-icon {
  background: #eeeafa;
  color: #8072ac;
}
.suggestion:nth-child(4) .shortcut-icon {
  background: #e4f1f5;
  color: #3b889e;
}
.home-links {
  margin-top: 31px;
  padding-top: 24px;
  border-top: 1px solid #e9edef;
  gap: 15px 23px;
  font-size: 11px;
}
.home-links a {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: var(--muted);
}
.home-links a:hover {
  color: var(--teal);
  text-decoration: underline;
}
.home-links svg {
  width: 16px;
  height: 16px;
}
.site-footer {
  border-top: 0;
}
.chat-active .home-links {
  display: none;
}
.chat-active {
  max-width: 920px;
}
@media (max-width: 760px) {
  .sidebar {
    width: 230px;
    padding: 80px 14px 22px;
  }
  .rail-brand {
    margin-bottom: 20px;
  }
  .sidebar nav a {
    flex-direction: row;
    min-height: 49px;
    gap: 12px;
    justify-content: flex-start;
    padding: 10px 15px;
    font-size: 13px;
    text-align: left;
  }
  .sidebar nav a br {
    display: none;
  }
  .about-link {
    flex-direction: row;
    justify-content: center;
    font-size: 11px;
  }
  .workspace {
    margin-left: 0;
  }
  .topbar {
    height: 65px;
    padding: 0 16px;
    gap: 14px;
  }
  .topline {
    display: none;
  }
  .top-actions {
    width: 100%;
    gap: 9px;
  }
  #start-over {
    font-size: 9px;
    padding: 7px;
  }
  .home:not(.chat-active) {
    padding: 15px 18px 24px;
  }
  .home-logo {
    width: 215px;
    margin: 0 auto 4px;
  }
  .home h1 {
    font-size: 25px;
    letter-spacing: -0.8px;
  }
  .hero-copy {
    font-size: 12px;
    max-width: 300px;
    margin: 0 auto 22px;
  }
  .composer textarea {
    font-size: 14px;
    padding: 18px;
    min-height: 113px;
  }
  .composer-bottom {
    padding: 0 12px 12px;
  }
  .composer-controls {
    gap: 10px;
  }
  .guide-chip {
    font-size: 9px;
  }
  .dictate span {
    display: none;
  }
  .dictate {
    padding: 10px 3px;
  }
  #send {
    font-size: 11px;
    padding: 9px 12px;
  }
  .composer-note {
    font-size: 9px;
  }
  .examples {
    margin-top: 19px;
  }
  .suggestions {
    gap: 3px;
  }
  .suggestion {
    font-size: 10px;
    line-height: 1.35;
    gap: 9px;
  }
  .shortcut-icon {
    width: 43px;
    height: 43px;
    border-radius: 13px;
  }
  .home-links {
    margin-top: 21px;
    padding-top: 19px;
    gap: 13px 18px;
    font-size: 10px;
  }
  .home-links svg {
    display: none;
  }
  .chat-active {
    padding: 23px 18px;
  }
}

.emergency-notice {
  margin: 0;
  padding: 10px 20px;
  text-align: center;
  color: #20334f;
  background: #eef5f3;
  font-size: 14px;
  line-height: 1.5;
}
.emergency-notice a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.review-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px;
  background: #eef5f3;
  border-radius: 16px;
  margin-bottom: 24px;
}
/* Verification always has a text label as well as its colored dot. */
.verification-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 650;
  white-space: nowrap;
  align-self: flex-start;
  width: max-content;
  max-width: 100%;
}
.verification-status.is-verified { color: #17613a; background: #edf7f0; border-color: #bfdfca; }
.verification-status.is-verified .verification-dot {
  background: #00c853;
  box-shadow: 0 0 0 1px #087f35;
}
.verification-status.not-verified { color: #425568; background: #f0f3f6; border-color: #d7e0e7; }
.verification-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: currentColor;
}
.verification-summary {
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f5f8f6;
}
.verification-summary p { margin: 4px 0 0; }
.approval-filters {
  align-items: flex-end;
  margin-bottom: 22px;
}
.approval-filters label {
  min-width: 170px;
  flex: 1 1 180px;
  font-size: 12px;
  font-weight: 650;
}
.approval-filters select,
.approval-filters input {
  width: 100%;
  margin-top: 6px;
}
.review-comparison {
  overflow-x: auto;
  margin: 18px 0;
}
.review-comparison table {
  width: 100%;
  border-collapse: collapse;
}
.review-comparison th,
.review-comparison td {
  text-align: left;
  vertical-align: top;
  padding: 12px;
  border-bottom: 1px solid #dbe4e5;
  min-width: 130px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
#review-work select,
#review-work input,
#invitation-text {
  max-width: 100%;
}
#review-work details {
  margin: 16px 0;
}
#review-work summary {
  cursor: pointer;
  padding: 12px 0;
  font-weight: 600;
}
#service-editor:empty,
#org-service-editor:empty {
  display: none;
}

.organization-note-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.note-conversation {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.note-reply {
  margin: 12px 0;
  border-left: 3px solid var(--teal);
  padding: 10px 14px;
  background: var(--soft);
}
.note-conversation textarea {
  width: 100%;
  min-height: 100px;
}
[data-note-earlier][hidden] {
  display: none;
}
#organization-notes {
  margin-top: 28px;
}

.review-stage-notice {
  margin: 0;
  padding: 8px 20px;
  text-align: center;
  font-size: 13px;
  color: #425a65;
  background: #f5f8f7;
}
.match-label { font-size: 13px; padding: 8px 10px; border-radius: 6px; background: #edf5f1; color: #275b43; }
.match-label.conditional, .match-label.referral { background: #f8f3e8; color: #69512d; }

.organization-actions { margin-bottom: 24px; padding: 20px; background: var(--soft); border-radius: 16px; }
.organization-actions h3 { margin-bottom: 12px; }
.organization-post-text, .thread-reply p { white-space: pre-wrap; overflow-wrap: anywhere; }
.audience-note { background: var(--soft); border-left: 3px solid var(--teal); padding: 16px; margin: 20px 0; }
.audience-note p { margin: 8px 0 0; }
.organization-thread { width: min(720px, calc(100vw - 32px)); }
.thread-replies { margin: 18px 0 28px; }
.thread-reply { border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin: 12px 0; }
.thread-reply > span { display: block; margin-top: 4px; }
.thread-reply p { margin: 12px 0 0; }
.organization-post-status { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; margin: 18px 0; }
.organization-post-status label { flex: 1 1 180px; }
.organization-post-status .form-error { flex-basis: 100%; }

/* Workspace tabs keep their editors mounted, including unsaved drafts. */
[role="tabpanel"][hidden] { display: none !important; }
.organization-tabs { flex-wrap: wrap; margin: 1.5rem 0; }
.organization-tabs [role="tab"]:focus-visible { outline: 3px solid #2f6d78; outline-offset: 3px; }

/* Public resource presentation: status is a compact label, never a warning bar. */
.resource-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.resource-topline .card-tag, .resource-topline .eyebrow { margin: 5px 0 0; min-width: 0; font-size: 14px; letter-spacing: .3px; }
.resource-topline .verification-status { flex: 0 0 auto; margin-left: auto; }
.detail-topline { padding-right: 40px; }
.resource-card h3 { font-size: 21px; line-height: 1.3; margin-bottom: 8px; }
.resource-card .org-name { color: #465b6d; font-size: 16px; line-height: 1.45; margin-bottom: 10px; }
.resource-card p { font-size: 16px; line-height: 1.55; }
.resource-card .resource-area { font-size: 14px; color: #465b6d; margin-bottom: 10px; }
.resource-card .card-actions { margin: 0 0 16px; padding: 0; }
.card-actions .primary, .card-actions .secondary, .details-button { min-height: 44px; font-size: 14px; padding: 10px 12px; }
.details-button { margin-left: 0; border: 1px solid #cbd9de; border-radius: 9px; background: #fff; color: #315568; text-decoration: none; }
.details-button:hover { background: #f0f5f6; }
.resource-access { margin-bottom: 16px; }
.resource-access > strong, .requirements strong { font-size: 14px; color: #365467; }
.resource-access p { margin: 4px 0 0; white-space: pre-line; }
.requirements { font-size: 16px; color: #465b57; }
.resource-card .check-note { display: block; font-size: 14px; color: #465b6d; margin: 0 0 12px; }
.resource-card .match-label { padding: 0; margin: 0; font-size: 14px; background: transparent; color: #465b6d; }
.service-results { grid-template-columns: minmax(0, 1fr); align-items: start; }
.service-card .card-tag { color: var(--teal-dark); overflow-wrap: anywhere; }
.service-card .resource-description { margin-bottom: 16px; }
.service-card .card-actions { margin: 0; }
.resource-more { margin-top: 16px; border-top: 1px solid var(--line); }
.resource-more > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  list-style: none;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 650;
}
.resource-more > summary::-webkit-details-marker { display: none; }
.resource-chevron {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  margin-right: 4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.resource-more[open] > summary .resource-chevron { transform: rotate(225deg); }
.resource-facts { display: grid; gap: 16px; margin: 4px 0 12px; }
.resource-facts dt { font-size: 14px; font-weight: 650; color: #365467; margin-bottom: 4px; }
.resource-facts dd { margin: 0; font-size: 16px; line-height: 1.55; color: #465b57; white-space: pre-line; overflow-wrap: anywhere; }
.resource-facts a { overflow-wrap: anywhere; }
.resource-dialog > #resource-detail > p { font-size: 16px; }
.resource-dialog .fine, .detail-row strong, .source-links { font-size: 14px; color: #465b6d; }
.detail-row p { font-size: 16px; color: #3f5662; line-height: 1.6; }
.detail-row a { text-underline-offset: 3px; }
.detail-row a svg { width: 14px; height: 14px; vertical-align: middle; }
.sidebar { width: 136px; }
.workspace { margin-left: 136px; }
.sidebar nav a, .sidebar .about-link { font-size: 14px; color: #46576a; line-height: 1.4; }
.sidebar nav a { padding: 12px 8px; }
.county, #start-over, .site-footer, .home-links, .suggestion { font-size: 14px; color: #46576a; }
.county i { display: none; }
.site-footer { line-height: 1.5; }
.hero-copy { font-size: 16px; color: #46576a; }
.composer textarea { font-size: 16px; }
.composer-bottom { justify-content: flex-end; }
.composer-controls { flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.dictate, #send { font-size: 14px; min-height: 44px; }
.dictate { display: inline-flex; gap: 7px; align-items: center; color: #46576a; }
.dictate span { display: inline; }
.composer-note { font-size: 14px; line-height: 1.5; color: #46576a; text-align: left; display: block; }
.composer-note > svg { width: 14px; height: 14px; vertical-align: middle; margin-right: 4px; }
#voice-note { font-size: 14px; color: #46576a; }
#voice-note[hidden] { display: none; }
.examples { margin: 18px 0 22px; }
.home-links { margin-top: 18px; padding-top: 16px; }
.chat-header { padding-bottom: 12px; margin-bottom: 16px; }
.chat-header strong, .chat-header small, .topic-heading { font-size: 14px; color: #46576a; }
.messages { gap: 16px; }
.assistant-message > p { font-size: 16px; }
.user-message { font-size: 16px; padding: 10px 14px; }
.menu-backdrop { display: none; }
@media (max-width: 760px) {
  .sidebar { width: min(300px, calc(100vw - 44px)); }
  .workspace { margin-left: 0; }
  .sidebar nav a { font-size: 16px; }
  .menu-backdrop:not([hidden]) { display: block; position: fixed; inset: 0; width: 100%; height: 100%; z-index: 19; border: 0; border-radius: 0; padding: 0; background: #1e315466; }
  .topbar { min-height: 72px; height: auto; padding: 10px 14px; gap: 8px; }
  .top-actions { min-width: 0; gap: 8px; }
  .mobile-brand { flex: 1; min-width: 0; font-size: 14px; line-height: 1.35; }
  .mobile-brand small { font-size: 12px; }
  #start-over { font-size: 14px; max-width: 118px; min-height: 44px; padding: 8px; white-space: normal; }
  .home-logo { width: 180px; }
  .home h1 { font-size: 27px; line-height: 1.2; }
  .hero-copy { font-size: 16px; margin-bottom: 18px; }
  .composer textarea { font-size: 16px; min-height: 108px; }
  .composer-bottom { padding: 0 12px 12px; }
  .dictate { padding: 8px 5px; }
  .dictate span { display: inline; }
  #send, .suggestion, .composer-note, .home-links { font-size: 14px; }
  .suggestions { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .suggestion { flex-direction: row; text-align: left; justify-content: flex-start; padding: 8px; gap: 8px; }
  .shortcut-icon { width: 36px; height: 36px; flex: 0 0 36px; }
  .resource-card { padding: 18px; }
  .resource-dialog { padding: 20px; }
  .verification-status { font-size: 14px; padding: 4px 8px; gap: 5px; }
  .detail-topline { gap: 6px; }
  .chat-active { padding: 16px 18px; }
  .site-footer { font-size: 14px; }
}
[data-note-search] label { display: grid; gap: .4rem; }
[data-notes-status] { min-height: 1.5em; }
.signup-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0 0 24px;
  border-bottom: 1px solid var(--line);
}
.signup-steps li { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.signup-steps li > span { display: grid; place-items: center; flex: 0 0 32px; height: 32px; border-radius: 50%; color: var(--teal-dark); background: var(--mint); font-weight: 700; }
.signup-steps strong { font-size: 15px; color: var(--ink); }
.signup-steps p { margin: 6px 0 0; font-size: 14px; line-height: 1.55; }

/* The private admin workspace has its own navigation and a clear task area. */
body.admin-mode { background: #f5f7fa; }
.admin-mode .sidebar, .admin-mode .menu-toggle, .admin-mode #menu-backdrop, .admin-mode .emergency-notice { display: none; }
.admin-mode .workspace { margin-left: 0; }
.admin-mode .topbar { background: #fff; border-bottom: 1px solid var(--line); }
.admin-page { max-width: 1280px; padding: 32px 28px 48px; }
.admin-page > .page-heading { margin-bottom: 24px; }
.admin-page > .page-heading h1 { font-size: 34px; margin-bottom: 8px; }
.admin-page > .page-heading .eyebrow { margin-bottom: 8px; font-size: 12px; color: var(--teal-dark); }
.admin-page > .page-heading p { margin-bottom: 0; font-size: 15px; color: #526174; }
.admin-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; }
.admin-stat { display: grid; gap: 10px; text-align: left; padding: 20px; border: 1px solid #dce5ec; border-radius: 14px; background: #fff; color: var(--navy); min-width: 0; }
.admin-stat:hover { background: #f4f9fc; border-color: #a1bdcd; }
.admin-stat-heading { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 650; }
.admin-stat-heading svg { width: 19px; height: 19px; color: var(--teal-dark); }
.admin-stat strong { font-size: 32px; line-height: 1.1; font-weight: 750; color: #1555a2; }
.admin-stat-copy { font-size: 13px; line-height: 1.4; color: #526174; }
.admin-layout { display: grid; grid-template-columns: 216px minmax(0, 1fr); gap: 24px; align-items: start; }
.admin-main { min-width: 0; }
.admin-main > #admin-attention-status { margin: 0 0 14px; font-size: 14px; }
.admin-page .admin-nav { display: block; position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; padding: 16px 10px; border-radius: 14px; }
.admin-nav-group + .admin-nav-group { margin-top: 24px; }
.admin-page .admin-nav-label { margin: 0 12px 8px; font-size: 12px; font-weight: 700; color: #526174; }
.admin-page .admin-nav-group > div { display: grid; gap: 4px; }
.admin-page .admin-nav .tab { width: 100%; padding: 11px 10px; gap: 10px; border-radius: 9px; font-size: 14px; line-height: 1.4; color: #3b5067; }
.admin-nav .tab > svg { width: 19px; height: 19px; flex: 0 0 19px; }
.admin-nav .tab > span:not(.admin-badge) { flex: 1; min-width: 0; }
.admin-page .admin-nav .tab.active { color: #154e8d; background: #eaf3ff; border-color: #c6ddf8; }
.admin-nav .admin-badge { flex-shrink: 0; margin-left: auto; }
.admin-mobile-nav { display: none; }
.admin-page .admin-list { gap: 20px; }
.admin-page .panel { padding: 24px; border-radius: 14px; border-color: #dce5ec; box-shadow: 0 2px 10px #18304b04; }
.admin-page .panel > h3, .admin-page .admin-panel-heading h3 { font-size: 19px; margin: 0 0 8px; color: var(--navy); }
.admin-page .panel p, .admin-page .admin-item p, .admin-page .fine, .admin-page .admin-meta { font-size: 14px; line-height: 1.6; color: #526174; }
.admin-page .admin-item { padding: 20px; border-color: #dce5ec; border-radius: 12px; background: #f9fbfd; }
.admin-page .admin-item h4 { font-size: 18px; line-height: 1.4; color: var(--navy); margin: 0 0 10px; }
.admin-page .admin-item h3 { font-size: 20px; }
.admin-page label { font-size: 14px; color: #3b5067; }
.admin-page input, .admin-page select, .admin-page textarea { background: #fff; border-color: #c9d6e0; border-radius: 8px; font-size: 15px; }
.admin-page input::placeholder, .admin-page textarea::placeholder { color: var(--muted); opacity: 1; }
.admin-page .admin-section-heading { border: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin: 0; padding: 0 0 4px; }
.admin-section-heading h2 { font-size: 25px; line-height: 1.3; margin: 0 0 8px; }
.admin-section-heading p { font-size: 14px; line-height: 1.6; margin: 0; max-width: 580px; }
.admin-section-heading > button { flex: 0 0 auto; }
.account-request-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin: 20px 0; }
.account-request-filters label { display: grid; gap: 6px; width: 200px; max-width: 100%; }
.account-request-filters select { margin: 0; }
.account-request-list { display: grid; gap: 16px; }
.admin-page .account-request-card { margin: 0; background: #f9fbfd; }
.account-request-heading { display: flex; align-items: flex-start; gap: 12px; }
.account-request-icon { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border-radius: 10px; background: var(--mint); color: var(--teal-dark); }
.account-request-heading > div { flex: 1; min-width: 0; }
.admin-page .account-request-heading h4 { margin: 0 0 4px; }
.admin-page .account-request-heading p { font-size: 13px; margin: 0; }
.request-state { display: inline-flex; padding: 5px 9px; border-radius: 20px; color: #214e8a; background: #eaf2ff; font-size: 12px; line-height: 1.4; font-weight: 650; }
.request-state[data-status="approved"] { color: #17613a; background: #edf7f0; }
.account-request-contacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 22px 0 8px; }
.account-request-contacts dt { font-size: 12px; color: #526174; margin-bottom: 4px; }
.account-request-contacts dd { margin: 0; font-size: 14px; color: var(--ink); overflow-wrap: anywhere; }
.account-request-contacts a { color: var(--teal-dark); overflow-wrap: anywhere; }
.account-request-history { border-top: 1px solid #dce5ec; padding-top: 4px; }
.account-request-history summary { font-size: 14px; color: #3b5067; }
.admin-request-pagination[hidden] { display: none; }
.admin-empty-state { padding: 24px; text-align: center; background: #f7fafc; border: 1px dashed #cbd8e2; border-radius: 12px; }
.admin-empty-state > span { display: inline-grid; place-items: center; width: 40px; height: 40px; color: var(--teal-dark); background: var(--mint); border-radius: 50%; margin-bottom: 10px; }
.admin-page .admin-empty-state h4 { margin: 0 0 4px; font-size: 17px; }
.admin-page .admin-empty-state p { margin: 0; }
@media (max-width: 900px) {
  .admin-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 18px; }
  .account-request-contacts { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
@media (max-width: 760px) {
  .signup-steps { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .admin-page { padding: 24px 16px 36px; }
  .admin-page > .page-heading h1 { font-size: 28px; }
  .admin-page .page-actions { margin-top: 14px; }
  .admin-overview { gap: 8px; margin-bottom: 20px; }
  .admin-stat { padding: 14px 10px; gap: 8px; border-radius: 12px; }
  .admin-stat-heading { font-size: 13px; }
  .admin-stat-heading svg, .admin-stat-copy { display: none; }
  .admin-stat strong { font-size: 27px; }
  .admin-layout { display: block; }
  .admin-page .admin-nav { display: none; }
  .admin-mobile-nav { display: grid; gap: 7px; margin-bottom: 18px; }
  .admin-mobile-nav label { font-size: 14px; font-weight: 650; }
  .admin-mobile-nav select { width: 100%; margin: 0; }
  .admin-page .panel { padding: 18px; }
  .admin-page .admin-item { padding: 16px; }
  .admin-page .admin-section-heading { display: block; margin-bottom: 4px; }
  .admin-section-heading > button { margin-top: 14px; }
  .account-request-heading { flex-wrap: wrap; }
  .account-request-heading > div { flex-basis: calc(100% - 52px); }
  .account-request-heading .request-state { margin-left: 52px; }
  .account-request-filters { gap: 10px; }
  .account-request-filters label { flex: 1 1 140px; width: auto; }
  .account-request-filters > button { flex: 1 1 auto; }
}
.help-guide-links {
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}
.help-guide-links a {
  padding: 8px 12px;
  border-radius: 8px;
}

/* Important pointer controls use the 44px design target on every screen size.
   Inline prose links keep their natural flow. Checkboxes/radios use their
   associated clickable labels, rather than enlarging the native indicator. */
@media screen {
  button,
  a.primary,
  a.secondary,
  a.details-button,
  a[data-contact-kind],
  .sidebar nav a,
  .rail-brand,
  .sidebar .about-link,
  .home-links a,
  .site-footer a,
  .source-links a,
  .resource-facts a,
  .help-guide-links a,
  .statement-contact a,
  .account-request-contacts a,
  #account-work > p > a,
  .skip,
  summary {
    min-width: var(--control-target-size);
    min-height: var(--control-target-size);
  }
  .icon-button {
    width: var(--control-target-size);
    height: var(--control-target-size);
    flex-shrink: 0;
  }
  .sidebar .about-link,
  .home-links a,
  .site-footer a,
  .source-links a,
  .resource-facts a,
  .help-guide-links a,
  .statement-contact a,
  .account-request-contacts a,
  a[data-contact-kind],
  #account-work > p > a {
    display: inline-flex;
    align-items: center;
  }
  summary {
    padding-block: 10px;
    cursor: pointer;
  }
  .check {
    min-width: var(--control-target-size);
    min-height: var(--control-target-size);
    padding-block: 8px;
    cursor: pointer;
  }
  label:has(> input[type="checkbox"]),
  label:has(> input[type="radio"]) {
    min-width: var(--control-target-size);
    min-height: var(--control-target-size);
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding-block: 8px;
    cursor: pointer;
  }
  .source-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* Keep every requested need discoverable before the longer contact lists. */
.need-overview { margin: 20px 0; padding: 16px; background: var(--teal-light, #eef6f5); border-radius: 12px; }
.need-overview p { margin: 0 0 8px; font-weight: 650; }
.need-overview ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.need-overview a { display: inline-flex; align-items: center; min-height: var(--control-target-size, 44px); min-width: var(--control-target-size, 44px); padding: 10px 14px; color: var(--teal-dark, #075e62); background: #fff; border: 1px solid #b6cecc; border-radius: 8px; text-underline-offset: 3px; }
.need-result-group { margin: 22px 0; scroll-margin-top: 100px; }
.need-result-group .topic-heading { font-size: 18px; color: var(--navy, #173444); }
.more-service-matches { margin-top: 12px; }
.more-service-matches > summary { display: list-item; min-height: var(--control-target-size, 44px); padding: 12px 14px; border: 1px solid #b6cecc; border-radius: 8px; color: var(--teal-dark, #075e62); background: #fff; cursor: pointer; }
.more-service-matches[open] > summary { margin-bottom: 12px; }
.search-interpretation-note { padding: 12px 14px; border-left: 3px solid #91adaa; background: #f1f6f5; color: #344f5d; }

/* Invitation activity remains readable without horizontal scrolling. */
.invitation-toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; margin-bottom: 16px; }
.invitation-toolbar label { flex: 1 1 220px; min-width: 0; }
.invitation-toolbar input, .invitation-toolbar select { width: 100%; }
.invitation-person h4, .invitation-person p { overflow-wrap: anywhere; }
.invitation-statuses { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.invitation-statuses span { min-width: 0; }

/* WebKit's native popup sizing can ignore min-height. Keep the same 44px
   target as other controls, with a visible dropdown indicator. */
select {
  appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23294738' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}
