:root {
  color: #16181d;
  background: #f4f5f7;
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  --accent: #f04b37;
  --accent-dark: #cf3827;
  --ink: #17191f;
  --muted: #6d7380;
  --line: #e1e4e9;
  --surface: #ffffff;
  --surface-subtle: #f7f8fa;
  --sidebar: #1d2027;
  --sidebar-muted: #989eaa;
  --success: #18865b;
  --warning: #a7650b;
  --danger: #be342c;
  --focus: #3276d8;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  background: #f4f5f7;
}

button,
input,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

button:disabled,
input:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

[hidden] {
  display: none !important;
}

.login-view {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px 80px;
  background:
    linear-gradient(#e3e5e9 1px, transparent 1px),
    linear-gradient(90deg, #e3e5e9 1px, transparent 1px),
    #f4f5f7;
  background-size: 36px 36px;
}

.login-panel {
  width: min(420px, 100%);
  padding: 34px;
  border: 1px solid #d8dce2;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 50px rgba(31, 36, 45, 0.12);
}

.login-heading {
  margin: 38px 0 26px;
}

.login-heading h1,
.topbar h1,
.section-heading h2,
.audit-header-row h2,
.dialog h2,
.upload-section h3 {
  margin: 0;
  letter-spacing: 0;
}

.login-heading h1 {
  font-size: 26px;
  line-height: 1.25;
}

.login-heading p,
.section-heading p,
.audit-header-row p,
.dialog-header p,
.upload-section-heading p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.login-footer {
  position: fixed;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #717781;
  font-size: 12px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9ba1ab;
}

.status-dot.status-online {
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(24, 134, 91, 0.12);
}

.status-dot.status-offline {
  background: var(--danger);
  box-shadow: 0 0 0 4px rgba(190, 52, 44, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 8px;
}

.brand strong,
.brand span {
  display: block;
  letter-spacing: 0;
}

.brand strong {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.35;
}

.brand span {
  margin-top: 2px;
  color: var(--sidebar-muted);
  font-size: 11px;
}

.brand-login strong {
  color: var(--ink);
  font-size: 17px;
}

.brand-login span {
  color: var(--muted);
  font-size: 12px;
}

.form-stack {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
  color: #444a55;
  font-size: 13px;
  font-weight: 600;
}

.field input,
.field textarea,
.search-box input {
  width: 100%;
  border: 1px solid #d5d9e0;
  border-radius: 6px;
  outline: none;
  background: var(--surface);
  color: var(--ink);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.field input {
  height: 42px;
  padding: 0 12px;
}

.field textarea {
  min-height: 104px;
  resize: vertical;
  padding: 11px 12px;
  line-height: 1.55;
}

.field input:focus,
.field textarea:focus,
.search-box input:focus {
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(50, 118, 216, 0.12);
}

.input-shell {
  position: relative;
  display: block;
}

.input-shell svg {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 12px;
  width: 17px;
  height: 17px;
  color: #858b96;
}

.input-shell input {
  padding-left: 40px;
}

.form-error {
  min-height: 18px;
  margin: -4px 0 0;
  color: var(--danger);
  font-size: 12px;
  font-weight: 500;
}

.button,
.icon-button,
.text-button,
.nav-item,
.account-button {
  border: 0;
  outline: none;
}

.button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 650;
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  border: 1px solid #d7dbe2;
  background: #ffffff;
  color: #404650;
}

.button-secondary:hover {
  background: #f5f6f8;
}

.button-danger {
  border: 1px solid #ecc8c4;
  background: #fff7f6;
  color: var(--danger);
}

.button-danger:hover {
  background: #feecea;
}

.button-full {
  width: 100%;
}

.icon-button {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 40px;
  border: 1px solid #d9dde3;
  border-radius: 6px;
  background: #ffffff;
  color: #5e6570;
}

.icon-button:hover {
  border-color: #c9ced6;
  background: #f6f7f9;
  color: var(--ink);
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 24px 18px 18px;
  background: var(--sidebar);
  color: #ffffff;
}

.nav-list {
  display: grid;
  gap: 5px;
  margin-top: 34px;
}

.nav-item {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 12px;
  border-radius: 6px;
  background: transparent;
  color: #aeb4bf;
  font-size: 13px;
  text-align: left;
}

.nav-item:hover {
  background: #272b34;
  color: #ffffff;
}

.nav-item.is-active {
  background: #30343d;
  color: #ffffff;
}

.nav-item.is-active svg {
  color: #ff7564;
}

.sidebar-bottom {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.security-state {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #343943;
  border-radius: 6px;
  background: #242830;
}

.security-state > svg {
  color: #64c99b;
}

.security-state span,
.security-state strong {
  display: block;
}

.security-state span {
  color: #9fa6b2;
  font-size: 10px;
}

.security-state strong {
  margin-top: 3px;
  color: #eef2f5;
  font-size: 12px;
}

.account-button {
  min-width: 0;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border-radius: 6px;
  background: transparent;
  color: #ffffff;
  text-align: left;
}

.account-button:hover {
  background: #272b34;
}

.account-avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f3d24e;
  color: #312a0f;
  font-size: 12px;
  font-weight: 800;
}

.account-copy {
  min-width: 0;
}

.account-copy strong,
.account-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-copy strong {
  font-size: 11px;
}

.account-copy small {
  margin-top: 3px;
  color: #8e95a1;
  font-size: 10px;
}

.workspace {
  min-width: 0;
  background: #f4f5f7;
}

.topbar {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 19px 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.topbar h1 {
  margin-top: 4px;
  font-size: 22px;
  line-height: 1.25;
}

.eyebrow {
  margin: 0;
  color: #979da7;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.workspace-content {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 26px 32px 48px;
}

.view-section {
  min-width: 0;
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.metric {
  min-width: 0;
  padding: 20px 22px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric span,
.metric strong,
.metric small {
  display: block;
}

.metric span {
  color: #747b86;
  font-size: 12px;
  font-weight: 600;
}

.metric strong {
  margin-top: 10px;
  overflow: hidden;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric:first-child strong {
  color: var(--accent-dark);
}

.metric small {
  margin-top: 7px;
  color: #9a9fa8;
  font-size: 10px;
}

.current-release-section,
.recent-section {
  margin-top: 28px;
}

.section-heading,
.audit-header-row,
.upload-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.section-heading h2,
.audit-header-row h2 {
  font-size: 16px;
}

.status-badge,
.platform-badge,
.audit-retention {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.status-badge {
  min-height: 25px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.status-published {
  background: #e7f5ee;
  color: #146c4b;
}

.status-draft {
  background: #fff4dd;
  color: #8b560b;
}

.status-archived,
.status-neutral {
  background: #eceff3;
  color: #68707c;
}

.current-release-empty {
  min-height: 148px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  margin-top: 14px;
  border: 1px dashed #d4d8df;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  color: #9298a2;
}

.current-release-empty svg {
  width: 28px;
  height: 28px;
}

.current-release-empty p {
  margin: 0;
  font-size: 12px;
}

.current-release-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(260px, 1.2fr) auto;
  align-items: center;
  gap: 24px;
  margin-top: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--success);
  border-radius: 6px;
  background: var(--surface);
}

.release-version strong,
.release-version span {
  display: block;
}

.release-version strong {
  font-size: 22px;
}

.release-version span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}

.release-notes {
  margin: 0;
  padding-left: 18px;
  color: #555c67;
  font-size: 12px;
  line-height: 1.75;
}

.release-packages {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.platform-badge {
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid #d9dde3;
  border-radius: 5px;
  background: #f8f9fa;
  color: #555d68;
  font-size: 10px;
  font-weight: 650;
}

.platform-badge svg {
  width: 13px;
  height: 13px;
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 0;
  background: transparent;
  color: #4f677f;
  font-size: 12px;
  font-weight: 650;
}

.text-button:hover {
  color: var(--accent-dark);
}

.text-button svg {
  width: 14px;
  height: 14px;
}

.release-list {
  margin-top: 12px;
  border-top: 1px solid var(--line);
}

.release-list-item {
  min-height: 68px;
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(150px, 1fr) minmax(140px, auto) auto;
  align-items: center;
  gap: 18px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}

.release-list-item strong,
.release-list-item small {
  display: block;
}

.release-list-item strong {
  font-size: 13px;
}

.release-list-item small {
  margin-top: 5px;
  color: #9298a2;
  font-size: 10px;
}

.release-list-empty {
  padding: 38px 0;
  color: #9298a2;
  font-size: 12px;
  text-align: center;
}

.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.search-box {
  position: relative;
  width: min(320px, 100%);
}

.search-box svg {
  position: absolute;
  top: 10px;
  left: 11px;
  color: #8a909a;
}

.search-box input {
  height: 40px;
  padding: 0 12px 0 38px;
}

.segmented-control {
  display: inline-flex;
  padding: 3px;
  border: 1px solid #d9dde3;
  border-radius: 7px;
  background: #ffffff;
}

.segmented-control button {
  min-height: 30px;
  padding: 0 11px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #727985;
  font-size: 11px;
}

.segmented-control button.is-active {
  background: #272b33;
  color: #ffffff;
}

.table-shell {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid #e7e9ed;
  text-align: left;
  vertical-align: middle;
}

th {
  background: #f7f8f9;
  color: #747b86;
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
}

td {
  color: #3f4650;
  font-size: 12px;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover td {
  background: #fbfbfc;
}

.version-cell strong,
.version-cell small {
  display: block;
}

.version-cell strong {
  color: var(--ink);
  font-size: 13px;
}

.version-cell small {
  margin-top: 4px;
  color: #999fa8;
  font-size: 10px;
}

.platform-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.table-actions-heading,
.table-actions {
  text-align: right;
}

.table-actions {
  white-space: nowrap;
}

.action-button {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  margin-left: 4px;
  border: 1px solid #dfe2e7;
  border-radius: 5px;
  background: #ffffff;
  color: #666d78;
}

.action-button:hover {
  border-color: #c6cbd3;
  color: var(--ink);
}

.action-button.danger:hover {
  border-color: #e2aaa4;
  color: var(--danger);
}

.action-button svg {
  width: 15px;
  height: 15px;
}

.table-empty {
  min-height: 220px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: #979da7;
  font-size: 12px;
}

.audit-header-row {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.audit-retention {
  color: #7b828d;
  font-size: 11px;
}

.audit-retention svg {
  width: 14px;
  height: 14px;
}

.audit-timeline {
  margin-top: 4px;
}

.audit-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.audit-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #e9edf2;
  color: #57616f;
}

.audit-icon svg {
  width: 15px;
  height: 15px;
}

.audit-copy strong,
.audit-copy span {
  display: block;
}

.audit-copy strong {
  font-size: 12px;
}

.audit-copy span {
  margin-top: 5px;
  color: #7d848f;
  font-size: 11px;
}

.audit-time {
  color: #9a9fa8;
  font-size: 10px;
  white-space: nowrap;
}

.dialog {
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 36px);
  padding: 0;
  overflow: hidden;
  border: 1px solid #d7dbe1;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 70px rgba(18, 23, 31, 0.24);
}

.dialog::backdrop {
  background: rgba(27, 31, 38, 0.48);
  backdrop-filter: blur(2px);
}

.dialog-header,
.dialog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
}

.dialog-header {
  border-bottom: 1px solid var(--line);
}

.dialog-header > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dialog-header h2 {
  font-size: 16px;
}

.dialog-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #feece9;
  color: var(--accent-dark);
}

.dialog-close {
  border: 0;
}

.dialog-body {
  max-height: calc(100vh - 190px);
  padding: 22px;
  overflow-y: auto;
}

.dialog-footer {
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  background: #fafafb;
}

.form-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.form-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.upload-section {
  padding-top: 2px;
}

.upload-section h3 {
  font-size: 14px;
}

.upload-section-heading > span {
  color: #949aa4;
  font-size: 10px;
}

.upload-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.file-drop {
  min-width: 0;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
  border: 1px dashed #cdd2d9;
  border-radius: 7px;
  background: #fafbfc;
  text-align: center;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}

.file-drop:hover,
.file-drop.has-file {
  border-color: #8794a6;
  background: #f4f7fa;
}

.file-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.file-drop strong,
.file-drop small,
.file-drop em {
  display: block;
  max-width: 100%;
}

.file-drop strong {
  margin-top: 10px;
  color: #303640;
  font-size: 12px;
}

.file-drop small {
  margin-top: 4px;
  color: #9097a2;
  font-size: 10px;
}

.file-drop em {
  width: 100%;
  margin-top: 9px;
  overflow: hidden;
  color: #66717e;
  font-size: 9px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 7px;
}

.file-icon.windows {
  background: #e7f0fd;
  color: #2965ae;
}

.file-icon.mac {
  background: #ebecef;
  color: #333943;
}

.file-icon.intel {
  background: #e7f5ee;
  color: #19704f;
}

.upload-progress {
  margin-top: 18px;
  padding: 13px 14px;
  border: 1px solid #dce0e5;
  border-radius: 6px;
  background: #fafbfc;
}

.upload-progress > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #59616d;
  font-size: 11px;
}

.upload-progress progress {
  width: 100%;
  height: 7px;
  margin-top: 10px;
  overflow: hidden;
  border: 0;
  border-radius: 4px;
}

.upload-progress progress::-webkit-progress-bar {
  background: #e5e8ec;
}

.upload-progress progress::-webkit-progress-value {
  background: var(--accent);
}

.account-dialog {
  width: min(430px, calc(100vw - 32px));
}

.account-footer {
  justify-content: flex-start;
}

.confirm-dialog {
  width: min(420px, calc(100vw - 32px));
}

.confirm-content {
  padding: 28px;
  text-align: center;
}

.confirm-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: #fff1df;
  color: var(--warning);
}

.confirm-icon.is-danger {
  background: #fee9e7;
  color: var(--danger);
}

.confirm-content h2 {
  font-size: 17px;
}

.confirm-content p {
  margin: 10px 0 22px;
  color: #6c737e;
  font-size: 12px;
  line-height: 1.65;
}

.confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.toast-region {
  position: fixed;
  z-index: 100;
  top: 18px;
  right: 18px;
  width: min(360px, calc(100vw - 36px));
  display: grid;
  gap: 8px;
}

.toast {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid #daddE3;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(24, 29, 37, 0.14);
  color: #424953;
  font-size: 12px;
  animation: toast-in 180ms ease-out;
}

.toast.success svg {
  color: var(--success);
}

.toast.error svg {
  color: var(--danger);
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .metric-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric:nth-child(2) {
    border-right: 0;
  }

  .metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .current-release-card {
    grid-template-columns: 1fr;
  }

  .release-packages {
    justify-content: flex-start;
  }

  .release-list-item {
    grid-template-columns: minmax(140px, 1fr) minmax(120px, 1fr) auto;
  }

  .release-list-item > :nth-child(3) {
    display: none;
  }
}

@media (max-width: 760px) {
  .app-shell {
    display: block;
  }

  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 14px 16px;
  }

  .sidebar .brand span,
  .sidebar-bottom .security-state,
  .account-copy,
  .account-button > svg {
    display: none;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .nav-list {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 0;
  }

  .nav-item {
    width: 40px;
    padding: 0;
    justify-content: center;
  }

  .nav-item span {
    display: none;
  }

  .sidebar-bottom {
    margin: 0;
  }

  .account-button {
    display: block;
    padding: 0;
  }

  .topbar {
    min-height: 78px;
    padding: 14px 18px;
  }

  .topbar h1 {
    font-size: 19px;
  }

  .workspace-content {
    padding: 20px 18px 40px;
  }

  .filter-row {
    align-items: stretch;
    flex-direction: column;
  }

  .search-box {
    width: 100%;
  }

  .segmented-control {
    align-self: flex-start;
  }

  .upload-grid,
  .form-grid-two {
    grid-template-columns: 1fr;
  }

  .file-drop {
    min-height: 126px;
  }
}

@media (max-width: 520px) {
  .login-panel {
    padding: 26px 22px;
  }

  .metric-band {
    grid-template-columns: 1fr;
  }

  .metric,
  .metric:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .topbar-actions .button span {
    display: none;
  }

  .topbar-actions .button {
    width: 40px;
    padding: 0;
  }

  .release-list-item {
    grid-template-columns: minmax(120px, 1fr) auto;
  }

  .release-list-item > :nth-child(2),
  .release-list-item > :nth-child(3) {
    display: none;
  }

  .segmented-control {
    width: 100%;
    overflow-x: auto;
  }

  .segmented-control button {
    flex: 1 0 auto;
  }

  .dialog-header,
  .dialog-footer,
  .dialog-body {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
