@font-face { font-family: "Libre Franklin"; src: url("assets/LibreFranklin-Bold-latin.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
body { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; max-width: 1320px; margin: 0 auto; box-sizing: border-box; padding: 48px 32px 64px; background: #ffffff; color: #000000; }
.page-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 0 32px; padding-bottom: 16px; border-bottom: 1px solid #7e6c39; }
/* The brand clearspace is half the triangle height, about 15 px at this logo height; the header gap and padding keep it. */
.logo { display: block; height: 56px; width: auto; flex: none; }
h1 { margin: 0; font-family: "Libre Franklin", "ITC Franklin Gothic", Arial, sans-serif; font-weight: 700; font-size: 36px; line-height: 1.05; letter-spacing: -0.02em; }
.table-wrap { overflow-x: auto; }
/* Fixed layout keeps the columns from resizing when a selection or a long status changes a cell. */
table { border-collapse: collapse; width: 100%; min-width: 880px; table-layout: fixed; font-size: 15px; }
th, td { text-align: left; overflow-wrap: anywhere; }
th:first-child { width: 160px; }
th { padding: 12px 16px; background: #000000; color: #ffffff; font-weight: 700; position: sticky; top: 0; }
td { padding: 14px 16px; border-bottom: 1px solid #cccccc; }
tbody tr:nth-child(even) td { background: #f2f2f2; }
td:first-child { font-weight: 700; }
tbody td:has(.version-link[aria-pressed="true"]) { background: #e5e5e5; }
.version-link { font: inherit; font-weight: 700; color: #000000; background: transparent; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.version-link:hover { text-decoration-thickness: 2px; }
.version-link[aria-pressed="true"] { color: #ffffff; background: #000000; padding: 2px 8px; margin: -2px -8px; text-decoration: none; }
.status-text, .status-link { font-size: 13px; font-weight: 700; }
.status-wrap { display: inline-block; max-width: 100%; }
.status-text { color: #666666; }
.status-link { font-family: inherit; color: #7b2820; background: none; border: none; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
#details { margin-top: 32px; background: #ffffff; border: 1px solid #cccccc; border-top: 2px solid #000000; padding: 32px; }
#details[hidden], .details-section[hidden] { display: none; }
.updated { margin: 24px 0 0; text-align: right; font-size: 13px; color: #666666; }
.load-error { margin: 0; font-weight: 700; color: #7b2820; }
.details-section { display: flex; flex-direction: column; gap: 28px; }
.details-section h2 { margin: 0; font-family: "Libre Franklin", "ITC Franklin Gothic", Arial, sans-serif; font-weight: 700; font-size: 28px; line-height: 1.2; letter-spacing: -0.01em; }
.details-section code { font-family: "SF Mono", Menlo, Consolas, monospace; color: #000000; }
.details-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: -22px; font-size: 14px; color: #666666; }
.details-meta strong { color: #000000; }
.details-group { display: flex; flex-direction: column; gap: 12px; }
.details-label { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #333333; }
.target-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.target { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; box-sizing: border-box; padding: 0 22px; border: 1.5px solid #000000; background: transparent; color: #000000; font: 700 14px Arial, "Helvetica Neue", Helvetica, sans-serif; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color 150ms ease-out; }
.target:hover { background: #f2f2f2; }
.target svg { width: 18px; height: 18px; flex: none; }
.target-note { font-weight: 400; color: #666666; text-transform: none; letter-spacing: 0; }
.data-files { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; font-size: 14px; }
.data-files .data-path-line + .data-label { margin-top: 10px; }
.data-platform { font-size: 14px; font-weight: 700; color: #666666; }
.data-label { font-weight: 700; }
.details-section .data-path { font-size: 13px; color: #333333; overflow-wrap: anywhere; }
.copy-path { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-left: 6px; padding: 0; vertical-align: middle; border: 1px solid #cccccc; background: #ffffff; color: #000000; cursor: pointer; }
.copy-path:hover { border-color: #000000; }
.copy-path svg { width: 14px; height: 14px; }
.copy-toast { position: fixed; top: 20px; left: 50%; background: #000000; color: #ffffff; padding: 8px 14px; font-size: 13px; font-weight: 700; opacity: 0; transform: translate(-50%, -6px); transition: opacity 150ms ease-out, transform 150ms ease-out; pointer-events: none; z-index: 9999; }
.copy-toast.show { opacity: 1; transform: translate(-50%, 0); }
.modal-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); display: flex; align-items: center; justify-content: center; padding: 24px; z-index: 1000; }
.modal-backdrop[hidden] { display: none !important; }
.modal-card { position: relative; width: min(560px, 100%); max-height: 80vh; overflow: auto; background: #ffffff; border-top: 2px solid #7b2820; padding: 24px; }
.modal-card h2 { margin: 0 0 8px; font-family: "Libre Franklin", "ITC Franklin Gothic", Arial, sans-serif; font-size: 20px; }
.modal-status { margin: 0 0 16px; color: #7b2820; font-weight: 700; }
.modal-errors { margin: 0; padding-left: 20px; white-space: normal; }
.modal-errors li + li { margin-top: 8px; }
.modal-close { position: absolute; top: 12px; right: 12px; border: none; background: transparent; font-size: 1.4rem; cursor: pointer; color: #666666; }
.promote-cell { display: flex; align-items: center; gap: 8px; }
.promote-cell > span { min-width: 0; }
/* Script adds the admin class when the query has an admin key; it hides the controls, it is no access control. */
.promote, .promote-opened { display: none; }
/* The negative margin keeps the 36 px target from growing the row and pins it to the cell's right edge. */
.admin .promote { display: inline-flex; align-items: center; justify-content: center; flex: none; box-sizing: border-box; width: 36px; height: 36px; margin: -8px -8px -8px auto; padding: 0; border: 1px solid transparent; background: transparent; color: inherit; cursor: pointer; }
.admin .promote:hover { background: #f5f5f5; border-color: #000000; color: #000000; }
.admin .promote[disabled] { color: #999999; cursor: not-allowed; }
.admin .promote[disabled]:hover { background: transparent; border-color: transparent; color: #999999; }
.promote svg { width: 18px; height: 18px; }
.admin .promote-opened { display: inline-flex; align-items: center; gap: 6px; flex: none; margin-left: auto; font-size: 13px; font-weight: 700; color: inherit; white-space: nowrap; }
.promote-opened svg { width: 14px; height: 14px; }
.modal-card.promote-card { width: min(600px, 100%); border-top-color: #000000; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.promote-card h2 { margin: -14px 0 0; font-size: 26px; line-height: 1.1; }
.promote-list { display: flex; flex-direction: column; gap: 8px; }
.promote-entry { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 6px 16px; padding: 12px 16px; border: 1px solid #e5e5e5; font-size: 14px; }
.promote-entry.skipped { color: #666666; }
.promote-entry-app { font-weight: 700; color: #000000; }
.promote-entry-label { color: #666666; }
.promote-entry-hint { margin-top: 4px; font-size: 13px; color: #666666; }
.promote-card code { font-family: "SF Mono", Menlo, Consolas, monospace; font-size: 13px; color: #000000; overflow-wrap: anywhere; }
.promote-notes-choice { display: flex; flex-wrap: wrap; margin-bottom: 8px; }
.promote-notes-choice label { position: relative; margin-right: -1px; }
.promote-notes-choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.promote-notes-choice span { display: block; padding: 6px 12px; border: 1px solid #000000; background: #ffffff; color: #000000; font-size: 13px; font-weight: 700; }
.promote-notes-choice input:checked + span { background: #000000; color: #ffffff; }
.promote-notes-choice input:focus-visible + span { outline: 2px solid #000000; outline-offset: 2px; }
.promote-entry textarea { box-sizing: border-box; width: 100%; padding: 10px 12px; border: 1px solid #999999; font: 14px/1.5 Arial, "Helvetica Neue", Helvetica, sans-serif; color: #000000; resize: vertical; }
.promote-entry textarea:focus { outline: 2px solid #000000; outline-offset: -1px; border-color: #000000; }
.promote-note { margin: 0; font-size: 14px; color: #333333; line-height: 1.5; }
.promote-actions { display: flex; justify-content: flex-end; gap: 12px; }
.promote-button { min-height: 44px; padding: 0 20px; border: 1px solid #000000; background: #ffffff; color: #000000; font: 700 14px Arial, "Helvetica Neue", Helvetica, sans-serif; cursor: pointer; }
.promote-button.primary { background: #000000; color: #ffffff; }
.promote-button.primary:hover { background: #333333; }
.promote-button.primary[disabled] { border-color: #999999; background: #999999; cursor: not-allowed; }
@media (max-width: 640px) {
  .promote-entry { grid-template-columns: minmax(0, 1fr); }
  .page-header { flex-direction: column-reverse; align-items: flex-start; }
  body { padding: 32px 16px 48px; }
  #details { padding: 20px 16px; }
}
