:root {
  color-scheme: light;
  font-family: Tahoma, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.4;
}
* {
  box-sizing: border-box;
  animation: none !important;
  transition: none !important;
}
body {
  --page: #ece9d8;
  --surface: #fffef9;
  --header: #dedbcc;
  --control: #e6e3d5;
  --hover: #f5f2e7;
  --pressed: #d6d2c2;
  --border: #827e70;
  --line: #ccc8b8;
  --accent: #284d79;
  max-width: 80rem;
  margin: 1.25rem auto;
  padding: 0 1rem;
  background: var(--page);
  color: #202020;
  overflow-wrap: anywhere;
}
body[data-tone="silver"] {
  --page: #e5e7ed;
  --surface: #ffffff;
  --header: #d7dbe5;
  --control: #e3e6ee;
  --hover: #f6f7fb;
  --pressed: #c9cfdb;
  --border: #747c8a;
  --line: #c6cad4;
  --accent: #334c78;
}
body[data-tone="neutral"] {
  --page: #d4d0c8;
  --surface: #fafafa;
  --header: #c7c3bb;
  --control: #dedbd5;
  --hover: #f0eeea;
  --pressed: #c5c1b9;
  --border: #77736b;
  --line: #bdb9b1;
  --accent: #304d64;
}
body[data-tone="sepia"] {
  --page: #e8dbc2;
  --surface: #fffaf0;
  --header: #d9c7a6;
  --control: #e4d1af;
  --hover: #f5e7ce;
  --pressed: #cdb790;
  --border: #8d7758;
  --line: #d3c19f;
  --accent: #79502e;
}
.page-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem 1rem;
  margin-bottom: 0.75rem;
}
h1 {
  font-size: 1.6rem;
  line-height: 1.2;
  margin: 0;
}
.header-divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 0 0 0.75rem;
}
.administrator-session {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  text-align: right;
  font-size: 13px;
}
.header-controls {
  display: grid;
  justify-items: end;
  min-width: 0;
  gap: 0.4rem;
}
.media-scan-status {
  font-size: 13px;
  text-align: right;
}
.tone-selector, .sort-selector {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  font-size: 13px;
}
.tone-selector {
  flex-basis: 100%;
}
.table-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}
.tone-selector label, .sort-selector label {
  display: inline;
  margin: 0;
}
.tone-selector select, .sort-selector select, .inventory-search select {
  min-height: 26px;
  max-width: 100%;
  padding: 2px 4px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: #202020;
  font: inherit;
}
.inventory-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
}
.inventory-search label {
  margin: 0;
}
.subtitle {
  font-size: 1rem;
  margin: 0.3rem 0 0;
}
a {
  color: #174779;
}
nav a[aria-current="page"] {
  color: #202020;
  font-weight: 700;
  text-decoration: none;
}
form {
  margin: 0;
}
button, a.button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  max-width: 100%;
  padding: 3px 8px;
  border: 1px solid;
  border-color: #ffffff var(--border) var(--border) #ffffff;
  border-radius: 2px;
  background: var(--control);
  color: #202020;
  font: 400 13px/1.25 Tahoma, "Segoe UI", sans-serif;
  text-decoration: none;
  cursor: pointer;
}
button:hover:not(:disabled), a.button:hover {
  background: var(--hover);
}
button:active:not(:disabled), a.button:active {
  background: var(--pressed);
  border-color: var(--border) #ffffff #ffffff var(--border);
}
button.primary {
  border-color: var(--accent);
  font-weight: 700;
}
button:disabled {
  background: #dedede;
  color: #777777;
  border-color: #bcbcbc;
  cursor: default;
}
input:not([type="hidden"]), .media-issue-table textarea {
  appearance: none;
  min-height: 28px;
  max-width: 100%;
  padding: 4px 6px;
  border: 1px solid;
  border-color: #626262 #ffffff #ffffff #626262;
  border-radius: 0;
  background: #ffffff;
  color: #171717;
  font: inherit;
  box-shadow: inset 1px 1px #dedede;
}
input[aria-invalid="true"] {
  border: 1px solid #a52c22;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
label {
  display: block;
  margin-top: 0.75rem;
}
.login-form {
  max-width: 24rem;
}
.login-form input {
  display: block;
  width: 100%;
  margin: 0.25rem 0 0.75rem;
}
.table-region {
  overflow-x: auto;
  margin-top: 0.75rem;
  border: 1px solid var(--border);
  background: var(--surface);
}
.entries {
  width: 100%;
  min-width: 64rem;
  table-layout: fixed;
  border-collapse: collapse;
}
.priority-column {
  width: 12%;
}
.inventory-table {
  min-width: 36rem;
  table-layout: auto;
}
.inventory-table th, .inventory-table td {
  white-space: nowrap;
}
.inventory-title-column {
  width: 32%;
}
.inventory-actions-column {
  width: 1%;
}
.media-issue-preview {
  text-decoration: underline dashed;
  text-underline-offset: 0.16em;
}
.media-issue-tooltip {
  position: fixed;
  z-index: 10;
  width: max-content;
  max-width: min(24rem, calc(100vw - 1rem));
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: inherit;
  font-size: 13px;
  font-weight: 400;
  white-space: normal;
  pointer-events: none;
}
.media-issue-tooltip-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.15rem 0.75rem;
  white-space: nowrap;
}
.media-issue-tooltip-note {
  overflow: hidden;
  text-overflow: ellipsis;
}
.media-issue-tooltip-date {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.media-issue-page {
  margin-top: 1rem;
}
.media-issue-table {
  min-width: 56rem;
}
.media-issue-table .date-column {
  width: 11rem;
}
.media-issue-actions-column {
  width: 13rem;
}
.inventory-table .row-actions, .media-issue-table .row-actions {
  flex-wrap: nowrap;
  white-space: nowrap;
}
.media-issue-note {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.media-issue-table .resolved-issue {
  color: #595959;
}
.media-issue-table .resolved-issue th {
  font-weight: 400;
}
.media-issue-table textarea {
  display: block;
  width: 100%;
  resize: vertical;
}
.title-column {
  width: 28%;
}
.submitter-column {
  width: 14%;
}
.date-column {
  width: 16%;
}
.actions-column {
  width: 14%;
}
.entries th, .entries td {
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 0.6rem;
  text-align: left;
  vertical-align: top;
}
.entries thead {
  background: var(--header);
}
.entries thead th {
  font-size: 14px;
  font-weight: 700;
}
.entries tbody th {
  font-weight: 500;
}
.entries tfoot {
  background: var(--header);
}
.entries tfoot td:last-child {
  text-align: right;
}
.entries input {
  width: 100%;
  min-width: 0;
}
.row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.row-actions button[name="direction"] {
  min-width: 22px;
  padding: 3px 4px;
}
.priority-cell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.priority-number {
  min-width: 2ch;
  font-variant-numeric: tabular-nums;
}
[role="alert"] {
  padding: 0.4rem 0.6rem;
  border-left: 3px solid #a52c22;
  background: var(--surface);
}
#media-match-advisory {
  display: none;
  position: fixed;
  inset: auto;
  margin: 0;
  width: min(25rem, calc(100vw - 1rem));
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: inherit;
  font-size: 13px;
  overflow: auto;
  text-align: left;
  overflow-wrap: anywhere;
}
#media-match-advisory:popover-open {
  display: block;
}
#media-match-advisory ul {
  margin: 0.3rem 0 0;
  padding-left: 1.3rem;
}
.visually-hidden {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
