* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f6f8f2;
  color: #183e35;
  font:
    16px/1.6 system-ui,
    sans-serif;
}
header,
main {
  max-width: 1200px;
  margin: auto;
  padding: 24px;
}
header,
.toolbar {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
header {
  border-bottom: 1px solid #d9dfd4;
}
header strong {
  flex: 1;
}
a {
  color: #205b49;
}
h1 {
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.2;
}
.toolbar h1 {
  flex: 1;
}
button,
input,
select,
textarea {
  font: inherit;
  border: 1px solid #cbd5c8;
  border-radius: 10px;
  padding: 12px;
  background: white;
  color: inherit;
  max-width: 100%;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #6b9448;
  outline-offset: 3px;
}
textarea {
  display: block;
  width: 100%;
  min-height: 120px;
  resize: vertical;
}
.support-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
}
.support-layout aside {
  min-width: 0;
}
#operatorThread,
.request-card {
  background: white;
  border: 1px solid #d9dfd4;
  border-radius: 16px;
  padding: 20px;
  overflow-wrap: anywhere;
}
.request-card {
  display: block;
  width: 100%;
  text-align: left;
  margin-bottom: 10px;
}
.request-card[aria-current='true'] {
  border: 2px solid #215b48;
}
.request-card small {
  display: block;
}
.overdue {
  color: #a34119;
  font-weight: 700;
}
.message {
  padding: 15px;
  background: #eff3e8;
  border-radius: 12px;
  margin: 12px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.message.internal {
  background: #fff3d9;
  border-left: 4px solid #b47712;
}
label {
  display: block;
  margin: 12px 0;
}
form button {
  margin: 12px 8px 0 0;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.policy {
  max-width: 800px;
}
#operatorStatus {
  overflow-wrap: anywhere;
}
[hidden] {
  display: none !important;
}
@media (max-width: 700px) {
  header,
  main {
    padding: 16px;
  }
  .support-layout {
    grid-template-columns: 1fr;
  }
  .support-layout aside {
    max-height: 350px;
    overflow: auto;
  }
  button {
    min-height: 44px;
  }
}
