/* Exact Inter subsets imported by frontend/src/entry-client.tsx. */
@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url('/hub/fonts/inter-cyrillic-400-normal.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url('/hub/fonts/inter-latin-400-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url('/hub/fonts/inter-cyrillic-600-normal.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url('/hub/fonts/inter-latin-600-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url('/hub/fonts/inter-cyrillic-700-normal.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url('/hub/fonts/inter-latin-700-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* Exact light-theme shell values copied from the current npati frontend. */
:root {
  --sidebar: 220px;
  --header: 64px;
  --npati-gray-100: #f5f5f5;
  --npati-gray-200: #e5e5e5;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #0e0e0e;
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

.side-nav {
  width: 220px;
  min-width: 220px;
  padding: 0;
  border-right: 1px solid #f5f5f5;
  background: #fff;
}

.side-nav-header {
  display: flex;
  height: 64px;
  align-items: center;
  padding: 0 24px;
  color: #000;
  text-decoration: none;
}

.logo-text,
.npati-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.npati-logo {
  height: auto;
  padding: 0;
  color: #000;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .025em;
  line-height: 32px;
  cursor: pointer;
  transition: transform 300ms ease;
}

.npati-logo:hover {
  transform: scale(1.05);
  transform-origin: center;
}

.npati-logo > span {
  color: #000;
  animation: none;
}

.npati-logo .npati-logo-dot {
  display: inline-block;
  color: #ef4444;
  animation: npati-dot-bounce 1s infinite;
  transition: transform 300ms;
}

.npati-logo .npati-logo-dot:hover {
  transform: rotate(12deg) scale(1.25);
}

@keyframes npati-dot-bounce {
  0%, 100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(.8, 0, 1, 1);
  }
  50% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0, 0, .2, 1);
  }
}

.main-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 16px 16px;
}

.main-nav a {
  display: flex;
  width: 100%;
  height: 52px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: 8px;
  color: #000;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 150ms, background-color 150ms;
}

.main-nav a:hover {
  color: #000;
  background: var(--npati-gray-100);
}

.main-nav svg {
  width: 24px;
  height: 24px;
  flex: none;
  fill: currentColor;
  stroke: none;
}

.security-button {
  position: fixed;
  bottom: 16px;
  left: 16px;
  width: 44px;
  height: 44px;
  margin: 0;
  border: 1px solid #d4d4d4;
  background: #fff;
  font-size: 20px;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
}

.security-button svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  stroke: none;
}

.privacy-choice-button {
  position: fixed;
  bottom: 16px;
  left: 16px;
  z-index: 9999;
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #d4d4d4;
  border-radius: 9999px;
  background: #fff;
  color: #171717;
  font-size: 20px;
  line-height: 28px;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
}

.privacy-choice-button:hover {
  background: #f5f5f5;
}

.privacy-choice-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: none;
}

.page-column {
  margin-left: 220px;
}

.top-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  width: 100%;
  height: 64px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border: 0;
  border-bottom: 1px solid var(--npati-gray-200);
  background: #fff;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);
  backdrop-filter: none;
}

.header-actions {
  position: absolute;
  top: 50%;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #404040;
  transform: translateY(-50%);
  height: 40px;
  line-height: 1;
}

.header-actions > button {
  position: relative;
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: var(--npati-gray-100);
  color: #404040;
  cursor: pointer;
  transition: background-color 150ms;
  flex: 0 0 40px;
}

.create-dropdown {
  position: fixed;
  top: 72px;
  right: 204px;
  z-index: 61;
  min-width: 230px;
  padding: 12px;
  border: 1px solid var(--npati-gray-100);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 48px 64px -16px rgb(0 0 0 / .25);
}

.create-dropdown a {
  display: flex;
  width: 100%;
  height: 46px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: 8px;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 150ms;
}

.create-dropdown a:hover {
  background: var(--npati-gray-100);
}

.create-dropdown a svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: currentColor;
  stroke: none;
}

