.nhn-panel {
  height: 100%;
  overflow: auto;
  background: #0d1117;
  padding: 14px;
  color: #e6edf3;
}
.nhn-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #30363d;
  padding: 4px 3px 14px;
}
.nhn-heading h2 {
  margin: 4px 0;
  font-size: 17px;
}
.nhn-heading p {
  margin: 0;
  color: #8b949e;
  font-size: 10px;
}
.nhn-actions {
  display: flex;
  gap: 5px;
}
.nhn-actions button {
  font-size: 9px;
}
.nhn-session-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #30363d;
  border-radius: 5px;
  background: #161b22;
  margin: 12px 0;
  padding: 9px;
}
.nhn-session-card strong {
  font-size: 11px;
}
.nhn-session-card span {
  color: #8b949e;
  font-size: 9px;
}
.nhn-profession {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.nhn-profession select {
  max-width: 220px;
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: 4px;
  color: #e6edf3;
  font-size: 9px;
  padding: 4px 6px;
}
.nhn-capabilities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 6px;
}
.nhn-capability {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 8px;
  border: 1px solid #30363d;
  border-radius: 5px;
  background: #161b22;
  padding: 9px;
}
.nhn-capability-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #59636e;
}
.nhn-capability.is-available .nhn-capability-dot {
  background: #45d181;
  box-shadow: 0 0 0 3px #45d18120;
}
.nhn-capability strong,
.nhn-capability small {
  display: block;
}
.nhn-capability strong {
  font-size: 10px;
}
.nhn-capability small {
  margin-top: 3px;
  color: #8b949e;
  font-size: 8px;
}
.nhn-capability-state {
  color: #8b949e;
  font:
    8px ui-monospace,
    monospace;
  text-transform: uppercase;
}
.nhn-capability.is-available .nhn-capability-state {
  color: #6fdc9f;
}
.nhn-status {
  color: #c6a45e;
  font:
    9px ui-monospace,
    monospace;
}

.helseid-header {
  position: relative;
}
.helseid-trigger {
  display: flex;
  height: 25px;
  align-items: center;
  gap: 5px;
  border-color: #3b4650;
  padding: 3px 7px;
  white-space: nowrap;
}
.helseid-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #59636e;
}
.helseid-trigger-label {
  color: #dbe5ec;
  font-size: 0.63rem;
  font-weight: 700;
}
.helseid-trigger-state {
  overflow: hidden;
  max-width: 130px;
  color: #8b949e;
  font-size: 0.56rem;
  text-overflow: ellipsis;
}
.helseid-header[data-state="connected"] .helseid-dot {
  background: #45d181;
  box-shadow: 0 0 0 3px #45d18120;
}
.helseid-header[data-state="connected"] .helseid-trigger-state {
  color: #82dfaa;
}
.helseid-header[data-state="reauthentication"] .helseid-dot {
  background: #e9b949;
}
.helseid-header[data-state="unavailable"] .helseid-dot {
  background: #ff6b72;
}
.helseid-menu {
  position: absolute;
  z-index: 12000;
  top: calc(100% + 5px);
  right: 0;
  width: 290px;
  border: 1px solid #30363d;
  border-radius: 6px;
  background: #161b22fa;
  padding: 11px;
  box-shadow: 0 18px 48px #0009;
}
.helseid-menu[hidden],
.helseid-profession-control[hidden] {
  display: none;
}
.helseid-menu-title,
.helseid-identity,
.helseid-profession,
.helseid-message {
  display: block;
}
.helseid-menu-title {
  color: #dbe5ec;
  font-size: 0.72rem;
}
.helseid-identity {
  margin-top: 7px;
  color: #e6edf3;
  font-size: 0.66rem;
}
.helseid-profession,
.helseid-message {
  margin-top: 4px;
  color: #8b949e;
  font-size: 0.58rem;
}
.helseid-profession-control {
  display: grid;
  gap: 4px;
  margin-top: 9px;
  color: #8b949e;
  font-size: 0.58rem;
}
.helseid-profession-control select {
  width: 100%;
  font-size: 0.63rem;
}
.helseid-message:empty {
  display: none;
}
.helseid-menu-actions {
  display: grid;
  gap: 5px;
  margin-top: 10px;
}
.helseid-menu-actions button {
  width: 100%;
  min-height: 27px;
  font-size: 0.63rem;
  text-align: left;
}

@media (max-width: 1050px) {
  .helseid-trigger-state {
    display: none;
  }
}
