:root {
  color-scheme: dark;
  --bg: #111214;
  --panel: #191a1d;
  --raised: #202125;
  --line: #303135;
  --text: #efede8;
  --muted: #a5a5ab;
  --accent: #ddb27c;
  --green: #94c4a5;
  --red: #e8a39d;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
button,
input,
select {
  font: inherit;
}
button,
select,
input {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--raised);
  color: var(--text);
  padding: 10px 12px;
}
button,
select {
  cursor: pointer;
}
button:hover {
  border-color: #75634c;
  background: #292824;
}
button:focus-visible,
select:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
a {
  color: var(--accent);
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 30px;
  letter-spacing: -1px;
  margin-bottom: 7px;
}
h2 {
  font-size: 21px;
  letter-spacing: -0.35px;
}
h3 {
  font-size: 14px;
}
p {
  line-height: 1.55;
}
header p {
  margin-bottom: 0;
  color: var(--muted);
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 232px;
  padding: 36px 20px;
  background: #0c0d0f;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.brand {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1px;
  padding: 0 10px;
}
.brand span {
  color: var(--accent);
}
.brand small {
  display: block;
  color: #777880;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2.4px;
  margin-top: 10px;
}
.sidebar nav {
  margin-top: 50px;
  display: grid;
  gap: 7px;
}
.nav {
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
  background: transparent;
  border-color: transparent;
  color: var(--muted);
  padding: 12px 10px;
}
.nav span {
  font-size: 19px;
  width: 20px;
  color: #82838a;
}
.nav b {
  margin-left: auto;
  font-size: 11px;
  background: #36302a;
  color: var(--accent);
  padding: 3px 6px;
  border-radius: 4px;
}
.nav.active {
  background: #28221b;
  color: var(--accent);
  border-color: #473726;
}
.nav.active span {
  color: var(--accent);
}
.privacy {
  margin-top: auto;
  padding: 15px 10px;
  font-size: 12px;
  color: #c6c6c9;
}
.privacy p {
  font-size: 11px;
  color: #777880;
  margin: 10px 0 0;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  margin-right: 6px;
}
main {
  margin-left: 232px;
  padding: 34px 38px 24px;
  max-width: 1900px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.eyebrow {
  font-size: 9px !important;
  letter-spacing: 2px;
  color: var(--accent) !important;
  font-weight: 700;
  margin-bottom: 10px !important;
}
.header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
#notice {
  min-height: 18px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}
