:root {
  --bg: #fbfaf8;
  --ink: #252622;
  --muted: #777872;
  --line: #eaeaea;
  --paper: #fff;
  --green: #edf3ec;
  --red: #fdebec;
  --yellow: #fbf3db;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-size: 14px;
  line-height: 1.6;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
.button {
  cursor: pointer;
  border: 1px solid #dddcd6;
  border-radius: 5px;
  background: transparent;
  padding: 8px 14px;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}
button:hover,
.button:hover {
  background: #f0efeb;
}
button:active {
  transform: scale(0.98);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.primary {
  background: #252622;
  color: white;
  border-color: #252622;
}
.primary:hover {
  background: #41423c;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
input,
select,
textarea {
  border: 1px solid #dddcd6;
  border-radius: 5px;
  background: #fff;
  padding: 10px 12px;
  max-width: 100%;
}
input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 2px solid #8c9484;
  outline-offset: 3px;
}
header {
  max-width: 1400px;
  margin: auto;
  padding: 24px 5%;
  display: flex;
  align-items: center;
  gap: 44px;
  border-bottom: 1px solid var(--line);
}
header nav {
  display: flex;
  gap: 28px;
  flex: 1;
}
header nav a {
  text-decoration: none;
  color: var(--muted);
}
.wordmark {
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.04em;
  font-size: 20px;
}
main {
  max-width: 1280px;
  margin: auto;
  padding: 0 5%;
}
.intro {
  padding: 68px 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}
h1 {
  font-size: 58px;
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.15;
  margin: 12px 0 16px;
}
h2 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0;
}
h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 28px 0 12px;
}
p {
  margin: 8px 0;
}
.muted,
small {
  color: var(--muted);
}
.eyebrow {
  font-family: "SF Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.intro-actions {
  text-align: right;
}
.intro-actions > div {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.metric {
  padding: 0 22px;
  border-right: 1px solid var(--line);
}
.metric:first-child {
  padding-left: 0;
}
.metric:last-child {
  border: 0;
}
.metric strong {
  display: block;
  font-size: 30px;
  letter-spacing: -0.04em;
  font-weight: 500;
}
.metric small {
  display: block;
  font-size: 11px;
}
section:not(.login) {
  padding-top: 56px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.toolbar {
  display: flex;
  gap: 12px;
}
.search {
  display: flex;
  align-items: center;
  flex: 1;
  position: relative;
}
.search input {
  width: 100%;
  padding-right: 40px;
}
kbd {
  position: absolute;
  right: 13px;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0 6px;
  font: 11px monospace;
  color: var(--muted);
}
.categories {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 18px 0;
}
.categories button {
  border-color: transparent;
  padding: 6px 11px;
  color: var(--muted);
}
.categories button.selected {
  background: #e9e9e3;
  color: var(--ink);
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  font-weight: 400;
  font-size: 11px;
  color: var(--muted);
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 17px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
td:first-child,
th:first-child {
  padding-left: 0;
}
td:last-child,
th:last-child {
  padding-right: 0;
}
.table-wrap {
  overflow-x: auto;
}
td .asset-name {
  background: transparent;
  border: 0;
  padding: 0;
  font-weight: 500;
  text-align: left;
  white-space: normal;
  font-size: 15px;
}
td .asset-name:hover {
  text-decoration: underline;
}
td p {
  font-size: 12px;
  color: var(--muted);
  max-width: 360px;
  margin: 4px 0;
}
.tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.03em;
  padding: 2px 7px;
  border-radius: 999px;
  background: #efefeb;
  white-space: nowrap;
}
.tag.good {
  background: var(--green);
  color: #346538;
}
.tag.warn {
  background: var(--yellow);
  color: #956400;
}
.tag.bad {
  background: var(--red);
  color: #9f2f2d;
}
.notice {
  padding: 14px 18px;
  background: var(--yellow);
  border-radius: 5px;
}
.empty {
  padding: 36px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}
.segmented {
  display: flex;
  gap: 4px;
}
.segmented button[aria-pressed="true"] {
  background: #e9e9e3;
  border-color: transparent;
}
.usage-summary {
  display: flex;
  gap: 48px;
  margin: 24px 0;
}
.usage-summary strong {
  font-size: 24px;
  font-weight: 500;
  display: block;
}
.chart {
  display: flex;
  align-items: end;
  gap: 5px;
  height: 190px;
  border-bottom: 1px solid var(--line);
  padding-top: 16px;
}
.bar-slot {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: end;
  position: relative;
  min-width: 4px;
}
.bar {
  width: 100%;
  background: #66725f;
  border-radius: 2px 2px 0 0;
  min-height: 2px;
}
.bar-slot:focus-visible {
  outline: 2px solid #8c9484;
}
.chart-labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  margin: 10px 0 24px;
}
.usage-source {
  margin-top: 24px;
}
.resource-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.resource {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}
.resource-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.resource-heading strong {
  font-weight: 500;
}
.resource-meters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.resource-meters span {
  font-size: 11px;
  color: var(--muted);
}
.resource-meters strong {
  display: block;
  font-size: 19px;
  font-weight: 500;
}
.meter {
  height: 3px;
  background: #eeeee8;
  margin-top: 8px;
}
.meter > i {
  display: block;
  height: 3px;
  background: #87907e;
}
.source-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.source-row p {
  font-size: 12px;
  color: var(--muted);
}
.alert {
  padding: 12px 16px;
  background: var(--yellow);
  border-radius: 5px;
  margin: 8px 0;
}
.mono {
  font-family: "SF Mono", monospace;
  font-size: 11px;
}
footer {
  padding: 64px 0 28px;
  color: var(--muted);
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--bg);
  width: min(720px, calc(100% - 32px));
  max-height: 90vh;
  padding: 28px;
}
dialog::backdrop {
  background: rgba(25, 27, 23, 0.32);
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.close {
  border: 0;
  color: var(--muted);
}
.detail-name {
  font-size: 34px;
  margin: 20px 0 10px;
  letter-spacing: -0.04em;
}
.detail-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  margin: 24px 0;
}
.detail-grid dt {
  color: var(--muted);
  font-size: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.detail-grid dd {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.detail-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}
label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
}
.wide {
  grid-column: 1/-1;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 8px;
  margin: 8px 0;
}
.form-actions {
  display: flex;
  justify-content: end;
  gap: 8px;
  margin-top: 24px;
}
#form-error,
#login-error {
  color: #9f2f2d;
}
.login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px;
}
.login-inner {
  width: min(400px, 100%);
}
.login h1 {
  font-size: 52px;
  margin-top: 70px;
}
.login form {
  margin: 34px 0;
  display: grid;
  gap: 16px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
[hidden] {
  display: none !important;
}
@media (max-width: 760px) {
  header {
    padding: 20px 6%;
    gap: 16px;
  }
  header nav {
    gap: 14px;
    font-size: 12px;
  }
  .wordmark {
    font-size: 17px;
  }
  header > button {
    padding: 6px 9px;
  }
  main {
    padding: 0 6%;
  }
  .intro {
    padding: 42px 0 30px;
    display: block;
  }
  h1 {
    font-size: 44px;
  }
  .intro-actions {
    text-align: left;
    margin-top: 24px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .metric {
    padding: 0 !important;
    border: 0;
  }
  .metric strong {
    font-size: 26px;
  }
  .section-title {
    align-items: start;
  }
  h2 {
    font-size: 21px;
  }
  .toolbar {
    align-items: stretch;
  }
  .toolbar select {
    width: 100px;
    padding: 8px;
  }
  .resource-list {
    grid-template-columns: 1fr;
  }
  .usage-summary {
    gap: 24px;
    flex-wrap: wrap;
  }
  .usage-summary strong {
    font-size: 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .wide {
    grid-column: auto;
  }
  .detail-grid {
    grid-template-columns: 100px 1fr;
  }
  dialog {
    padding: 20px;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .field-row button {
    justify-self: end;
  }
  footer {
    display: block;
  }
  .asset-table .desktop-only {
    display: none;
  }
  .source-row {
    gap: 12px;
  }
  .chart {
    gap: 3px;
  }
  .intro-actions > div {
    flex-wrap: wrap;
  }
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0;
}
.pagination span {
  font-size: 12px;
}
.usage-disclosure {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.usage-disclosure summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 12px;
}
.usage-disclosure[open] summary {
  margin-bottom: 12px;
}
.usage-summary small {
  display: block;
  font-size: 11px;
}
.detail-meta {
  flex-wrap: wrap;
}
.source-row > div {
  min-width: 0;
}
.source-row p {
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .pagination {
    gap: 8px;
    flex-wrap: wrap;
  }
  .pagination button {
    padding: 7px 10px;
  }
  .pagination span {
    font-size: 11px;
  }
  .asset-table td {
    padding-right: 8px;
  }
  .asset-table .tag {
    white-space: normal;
  }
  .asset-table td:nth-child(3) {
    min-width: 88px;
  }
}
/* Application shell and reusable content sections. */
header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--bg);
}
header nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}
header nav a {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
header nav a[aria-current="page"] {
  border-bottom-color: var(--ink);
}
.intro {
  padding: 48px 0 36px;
}
section.view-panel {
  padding-top: 0;
  min-height: 48vh;
}
.overview-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  margin-top: 48px;
}
.overview-columns .section-title {
  margin-bottom: 16px;
}
.overview-columns .section-title a {
  font-size: 12px;
  color: var(--muted);
}
.overview-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}
.overview-row small {
  display: block;
}
.overview-row strong {
  font-size: 13px;
  font-weight: 500;
}
.asset-name {
  border: 0;
  padding: 0;
  text-align: left;
  white-space: normal;
  background: transparent;
  font-weight: 500;
}
.overview-link {
  margin-top: 20px;
  font-size: 12px;
}
.overview-footer {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.active-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.active-filters:empty {
  display: none;
}
.active-filters button {
  border: 0;
  background: #ecece6;
  font-size: 12px;
  padding: 5px 9px;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
.toolbar {
  flex-wrap: wrap;
}
.toolbar .search {
  min-width: 260px;
}
.toolbar select {
  padding: 8px 10px;
  max-width: 190px;
}
.asset-table td:first-child {
  width: 33%;
}
.asset-table td:nth-child(2) {
  width: 16%;
}
.asset-table td:nth-child(3) {
  width: 15%;
}
.asset-table td:nth-child(4) {
  width: 18%;
}
.asset-table td:nth-child(5) {
  width: 18%;
}
.asset-table td small {
  display: block;
}
.detail-grid {
  margin: 12px 0 24px;
}
.detail-grid a {
  word-break: break-all;
}
.detail-name {
  overflow-wrap: anywhere;
}
.source-row > div:last-child {
  text-align: right;
}
.resource-heading .asset-name {
  font-size: 15px;
}
footer {
  padding-top: 48px;
}
.view-panel > .section-title h2 {
  font-size: 19px;
}
#usage-scope {
  max-width: 720px;
  font-size: 12px;
}
@media (max-width: 760px) {
  header {
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 6%;
  }
  header .wordmark {
    flex: 1;
  }
  header nav {
    order: 3;
    flex: 0 0 100%;
    gap: 28px;
    padding-top: 2px;
    font-size: 13px;
  }
  header > button {
    font-size: 12px;
  }
  .intro {
    padding: 32px 0 28px;
  }
  .intro h1 {
    font-size: 38px;
  }
  .intro-actions {
    margin-top: 18px;
  }
  .overview-columns {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 36px;
  }
  .toolbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .toolbar .search {
    grid-column: 1/-1;
    min-width: 0;
  }
  .toolbar select {
    width: 100%;
    max-width: none;
  }
  .toolbar #clear-filters {
    grid-column: 1/-1;
    justify-self: start;
    font-size: 12px;
  }
  .categories {
    gap: 4px;
  }
  .categories button {
    font-size: 12px;
    padding: 6px 8px;
  }
  .asset-table thead {
    display: none;
  }
  .asset-table tbody {
    display: block;
  }
  .asset-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
  }
  .asset-table td,
  .asset-table .desktop-only {
    display: block;
    width: auto !important;
    padding: 0;
    border: 0;
    font-size: 12px;
    min-width: 0;
  }
  .asset-table td:first-child {
    grid-column: 1/-1;
  }
  .asset-table td:first-child .asset-name {
    font-size: 16px;
  }
  .asset-table td:first-child p {
    max-width: none;
  }
  .asset-table td:not(:first-child)::before {
    content: attr(data-label);
    display: block;
    font-size: 10px;
    color: var(--muted);
    margin-bottom: 4px;
  }
  .asset-table td:nth-child(5) {
    grid-column: 1/-1;
  }
  .asset-table td:nth-child(5) div,
  .asset-table td:nth-child(5) small {
    display: inline;
    margin-right: 8px;
  }
  .asset-table .tag {
    white-space: normal;
  }
  .section-title {
    flex-wrap: wrap;
  }
  .usage-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 14px;
  }
  .source-row {
    flex-wrap: wrap;
  }
  .source-row > div:last-child {
    text-align: left;
  }
  .chart-labels {
    gap: 12px;
    flex-wrap: wrap;
  }
  .resource-meters {
    gap: 12px;
  }
  .detail-grid {
    grid-template-columns: 94px 1fr;
    gap: 0 14px;
  }
  .detail-name {
    font-size: 28px;
  }
  .detail-meta {
    gap: 6px;
  }
  .overview-row {
    gap: 14px;
  }
  .overview-row > span {
    font-size: 11px;
    flex-shrink: 0;
  }
  .pagination {
    justify-content: start;
  }
  .pagination span {
    flex: 1;
    text-align: center;
  }
}

.view-panel{scroll-margin-top:110px}

.notice:not(.alert){background:var(--green)}

/* Backup records reuse catalog status semantics and detail navigation. */
.backup-caption,.deployment-evidence{font-size:12px}
.backup-row .asset-name{font-size:14px}
.backup-purpose{max-width:600px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.deployment-evidence summary{cursor:pointer;color:var(--muted)}
.deployment-evidence p{white-space:pre-wrap;overflow-wrap:anywhere}
