:root {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  color: #222923;
  background: #fcfcfa;
  font-synthesis: none;
  --green: #223e30;
  --ink: #222923;
  --line: #dce0d7;
  --muted: #5e675f;
  --accent: #b57f49;
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 18px;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button,
a {
  color: inherit;
}
button {
  cursor: pointer;
}
a {
  text-decoration: none;
}
button {
  background: none;
  border: 0;
}
button:disabled {
  cursor: default;
  opacity: 0.52;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #986735;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  letter-spacing: -0.04em;
}
h1,
h2 {
  font-weight: 560;
}
.section {
  width: min(1460px, calc(100% - clamp(36px, 8.4vw, 152px)));
  margin-inline: auto;
}
header {
  background: #fcfcfa;
}
.textBtn:hover {
  color: #7d522e;
}
.primary,
.outlined,
.iconBtn,
.small,
.pager button,
.search,
footer button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.primary,
.outlined {
  border-radius: 5px;
  min-height: 43px;
  padding: 11px 18px;
  font-size: 0.94rem;
  font-weight: 580;
}
.outlined:hover {
  background: #edf0e9;
}
.primary {
  background: var(--green);
  color: white;
}
.primary:hover {
  background: #35513f;
}
.outlined {
  border: 1px solid #b6c0b6;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  color: #536750;
}
.eyebrow i {
  width: 27px;
  height: 2px;
  background: #8d9b73;
}
.subHead,
.tools {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
.subHead {
  justify-content: space-between;
}
.workspace h1 {
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  line-height: 1.07;
  margin: 12px 0 0;
}
.search {
  justify-content: flex-start;
  padding: 11px 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
  min-width: 220px;
  color: var(--muted);
}
.search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0;
  min-width: 0;
}
.search:focus-within {
  outline: 2px solid #8b9d86;
}
.search input:focus-visible {
  outline: none;
}
.pills {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.pills button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 24px;
  padding: 9px 16px;
  font-size: 0.9rem;
  line-height: 1.3;
}
.pills button.active {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.pills button:not(.active):hover {
  background: #f1f3ee;
}
.muted,
.subHead span,
small {
  color: var(--muted);
}
small {
  font-size: 0.85rem;
}
.pager {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  margin: 28px auto 0;
}
.pager button,
.iconBtn {
  border: 1px solid var(--line);
  border-radius: 5px;
  width: 38px;
  height: 38px;
}
.pager span {
  color: var(--muted);
  font-size: 0.9rem;
}
.empty,
.panel,
.record,
.success,
.error {
  padding: 18px;
  border-radius: 6px;
}
.empty,
.panel,
.record {
  background: #f1f3ee;
}
.empty {
  text-align: center;
}
.success {
  background: #e5eee4;
  color: #2b4a32;
}
.error {
  color: #842c26;
  background: #f9eae5;
}
.success svg {
  vertical-align: middle;
}
.workspace {
  padding: 22px 0 64px;
  min-height: 62vh;
}
.workspace h1 {
  margin: 10px 0 25px;
}
.workspace h2,
.dialogHead h2 {
  font-size: clamp(1.4rem, 2.25vw, 2.05rem);
  margin: 0 0 13px;
}
.workspace h3 {
  font-size: 1.2rem;
  margin: 26px 0 12px;
}
.manageTabs {
  margin: 0 0 30px;
}
.tools {
  margin: 12px 0;
}
.tableWrap {
  overflow-x: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 0.92rem;
}
td,
th {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
th {
  background: #eef1eb;
  color: #526050;
  font-weight: 580;
  white-space: nowrap;
}
td small,
.record small,
.record strong {
  display: block;
  margin: 3px 0;
}
td b {
  font-weight: 600;
}
.small {
  min-height: 32px;
  padding: 5px 10px;
  font-size: 0.85rem;
}
.textBtn {
  padding: 4px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.record {
  margin: 8px 0;
}
.record p,
.panel p {
  margin: 7px 0;
  line-height: 1.5;
}
.panel h3 {
  margin-top: 0;
}
.panel form {
  max-width: 550px;
}
.settingsForm {
  max-width: 820px;
}
.subHead h2 {
  margin: 0;
}
.subHead {
  margin: 10px 0;
}
.settingsForm label,
.panel form label,
dialog label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 540;
  margin: 13px 0;
}
.settingsForm input,
.settingsForm select,
.panel input,
dialog input,
dialog select,
dialog textarea,
.tools select {
  border: 1px solid #bac2b8;
  border-radius: 5px;
  background: white;
  color: var(--ink);
  padding: 11px 12px;
  max-width: 100%;
  min-width: 0;
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10'%3E%3Cpath d='m2 2 6 6 6-6' fill='none' stroke='%23556455' stroke-width='1.6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  padding-right: 36px !important;
}
.inline {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: flex-start;
  font-weight: 400 !important;
}
.inline input {
  width: auto;
}
.settingsForm > .primary,
.panel form > .primary {
  margin-top: 14px;
}
.settingsForm .tableWrap {
  max-height: 400px;
  overflow: auto;
}
dialog {
  border: 0;
  border-radius: 10px;
  padding: 0;
  max-height: 90vh;
  max-height: 90dvh;
  width: min(450px, 92vw);
  color: var(--ink);
  background: #fcfcfa;
  box-shadow: 0 18px 70px #101b1840;
}
dialog::backdrop {
  background: #15201899;
}
.dialogInner {
  padding: 27px;
}
.dialogHead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.dialogHead h2 {
  margin: 3px 0 12px;
  line-height: 1.1;
}
.iconBtn {
  flex: none;
  background: transparent;
}
.dialogInner p {
  line-height: 1.55;
}
.dialogInner form > .primary {
  width: 100%;
  margin: 4px 0 12px;
}
.wide {
  width: min(790px, 94vw);
}
dl {
  margin: 14px 0;
}
dt {
  font-size: 0.84rem;
  color: var(--muted);
}
dd {
  margin: 4px 0 12px;
}
footer {
  border-top: 1px solid var(--line);
  padding: 23px 0 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
footer button {
  color: #435441;
}
@media (max-width: 650px) {
  .section {
    width: calc(100% - 32px);
  }
  .pills button {
    padding: 8px 11px;
    font-size: 0.85rem;
  }
  .workspace {
    padding-block: 22px;
  }
  .dialogInner {
    padding: 18px;
  }
  .eyebrow {
    font-size: 0.75rem;
  }
  .tools .search {
    width: 100%;
  }
  footer button {
    font-size: 0.85rem;
  }
  .record {
    overflow-wrap: anywhere;
  }
  td,
  th {
    padding: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