.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  display: flex;
  min-width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border-radius: 9999px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / .1);
}

.notification-dropdown {
  position: fixed;
  top: 72px;
  right: 148px;
  z-index: 60;
  width: 480px;
  min-width: 480px;
  height: 530px;
  min-height: 530px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid var(--npati-gray-100);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 48px 64px -16px rgb(0 0 0 / .25);
  color: #0e0e0e;
}

.notification-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
  padding: 0 8px;
}

.notification-dropdown-header h2 {
  margin: 0;
  color: #000;
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
}

.notification-dropdown-header button {
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: #262626;
}

.notification-dropdown-header button:hover {
  background: var(--npati-gray-100);
}

.notification-dropdown-header svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.notification-list {
  height: 450px;
  max-height: 450px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.notification-item {
  position: relative;
  padding: 12px;
  border-top: 1px solid var(--npati-gray-200);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: background-color 200ms;
}

.notification-items {
  animation: notification-fade 300ms ease both;
}

.notification-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.notification-item:first-child {
  border-top: 0;
}

.notification-item:hover {
  background: #fafafa;
}

.notification-item[role="link"]:focus-visible {
  outline: 2px solid var(--npati-gray-900);
  outline-offset: -2px;
}

.notification-avatar {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 9999px;
  box-shadow: 0 0 0 1px var(--npati-gray-200);
}

.notification-avatar .integration-logo {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
}

.notification-avatar > img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: cover;
}

.notification-user-fallback {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.notification-copy {
  min-width: 0;
  flex: 1;
  padding-right: 8px;
}

.notification-inner-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.notification-text {
  min-width: 0;
  flex: 1;
}

.notification-separator {
  margin: 0 4px;
  color: #a3a3a3;
}

.notification-copy p {
  margin: 0;
  color: #000;
  font-size: 14px;
  line-height: 20px;
}

.notification-copy strong {
  font-weight: 600;
}

.notification-message {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 4px !important;
}

.notification-message p {
  min-width: 0;
  flex: 1;
  transition: color 150ms;
}

.notification-unread-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin-top: 6px;
  border-radius: 9999px;
  background: #ef4444;
}

.notification-time {
  margin-top: 4px !important;
  font-size: 12px !important;
}

.notification-more {
  display: flex;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: transparent;
}

.notification-more:hover {
  background: var(--npati-gray-100);
}

.notification-more svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.notification-aside {
  position: relative;
  z-index: 5;
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  gap: 8px;
}

.notification-content-image {
  display: block;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border: 1px solid var(--npati-gray-200);
  border-radius: 8px;
  object-fit: cover;
  transition: transform 150ms;
}

.notification-content-image:hover {
  transform: scale(1.05);
}

.notification-menu-wrap {
  position: relative;
  z-index: 10;
}

.notification-item-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 50;
  width: 192px;
  padding: 4px 0;
  overflow: hidden;
  border: 1px solid var(--npati-gray-200);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
}

.notification-item-menu button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 0;
  background: #fff;
  color: #404040;
  font: 400 14px/20px Inter, Arial, sans-serif;
  text-align: left;
  cursor: pointer;
}

.notification-item-menu button:hover {
  background: var(--npati-gray-100);
}

.notification-item-menu svg {
  width: 16px;
  height: 16px;
  fill: #ef4444;
}

.notification-loading,
.notification-empty {
  display: flex;
  min-height: 350px;
  align-items: center;
  justify-content: center;
}

.notification-loading span {
  width: 28px;
  height: 28px;
  border: 2px solid #d4d4d4;
  border-top-color: #6b7280;
  border-radius: 9999px;
  animation: notification-spin 1s linear infinite;
}

.notification-empty {
  height: 450px;
  flex-direction: column;
  text-align: center;
}

.notification-empty-icon {
  display: flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 9999px;
  background: var(--npati-gray-100);
  color: #a3a3a3;
}

