/* ==========================================================================
   PAGEDONE-INSPIRED CLEAN SPLIT STUDIO AUTH (Signature #01249D Cobalt)
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none;
}

button, a, input, select, textarea, div, span {
  -webkit-tap-highlight-color: transparent !important;
}

button:focus, button:focus-visible, a:focus, a:focus-visible {
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
}
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

html::-webkit-scrollbar, body::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

html, body, .clean-portal-body {
  background: var(--c-bg-gradient, radial-gradient(circle at 65% 25%, #0533D6 0%, #01249D 55%, #011B73 100%)) !important;
  color: var(--c-text, #FFFFFF) !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  font-family: var(--font-sans, 'Plus Jakarta Sans', -apple-system, sans-serif);
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* ==========================================================================
   CINEMATIC AMBIENT VIGNETTE (Matching Homepage)
   ========================================================================== */
.cinematic-vignette-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(ellipse at 50% 50%, transparent 42%, rgba(0, 6, 28, 0.4) 80%, rgba(0, 3, 18, 0.68) 100%);
}

.crosshair-grid-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

.grid-line {
  position: absolute;
  background-color: rgba(219, 234, 254, 0.08);
}

.h-line {
  left: 0;
  right: 0;
  height: 1px;
}

.v-line {
  top: 0;
  bottom: 0;
  width: 1px;
}

.plus-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: rgba(219, 234, 254, 0.28);
  user-select: none;
}

/* ==========================================================================
   MAIN SPLIT WRAPPER
   ========================================================================== */
.clean-main {
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
}

