:root {
  color-scheme: light;
  --ink: #172e43;
  --muted: #617383;
  --line: #e3e9ee;
  --blue: #0068a7;
  --background: #f3f6f8;
  --paper: #fff;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  outline-offset: 4px;
}
button,
a {
  touch-action: manipulation;
}
[hidden] {
  display: none !important;
}
.topbar {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4.5%;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  font-size: 23px;
  letter-spacing: -1px;
}
.brand-icon {
  display: grid;
  place-items: center;
  background: #006aa8;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-weight: 700;
}
.brand strong > span {
  font-weight: 400;
  color: #7c8b96;
  letter-spacing: -0.6px;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.phase-label {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.8px;
  color: #7b8992;
}
.button {
  border: 1px solid #d5dfe7;
  background: #fff;
  border-radius: 7px;
  padding: 11px 16px;
  cursor: pointer;
  color: var(--ink);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.button:hover {
  border-color: #006aa8;
  background: #f6fafc;
}
.button.primary {
  background: #006aa8;
  border-color: #006aa8;
  color: #fff;
}
.button.primary:hover {
  background: #005686;
}
.button:disabled {
  opacity: 0.5;
  cursor: wait;
}
main {
  max-width: 1600px;
  margin: auto;
  padding: 54px 4.5% 38px;
}
.intro {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-end;
  margin-bottom: 36px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  color: #0072af;
  font-weight: 750;
  margin: 0 0 18px;
}
h1 {
  font-size: clamp(32px, 3.4vw, 48px);
  letter-spacing: -1.7px;
  line-height: 1.13;
  font-weight: 650;
  margin: 0 0 19px;
}
h1 span {
  color: #8a9aa7;
}
.lead {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
.inventory-summary {
  display: flex;
  gap: 34px;
  padding-bottom: 5px;
}
.inventory-summary > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.inventory-summary strong {
  font-size: 32px;
  font-weight: 550;
  letter-spacing: -1px;
}
.inventory-summary span {
  font-size: 11px;
  color: var(--muted);
}
.sign-in-panel {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 34px;
}
.sign-in-panel h2 {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 8px;
}
.sign-in-panel p {
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.sign-in-panel > .button {
  margin-left: auto;
}
.lock-mark {
  font-size: 34px;
  color: #0072af;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: #edf6fb;
  display: grid;
  place-items: center;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.search {
  position: relative;
  flex: 1;
  min-width: 160px;
}
.search > span {
  position: absolute;
  left: 15px;
  top: 8px;
  color: #8b9ba8;
  font-size: 27px;
}
.search input {
  width: 100%;
  height: 44px;
  border: 1px solid #dbe3ea;
  background: white;
  border-radius: 7px;
  padding: 0 16px 0 43px;
  color: var(--ink);
}
.search input::placeholder {
  color: #7d8e9c;
}
.select-label {
  font-size: 10px;
  color: #7a8b98;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: white;
  padding: 5px 12px;
  border: 1px solid #dbe3ea;
  border-radius: 7px;
  min-width: 165px;
}
select {
  border: 0;
  background: white;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  max-width: 210px;
}
.matrix-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 3px 20px #20374b04;
}
.panel-heading {
  padding: 25px 25px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.panel-heading h2 {
  font-size: 17px;
  margin: 0 0 7px;
  font-weight: 650;
}
.panel-heading p {
  font-size: 11px;
  margin: 0;
  color: var(--muted);
}
.panel-heading #coverage {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 5px;
}
.updated {
  white-space: nowrap;
}
.table-wrap {
  overflow: auto;
  max-height: 70vh;
}
table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  font-size: 12px;
  text-align: left;
}
thead {
  position: sticky;
  top: 0;
  z-index: 2;
}
th {
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  background: #f8fafb;
  color: #718593;
  font-weight: 700;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-width: 160px;
}
th:first-child {
  min-width: 230px;
  position: sticky;
  left: 0;
  z-index: 3;
}
td {
  padding: 14px 18px;
  border-bottom: 1px solid #edf1f4;
  vertical-align: middle;
}
td:first-child {
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 1;
}
tbody tr:hover td {
  background: #fbfdfe;
}
.app-label {
  display: flex;
  align-items: center;
  gap: 12px;
}
.app-initial {
  font-size: 12px;
  font-weight: 700;
  color: #0073b0;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 31px;
  height: 31px;
  background: #edf5fa;
  border: 1px solid #e1edf4;
  border-radius: 8px;
}
.app-name {
  font-weight: 650;
  font-size: 12px;
}
.app-category {
  font-size: 10px;
  color: #8b9aa6;
  display: block;
  margin-top: 5px;
}
.version-cell {
  background: transparent;
  border: 0;
  padding: 3px 0;
  text-align: left;
  cursor: pointer;
  min-width: 110px;
  color: inherit;
}
.version-cell strong {
  display: block;
  font:
    600 11px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.version-cell-line {
  display: flex;
  gap: 8px;
  align-items: center;
}
.status-light {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  background: #687d8b;
}
.status-light.ok { background: #168148; }
.status-light.warning { background: #a36100; }
.status-light.down { background: #be3040; }
.detail-history {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 12px;
}
.detail-history h3 {
  font-size: 14px;
  margin: 0 0 8px;
}
.detail-history ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.detail-history li {
  display: grid;
  gap: 3px;
  padding: 8px 0;
  overflow-wrap: anywhere;
}
.detail-history li + li {
  border-top: 1px solid var(--line);
}
.detail-history small {
  color: var(--muted);
}
.unknown-label {
  color: #536778;
  font-size: 11px;
}
.legend {
  display: flex;
  gap: 22px;
  padding: 17px 24px;
  background: #fcfdfe;
  color: #8595a1;
  font-size: 11px;
  flex-wrap: wrap;
}
.legend > span {
  display: flex;
  gap: 6px;
  align-items: center;
}
.scope-note {
  font-size: 10px;
  color: #8999a6;
  line-height: 1.7;
  margin: 16px 2px;
}
.empty {
  padding: 46px;
  text-align: center;
  color: var(--muted);
}
#message {
  font-size: 13px;
  color: #617383;
  margin-top: 20px;
}
dialog {
  border: 1px solid #dce6ed;
  border-radius: 12px;
  padding: 28px;
  width: min(560px, 92vw);
  max-height: 90vh;
  color: var(--ink);
  box-shadow: 0 25px 90px #142c4530;
}
dialog::backdrop {
  background: #142c4555;
}
.drawer-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.drawer-heading .eyebrow {
  margin: 0;
}
.close {
  border: 0;
  background: #eef3f6;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 22px;
  color: #667e8f;
  cursor: pointer;
}
dialog h2 {
  font-size: 24px;
  margin: 20px 0 7px;
}
dl {
  padding: 16px 0;
  margin: 8px 0 15px;
}
dt {
  font-size: 10px;
  color: #8092a0;
  margin: 18px 0 7px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
dd {
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
@media (max-width: 800px) {
  .topbar {
    padding: 0 22px;
  }
  .phase-label {
    display: none;
  }
  main {
    padding: 32px 20px;
  }
  .intro {
    align-items: flex-start;
  }
  .inventory-summary {
    gap: 15px;
    padding-top: 30px;
  }
  .inventory-summary strong {
    font-size: 24px;
  }
  .inventory-summary span {
    font-size: 9px;
  }
  .toolbar {
    flex-wrap: wrap;
    gap: 9px;
  }
  .search {
    flex-basis: 100%;
  }
  .select-label {
    flex: 1;
    min-width: 120px;
  }
  .panel-heading {
    padding: 20px;
  }
  .updated {
    display: none;
  }
  .sign-in-panel {
    flex-wrap: wrap;
    padding: 24px;
    gap: 15px;
  }
  .sign-in-panel .button {
    margin-left: 0;
    width: 100%;
  }
  .brand {
    font-size: 20px;
  }
  .brand strong > span {
    font-size: 18px;
  }
  .legend {
    gap: 14px;
  }
  .inventory-summary > div {
    max-width: 80px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button,
  a {
    transition:
      background 0.15s,
      border-color 0.15s;
  }
}

.release-views {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.desktop-table th,
.desktop-table td {
  min-width: 10rem;
  vertical-align: top;
  text-align: left;
  padding: 0.9rem;
}
.desktop-table small,
.desktop-receipt small {
  display: block;
  margin: 0.2rem 0;
}
.desktop-commit {
  overflow-wrap: anywhere;
  font-family: ui-monospace, monospace;
}
.desktop-group + .desktop-group {
  margin-top: 0.7rem;
}
.desktop-warning {
  color: #9c3b09;
}
.desktop-operations,
.desktop-receipt {
  padding: 1rem;
}
.desktop-form,
.desktop-environments,
.desktop-group-fallbacks {
  display: grid;
  gap: 0.75rem;
}
.desktop-form {
  margin-top: 1rem;
  max-width: 37rem;
}
.desktop-environment {
  display: flex;
  align-items: end;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.desktop-environment label {
  flex: 1 1 15rem;
}
.desktop-form label {
  display: grid;
  gap: 0.25rem;
}
.desktop-form input,
.desktop-form select {
  width: 100%;
  max-width: 30rem;
  border: 1px solid #b5c2cc;
  border-radius: 0.35rem;
  padding: 0.5rem;
  font: inherit;
}
.desktop-form p {
  margin: 0;
}
.desktop-group-fallbacks:empty,
.desktop-form [role="status"]:empty {
  display: none;
}
.desktop-form button,
.desktop-receipt button {
  justify-self: start;
}
.desktop-receipt section {
  border-top: 1px solid #d6e0e7;
  margin-top: 1rem;
}
