/* Workspace ID Visibility v1.0.1
   Scoped to Workspace ID/details enhancements only. Existing platform CSS is preserved. */
.wiv101-inline-id {
  margin-top: 7px;
  padding-top: 6px;
  border-top: 1px dashed rgba(100, 116, 139, 0.22);
}

.wiv101-inline-id > span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted, #64748b);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wiv101-inline-id > div,
.wiv101-created-id,
.wiv101-detail-id > div > div {
  display: flex;
  align-items: center;
  gap: 6px;
}

.wiv101-inline-id code,
.wiv101-created-id code,
.wiv101-detail-id code {
  max-width: 230px;
  overflow: hidden;
  color: inherit;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 9.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wiv101-copy {
  flex: 0 0 auto;
  width: auto;
  min-width: 44px;
  padding: 3px 7px;
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 7px;
  background: transparent;
  color: #2563eb;
  font: inherit;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}

.wiv101-copy:hover {
  background: rgba(37, 99, 235, 0.07);
}

.wiv101-overlay {
  position: fixed;
  z-index: 2147483000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.46);
  backdrop-filter: blur(3px);
}

.wiv101-modal {
  width: min(760px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 18px;
  background: var(--surface, #fff);
  color: var(--text, #0f172a);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
}

.wiv101-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.wiv101-modal-head small {
  color: #2563eb;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.wiv101-modal-head h3 {
  margin: 4px 0 0;
  font-size: 22px;
}

.wiv101-close,
.wiv101-notice-close {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.wiv101-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 8px 24px 18px;
}

.wiv101-detail-item {
  min-width: 0;
  padding: 14px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.wiv101-detail-item:nth-child(odd) {
  padding-right: 20px;
}

.wiv101-detail-item:nth-child(even) {
  padding-left: 20px;
}

.wiv101-detail-item > span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted, #64748b);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.wiv101-detail-item strong,
.wiv101-detail-item code {
  overflow-wrap: anywhere;
  font-size: 12px;
}

.wiv101-detail-id {
  grid-column: 1 / -1;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.wiv101-detail-id > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.wiv101-detail-id code {
  max-width: none;
  white-space: normal;
}

.wiv101-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 16px 24px 22px;
}

.wiv101-created-notice {
  position: fixed;
  z-index: 2147483001;
  top: 18px;
  right: 18px;
  width: min(440px, calc(100vw - 36px));
  padding: 17px 42px 17px 17px;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 14px;
  background: var(--surface, #fff);
  color: var(--text, #0f172a);
  box-shadow: 0 18px 52px rgba(15, 23, 42, 0.2);
}

.wiv101-created-notice > strong,
.wiv101-created-notice > span,
.wiv101-created-notice > small {
  display: block;
}

.wiv101-created-notice > strong {
  font-size: 14px;
}

.wiv101-created-notice > span {
  margin-top: 3px;
  color: var(--muted, #64748b);
  font-size: 12px;
}

.wiv101-created-notice > small {
  margin: 12px 0 4px;
  color: var(--muted, #64748b);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.wiv101-created-notice p {
  margin: 9px 0 0;
  color: var(--muted, #64748b);
  font-size: 10px;
  line-height: 1.45;
}

.wiv101-notice-close {
  position: absolute;
  top: 9px;
  right: 10px;
}

@media (max-width: 760px) {
  .wiv101-details-grid {
    grid-template-columns: 1fr;
  }

  .wiv101-detail-item,
  .wiv101-detail-item:nth-child(odd),
  .wiv101-detail-item:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
  }

  .wiv101-inline-id code {
    max-width: 145px;
  }
}