.centered-auth-layout {
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.clean-auth-section {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.auth-split-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
  width: 100%;
  max-width: 1080px;
  position: relative;
  z-index: 2;
  animation: portalCardRise 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ==========================================================================
   LEFT HERO COLUMN (Logo + Greeting + Mascot)
   ========================================================================== */
.auth-visual-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-left-content {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.auth-brand-link {
  display: inline-flex;
  margin-bottom: 0.2rem;
}

.auth-hero-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.auth-hero-greeting {
  font-size: clamp(2.6rem, 4.2vw, 3.8rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
}

.auth-hero-tagline {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.4;
  margin: 0;
}

.auth-hero-subtext {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  max-width: 440px;
  margin: 0;
}

.auth-mascot-hero-wrap {
  margin-top: 0.8rem;
  width: 100%;
  max-width: 360px;
}

.auth-mascot-img {
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
  filter: drop-shadow(0 20px 35px rgba(0, 5, 25, 0.5));
  animation: floatMascotAuth 4.8s ease-in-out infinite;
}

@keyframes floatMascotAuth {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* ==========================================================================
   RIGHT COLUMN: CRISP WHITE FLOATING CARD (Pagedone Style)
   ========================================================================== */
.clean-auth-box {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border-radius: 32px;
  padding: 3.2rem 2.8rem 2.4rem;
  box-shadow: 0 25px 70px rgba(0, 5, 30, 0.45);
  width: 100%;
  max-width: 430px;
  margin-left: auto;
}

.auth-title-group {
  text-align: center;
  margin-bottom: 2rem;
}

.clean-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0F172A;
  margin-bottom: 0.4rem;
}

.clean-desc {
  font-size: 0.88rem;
  color: #64748B;
  line-height: 1.5;
}

/* ==========================================================================
   GOOGLE AUTH STACK & BUTTONS
   ========================================================================== */
.google-auth-stack {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.google-sign-in-pill {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 50px;
  padding: 14px 24px;
  font-size: 0.98rem;
  font-weight: 700;
  color: #0F172A;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.google-sign-in-pill:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.google-pill-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.demo-sign-in-pill {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #01249D;
  color: #FFFFFF;
  border: none;
  border-radius: 50px;
  padding: 14px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.demo-sign-in-pill:hover {
  background: #0533D6;
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(1, 36, 157, 0.35);
}

.demo-pill-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Security Notice */
.auth-security-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.74rem;
  color: #94A3B8;
  margin-top: 1.5rem;
  text-align: center;
}

.lock-mini-icon {
  width: 13px;
  height: 13px;
  stroke: #94A3B8;
  flex-shrink: 0;
}

/* Apply Alt Link */
.auth-apply-alt-wrap {
  text-align: center;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid #F1F5F9;
}

.apply-alt-link {
  background: none;
  border: none;
  color: #01249D;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}

.apply-alt-link:hover {
  color: #0533D6;
  text-decoration: underline;
}

/* Powered by Nyghto */
.powered-by-nyghto {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.4rem;
}

.powered-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.powered-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #94A3B8;
  font-family: var(--font-mono);
}

.powered-brand {
  font-size: 0.85rem;
  font-weight: 800;
  color: #01249D;
  letter-spacing: -0.02em;
}

@media (max-width: 900px) {
  .auth-split-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .clean-auth-box {
    margin: 0 auto;
    padding: 2.2rem 1.6rem;
  }

  .auth-visual-col {
    text-align: center;
    align-items: center;
  }

  .auth-left-content {
    align-items: center;
  }
}

/* ==========================================================================
   APPLY FOR PROJECT SCREEN (Executive Scope Form)
   ========================================================================== */
.clean-apply-section {
  display: flex;
  justify-content: center;
  width: 100%;
  position: relative;
  z-index: 2;
  padding: 1rem 0;
}

.clean-apply-box {
  max-width: 740px;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  padding: 3rem 2.8rem;
  box-shadow: 0 35px 80px rgba(0, 5, 30, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.apply-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.back-link-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s ease;
}

.back-link-btn:hover {
  color: #FFFFFF;
}

.step-pill {
  font-size: 0.7rem;
  font-weight: 800;
  color: #93C5FD;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.apply-header {
  margin-bottom: 2rem;
}

.field-input-box, .field-select-box, .field-textarea-box {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 0.92rem;
  color: #FFFFFF;
  outline: none;
  font-family: inherit;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.field-input-box:focus, .field-select-box:focus, .field-textarea-box:focus {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.14);
}

.field-select-box option {
  background: #011D7D;
  color: #FFFFFF;
}

.field-input-box::placeholder, .field-textarea-box::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

/* Category Selector Pills */
.nyghto-category-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.cat-pill-option {
  position: relative;
  cursor: pointer;
}

.cat-pill-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cat-pill-box {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 10px 14px;
  transition: all 0.15s ease;
}

.cat-pill-box strong {
  font-size: 0.88rem;
  color: #FFFFFF;
  font-weight: 600;
}

.cat-pill-box small {
  font-size: 0.72rem;
  color: #93C5FD;
  line-height: 1.3;
}

.cat-pill-option:hover .cat-pill-box {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}

.cat-pill-option input:checked + .cat-pill-box {
  background: rgba(255, 255, 255, 0.22);
  border-color: #FFFFFF;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.block-divider {
  display: flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #93C5FD;
  letter-spacing: 0.08em;
  margin: 1.6rem 0 1rem;
}

.block-divider::after {
  content: '';
  flex: 1;
  margin-left: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.apply-action-row {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.8rem;
}

.form-status {
  font-size: 0.84rem;
  text-align: center;
  margin-top: 0.8rem;
}

/* ==========================================================================
   NYGHTO CLIENT ROOM — MINIMAL & SIMPLE STUDIO STAGE
   Exact match to Nyghto.in Brand System:
   Canvas: #01249D (Official Deep Cobalt) & Atmospheric Radial Hue
   Typography: Space Grotesk (Headlines), JetBrains Mono (Badges), Plus Jakarta Sans (UI)
   ========================================================================== */

body.dash-active {
  background: var(--c-bg, #01249D) !important;
  color: var(--c-text, #FFFFFF) !important;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
}

body.dash-active .cinematic-vignette-overlay {
  display: block !important;
  opacity: 0.6;
}

body.dash-active .crosshair-grid-bg {
  display: block !important;
  opacity: 0.5;
  pointer-events: none;
}

body.dash-active {
  min-height: 100vh;
  overflow-x: hidden;
}

body.dash-active .fixed-frame-overlay {
  display: flex !important;
  pointer-events: none;
}

body.dash-active .clean-main,
body.dash-active .centered-auth-layout {
  display: none !important;
}

/* ─── PRO DASHBOARD CONTAINER ────────────────────────────────────────────── */
.pro-dash-section {
  width: 100%;
  min-height: 100vh;
  background: transparent;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  flex: 1;
}

/* ─── FULL-BLEED EDGE-TO-EDGE STAGE CONTAINER (Tucked right below top studio navbar) ─── */
.pro-stage-container {
  max-width: 96vw;
  width: 96vw;
  margin: 0 auto;
  padding: 4.6rem 0 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: calc(100vh - 4.6rem);
}

.pro-tab-pane {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ─── ALL-IN-ONE FULL-WIDTH CARD CONTAINER (FLAT BOTTOM & SMOOTH KINETIC RISE) ─ */
.uui-profile-card {
  background: #FFFFFF;
  border-radius: 28px 28px 0 0;
  overflow: hidden;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-bottom: none;
  color: #111827;
  padding-bottom: 3.5rem;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  animation: portalCardRise 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  transform-origin: bottom center;
}

@keyframes portalCardRise {
  0% {
    opacity: 0;
    transform: translateY(90px) scale(0.975);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes avatarPop {
  0% {
    opacity: 0;
    transform: scale(0.5) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes fadeInSlideUp {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.uui-cover-banner {
  min-height: 200px;
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 50%, #F8FAFC 100%);
  width: 100%;
  display: flex;
  flex-direction: column;
  transition: min-height 0.25s ease, background 0.25s ease;
}

.uui-cover-banner.compact-banner {
  min-height: auto;
  background: #FFFFFF;
  border-bottom: 1px solid #F1F5F9;
}

/* Integrated Cover Navigation */
.uui-banner-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 3.5rem;
  gap: 1.5rem;
  transition: padding 0.25s ease;
}

.uui-cover-banner.compact-banner .uui-banner-nav {
  padding: 1rem 3.5rem;
}

.uui-brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.uui-brand-logo {
  height: 22px;
  width: auto;
  filter: brightness(0);
}

/* Segmented Navbar Pills in Banner */
.uui-segmented-tabs {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid #E2E8F0;
  border-radius: 50px;
  padding: 4px;
  display: flex;
  gap: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.uui-tab-pill {
  background: transparent;
  border: none;
  border-radius: 50px;
  padding: 7px 18px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.uui-tab-pill:hover {
  color: #0F172A;
  background: rgba(255, 255, 255, 0.8);
}

.uui-tab-pill.active {
  background: #0F172A;
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
}

.uui-tab-chat-highlight {
  color: #0284C7;
  font-weight: 700;
}

.uui-tab-pill.active .uui-chat-pulse-dot {
  background: #22C55E;
}

.uui-mobile-kebab-wrap {
  display: none;
}

.uui-banner-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.uui-btn-apply {
  background: #0F172A;
  color: #FFFFFF;
  border: 1px solid #0F172A;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.15);
}

.uui-btn-apply:hover {
  background: #1E293B;
  transform: translateY(-1px);
}

.uui-btn-logout-mini {
  background: #FFFFFF;
  color: #475569;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.uui-btn-logout-mini:hover {
  background: #F8FAFC;
  color: #0F172A;
}

.uui-btn-chat:hover {
  background: #F9FAFB;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.uui-chat-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseChatDot 2s infinite;
}

@keyframes pulseChatDot {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.uui-btn-apply {
  background: #111827;
  color: #FFFFFF;
  border: 1px solid #111827;
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.uui-btn-apply:hover {
  background: #1F2937;
  border-color: #1F2937;
  transform: translateY(-1px);
}

.uui-btn-logout-mini {
  background: rgba(255, 255, 255, 0.75);
  color: #374151;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.uui-btn-logout-mini:hover {
  background: #FFFFFF;
  color: #111827;
  border-color: #D1D5DB;
}

/* ─── BESPOKE PROJECT PROGRESS ROADMAP & ACTIVITY SECTION ─────────────────── */
.nyghto-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
}

.nyghto-progress-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}

.nyghto-progress-sub {
  font-size: 0.88rem;
  color: #64748B;
  margin: 0;
  max-width: 680px;
  line-height: 1.5;
}

.nyghto-progress-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.nyghto-btn-outline {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #0F172A;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: all 0.15s ease;
}

.nyghto-btn-outline:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
}

.nyghto-btn-solid {
  background: #01249D;
  border: 1px solid #01249D;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #FFFFFF;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(1, 36, 157, 0.2);
  transition: all 0.15s ease;
}

.nyghto-btn-solid:hover {
  background: #011E82;
  transform: translateY(-1px);
}

.nyghto-back-btn {
  background: transparent;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #64748B;
  cursor: pointer;
  transition: all 0.15s ease;
}

.nyghto-back-btn:hover {
  background: #F1F5F9;
  color: #0F172A;
  border-color: #CBD5E1;
}

/* ─── PROJECT SELECTOR GRID & CARDS ────────────────────────────────────── */
.nyghto-project-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.nyghto-project-select-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.6rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.nyghto-project-select-card:hover {
  transform: translateY(-3px);
  border-color: #0284C7;
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.08);
}

.nyghto-p-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}

.nyghto-p-card-tags {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nyghto-p-tag-cat {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748B;
  background: #F1F5F9;
  padding: 3px 8px;
  border-radius: 6px;
}

.nyghto-p-pct {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0284C7;
}

.nyghto-p-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 6px;
  line-height: 1.35;
}

.nyghto-p-card-desc {
  font-size: 0.82rem;
  color: #64748B;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.nyghto-p-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #F1F5F9;
  padding-top: 0.8rem;
  margin-top: 0.4rem;
}

.nyghto-p-footer-meta {
  font-size: 0.7rem;
  color: #64748B;
  font-weight: 600;
}

.nyghto-p-open-link {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0284C7;
  transition: transform 0.15s ease;
}

.nyghto-project-select-card:hover .nyghto-p-open-link {
  transform: translateX(3px);
}

.nyghto-empty-projects {
  text-align: center;
  padding: 3rem 1.5rem;
  background: #F8FAFC;
  border: 1px dashed #CBD5E1;
  border-radius: 16px;
  grid-column: 1 / -1;
}

/* ─── WAITING FOR REVIEW CALL BANNER ───────────────────────────────────── */
.nyghto-review-call-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 14px;
  padding: 1.3rem 1.6rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.nyghto-review-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 620px;
}

.nyghto-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #B45309;
  letter-spacing: 0.06em;
}

.review-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #D97706;
  animation: pulseAmber 1.8s infinite;
}

@keyframes pulseAmber {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.nyghto-review-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: #78350F;
  margin: 0;
}

.nyghto-review-sub {
  font-size: 0.84rem;
  color: #92400E;
  margin: 0;
  line-height: 1.5;
}

.nyghto-review-btns {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nyghto-review-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0F172A;
  color: #FFFFFF;
  border: 1px solid #0F172A;
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.nyghto-review-call-btn:hover {
  background: #1E293B;
  transform: translateY(-1px);
}

.nyghto-review-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  color: #047857;
  border: 1px solid #A7F3D0;
  border-radius: 8px;
  padding: 9px 15px;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.nyghto-review-wa-btn:hover {
  background: #ECFDF5;
  border-color: #6EE7B7;
}

/* 4-Metric Key Stats Strip */
.nyghto-metrics-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 1.2rem 1.6rem;
  gap: 1rem;
}

.nyghto-m-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nyghto-m-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748B;
  letter-spacing: 0.06em;
}

.nyghto-m-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F172A;
}

.nyghto-m-divider {
  width: 1px;
  height: 32px;
  background: #E2E8F0;
}

/* 4-Phase Roadmap Grid */
.nyghto-roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}

.nyghto-phase-card {
  background: #FAFAFB;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s ease;
}

.phase-card-done {
  background: #FFFFFF;
  border-color: #E2E8F0;
}

.phase-card-active {
  background: #FFFFFF;
  border-color: #0284C7;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.08);
}

.phase-card-pending {
  background: #F8FAFC;
  opacity: 0.8;
}

.nyghto-phase-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nyghto-phase-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748B;
  letter-spacing: 0.06em;
}

.phase-card-done .nyghto-phase-tag {
  color: #16A34A;
}

.nyghto-phase-check {
  font-size: 0.72rem;
  font-weight: 700;
  color: #16A34A;
}

.nyghto-phase-name {
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
}

.nyghto-phase-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nyghto-phase-list li {
  font-size: 0.8rem;
  color: #475569;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.p-bullet {
  font-weight: 700;
  color: #0284C7;
  flex-shrink: 0;
}

.phase-card-done .p-bullet {
  color: #16A34A;
}

/* Activity Logs */
.nyghto-activity-section {
  background: #FAFAFB;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 1.4rem 1.8rem;
}

.nyghto-activity-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid #E2E8F0;
  padding-bottom: 0.8rem;
}

.nyghto-activity-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
}

.nyghto-activity-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nyghto-activity-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
}

.nyghto-activity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.done-dot {
  background: #10B981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.nyghto-activity-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 2px;
}

.nyghto-activity-content strong {
  color: #0F172A;
  font-weight: 600;
}

.nyghto-activity-sub {
  font-size: 0.76rem;
  color: #64748B;
}

.nyghto-activity-time {
  font-size: 0.72rem;
  color: #94A3B8;
  white-space: nowrap;
}

/* ─── FILES & FIGMA SECTION ─────────────────────────────────────────────── */
.uui-files-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.8rem;
}

.uui-file-card {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 18px;
  padding: 1.6rem;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.uui-file-card:hover {
  transform: translateY(-2px);
  border-color: #D1D5DB;
}

.uui-file-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.uui-file-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.uui-file-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.uui-file-sub {
  font-size: 0.84rem;
  color: #6B7280;
  line-height: 1.4;
  margin: 0 0 8px;
}

.uui-file-link {
  font-size: 0.86rem;
  font-weight: 700;
  color: #0284C7;
  text-decoration: underline;
}

/* ─── ASSIGNED DEV DIRECT CHAT EMBEDDED VIEW ───────────────────────────── */
.uui-dev-chat-embedded {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.uui-dev-profile-strip {
  background: #F9FAFB;
  border-bottom: 1px solid #E5E7EB;
  padding: 1.2rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 14px;
}

.uui-dev-avatar-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #0284C7;
  overflow: hidden;
  background: #FFFFFF;
}

.uui-dev-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uui-dev-online-pip {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background: #10B981;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
}

.uui-dev-meta {
  display: flex;
  flex-direction: column;
}

.uui-dev-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.uui-dev-status {
  font-size: 0.8rem;
  color: #059669;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 2px 0 0;
}

.uui-dev-thread {
  min-height: 280px;
  max-height: 380px;
  overflow-y: auto;
  padding: 0.8rem 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: transparent !important;
}

.uui-chat-header {
  background: #011E82;
  color: #FFFFFF;
  padding: 1.1rem 1.3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.uui-chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.uui-chat-avatar-stack {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  overflow: hidden;
  background: #FFFFFF;
  flex-shrink: 0;
}

.uui-chat-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uui-chat-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

.uui-chat-subtitle {
  font-size: 0.74rem;
  color: #93C5FD;
  margin: 2px 0 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.uui-chat-online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
}

.uui-chat-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.uui-chat-wa-btn {
  background: #10B981;
  color: #FFFFFF;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.74rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease;
}

.uui-chat-wa-btn:hover {
  background: #059669;
}

.uui-chat-close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #FFFFFF;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.uui-chat-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.uui-chat-quick-prompts {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 8px 12px;
  background: #F9FAFB;
  border-bottom: 1px solid #F3F4F6;
  scrollbar-width: none;
}

.uui-chat-quick-prompts::-webkit-scrollbar {
  display: none;
}

.uui-prompt-chip {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 50px;
  padding: 5px 12px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.uui-prompt-chip:hover {
  background: #011E82;
  color: #FFFFFF;
  border-color: #011E82;
}

.uui-chat-thread {
  flex: 1;
  overflow-y: auto;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #F9FAFB;
}

.uui-chat-msg {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 84%;
}

.uui-msg-incoming {
  align-self: flex-start;
}

.uui-msg-incoming .uui-msg-bubble {
  background: #FFFFFF;
  color: #1F2937;
  border: 1px solid #E5E7EB;
  border-radius: 18px 18px 18px 4px;
  padding: 10px 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.uui-msg-outgoing {
  align-self: flex-end;
}

.uui-msg-outgoing .uui-msg-bubble {
  background: #01249D;
  color: #FFFFFF;
  border-radius: 18px 18px 4px 18px;
  padding: 10px 14px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.uui-msg-time {
  font-size: 0.68rem;
  color: #9CA3AF;
  padding: 0 4px;
}

.uui-msg-outgoing .uui-msg-time {
  align-self: flex-end;
}

.uui-chat-typing {
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F9FAFB;
}

.uui-typing-dots {
  display: flex;
  gap: 3px;
}

.uui-typing-dots span {
  width: 5px;
  height: 5px;
  background: #6B7280;
  border-radius: 50%;
  animation: typingBounce 1.2s infinite;
}

.uui-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.uui-typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-4px); }
}

.uui-typing-label {
  font-size: 0.72rem;
  color: #6B7280;
}

.uui-chat-input-row {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  background: #FFFFFF;
  border-top: 1px solid #E5E7EB;
  align-items: center;
}

.uui-chat-input {
  flex: 1;
  border: 1px solid #E5E7EB;
  border-radius: 50px;
  padding: 9px 16px;
  font-size: 0.88rem;
  color: #111827;
  outline: none;
  font-family: inherit;
  transition: border-color 0.15s ease;
}

.uui-chat-input:focus {
  border-color: #011E82;
}

.uui-chat-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #011E82;
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background 0.15s ease;
  flex-shrink: 0;
}

.uui-chat-send-btn:hover {
  background: #01249D;
  transform: scale(1.05);
}

/* Floating FAB Trigger */
.uui-chat-floating-fab {
  position: fixed;
  bottom: 1.8rem;
  right: 2rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #011E82;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  transition: transform 0.2s ease, background 0.2s ease;
}

.uui-chat-floating-fab:hover {
  transform: scale(1.08);
  background: #01249D;
}

.uui-fab-pulse {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid #011E82;
}

.uui-mobile-actions-bar {
  display: none;
}

.uui-profile-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 4.5rem;
}

.uui-desktop-header-action {
  display: block;
}

.uui-avatar-wrap {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 4px solid #FFFFFF;
  background: #F3F4F6;
  margin-top: -55px;
  position: relative;
  z-index: 5;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: avatarPop 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}

.uui-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uui-btn-secondary {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 9px 20px;
  font-weight: 600;
  font-size: 0.88rem;
  color: #374151;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.15s ease;
  animation: fadeInSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.uui-btn-secondary:hover {
  background: #F9FAFB;
  border-color: #D1D5DB;
  color: #111827;
}

.uui-user-meta {
  padding: 1.1rem 4.5rem 0;
  animation: fadeInSlideUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.uui-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.uui-user-name {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
  margin: 0;
}

.uui-verified-badge {
  width: 24px;
  height: 24px;
  color: #0284C7;
  flex-shrink: 0;
}

.uui-user-email {
  color: #6B7280;
  font-size: 0.95rem;
  margin: 4px 0 0;
  font-weight: 400;
}

/* 4-Column Stats Row */
.uui-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 4.5rem 1.6rem;
  animation: fadeInSlideUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.uui-stat-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.uui-stat-label {
  color: #6B7280;
  font-size: 0.9rem;
  font-weight: 400;
}

.uui-stat-value {
  color: #111827;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.uui-stat-divider {
  width: 1px;
  height: 42px;
  background: #F3F4F6;
}

.uui-section-divider {
  height: 1px;
  background: #F3F4F6;
  width: 100%;
  margin: 1.8rem 0;
}

/* Form Settings Rows */
.uui-profile-form {
  display: flex;
  flex-direction: column;
}

.uui-form-row {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 4rem;
  padding: 0 4.5rem;
  align-items: start;
}

.uui-row-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.uui-row-title {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.uui-row-desc {
  font-size: 0.88rem;
  color: #6B7280;
  line-height: 1.6;
  margin: 0;
}

.uui-row-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.uui-right-toggle {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.uui-right-action {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.uui-text-input {
  width: 100%;
  padding: 12px 18px;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  font-size: 0.94rem;
  font-weight: 600;
  color: #000000 !important;
  background: #FFFFFF;
  outline: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  font-family: inherit;
  transition: border-color 0.15s ease;
}

.uui-text-input:focus {
  border-color: #000000;
  color: #000000 !important;
}

.uui-slug-input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: border-color 0.15s ease;
}

.uui-slug-input-wrap:focus-within {
  border-color: #000000;
}

.uui-slug-prefix {
  background: #FAFAFA;
  border-right: 1px solid #E5E7EB;
  padding: 12px 16px;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 600;
  user-select: none;
}

.uui-slug-input {
  flex: 1;
  border: none;
  padding: 12px 18px;
  font-size: 0.94rem;
  font-weight: 600;
  color: #000000 !important;
  outline: none;
  font-family: inherit;
}

/* ─── BESPOKE STUDIO ACTIVE WORK CARD ──────────────────────────────────── */
.nyghto-work-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 1.6rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.nyghto-work-card:hover {
  border-color: #CBD5E1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.nyghto-work-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.nyghto-work-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nyghto-work-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0284C7;
  letter-spacing: 0.06em;
}

.nyghto-pulse-pip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0284C7;
  display: inline-block;
  animation: pulseDot 2s infinite;
}

.nyghto-meta-dot {
  color: #CBD5E1;
}

.nyghto-work-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  letter-spacing: -0.01em;
}

.nyghto-work-pct {
  font-size: 1.1rem;
  font-weight: 800;
  color: #111827;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 4px 10px;
}

/* Hairline Progress Bar */
.nyghto-bar-track {
  width: 100%;
  height: 4px;
  background: #F1F5F9;
  border-radius: 4px;
  overflow: hidden;
}

.nyghto-bar-fill {
  height: 100%;
  background: #01249D;
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* Stage Rows */
.nyghto-stage-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #FAFAFA;
  border: 1px solid #F3F4F6;
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
}

.nyghto-stage-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
}

.nyghto-stage-status {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 4px;
  width: 86px;
  text-align: center;
  flex-shrink: 0;
}

.stage-done .nyghto-stage-status {
  background: #DCFCE7;
  color: #16A34A;
}

.stage-done .nyghto-stage-title {
  color: #4B5563;
  text-decoration: line-through;
  text-decoration-color: #9CA3AF;
}

.stage-active .nyghto-stage-status {
  background: #01249D;
  color: #FFFFFF;
}

.stage-active .nyghto-stage-title {
  color: #111827;
  font-weight: 700;
}

.stage-upcoming .nyghto-stage-status {
  background: #E5E7EB;
  color: #6B7280;
}

.stage-upcoming .nyghto-stage-title {
  color: #9CA3AF;
}

.nyghto-stage-title {
  flex: 1;
  font-size: 0.84rem;
}

/* Footer & Buttons */
.nyghto-work-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 0.4rem;
}

.nyghto-links-group {
  display: flex;
  gap: 14px;
  align-items: center;
}

.nyghto-meta-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: #0284C7;
  text-decoration: none;
  transition: color 0.15s ease;
}