#notice.error {
  color: var(--red);
}
.summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.summary article {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(130deg, #202124, #18191b);
}
.summary strong {
  display: block;
  font-size: 28px;
  font-weight: 650;
  color: var(--text);
  margin: 7px 0 4px;
}
.summary span,
.summary small {
  color: var(--muted);
  font-size: 12px;
}
.summary small {
  font-size: 11px;
}
.toolbar {
  display: flex;
  gap: 12px;
  align-items: end;
  margin: 0 0 18px;
  flex-wrap: wrap;
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}
label select,
label input {
  font-size: 13px;
  font-weight: 400;
  min-height: 40px;
}
.search-label {
  flex: 1;
  min-width: 160px;
}
.export {
  font-size: 12px;
  min-height: 40px;
}
.inbox {
  display: grid;
  grid-template-columns: minmax(290px, 36%) minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
  background: var(--panel);
  height: max(410px, calc(100vh - 346px));
  max-height: 850px;
}
.list-pane {
  overflow-y: auto;
  border-right: 1px solid var(--line);
}
.list-heading {
  display: flex;
  justify-content: space-between;
  background: #17181b;
  color: #919197;
  padding: 14px 18px;
  font-size: 10px;
  letter-spacing: 0.4px;
  position: sticky;
  top: 0;
  z-index: 1;
  border-bottom: 1px solid var(--line);
}
.record {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 18px 20px;
  border-bottom: 1px solid #292a2e;
  position: relative;
}
.record:hover {
  background: #222327;
}
.record.selected {
  background: #2b251e;
  box-shadow: inset 3px 0 var(--accent);
}
.record-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 9px;
}
.tag {
  font-size: 9px;
  letter-spacing: 0.65px;
  font-weight: 650;
  color: var(--accent);
  text-transform: uppercase;
}
.record time {
  font-size: 10px;
  color: #929299;
  white-space: nowrap;
}
.record h3 {
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 5px;
  overflow-wrap: anywhere;
}
.record p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  margin-bottom: 9px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.record-foot {
  font-size: 10px;
  color: #909198;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.record .reviewed {
  color: var(--green);
}
.detail {
  padding: 28px 32px;
  overflow: auto;
  scrollbar-gutter: stable;
  min-width: 0;
}
.detail-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.detail-title h2 {
  margin: 12px 0 10px;
  overflow-wrap: anywhere;
}
.detail-date {
  color: var(--muted);
  font-size: 12px;
}
.detail-actions {
  display: flex;
  gap: 8px;
  margin: 20px 0 26px;
  flex-wrap: wrap;
}
.detail-actions button,
.download {
  font-size: 12px;
}
.detail-actions .marked {
  border-color: #536f59;
  color: var(--green);
}
.detail-actions .starred {
  border-color: #86673e;
  color: var(--accent);
}
.question {
  margin: 23px 0;
}
.question h3 {
  color: #c4c4c9;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 9px;
}
.answer {
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.answer.rating {
  font-size: 23px;
  color: var(--accent);
  letter-spacing: 3px;
}
.answer.empty-answer {
  color: #71727a;
  font-size: 12px;
}
.detail details {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 15px;
}
.detail summary {
  cursor: pointer;
  color: var(--accent);
  font-size: 12px;
  padding-bottom: 12px;
}
.tree {
  font-size: 12px;
}
.tree dl {
  display: grid;
  grid-template-columns: minmax(100px, 30%) minmax(0, 1fr);
  gap: 8px 15px;
  margin: 10px 0;
}
.tree dt {
  color: var(--muted);
}
.tree dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.tree details {
  margin-top: 8px;
  padding-top: 10px;
}
.download {
  display: inline-block;
  padding: 9px 11px;
  background: #24221e;
  border: 1px solid #51412d;
  border-radius: 6px;
  text-decoration: none;
  margin: 4px 8px 8px 0;
}
.empty {
  padding: 55px 15px;
  text-align: center;
  color: var(--muted);
}
.empty > div {
  font-size: 35px;
  color: #75634c;
  margin-bottom: 18px;
}
.empty h2 {
  color: var(--text);
  font-size: 20px;
}
.empty p {
  font-size: 13px;
  max-width: 340px;
  margin: 0 auto;
}
.muted {
  color: var(--muted);
  font-size: 12px;
}
.panel {
  border: 1px solid var(--line);
  padding: 25px;
  border-radius: 10px;
  background: var(--panel);
  margin-top: 18px;
}
.panel h2 {
  margin-bottom: 10px;
}
.source {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.source small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
}
.source-state {
  color: var(--green);
  font-size: 12px;
}
.source-state.error {
  color: var(--red);
}
.scope-note {
  padding-top: 28px;
  color: var(--muted);
  max-width: 850px;
  font-size: 12px;
}
.scope-note h3 {
  color: var(--text);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th {
  text-align: left;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 500;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 14px;
  border-bottom: 1px solid #2b2c30;
  overflow-wrap: anywhere;
}
.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.event-button {
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  color: var(--accent);
}
.back {
  display: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
@media (min-width: 1500px) {
  main {
    padding-left: 50px;
    padding-right: 50px;
  }
  .inbox {
    grid-template-columns: 400px minmax(0, 1fr);
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 200px;
    padding: 30px 14px;
  }
  main {
    margin-left: 200px;
    padding: 28px 24px;
  }
  .header-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .summary article {
    padding: 16px;
  }
  .detail {
    padding: 24px;
  }
  .inbox {
    height: 580px;
  }
}
@media (max-width: 800px) {
  .sidebar {
    position: static;
    width: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 18px;
  }
  .brand {
    font-size: 20px;
    padding: 0;
  }
  .brand small,
  .privacy {
    display: none;
  }
  .sidebar nav {
    display: flex;
    gap: 5px;
    margin: 18px 0 0;
    overflow-x: auto;
  }
  .nav {
    font-size: 11px;
    padding: 8px;
    white-space: nowrap;
  }
  .nav span {
    display: none;
  }
  .nav b {
    margin-left: 0;
  }
  main {
    margin: 0;
    padding: 23px 16px;
  }
  header {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
  }
  h1 {
    font-size: 26px;
  }
  .header-actions {
    justify-content: flex-start;
    width: 100%;
  }
  .header-actions select {
    flex: 1;
  }
  .eyebrow {
    font-size: 8px !important;
  }
  .summary {
    gap: 8px;
    margin-bottom: 18px;
  }
  .summary article {
    padding: 13px 10px;
  }
  .summary strong {
    font-size: 24px;
  }
  .summary span,
  .summary small {
    font-size: 10px;
  }
  .toolbar {
    gap: 10px;
  }
  .toolbar label {
    flex: 1;
    min-width: 135px;
  }
  .toolbar .search-label {
    order: 2;
    flex-basis: 100%;
  }
  .toolbar #survey-label {
    flex-basis: 100%;
  }
  .export {
    margin-left: auto;
  }
  .inbox {
    display: block;
    height: auto;
    max-height: none;
    min-height: 390px;
  }
  .list-pane {
    border-right: 0;
  }
  .detail {
    display: none;
    padding: 20px;
  }
  .inbox.has-selection .list-pane {
    display: none;
  }
  .inbox.has-selection .detail {
    display: block;
  }
  .back {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 12px;
  }
  .list-heading {
    position: static;
  }
  .panel {
    padding: 16px;
  }
  th,
  td {
    padding: 10px 5px;
  }
  .source {
    gap: 10px;
  }
  .analytics-controls label {
    flex-basis: 100%;
  }
}

.login-page { display: grid; min-height: 100dvh; place-items: center; padding: 24px; }
.login-card { margin: 0; padding: 40px; width: min(100%, 540px); border: 1px solid #39352e; border-radius: 18px; background: #151512; }
.login-card h1 { margin-top: 36px; font-size: clamp(24px, 5vw, 36px); }
.login-card p { color: #b5b2a8; line-height: 1.6; }
.sign-in { display: block; background: #c69250; color: #12110e; text-align: center; padding: 14px; border-radius: 8px; font-weight: 700; text-decoration: none; margin: 28px 0; }