.notification-empty-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.notification-empty h4 {
  margin: 0 0 8px;
  color: #171717;
  font-size: 18px;
  font-weight: 600;
}

.notification-empty p {
  margin: 0;
  color: #737373;
  font-size: 14px;
}

@keyframes notification-spin { to { transform: rotate(360deg); } }
@keyframes notification-fade { from { opacity: 0; } to { opacity: 1; } }

.header-actions > button:hover {
  background: #dbeafe;
  transform: none;
}

.header-actions > button svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  stroke: none;
}

.header-actions .profile-avatar {
  margin-right: 16px;
  border: 0;
  background: var(--npati-gray-100);
  font-size: 14px;
  overflow: hidden;
}

.profile-avatar svg {
  display: block;
  width: 22px !important;
  height: 22px !important;
}

.profile-avatar img {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  object-fit: cover;
}

.profile-dropdown {
  position: fixed;
  top: 72px;
  right: 36px;
  z-index: 62;
  min-width: 256px;
  padding: 12px;
  border: 1px solid var(--npati-gray-100);
  border-radius: 16px;
  background: #fff;
  color: #000;
  box-shadow: 0 48px 64px -16px rgb(0 0 0 / .25);
}

.profile-dropdown-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
}

.profile-dropdown-avatar {
  display: flex;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 9999px;
  background: var(--npati-gray-100);
}

.profile-dropdown-avatar img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: cover;
}

.profile-dropdown-avatar svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.profile-dropdown-header > div:last-child {
  min-width: 0;
}

.profile-dropdown-header strong,
.profile-dropdown-header span {
  display: block;
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-dropdown-header strong {
  color: #171717;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.profile-dropdown-header span {
  color: #262626;
  font-size: 12px;
  line-height: 18px;
}

.profile-dropdown-divider {
  margin: 8px 0;
  border-bottom: 1px solid var(--npati-gray-200);
}

.profile-dropdown-item {
  display: flex;
  width: 100%;
  height: 46px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #111214;
  font: 600 16px/24px Inter, Arial, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 150ms, background-color 150ms;
}

.profile-dropdown-item:hover {
  background: var(--npati-gray-100);
  color: #171717;
}

.profile-dropdown-item svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: currentColor;
}

.profile-dropdown-item.profile-hub {
  --profile-hub-orbit-angle: 0deg;
  position: relative;
  isolation: isolate;
  width: calc(100% - 28px);
  height: 60px;
  margin: 6px 14px 10px;
  padding: 8px 16px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: #080808;
  text-align: left;
  box-shadow: 0 4px 11px rgb(15 23 42 / .08);
  transition: transform 180ms ease, box-shadow 180ms ease;
  animation: profile-hub-color-orbit 10s linear infinite;
}