.nyghto-meta-link:hover {
  color: #01249D;
  text-decoration: underline;
}

.nyghto-btn-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

.nyghto-btn-ghost {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 7px 15px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s ease;
}

.nyghto-btn-ghost:hover {
  background: #F9FAFB;
  border-color: #D1D5DB;
  color: #111827;
}

.nyghto-btn-primary {
  background: #111827;
  border: 1px solid #111827;
  border-radius: 8px;
  padding: 7px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.15s ease;
}

.nyghto-btn-primary:hover {
  background: #01249D;
  border-color: #01249D;
}

/* Feature Request Input Drawer */
.nyghto-feature-drawer {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  animation: fadeInSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.nyghto-feature-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nyghto-feature-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nyghto-feature-input {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.86rem;
  color: #0F172A;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.nyghto-feature-input:focus {
  border-color: #01249D;
  box-shadow: 0 0 0 3px rgba(1, 36, 157, 0.1);
}

.nyghto-btn-submit-feature {
  background: #01249D;
  color: #FFFFFF;
  border: 1px solid #01249D;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.nyghto-btn-submit-feature:hover {
  background: #011E82;
  transform: translateY(-1px);
}

.nyghto-feature-status {
  font-size: 0.75rem;
  min-height: 18px;
}

/* ─── REQUESTED FEATURES FEED ─────────────────────────────────────────── */
.nyghto-requests-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid #F1F5F9;
  padding-top: 1rem;
}

