@font-face {
  font-family: Inter;
  src: url("./inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --background: #f8f7f0;
  --foreground: #17211b;
  --muted: #52655b;
  --panel: #fff;
  --border: #d7ddd8;
  --accent: #0f766e;
  --header: #153b35;
  --pale: #dceee7;
  color-scheme: light;
  font-family: Inter, system-ui, sans-serif;
  color: var(--foreground);
  background: var(--background);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
select {
  touch-action: manipulation;
}
a {
  color: var(--accent);
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[data-focus-visible] {
  outline: 3px solid #09857a;
  outline-offset: 4px;
}
h1:focus {
  outline: none;
}
.header {
  background: var(--header);
  color: white;
}
.bar,
main,
.foot {
  width: min(100%, 1160px);
  margin-inline: auto;
}
.bar {
  height: 80px;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  text-decoration: none;
  color: white;
  display: grid;
  gap: 4px;
}
.brand small {
  font-size: 11px;
  color: #a9d9c9;
  font-weight: 700;
  letter-spacing: 0.11em;
}
.brand strong {
  font-size: 27px;
  line-height: 1.15;
  font-weight: 600;
}
.switcher {
  position: relative;
}
.switcher summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 0 10px 10px;
  list-style: none;
}
.switcher summary::-webkit-details-marker {
  display: none;
}
.switcher summary:after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 4px 3px 10px;
  border: solid #a9d9c9;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.switcher nav {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 5;
  min-width: 210px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  box-shadow: 0 8px 30px #142c2220;
  padding: 5px;
}
.switcher a {
  display: block;
  text-decoration: none;
  font-size: 14px;
  color: var(--foreground);
  padding: 11px 12px;
  border-radius: 5px;
}
.switcher a:hover,
.switcher a:focus {
  background: #ebf4ef;
}
main {
  padding: 29px 40px 50px;
  min-height: calc(100svh - 155px);
}
.crumb,
.kicker {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  min-height: 15px;
}
.crumb a {
  color: inherit;
  text-decoration: none;
}
.crumb a:hover,
.textlink:hover {
  text-decoration: underline;
}
h1 {
  font-size: clamp(1.95rem, 4vw, 2.44rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 15px 0 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}
h2 {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.018em;
}
h3 {
  font-size: 17px;
  margin: 0 0 7px;
}
.intro {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  margin: 14px 0 18px;
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 714fr) minmax(245px, 332fr);
  gap: 32px;
  align-items: start;
}
.card {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  padding: 21px 23px 27px;
  min-width: 0;
}
.primarycard.create {
  min-height: 415px;
}
.inner {
  max-width: 620px;
}
.side {
  padding: 21px;
  min-height: 240px;
}
.side h2 {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.side dl {
  margin: 20px 0 0;
}
.side dt {
  font-size: 13px;
  color: var(--muted);
  margin-top: 19px;
}
.side dd {
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.side dt.kicker {
  font-size: 11px;
  color: var(--accent);
  margin-top: 22px;
}
.side dt.kicker ~ dd {
  color: var(--muted);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  margin: 10px 0 30px;
}
.side dd:last-child {
  margin-bottom: 7px;
}
.rowtitle {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.pill {
  background: var(--pale);
  color: var(--header);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.3;
  padding: 6px 11px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.status {
  color: var(--accent);
}
.field {
  display: block;
  margin: 30px 0 0;
}
.field span,
.filter span {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
input,
textarea,
select {
  border: 1px solid #a4b7ae;
  border-radius: 5px;
  background: white;
  color: var(--foreground);
  padding: 11px 13px;
  line-height: 1.5;
}
input,
textarea {
  width: 100%;
  font-size: 15px;
}
input {
  height: 46px;
}
textarea {
  resize: vertical;
  display: block;
  min-height: 82px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid #2c2c2c;
  background: #2c2c2c;
  color: #fff;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
}
.button:hover,
.button[data-hovered] {
  background: #181818;
}
.button-variant-neutral {
  background: #e3e3e3;
  border-color: #888;
  color: #222;
}
.button-variant-neutral:hover,
.button-variant-neutral[data-hovered] {
  background: #d8d8d8;
}
.textlink {
  border: 0;
  padding: 6px 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-weight: 550;
  text-decoration: none;
  cursor: pointer;
}
.actions .textlink {
  font-size: 14px;
}
.history,
.caseList {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}
.history li {
  display: grid;
  grid-template-columns: 9px 1fr;
  gap: 13px;
  margin-top: 12px;
}
.history img {
  margin-top: 6px;
}
.history article {
  border-bottom: 1px solid var(--border);
  padding: 0 0 13px;
  min-width: 0;
}
.history header,
.caseRow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}
.history strong,
.caseRow strong {
  font-size: 16px;
  font-weight: 600;
}
.history time,
.caseRow small {
  font-size: 12px;
  color: var(--muted);
}
.history p,
.bodyText {
  line-height: 1.5;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.history p {
  font-size: 14px;
  margin: 5px 0 0;
  white-space: pre-line;
}
.caseRow {
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--foreground);
  margin: 10px 0;
}
.caseRow:hover {
  background: #f5faf7;
  border-color: #8cb9ac;
}
.caseRow small {
  display: block;
  margin-top: 7px;
}
.caseRow .status {
  font-size: 14px;
  font-weight: 550;
  white-space: nowrap;
}
.caseRow strong {
  overflow-wrap: anywhere;
}
.filter {
  display: block;
  margin: 24px 0 0;
}
.filter select {
  font-size: 14px;
  padding: 6px 10px;
}
.stack {
  margin-top: 22px;
}
.voicegrid {
  margin-top: 48px;
}
.voicecard {
  padding: 20px 24px 24px;
}
.voicecard h2 {
  font-size: 28px;
  margin: 23px 0 18px;
}
.voicecard .bodyText {
  font-size: 17px;
  max-width: 585px;
}
.voicecard .actions {
  flex-direction: column;
  align-items: stretch;
  max-width: 336px;
  gap: 9px;
  margin-top: 50px;
}
.voicecard .button {
  min-height: 46px;
}
.voicebadge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #e3f0e9;
  padding: 9px 13px;
  color: var(--header);
  border-radius: 6px;
  font-size: 14px;
  min-width: 220px;
}
.voicebadge:before {
  content: "";
  background: var(--accent);
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.voicebox {
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: 6px;
  margin: 20px 0 0;
}
.voicebox p {
  margin: 7px 0 0;
  color: var(--muted);
}
.voice-side {
  min-height: 174px;
}
.foot {
  padding: 18px 40px 24px;
  display: flex;
  gap: 12px 25px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
}
.foot nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.foot a {
  font-weight: 550;
  text-decoration: none;
}
.foot a:hover {
  text-decoration: underline;
}
.feedback {
  color: var(--accent);
  font-weight: 550;
  font-size: 14px;
}
.error {
  color: #99362e;
}
.wide {
  grid-column: 1/-1;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip {
  position: absolute;
  top: -100px;
  background: white;
  color: var(--header);
  padding: 12px;
  z-index: 10;
}
.skip:focus {
  top: 0;
}
@media (max-width: 720px) {
  .bar {
    height: 70px;
    padding: 0 21px;
  }
  .brand small {
    font-size: 10px;
  }
  .brand strong {
    font-size: 24px;
  }
  .switcher summary {
    font-size: 13px;
  }
  .personaPrefix {
    display: none;
  }
  main {
    padding: 24px 18px 36px;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .card,
  .voicecard {
    padding: 19px 17px 22px;
  }
  .side,
  .primarycard.create {
    min-height: initial;
  }
  .side dt.kicker ~ dd {
    margin-bottom: 17px;
  }
  .foot {
    padding: 16px 18px 22px;
  }
  .intro {
    margin-bottom: 19px;
  }
  .voicegrid {
    margin-top: 22px;
  }
  .voice-side {
    display: none;
  }
  .voicecard h2 {
    font-size: 23px;
  }
  .voicecard .bodyText {
    font-size: 16px;
  }
  .voicecard .actions {
    max-width: none;
    margin-top: 56px;
  }
  .voicebadge {
    max-width: 100%;
    min-width: 0;
    width: 86%;
  }
  h1 {
    font-size: 29px;
    margin-top: 12px;
  }
  .field {
    margin-top: 22px;
  }
  .caseRow {
    align-items: flex-start;
  }
  .pill {
    white-space: normal;
  }
  .foot nav {
    gap: 12px;
  }
  .actions {
    gap: 12px;
  }
}
