:root {
  font-family:
    "Nunito Sans",
    ui-sans-serif,
    system-ui,
    -apple-system,
    sans-serif;
  color: #292b40;
  background: #f5f0e3;
  --coral: #ee4e55;
  --border: #e6dcc6;
  --display: "Baloo 2", ui-rounded, ui-sans-serif, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
main {
  max-width: 1440px;
  margin: auto;
  padding: 28px 32px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 750;
  color: #66667b;
}
h1 {
  font-size: 34px;
  letter-spacing: -1px;
  margin: 8px 0;
}
h1 span {
  color: var(--coral);
}
h2 {
  font-size: 21px;
  margin: 0 0 8px;
}
h3 {
  font-size: 15px;
  margin: 24px 0 10px;
}
p {
  line-height: 1.5;
  margin: 6px 0 12px;
}
header p,
.toolbar p,
.muted,
.footnote {
  color: #646679;
  font-size: 14px;
}
main {
  padding-top: 8px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  border: 0;
  background: var(--coral);
  color: #fff;
  border-radius: 8px;
  padding: 11px 17px;
  font-weight: 650;
  cursor: pointer;
}
button:hover {
  filter: brightness(0.96);
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
button.secondary {
  background: #f5f0e3;
  color: #292b40;
  border: 1px solid var(--border);
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid #566eb2;
  outline-offset: 3px;
}
input,
select,
textarea {
  border: 1px solid #c6bb9e;
  border-radius: 6px;
  padding: 10px;
  background: #fffefa;
  min-width: 0;
  color: inherit;
}
textarea {
  min-height: 85px;
  resize: vertical;
}
label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 650;
}
.notice {
  padding: 12px 18px;
  background: #faeecb;
  border: 1px solid #e3d098;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 18px;
}
nav {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 26px;
}
.tab {
  background: transparent;
  color: #646679;
  border-radius: 0;
  padding: 14px 4px;
}
.tab.active {
  color: #292b40;
  border-bottom: 3px solid var(--coral);
}
small {
  font-size: 10px;
  display: inline-block;
  margin-left: 6px;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(350px, 1fr) minmax(380px, 1.05fr);
  gap: 22px;
  align-items: start;
}
.panel {
  background: #fefcf6;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.list {
  padding: 18px;
}
#search {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
#query {
  flex: 1;
}
#count {
  font-size: 12px;
  margin: 18px 2px 10px;
}
.row {
  display: block;
  text-align: left;
  background: transparent;
  color: inherit;
  width: 100%;
  border: 1px solid var(--border);
  margin: 10px 0;
  padding: 17px;
  font-weight: 400;
}
.row.selected {
  border-color: #292b40;
  background: #f5f0e3;
}
.row strong {
  display: block;
  margin-bottom: 5px;
}
.address {
  font-size: 12px;
  color: #646679;
  overflow-wrap: anywhere;
  margin-bottom: 13px;
}
.pill {
  display: inline-block;
  border-radius: 30px;
  background: #eee9df;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  margin-right: 5px;
}
.approved {
  background: #e0f2e4;
  color: #1c5e30;
}
.pending {
  background: #faeecb;
  color: #7a5200;
}
.do_not_collect {
  background: #fbe3de;
  color: #99311f;
}
.empty {
  padding: 60px 10px;
  text-align: center;
  color: #646679;
}
.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.actions button {
  font-size: 12px;
  padding: 9px 12px;
}
.evidence {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f5f0e3;
  padding: 14px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.6;
}
.history {
  border-left: 2px solid var(--border);
  padding: 0 0 18px 16px;
  font-size: 13px;
}
.history time {
  font-size: 11px;
  color: #646679;
}
.history summary {
  cursor: pointer;
  margin: 8px 0;
}
.pagination {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
}
.footnote {
  font-size: 12px;
  margin: 22px 0;
}
#message {
  color: #99311f;
  white-space: pre-wrap;
}
#form-error {
  color: #99311f;
}
dialog {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fefcf6;
  max-width: 560px;
  width: calc(100% - 32px);
  max-height: 90vh;
  padding: 26px;
  color: #292b40;
}
dialog::backdrop {
  background: #292b4066;
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
}
#form-help {
  font-size: 13px;
  color: #646679;
  margin-bottom: 20px;
}
#save {
  width: 100%;
}
#login {
  margin-bottom: 20px;
}
a {
  color: #455c90;
  overflow-wrap: anywhere;
}
.evidence-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
@media (max-width: 850px) {
  header,
  main {
    padding: 20px 16px;
  }
  .workspace {
    grid-template-columns: 1fr;
  }
  header {
    align-items: start;
    gap: 12px;
  }
  h1 {
    font-size: 28px;
  }
  .toolbar {
    gap: 12px;
    flex-direction: column;
    align-items: stretch;
  }
}
[hidden] {
  display: none !important;
}