.nyghto-requests-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nyghto-requests-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748B;
  letter-spacing: 0.06em;
}

.nyghto-requests-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: #0284C7;
  background: #E0F2FE;
  padding: 2px 8px;
  border-radius: 20px;
}

.nyghto-requests-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nyghto-req-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 10px 14px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.nyghto-req-item:hover {
  border-color: #CBD5E1;
  transform: translateX(2px);
}

.nyghto-req-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nyghto-req-name {
  font-size: 0.86rem;
  font-weight: 600;
  color: #0F172A;
}

.nyghto-req-date {
  font-size: 0.7rem;
  color: #64748B;
}

.nyghto-badge-status {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 6px;
  flex-shrink: 0;
}

.status-accepted {
  background: #DCFCE7;
  color: #16A34A;
  border: 1px solid #BBF7D0;
}

.status-pending {
  background: #FEF3C7;
  color: #D97706;
  border: 1px solid #FDE68A;
}

.status-completed {
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #E2E8F0;
}

/* Toggle Switch */
.uui-toggle-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
}

.uui-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.uui-toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #E5E7EB;
  transition: 0.2s;
  border-radius: 26px;
}

.uui-toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.2s;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.uui-toggle-switch input:checked + .uui-toggle-slider {
  background-color: #111827;
}

.uui-toggle-switch input:checked + .uui-toggle-slider:before {
  transform: translateX(20px);
}

.uui-btn-logout-devices {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 0.88rem;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s ease;
}

.uui-btn-logout-devices:hover {
  background: #F3F4F6;
  border-color: #D1D5DB;
  color: #111827;
}

/* Bottom Actions */
.uui-bottom-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  padding: 0 4.5rem;
}

.uui-btn-cancel {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s ease;
}

.uui-btn-cancel:hover {
  background: #F9FAFB;
  border-color: #D1D5DB;
}

.uui-btn-save {
  background: #111827;
  border: 1px solid #111827;
  border-radius: 10px;
  padding: 10px 26px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.15s ease;
}

.uui-btn-save:hover {
  background: #1F2937;
  border-color: #1F2937;
}

.uui-status-text {
  text-align: right;
  padding: 6px 4.5rem 0;
  font-size: 0.86rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .uui-form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .uui-stats-row {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .uui-stat-divider {
    display: none;
  }

  .uui-right-toggle,
  .uui-right-action {
    justify-content: flex-start;
  }
}

.pro-info-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pro-info-full {
  grid-column: 1 / -1;
}

.pro-info-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--c-text-muted, #93C5FD);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pro-info-value {
  font-size: 0.96rem;
  font-weight: 600;
  color: #FFFFFF;
}

/* ─── FOUNDER CARD ───────────────────────────────────────────────────────── */
.pro-founder-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--c-border, rgba(219, 234, 254, 0.15));
  border-radius: 18px;
  padding: 2.2rem 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.pro-founder-badge {
  font-size: 0.7rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.08em;
}