.profile-dropdown-item.profile-hub::before,
.profile-dropdown-item.profile-hub::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.profile-dropdown-item.profile-hub::before {
  z-index: -2;
  background: conic-gradient(from var(--profile-hub-orbit-angle), #f59e0b, #ef4444, #a855f7, #3b82f6, #22c55e, #f59e0b);
  filter: blur(7px);
  opacity: .24;
  transition: filter 180ms ease, opacity 180ms ease;
}

.profile-dropdown-item.profile-hub::after {
  z-index: -1;
  border: 1px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from var(--profile-hub-orbit-angle), #fbbf24, #ef4444, #a855f7, #60a5fa, #4ade80, #fbbf24) border-box;
}

.profile-dropdown-item.profile-hub > * {
  position: relative;
  z-index: 1;
}

.profile-dropdown-item.profile-hub strong {
  color: #080808;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.profile-dropdown-item.profile-hub span {
  color: #4a4f56;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.profile-dropdown-item.profile-hub:hover,
.profile-dropdown-item.profile-hub:focus-visible {
  background: #fff;
  color: #080808;
  outline: none;
  transform: translateY(-1px);
  animation-duration: 5.5s;
}

.profile-dropdown-item.profile-hub:hover::before,
.profile-dropdown-item.profile-hub:focus-visible::before {
  filter: blur(8px);
  opacity: .32;
}

@property --profile-hub-orbit-angle {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0deg;
}

@keyframes profile-hub-color-orbit {
  to { --profile-hub-orbit-angle: 360deg; }
}

@media (prefers-reduced-motion: reduce) {
  .profile-dropdown-item.profile-hub,
  .profile-dropdown-item.profile-hub:hover,
  .profile-dropdown-item.profile-hub:focus-visible {
    animation: none;
  }
}

.profile-signout {
  color: #000;
}

.hub-content {
  padding: 40px 24px 90px;
}

.npati-signin-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.npati-signin-button:hover {
  background: #171717;
}

.hub-content > #dashboard {
  width: min(700px, 100%);
  margin-right: auto;
  margin-left: 0;
}

.integration-search-section {
  margin-bottom: 0;
  padding-top: 0;
}

.integration-search {
  width: min(680px, 100%);
  padding: 0 4px;
}

.integration-search > input {
  position: relative;
  z-index: 20;
  width: 100%;
  height: 48px;
  padding: 0 48px 0 16px;
  border: 0;
  border-radius: 12px;
  background: var(--npati-gray-100);
  color: #0e0e0e;
  font-size: 14px;
  font-weight: 400;
  outline: none;
}

.integration-search > input:focus {
  border: 0;
  box-shadow: 0 0 0 2px #fff;
}

.integration-search > button {
  top: 6px;
  right: 12px;
  z-index: 21;
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
  transition: transform 300ms, box-shadow 300ms, background-color 300ms;
}

.integration-search > button:hover {
  background: #fafafa;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
  transform: scale(1.05);
}

.integration-search > button svg {
  width: 18px;
  height: 18px;
  fill: #262626;
  stroke: none;
}

.search-dropdown {
  top: -8px;
  left: 50%;
  right: auto;
  width: min(694px, calc(100vw - 32px));
  max-height: 500px;
  padding: 56px 8px 8px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
  transform: translateX(-50%);
}

.connected-section {
  position: relative;
  width: min(736px, 100%);
  min-height: 64px;
  margin: 24px auto 16px;
}

.connected-section .section-heading > div:first-child {
  display: none;
}

.connected-section .section-heading {
  position: absolute;
  inset: 0;
  z-index: 2;
  align-items: center;
  margin: 0;
  pointer-events: none;
}

.connected-section .carousel-controls {
  width: 100%;
  justify-content: space-between;
}

.connected-section .carousel-controls button {
  border: 0;
  color: #262626;
  background: transparent;
  pointer-events: auto;
}

.connected-carousel {
  justify-content: flex-start;
  gap: 12px;
  min-height: 76px;
  padding: 4px 42px 10px;
  scroll-padding-inline: 42px;
}

.connected-app {
  width: 150px;
  min-width: 150px;
  max-width: 150px;
  height: 60px;
  min-height: 60px;
  flex: 0 0 150px;
  padding: 7px 8px;
  border-color: #e1e5ea;
  border-radius: 13px;
  background: linear-gradient(145deg, #fff, #fafafa);
  grid-template-columns: 34px minmax(0, 1fr) 7px;
  gap: 6px;
  box-shadow: 0 5px 14px rgb(15 23 42 / .07);
  text-align: left;
}

.connected-app:hover,
.connected-app:focus-visible {
  border-color: #cfd4da;
  box-shadow: 0 9px 22px rgb(15 23 42 / .11);
  transform: translateY(-1px);
}

.connected-app .integration-logo {
  width: 34px;
  height: 34px;
  border: 1px solid rgb(255 255 255 / .55);
  border-radius: 11px;
  box-shadow: 0 5px 12px rgb(15 23 42 / .18);
}

.connected-app .integration-logo svg {
  width: 19px;
  height: 19px;
}

.connected-app-copy {
  align-self: center;
}

.connected-app-copy strong,
.connected-app-copy small,
.connected-app-copy span {
  text-align: left;
}

.connected-app strong {
  color: #000;
  font-size: 11px;
  font-weight: 700;
  line-height: 13px;
}

.connected-app small {
  margin-top: 1px;
  color: #4f5660;
  font-size: 9px;
  line-height: 11px;
}

.connected-app-copy span {
  width: max-content;
  max-width: 100%;
  margin-top: 2px;
  padding: 1px 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef6ff;
  color: #155ea8;
  font-size: 8px;
  font-weight: 700;
  line-height: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.connected-app .status-dot {
  width: 7px;
  height: 7px;
}

.activity-card {
  position: relative;
  width: 700px;
  max-width: 100%;
  height: 184px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgb(15 23 42 / .09);
}

.activity-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  height: 4px;
  background: linear-gradient(90deg, #93c5fd 0%, #3b82f6 24%, #86efac 39%, #22c55e 52%, #d8b4fe 67%, #a855f7 78%, #fca5a5 90%, #ef4444 100%);
  content: "";
}

.activity-header {
  display: none;
}

.activity-card-heading {
  height: 47px;
  padding: 10px 16px 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.activity-card-heading > div {
  min-width: 0;
}

.activity-card-heading strong,
.activity-card-heading span {
  display: block;
}

.activity-card-heading strong {
  color: #171717;
  font-size: 14px;
  font-weight: 750;
  line-height: 18px;
}

.activity-card-heading > div > span {
  color: #171717;
  font-size: 9px;
  line-height: 13px;
}

.activity-card-heading .activity-total {
  flex: none;
  padding: 5px 10px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: linear-gradient(135deg, #eff6ff, #faf5ff);
  color: #171717;
  font-size: 10px;
  font-weight: 700;
  line-height: 14px;
}

.integrations-button {
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: #171717;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.integrations-button:hover {
  background: #303030;
  box-shadow: 0 6px 14px rgb(15 23 42 / .14);
  transform: translateY(-1px);
}

.integrations-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.integrations-launch-row {
  width: 100%;
  margin-top: 12px;
  display: flex;
  justify-content: flex-start;
}

.integrations-dialog {
  position: fixed;
  inset: 0;
  width: min(900px, calc(100vw - 40px));
  height: min(620px, calc(100vh - 48px));
  max-width: none;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: transparent;
  box-shadow: 0 32px 80px rgb(0 0 0 / .28), 0 8px 24px rgb(0 0 0 / .12);
}

.integrations-dialog::backdrop { background: rgb(0 0 0 / .7); }

.integrations-directory {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  grid-template-rows: 62px minmax(0, 1fr);
  overflow: hidden;
  background: #fff;
  color: #171717;
}

.integrations-directory::before { content: ""; position: absolute; inset: 0 0 auto; z-index: 3; height: 3px; background: linear-gradient(90deg,#3b82f6 0 20%,#22c55e 20% 40%,#a855f7 40% 60%,#f97316 60% 80%,#ef4444 80%); }

.directory-header {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 22px 0 26px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}

.directory-header h2 { margin: 0; color: #000; font: 700 18px/1.5 Inter, Arial, sans-serif; }
.directory-header button { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 1px solid #e5e7eb; outline: none; border-radius: 10px; background: #fff; color: #111; cursor: pointer; box-shadow: 0 3px 8px rgb(15 23 42 / .08); transition: transform .15s, box-shadow .15s, background-color .15s; }
.directory-header button:hover { background: #f5f5f5; box-shadow: 0 5px 12px rgb(15 23 42 / .12); transform: translateY(-1px); }
.directory-header button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.directory-sidebar { padding: 14px 12px; border-right: 1px solid #e5e7eb; background: linear-gradient(180deg,#fafafa,#fff); }
.directory-nav-item { width: 100%; height: 44px; display: flex; align-items: center; gap: 9px; padding: 0 9px; border: 1px solid transparent; border-radius: 11px; background: transparent; color: #111; font: 600 12px/1 Inter, Arial, sans-serif; text-align: left; cursor: pointer; transition: background-color .15s, border-color .15s, box-shadow .15s; }
.directory-nav-item:hover { border-color: #e5e7eb; background: #fff; box-shadow: 0 3px 10px rgb(15 23 42 / .06); }
.directory-nav-item.active { border-color: #e5e7eb; background: #fff; color: #000; font-weight: 700; box-shadow: 0 4px 12px rgb(15 23 42 / .08); }
.directory-nav-item svg { width: 28px; height: 28px; flex: 0 0 28px; padding: 5px; border-radius: 8px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; background: #f0f2f5; color: #171717; }
.directory-nav-item.active svg { background: #171717; color: #fff; }

.directory-content { min-width: 0; padding: 18px 22px 22px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #a3a3a3 transparent; background: #fff; }
.directory-content::-webkit-scrollbar { width: 5px; }
.directory-content::-webkit-scrollbar-track { background: transparent; }
.directory-content::-webkit-scrollbar-thumb { border-radius: 999px; background: #a3a3a3; }
.directory-content::-webkit-scrollbar-thumb:hover { background: #737373; }
.directory-search-wrap { height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 13px; border: 1px solid #e2e5e9; border-radius: 12px; background: #f8f9fa; box-shadow: inset 0 1px 2px rgb(15 23 42 / .03); transition: border-color .15s, background-color .15s, box-shadow .15s; }
.directory-search-wrap:focus-within { border-color: #a3a3a3; background: #fff; box-shadow: 0 0 0 3px rgb(15 23 42 / .06); }
.directory-search-wrap svg { width: 19px; height: 19px; flex: 0 0 19px; fill: none; stroke: #171717; stroke-width: 1.8; stroke-linecap: round; }
.directory-search-wrap input { width: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: #000; caret-color: #000; font: 600 13px/1 Inter, Arial, sans-serif; box-shadow: none; }
.directory-search-wrap input::placeholder { color: #525252; opacity: 1; transition: opacity .12s ease; }
.directory-search-wrap input:focus::placeholder { opacity: 0; }
.directory-toolbar { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.directory-toolbar > div { display: flex; gap: 10px; }
.directory-partner-pill { padding: 7px 12px; border: 1px solid #e5e7eb; border-radius: 999px; background: #fff; color: #000; font-size: 11px; font-weight: 700; box-shadow: 0 2px 7px rgb(15 23 42 / .06); }
.directory-toolbar select { height: 32px; min-width: 118px; padding: 0 28px 0 9px; border: 1px solid #dfe3e8; border-radius: 8px; background-color: #fff; color: #000; font: 600 11px/1 Inter, Arial, sans-serif; box-shadow: 0 2px 6px rgb(15 23 42 / .05); }
.directory-popular-section h3, .directory-all-section h3 { margin: 0 0 9px; color: #171717; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.directory-popular-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.directory-popular-card { min-width: 0; height: 60px; display: grid; grid-template-columns: 34px minmax(0, 1fr) 30px; align-items: center; gap: 9px; padding: 0 10px; border: 1px solid #e1e5ea; border-radius: 13px; background: linear-gradient(145deg,#fff,#fafafa); box-shadow: 0 5px 14px rgb(15 23 42 / .07); transition: transform .15s, box-shadow .15s; }
.directory-popular-card:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgb(15 23 42 / .1); }
.directory-popular-card strong { overflow: hidden; color: #000; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.directory-all-section { margin-top: 18px; }
.directory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.directory-card { position: relative; min-width: 0; min-height: 116px; padding: 12px; overflow: hidden; border: 1px solid #e1e5ea; border-radius: 13px; background: #fff; box-shadow: 0 5px 15px rgb(15 23 42 / .07); transition: transform .15s, border-color .15s, box-shadow .15s; }
.directory-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg,#3b82f6,#22c55e,#a855f7,#f97316,#ef4444); opacity: .75; }
.directory-card:hover { border-color: #cfd4da; box-shadow: 0 9px 22px rgb(15 23 42 / .11); transform: translateY(-1px); }
.directory-card-top { display: grid; grid-template-columns: 36px minmax(0, 1fr) 30px; align-items: center; gap: 9px; }
.directory-card-title { min-width: 0; }
.directory-card-title strong { display: block; overflow: hidden; color: #000; font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.directory-status { display: inline-block; margin-top: 2px; padding: 2px 5px; border-radius: 999px; font-size: 8px; font-weight: 700; }
.directory-status.available { background: #ecfdf3; color: #167547; }
.directory-status.soon { background: #f3f4f6; color: #171717; }
.directory-card > p { min-height: 28px; margin: 8px 0 5px; color: #262626; font-size: 10px; line-height: 14px; }
.directory-card-footer { min-height: 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #404040; font-size: 8px; }
.directory-connected-count { color: #167547; font-weight: 650; }
.directory-add-button { min-width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; padding: 0 9px; border: 1px solid #d9dde2; border-radius: 9px; background: #fff; color: #000; font: 600 10px/1 Inter, Arial, sans-serif; cursor: pointer; box-shadow: 0 3px 8px rgb(15 23 42 / .08); }
.directory-add-button:hover:not(:disabled) { border-color: #171717; background: #171717; color: #fff; }
.directory-add-button:disabled { color: #525252; background: #f5f5f5; cursor: not-allowed; box-shadow: none; }
.directory-add-button > span { white-space: nowrap; }
.directory-popular-card .directory-add-button, .directory-card-top .directory-add-button { width: 30px; min-width: 30px; padding: 0; font-size: 19px; font-weight: 400; }
.directory-popular-card .integration-logo, .directory-card .integration-logo { width: 34px; height: 34px; border: 1px solid rgb(255 255 255 / .5); border-radius: 10px; box-shadow: 0 5px 12px rgb(15 23 42 / .18); }
.directory-popular-card .integration-logo svg, .directory-card .integration-logo svg { width: 20px; height: 20px; }
.integration-logo.directory-logo { display: flex; align-items: center; justify-content: center; color: #fff; font-size: 9px; font-weight: 700; }
.integration-logo.directory-logo svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.integration-logo.directory-logo .directory-icon-fill { fill: currentColor; stroke: none; }
.directory-empty { padding: 36px 16px; color: #171717; font-size: 12px; text-align: center; }

.meta-configuration-message {
  margin-top: 9px;
  padding: 7px 9px;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  background: #fff7ed;
  color: #171717;
  font-size: 9px;
}

.meta-privacy-note {
  margin: 10px 2px 0;
  color: #262626;
  font-size: 8px;
  line-height: 12px;
}

.heatmap-scroll {
  height: 104px;
  padding: 1px 14px 5px;
  overflow: hidden;
}

.month-labels {
  display: flex;
  width: 634px;
  height: 16px;
  justify-content: space-between;
  gap: 0;
  margin-left: 36px;
  color: #171717;
  font-size: 9px;
  font-weight: 600;
  line-height: 12px;
}

.month-labels span:last-child {
  transform: none;
}

.heatmap {
  grid-template-rows: repeat(7, 10px);
  grid-auto-columns: 10px;
  gap: 2px;
}

.heatmap i,
.legend i {
  width: 10px;
  height: 10px;
  border-color: #e2e8f0;
  border-radius: 3px;
  background: #f8fafc;
}

.heatmap i {
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.heatmap i:hover {
  z-index: 3;
  transform: scale(1.35);
  box-shadow: 0 3px 8px rgb(15 23 42 / .18);
}

.heatmap .l1,
.legend .l1 {
  border-color: #60a5fa;
  background: linear-gradient(135deg, #bfdbfe, #3b82f6);
}

.heatmap .l2,
.legend .l2 {
  border-color: #4ade80;
  background: linear-gradient(135deg, #bbf7d0, #22c55e);
}

.heatmap .l3,
.legend .l3 {
  border-color: #c084fc;
  background: linear-gradient(135deg, #e9d5ff, #a855f7);
}

.heatmap .l4,
.legend .l4 {
  border-color: #fb923c;
  background: linear-gradient(135deg, #fed7aa, #f97316);
}

.heatmap .l5,
.legend .l5 {
  border-color: #f87171;
  background: linear-gradient(135deg, #fecaca, #ef4444);
}

.day-labels {
  width: 26px;
  height: 82px;
  color: #171717;
  font-size: 9px;
  font-weight: 600;
  line-height: 12px;
}

.activity-footer {
  min-height: 32px;
  height: 32px;
  padding: 0 16px;
  border-top-color: #eef2f7;
  color: #171717;
  font-size: 9px;
  font-weight: 600;
}

.activity-footer .legend {
  font-size: 9px;
}

.activity-footer .legend {
  gap: 10px;
}

.activity-footer .legend > span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.activity-footer .legend b {
  color: #171717;
  font-size: 9px;
  font-weight: 600;
}

.recent-section {
  width: min(736px, 100%);
}

@media (max-width: 760px) {
  .side-nav {
    width: 280px;
    min-width: 280px;
  }

  .page-column {
    margin-left: 0;
  }

  .top-header {
    padding: 0 16px;
  }

  .activity-card {
    height: auto;
  }

  .heatmap-scroll {
    overflow-x: auto;
  }

  .activity-footer {
    height: auto;
    min-height: 40px;
  }

  .integrations-dialog { width: calc(100vw - 32px); height: min(620px, calc(100vh - 32px)); }
  .integrations-directory { grid-template-columns: 1fr; grid-template-rows: 56px auto minmax(0, 1fr); }
  .directory-header { padding: 0 16px; }
  .directory-header h2 { font-size: 18px; }
  .directory-sidebar { display: flex; gap: 4px; padding: 7px 8px; overflow-x: auto; border-right: 0; border-bottom: 1px solid #ededed; }
  .directory-nav-item { width: auto; min-width: max-content; height: 36px; padding: 0 9px; gap: 7px; font-size: 11px; }
  .directory-nav-item svg { width: 16px; height: 16px; flex-basis: 16px; }
  .directory-content { padding: 12px 12px 16px; }
  .directory-toolbar { align-items: flex-start; flex-direction: column; padding: 10px 0; }
  .directory-toolbar > div { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .directory-toolbar select { width: 50%; min-width: 0; }
  .directory-popular-list { grid-template-columns: 1fr; gap: 8px; }
  .directory-popular-card { height: 54px; }
  .directory-grid { grid-template-columns: 1fr; }

  .header-actions {
    right: 8px;
    gap: 8px;
  }

  .header-actions .profile-avatar {
    margin-right: 8px;
  }

  .notification-dropdown {
    top: 72px;
    right: 12px !important;
    width: calc(100vw - 24px);
    min-width: 0;
    height: 65vh;
    min-height: 0;
  }

  .create-dropdown {
    right: 12px !important;
  }

  .profile-dropdown {
    right: 12px !important;
    max-width: calc(100vw - 24px);
  }

  .notification-list {
    height: calc(65vh - 56px);
    max-height: calc(65vh - 56px);
  }

  .hub-content {
    padding: 32px 14px 65px;
  }

  .integration-search > input {
    height: 48px;
    border-radius: 12px;
    font-size: 14px;
  }

  .integration-search > button {
    top: 6px;
    width: 36px;
    height: 36px;
  }

  .search-dropdown {
    top: -8px;
  }

  .connected-carousel {
    justify-content: flex-start;
  }
}