/* Shared visual language with the existing ThingsToDo internal review tool. */
.website-link {
  display: block;
  width: fit-content;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin: 8px 0 14px;
}
.row-select {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  color: inherit;
  padding: 0;
  font-size: 15px;
}
.row .website-link {
  margin: 6px 0 12px;
}
.screenshot-thumbnail {
  display: block;
  width: 220px;
  max-width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
}
.screenshot-thumbnail img {
  display: block;
  width: 100%;
  height: 135px;
  object-fit: cover;
  object-position: top;
}
.screenshot-caption {
  font-size: 11px;
  margin-top: 6px;
}
.screenshot-viewer {
  max-width: 1100px;
}
.screenshot-viewer img {
  display: block;
  width: 100%;
  margin-top: 16px;
}
header,
main {
  max-width: 1380px;
}
header {
  align-items: flex-start;
}
.brand {
  display: flex;
  align-items: center;
  font: 800 25px/1 var(--display);
}
.tld {
  color: var(--coral);
}
.internal-badge {
  margin-left: 14px;
  padding: 4px 8px;
  border: 2px dashed var(--coral);
  border-radius: 4px;
  transform: rotate(-2deg);
  color: var(--coral);
  font: 600 10px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1 {
  font: 800 38px/1.1 var(--display);
  letter-spacing: -0.02em;
  margin: 16px 0 4px;
}
h2 {
  font: 800 25px/1.2 var(--display);
}
h3 {
  font: 600 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5c5e74;
  margin: 26px 0 12px;
}
#identity {
  margin-top: 5px;
  font: 600 10px var(--mono);
  border: 1px solid var(--border);
  background: #fefcf6;
}
button {
  font-weight: 700;
  transition:
    background 0.15s,
    border-color 0.15s,
    box-shadow 0.15s;
}
button.secondary {
  background: #fefcf6;
}
button.secondary:hover {
  background: #f5f0e3;
  border-color: #c6bb9e;
}
.notice {
  padding: 12px 16px;
  background: #fefcf6;
  border: 1px solid var(--border);
  border-left: 3px solid #c6bb9e;
}
#preview {
  font-size: 12px;
  color: #5c5e74;
}
#preview strong {
  color: #292b40;
  margin-right: 10px;
}
nav {
  display: inline-flex;
  gap: 3px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fefcf6;
  padding: 4px;
  margin-bottom: 24px;
  box-shadow: 0 1px 2px #292b4008;
}
.tab {
  border-radius: 7px;
  font-size: 14px;
  padding: 10px 18px;
}
.tab.active {
  color: white;
  background: var(--coral);
  border-bottom: 0;
}
.tab:hover:not(.active) {
  background: #fbe7e1;
  color: #cf3a42;
}
.workspace {
  grid-template-columns: minmax(340px, 0.8fr) minmax(420px, 1.2fr);
  gap: 20px;
}
.panel {
  box-shadow: 0 2px 6px #292b4004;
}
#detail,
#attendance-detail {
  padding: 30px;
  min-width: 0;
}
#detail > h2,
#attendance-detail > h2 {
  font-size: 30px;
}
.row {
  border: 1px solid transparent;
  border-bottom-color: var(--border);
  border-radius: 7px;
  margin: 4px 0;
  padding: 17px 14px;
}
.row.selected {
  border-color: #efb9b3;
  background: #fbe7e1;
  box-shadow: inset 3px 0 var(--coral);
}
.row:hover:not(.selected) {
  background: #f5f0e3;
}
.row strong {
  font-size: 15px;
  font-weight: 700;
}
.pill {
  border-radius: 5px;
}
.empty {
  padding: 100px 20px;
}
.toolbar > .actions {
  margin: 0;
}
.evidence {
  font-family: var(--mono);
}
details > summary {
  color: #5c5e74;
  font-size: 12px;
  cursor: pointer;
  padding: 8px 0;
}
.history {
  position: relative;
}
.history::before {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c6bb9e;
  left: -4.5px;
  top: 5px;
}
#rows[aria-busy="true"] {
  opacity: 0.55;
}
@media (max-width: 850px) {
  .workspace {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 32px;
  }
  .brand {
    font-size: 21px;
  }
  .internal-badge {
    font-size: 8px;
    margin-left: 9px;
  }
  #detail,
  #attendance-detail {
    padding: 22px;
  }
  #identity {
    max-width: 110px;
    text-align: center;
  }
}