.pro-founder-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.pro-founder-text {
  font-size: 0.92rem;
  color: var(--c-text-sub, #DBEAFE);
  line-height: 1.6;
  max-width: 580px;
}

.pro-founder-actions {
  display: flex;
  gap: 1rem;
  margin-top: 0.8rem;
  flex-wrap: wrap;
}

.pro-btn-green {
  display: inline-flex;
  align-items: center;
  background: #FFFFFF;
  color: #01249D;
  font-weight: 800;
  font-size: 0.86rem;
  padding: 11px 24px;
  border-radius: 50px;
  text-decoration: none;
  border: 1px solid #FFFFFF;
  transition: all 0.15s ease;
}

.pro-btn-green:hover {
  background: var(--c-text-sub, #DBEAFE);
  border-color: var(--c-text-sub, #DBEAFE);
  transform: translateY(-1px);
}

.pro-btn-outline {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--c-border, rgba(219, 234, 254, 0.3));
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 11px 22px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.pro-btn-outline:hover {
  background: #FFFFFF;
  color: #01249D;
  border-color: #FFFFFF;
  transform: translateY(-1px);
}

/* ─── INVOICE TABLE ──────────────────────────────────────────────────────── */
.pro-invoice-table-wrap {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--c-border, rgba(219, 234, 254, 0.15));
  border-radius: 18px;
  overflow-x: auto;
  padding: 0.5rem 1rem;
}

.pro-invoice-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.pro-invoice-table th {
  text-align: left;
  padding: 14px 16px;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-weight: 700;
  color: var(--c-text-muted, #93C5FD);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--c-border, rgba(219, 234, 254, 0.15));
}

.pro-invoice-table td {
  padding: 16px 16px;
  border-bottom: 1px solid var(--c-border, rgba(219, 234, 254, 0.1));
  color: var(--c-text-sub, #DBEAFE);
}

.pro-badge-green {
  font-size: 0.72rem;
  font-weight: 800;
  color: #01249D;
  background: #FFFFFF;
  padding: 3px 10px;
  border-radius: 50px;
}

.pro-download-link {
  color: #FFFFFF;
  text-decoration: underline;
  font-weight: 700;
}

/* ─── SECURITY LIST ──────────────────────────────────────────────────────── */
.pro-security-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pro-security-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.8rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--c-border, rgba(219, 234, 254, 0.15));
  border-radius: 16px;
}

.pro-sec-title {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
}

.pro-sec-desc {
  font-size: 0.84rem;
  color: var(--c-text-muted, #93C5FD);
  margin-top: 2px;
}

/* ─── MODAL DIALOG ───────────────────────────────────────────────────────── */
.pro-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(1, 15, 68, 0.85);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.pro-modal-box {
  background: #011E82;
  border: 1px solid var(--c-border, rgba(219, 234, 254, 0.3));
  border-radius: 20px;
  max-width: 580px;
  width: 100%;
  padding: 2.4rem 2.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.pro-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pro-modal-title {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 1.3rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.pro-modal-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--c-border, rgba(219, 234, 254, 0.2));
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.9rem;
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.pro-modal-close:hover {
  background: #FFFFFF;
  color: #01249D;
  border-color: #FFFFFF;
}

.pro-modal-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pro-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.pro-form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pro-form-label {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--c-text-muted, #93C5FD);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pro-form-input {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #000000 !important;
  outline: none;
  transition: all 0.15s ease;
}

.pro-form-input::placeholder {
  color: #94A3B8 !important;
  opacity: 1;
}

.pro-form-input:focus {
  border-color: #000000 !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05) !important;
}

.pro-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.pro-btn-primary {
  background: #FFFFFF;
  color: #01249D;
  border: 1px solid #FFFFFF;
  padding: 9px 24px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pro-btn-primary:hover {
  background: var(--c-text-sub, #DBEAFE);
  border-color: var(--c-text-sub, #DBEAFE);
}

.pro-create-sm-btn {
  background: #FFFFFF;
  color: #01249D;
  border: 1px solid #FFFFFF;
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

/* ─── NEW PROJECT POPUP MODAL ─────────────────────────────────────────── */
.nyghto-project-modal-box {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
  max-width: 480px !important;
  width: 92% !important;
  padding: 2rem 2.2rem !important;
}

.nyghto-project-modal-box .pro-modal-close {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #64748B;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.nyghto-project-modal-box .pro-modal-close:hover {
  background: #F1F5F9;
  color: #0F172A;
  border-color: #CBD5E1;
}

.nyghto-project-modal-box .pro-form-input {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #0F172A !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  font-size: 0.9rem !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
  transition: all 0.15s ease !important;
}

.nyghto-project-modal-box .pro-form-input:focus {
  border-color: #0F172A !important;
  background: #FFFFFF !important;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08) !important;
}

.nyghto-project-modal-box .pro-form-input::placeholder {
  color: #94A3B8 !important;
}

.nyghto-project-modal-box .pro-btn-primary {
  background: #0F172A !important;
  color: #FFFFFF !important;
  border: 1px solid #0F172A !important;
  padding: 9px 20px !important;
  border-radius: 8px !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.15s ease !important;
}

.nyghto-project-modal-box .pro-btn-primary:hover {
  background: #1E293B !important;
  transform: translateY(-1px);
}

.nyghto-project-modal-box .pro-btn-ghost {
  background: #FFFFFF !important;
  color: #64748B !important;
  border: 1px solid #E2E8F0 !important;
  padding: 9px 16px !important;
  border-radius: 8px !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}

.nyghto-project-modal-box .pro-btn-ghost:hover {
  background: #F8FAFC !important;
  color: #0F172A !important;
}

/* ─── RESOURCE & LINK DIRECTORY CARDS (LINEAR / VERCEL STYLE) ───────────── */
.res-filter-pill {
  background: #FFFFFF;
  color: #64748B;
  border: 1px solid #E2E8F0;
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.res-filter-pill:hover {
  border-color: #CBD5E1;
  color: #0F172A;
}

.res-filter-pill.active {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
}

.nyghto-res-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nyghto-res-card:hover {
  border-color: #CBD5E1;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.nyghto-res-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.nyghto-res-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nyghto-res-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
  margin: 2px 0 0 0;
}

.nyghto-res-desc {
  font-size: 0.82rem;
  color: #64748B;
  line-height: 1.45;
  margin: 0;
}

.nyghto-res-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #F1F5F9;
  padding-top: 0.8rem;
  margin-top: auto;
}

.nyghto-copy-btn {
  background: none;
  border: none;
  color: #0284C7;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 4px;
  transition: all 0.15s ease;
}

.nyghto-copy-btn:hover {
  text-decoration: underline;
}

.nyghto-res-link {
  font-size: 0.76rem;
  color: #0284C7;
  font-weight: 700;
  text-decoration: none;
}

.nyghto-res-link:hover {
  text-decoration: underline;
}

/* ─── CLEAN MODERN CHAT BUBBLES ─────────────────────────────────────────── */
.uui-chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 78%;
}

.uui-msg-incoming {
  align-self: flex-start;
  align-items: flex-start;
}

.uui-msg-outgoing {
  align-self: flex-end;
  align-items: flex-end;
}

.uui-msg-outgoing .uui-msg-bubble {
  background: #01249D !important;
  color: #FFFFFF !important;
  border-radius: 14px 14px 2px 14px !important;
  padding: 10px 15px;
  font-size: 0.9rem;
  line-height: 1.5;
  box-shadow: 0 1px 4px rgba(1, 36, 157, 0.2);
}

.uui-msg-incoming .uui-msg-bubble {
  background: #F1F5F9 !important;
  color: #0F172A !important;
  border-radius: 14px 14px 14px 2px !important;
  padding: 10px 15px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.uui-msg-time {
  font-size: 0.68rem;
  color: #94A3B8;
  margin-top: 4px;
}

.uui-typing-dots {
  display: flex;
  gap: 4px;
  align-items: center;
}

.uui-typing-dots span {
  width: 6px;
  height: 6px;
  background: #94A3B8;
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.uui-typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.uui-typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* ─── BILLING & RECEIPTS TABLE ─────────────────────────────────────────── */
.uui-inner-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.uui-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.uui-table th {
  background: #F8FAFC;
  color: #64748B;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 16px;
  border-bottom: 1px solid #E2E8F0;
}

.uui-table td {
  padding: 16px;
  font-size: 0.88rem;
  color: #0F172A;
  border-bottom: 1px solid #F1F5F9;
}

.uui-table tr:last-child td {
  border-bottom: none;
}

.uui-badge-paid {
  background: #DCFCE7;
  color: #15803D;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid #BBF7D0;
  display: inline-block;
}

.uui-link-blue {
  color: #0284C7;
  font-weight: 600;
  font-size: 0.84rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

.uui-link-blue:hover {
  color: #01249D;
  text-decoration: underline;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .pro-topbar {
    padding: 0 1.2rem;
  }

  .pro-top-nav {
    display: none;
  }

  .pro-stage-container {
    padding: 1.8rem 1rem 4rem;
  }
}

/* ─── MASCOT STICKERS FOR LIVE CHAT ──────────────────────────────────────── */
.mascot-sticker-btn {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 20px !important;
  padding: 4px 11px 4px 5px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

/* ─── EMOJI & STICKER TRAY POPOVER ───────────────────────────────────────── */
.tray-tab-pill {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748B;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.tray-tab-pill:hover {
  color: #0F172A;
  background: rgba(0, 0, 0, 0.04);
}

.tray-tab-pill.active {
  background: #FFFFFF;
  color: #0F172A;
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.tray-sticker-item {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 10px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.tray-sticker-item:hover {
  background: #FFFFFF;
  border-color: #0284C7;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.16);
}

.tray-sticker-item:active {
  transform: scale(0.95);
}

.tray-emoji-btn {
  background: transparent;
  border: none;
  border-radius: 8px;
  font-size: 1.4rem;
  padding: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.12s ease;
}

.tray-emoji-btn:hover {
  background: #F1F5F9;
  transform: scale(1.2);
}

@keyframes stickerPopIn {
  0% {
    opacity: 0;
    transform: scale(0.85) translateY(10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ─── PROJECT MENTION (@) AUTOCOMPLETE ITEMS ────────────────────────────── */
.uui-mention-item {
  transition: background 0.12s ease, transform 0.12s ease;
}

.uui-mention-item:hover {
  background: #F1F5F9 !important;
  transform: translateX(2px);
}

.uui-mention-pill {
  font-family: var(--font-mono, monospace);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  cursor: pointer;
  vertical-align: baseline;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.uui-msg-outgoing .uui-mention-pill {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

.uui-msg-outgoing .uui-mention-pill:hover {
  background: rgba(255, 255, 255, 0.35) !important;
  border-color: #FFFFFF !important;
  transform: translateY(-1px);
}

.uui-msg-incoming .uui-mention-pill {
  background: #E0F2FE !important;
  color: #0284C7 !important;
  border: 1px solid #BAE6FD !important;
}

.uui-msg-incoming .uui-mention-pill:hover {
  background: #BAE6FD !important;
  color: #01249D !important;
  border-color: #7DD3FC !important;
  transform: translateY(-1px);
}

.uui-mention-pill:active {
  transform: scale(0.96);
}

/* ─── LIVE CHAT QUICK ACTIONS & HOVER TOOLBAR ────────────────────────────── */
.uui-chat-msg {
  position: relative;
  transition: all 0.15s ease;
}

.uui-chat-action-bar {
  position: absolute;
  top: -26px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 9999px;
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  padding: 3px 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px) scale(0.96);
  transition: opacity 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.18s ease;
  z-index: 25;
  pointer-events: none;
}

.uui-msg-incoming .uui-chat-action-bar {
  left: 10px;
}

.uui-msg-outgoing .uui-chat-action-bar {
  right: 10px;
}

.uui-chat-msg:hover .uui-chat-action-bar {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.uui-action-btn {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 50% !important;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 1.02rem;
  color: #64748B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.12s ease;
  line-height: 1;
  padding: 0 !important;
  flex-shrink: 0;
}

.uui-action-btn:hover {
  background: #F1F5F9 !important;
  color: #0F172A;
  transform: scale(1.35) translateY(-3px);
}

.uui-action-btn.icon-btn {
  color: #64748B;
}

.uui-action-btn.icon-btn:hover {
  color: #0284C7;
  background: #E0F2FE !important;
  transform: scale(1.15);
}

.uui-action-divider {
  width: 1px;
  height: 16px;
  background: #E2E8F0;
  margin: 0 2px;
}

/* ─── MESSAGE REACTIONS BADGES ───────────────────────────────────────────── */
.uui-msg-reactions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
}

.uui-reaction-badge {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
  transition: all 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: stickerPopIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.uui-reaction-badge:hover {
  border-color: #0284C7;
  background: #F0F9FF;
  transform: translateY(-2px) scale(1.12);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.12);
}

.uui-reaction-badge.active {
  background: #E0F2FE;
  border-color: #38BDF8;
  color: #0369A1;
  font-weight: 700;
}

/* ==========================================================================
   PORTAL MOBILE & TABLET SLEEK OPTIMIZATION ENGINE (< 768px & < 480px)
   ========================================================================== */

@media (max-width: 768px) {

  /* 2. Client Room Stage & Main Card Container */
  body.dash-active {
    padding-top: 14px !important;
    padding-bottom: 28px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    background: #01249D !important;
    box-sizing: border-box !important;
  }

  body.dash-active .fixed-frame-overlay {
    display: none !important;
  }

  .pro-dash-section {
    padding: 0 !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 480px !important;
    min-height: auto !important;
    background: transparent !important;
  }

  .pro-stage-container {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: auto !important;
    box-sizing: border-box !important;
  }

  .uui-profile-card {
    border-radius: 20px !important;
    background: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22) !important;
    overflow: hidden !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding-bottom: 1.5rem !important;
    box-sizing: border-box !important;
  }

  /* 3. Instagram-Style Header Bar */
  .uui-cover-banner {
    display: block !important;
    min-height: auto !important;
    background: #FFFFFF !important;
    border-bottom: 1px solid #EFEFEF !important;
    position: relative !important;
    top: 0 !important;
    z-index: 100 !important;
    padding: 0 !important;
  }

  .uui-banner-nav {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 16px !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .uui-banner-left {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: auto !important;
  }

  .uui-banner-left span {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    text-transform: none !important;
    letter-spacing: -0.02em !important;
  }

  .uui-banner-right {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 8px !important;
    margin-left: auto !important;
  }

  /* Hide raw text action buttons in top header on mobile in favor of 3-dot kebab */
  .uui-btn-apply {
    display: none !important;
  }

  .uui-btn-logout-mini {
    display: none !important;
  }

  /* 3-Dot Kebab Menu Icon & Popover on Mobile */
  .uui-mobile-kebab-wrap {
    display: block !important;
    position: relative !important;
  }

  .uui-mobile-kebab-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #F1F5F9 !important;
    border: 1px solid #E2E8F0 !important;
    color: #0F172A !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
  }

  .uui-mobile-kebab-btn:active {
    background: #E2E8F0 !important;
    transform: scale(0.94) !important;
  }

  .uui-mobile-kebab-menu {
    display: none;
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
    padding: 6px !important;
    min-width: 170px !important;
    z-index: 9999 !important;
    animation: stickerPopIn 0.18s cubic-bezier(0.16, 1, 0.3, 1) both !important;
  }

  .uui-mobile-kebab-menu.show {
    display: flex !important;
    flex-direction: column !important;
  }

  .uui-kebab-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 10px 12px !important;
    border-radius: 8px !important;
    background: transparent !important;
    border: none !important;
    font-family: var(--font-sans, sans-serif) !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #0F172A !important;
    cursor: pointer !important;
    text-align: left !important;
    transition: background 0.12s ease !important;
  }

  .uui-kebab-item:hover,
  .uui-kebab-item:active {
    background: #F1F5F9 !important;
  }

  .uui-kebab-item.uui-kebab-logout {
    color: #EF4444 !important;
  }

  .uui-kebab-divider {
    height: 1px !important;
    background: #F1F5F9 !important;
    margin: 4px 6px !important;
  }

  /* 4. Instagram Profile Layout: Banner Behind Avatar + Profile Info */
  #pane-profile {
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
  }

  .uui-mobile-profile-banner {
    display: block !important;
    width: 100% !important;
    height: 110px !important;
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 50%, #F8FAFC 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: relative !important;
    transition: background 0.25s ease;
  }

  .uui-desktop-header-action {
    display: none !important;
  }

  .uui-profile-header {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    padding: 0 16px 8px !important;
    margin-top: -46px !important;
    gap: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 10 !important;
  }

  .uui-avatar-wrap {
    width: 82px !important;
    height: 82px !important;
    min-width: 82px !important;
    border-radius: 50% !important;
    border: 3.5px solid #FFFFFF !important;
    background: #FFFFFF !important;
    margin-top: 0 !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12) !important;
    padding: 2px !important;
    box-sizing: border-box !important;
  }

  /* Instagram Header Top Row Container */
  .uui-user-meta {
    padding: 6px 16px 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
  }

  .uui-name-row {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .uui-user-name {
    font-size: 1.12rem !important;
    letter-spacing: -0.02em !important;
    font-weight: 800 !important;
    color: #0F172A !important;
  }

  .uui-verified-badge {
    width: 18px !important;
    height: 18px !important;
  }

  .uui-user-email {
    font-size: 0.82rem !important;
    color: #64748B !important;
    margin-top: -2px !important;
  }

  /* Instagram-Style Stats Columns (Sits next to Avatar on Mobile) */
  .uui-stats-row {
    display: flex !important;
    flex: 1 !important;
    justify-content: space-around !important;
    align-items: center !important;
    gap: 2px !important;
    padding: 6px 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  .uui-stat-divider {
    display: none !important;
  }

  .uui-stat-col {
    padding: 0 4px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .uui-stat-label {
    font-size: 0.64rem !important;
    color: #64748B !important;
    font-weight: 500 !important;
  }

  .uui-stat-value {
    font-size: 0.98rem !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    margin-bottom: 1px !important;
  }

  /* Instagram-Style Full-Width Action Buttons (Edit Profile) */
  .uui-mobile-actions-bar {
    display: flex !important;
    gap: 8px !important;
    padding: 0 16px 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .uui-btn-secondary {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 8px 0 !important;
    font-size: 0.85rem !important;
    border-radius: 8px !important;
    background: #EFEFEF !important;
    border: none !important;
    color: #000000 !important;
    font-weight: 600 !important;
    cursor: pointer !important;
  }

  /* Instagram-Style Fixed 4-Column Tab Bar (No Sliding/Horizontal Scroll) */
  .uui-segmented-tabs {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    overflow: hidden !important;
    white-space: normal !important;
    width: 100% !important;
    padding: 0 !important;
    gap: 0 !important;
    background: #FFFFFF !important;
    border-top: 1px solid #EFEFEF !important;
    border-bottom: 1px solid #EFEFEF !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
  }

  .uui-tab-pill {
    flex-shrink: unset !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 4px !important;
    gap: 3px !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    color: #8E8E8E !important;
    box-shadow: none !important;
    transition: all 0.15s ease !important;
  }

  .uui-tab-pill .uui-tab-icon {
    display: block !important;
    stroke: currentColor !important;
    width: 22px !important;
    height: 22px !important;
  }

  .uui-tab-pill .uui-tab-text {
    font-size: 0.68rem !important;
    font-weight: 600 !important;
    color: inherit !important;
    letter-spacing: -0.01em !important;
  }

  .uui-tab-pill.active {
    background: transparent !important;
    color: #0F172A !important;
    border-bottom: 2px solid #0F172A !important;
    font-weight: 700 !important;
    box-shadow: none !important;
  }

  .uui-tab-pill.active .uui-tab-icon {
    stroke: #0F172A !important;
  }

  .uui-section-divider {
    margin: 14px 16px !important;
    border-top: 1px solid #F1F5F9 !important;
    box-sizing: border-box !important;
  }

  /* Clean Instagram-Style Form Input Columns */
  .uui-profile-form {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 16px !important;
  }

  .uui-text-input {
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    padding: 9px 12px !important;
    border-radius: 8px !important;
    border: 1px solid #CBD5E1 !important;
    background: #FFFFFF !important;
    color: #000000 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .uui-slug-input-wrap {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0 !important;
    background: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .uui-slug-prefix {
    background: #F1F5F9 !important;
    border: none !important;
    border-right: 1px solid #CBD5E1 !important;
    border-radius: 0 !important;
    padding: 9px 10px !important;
    font-size: 0.76rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
    font-family: var(--font-mono, monospace) !important;
    white-space: nowrap !important;
  }

  .uui-slug-input {
    border: none !important;
    border-radius: 0 !important;
    padding: 9px 12px !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    color: #000000 !important;
    background: transparent !important;
    flex: 1 !important;
    width: 100% !important;
  }

  .uui-form-row {
    padding: 14px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    box-sizing: border-box !important;
  }

  /* Support Toggle & Sign Out Rows: Clean Inline Horizontal Alignment on Mobile */
  .uui-form-row:has(.uui-right-toggle),
  .uui-form-row:has(.uui-right-action) {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
  }

  .uui-row-left {
    max-width: 100% !important;
    flex: 1 !important;
  }

  .uui-row-title {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    margin-bottom: 2px !important;
  }

  .uui-row-desc {
    font-size: 0.74rem !important;
    line-height: 1.4 !important;
    color: #64748B !important;
  }

  .uui-right-toggle,
  .uui-right-action {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-shrink: 0 !important;
    width: auto !important;
  }

  /* Native iOS-Style Compact Toggle Switch */
  .uui-toggle-switch {
    width: 44px !important;
    height: 24px !important;
    position: relative !important;
    display: inline-block !important;
  }

  .uui-toggle-slider {
    background-color: #E2E8F0 !important;
    border-radius: 24px !important;
    transition: 0.2s !important;
  }

  .uui-toggle-slider:before {
    height: 18px !important;
    width: 18px !important;
    left: 3px !important;
    bottom: 3px !important;
    background-color: #FFFFFF !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) !important;
  }

  .uui-toggle-switch input:checked + .uui-toggle-slider {
    background-color: #0284C7 !important;
  }

  .uui-toggle-switch input:checked + .uui-toggle-slider:before {
    transform: translateX(20px) !important;
  }

  /* Sleek Compact Action Button (Sign Out Others) */
  .uui-btn-logout-devices {
    padding: 8px 14px !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    background: #F8FAFC !important;
    border: 1px solid #CBD5E1 !important;
    color: #334155 !important;
    white-space: nowrap !important;
    box-shadow: none !important;
  }

  .uui-btn-logout-devices:active {
    background: #F1F5F9 !important;
    transform: scale(0.97) !important;
  }

  /* Clean Bottom Action Buttons on Mobile */
  .uui-bottom-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    padding: 6px 16px 16px !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .uui-btn-cancel,
  .uui-btn-save {
    width: 100% !important;
    padding: 11px 0 !important;
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
  }

  .uui-btn-cancel {
    background: #F1F5F9 !important;
    border: 1px solid #E2E8F0 !important;
    color: #475569 !important;
  }

  .uui-btn-save {
    background: #0F172A !important;
    border: 1px solid #0F172A !important;
    color: #FFFFFF !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.16) !important;
  }

  .uui-status-text {
    padding: 4px 16px 0 !important;
    font-size: 0.78rem !important;
    text-align: center !important;
  }

  /* 5. Section 2: Project Progress on Mobile — Full Optimization */
  #pane-sprints {
    padding: 1rem 1rem 1.8rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
    overflow-x: hidden !important;
  }

  /* Project Progress: Header Row */
  .react-projects-view,
  .react-sprint-container {
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .nyghto-progress-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.7rem !important;
  }

  .nyghto-progress-title {
    font-size: 1.2rem !important;
  }

  .nyghto-progress-sub {
    font-size: 0.8rem !important;
  }

  /* Project Filter + Search Bar: stack vertically */
  div[style*="justifyContent: 'space-between'"] > div[style*="overflowX: 'auto'"] {
    max-width: 100% !important;
  }

  /* Project Directory: Search input full width */
  div[style*="minWidth: '240px'"],
  div[style*="min-width: 240px"] {
    min-width: unset !important;
    width: 100% !important;
  }

  /* Back Button + Breadcrumb Row */
  .nyghto-back-btn {
    padding: 5px 12px !important;
    font-size: 0.76rem !important;
    border-radius: 8px !important;
  }

  /* Project Hero Header: Stack on mobile */
  .react-sprint-container > div:first-child > div[style*="justifyContent: 'space-between'"] {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  /* Call + WhatsApp CTA buttons on project header */
  .react-sprint-container div[style*="display: 'flex'"][style*="gap: '10px'"] a[href^="tel"],
  .react-sprint-container div[style*="display: 'flex'"][style*="gap: '10px'"] a[href^="https://wa.me"] {
    font-size: 0.78rem !important;
    padding: 7px 12px !important;
  }

  /* 4-Metric Strip: 2x2 grid on mobile */
  .nyghto-metrics-strip {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.7rem !important;
    padding: 0.9rem 1rem !important;
  }

  .nyghto-m-divider {
    display: none !important;
  }

  .nyghto-m-col {
    padding: 2px 0 !important;
  }

  .nyghto-m-label {
    font-size: 0.62rem !important;
  }

  .nyghto-m-val {
    font-size: 0.88rem !important;
  }

  /* Review Call Banner: Stack vertically */
  .nyghto-review-call-card {
    flex-direction: column !important;
    padding: 1rem 1.1rem !important;
    gap: 1rem !important;
  }

  .nyghto-review-heading {
    font-size: 0.92rem !important;
  }

  .nyghto-review-sub {
    font-size: 0.78rem !important;
  }

  .nyghto-review-btns {
    width: 100% !important;
    flex-direction: column !important;
    gap: 6px !important;
  }

  .nyghto-review-call-btn,
  .nyghto-review-wa-btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 0.8rem !important;
    padding: 8px 14px !important;
    border-radius: 9px !important;
  }

  /* Roadmap Phases Grid: single column on mobile */
  .nyghto-roadmap-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .nyghto-phase-card {
    padding: 1rem 1.1rem !important;
    border-radius: 12px !important;
  }

  .nyghto-phase-name {
    font-size: 0.88rem !important;
  }

  .nyghto-phase-list li {
    font-size: 0.76rem !important;
  }

  /* Activity / Changelog Section */
  .nyghto-activity-section {
    padding: 1rem 1.1rem !important;
    border-radius: 12px !important;
  }

  .nyghto-activity-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }

  .nyghto-activity-title {
    font-size: 0.88rem !important;
  }



  /* 6. Section 3: Billing & Payments on Mobile */
  #pane-billing {
    padding: 1.1rem 1.1rem 1.8rem !important;
    box-sizing: border-box !important;
  }

  .uui-inner-title {
    font-size: 1.15rem !important;
  }

  .uui-inner-sub {
    font-size: 0.76rem !important;
  }

  .uui-inner-card {
    padding: 0.5rem !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-radius: 12px !important;
  }

  .uui-table th,
  .uui-table td {
    padding: 8px 10px !important;
    font-size: 0.76rem !important;
    white-space: nowrap !important;
  }

  /* 7. Section 4: Chat with Team on Mobile */
  #pane-engineer {
    padding: 1rem 0.9rem !important;
    min-height: 440px !important;
    box-sizing: border-box !important;
  }

  .uui-dev-thread {
    min-height: 260px !important;
    max-height: 360px !important;
    gap: 10px !important;
    padding: 0.6rem 0 !important;
  }

  .uui-chat-msg {
    max-width: 88% !important;
  }

  .uui-msg-bubble {
    font-size: 0.84rem !important;
    padding: 8px 12px !important;
    line-height: 1.4 !important;
  }

  .uui-chat-action-bar {
    top: -24px !important;
    padding: 2px 6px !important;
    gap: 2px !important;
  }

  .uui-action-btn {
    width: 24px !important;
    height: 24px !important;
    font-size: 0.88rem !important;
  }

  #chatEmojiStickerTray {
    width: calc(100% - 24px) !important;
    max-width: 300px !important;
    left: 12px !important;
    right: 12px !important;
    margin: 0 auto !important;
    bottom: 56px !important;
  }

  #chatProjectMentionDropdown {
    width: calc(100% - 24px) !important;
    max-width: 300px !important;
    left: 12px !important;
    right: 12px !important;
    margin: 0 auto !important;
    bottom: 56px !important;
  }

  .uui-chat-input-row {
    gap: 6px !important;
  }

  #chatEmojiTriggerBtn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
  }

  .uui-chat-input {
    padding: 9px 11px !important;
    font-size: 0.82rem !important;
    border-radius: 10px !important;
  }

  .uui-chat-send-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
  }

  /* 8. Modals (Edit Profile & New Project) on Mobile */
  .pro-modal-box {
    width: calc(100% - 20px) !important;
    max-width: 500px !important;
    padding: 1.2rem !important;
    border-radius: 18px !important;
    max-height: 88vh !important;
    box-sizing: border-box !important;
  }

  .pro-modal-title {
    font-size: 1.1rem !important;
  }

  .pro-form-row-2,
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns: repeat(2, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .avatar-pick-option {
    padding: 4px 2px !important;
  }

  .avatar-pick-option img {
    width: 28px !important;
    height: 28px !important;
  }

  .pro-modal-actions {
    flex-direction: column-reverse !important;
    gap: 6px !important;
  }

  .pro-modal-actions button {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

@media (max-width: 900px) {
  /* Hide the duplicate in-page brand logo on mobile so only header logo is visible */
  .auth-brand-link {
    display: none !important;
  }

  .clean-main.centered-auth-layout {
    padding-top: 75px !important;
    padding-bottom: 2rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    min-height: auto !important;
    justify-content: flex-start !important;
  }

  .auth-split-wrapper {
    grid-template-columns: 1fr !important;
    gap: 1.8rem !important;
    text-align: center !important;
  }

  .auth-visual-col {
    align-items: center !important;
  }

  .auth-left-content {
    align-items: center !important;
    gap: 0.6rem !important;
  }

  .auth-hero-greeting {
    font-size: 2.3rem !important;
    line-height: 1.1 !important;
  }

  .auth-hero-tagline {
    font-size: 0.98rem !important;
    max-width: 320px !important;
    margin: 0 auto !important;
  }

  .auth-hero-subtext {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
    max-width: 340px !important;
    margin: 0 auto !important;
    opacity: 0.85 !important;
  }

  .auth-mascot-hero-wrap {
    max-width: 220px !important;
    margin-top: 0.5rem !important;
    margin-bottom: 0 !important;
  }

  .auth-mascot-img {
    max-height: 200px !important;
  }

  .clean-auth-box {
    margin: 0 auto !important;
    padding: 2.2rem 1.6rem 2rem !important;
    border-radius: 26px !important;
    box-shadow: 0 16px 45px rgba(0, 5, 30, 0.35) !important;
  }

  .clean-title {
    font-size: 1.7rem !important;
  }

  .clean-desc {
    font-size: 0.84rem !important;
  }
}

@media (max-width: 480px) {
  .uui-tab-pill {
    padding: 5px 9px !important;
    font-size: 0.72rem !important;
  }

  .uui-stats-row {
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    padding: 0.75rem !important;
  }

  .uui-user-name {
    font-size: 1.15rem !important;
  }

  .uui-chat-msg {
    max-width: 90% !important;
  }

  .auth-hero-greeting {
    font-size: 2rem !important;
  }

  .auth-mascot-hero-wrap {
    max-width: 190px !important;
  }

  .auth-mascot-img {
    max-height: 175px !important;
  }
}









