/* ==========================================================================

   DAIPAYAN GHOSAL // EXECUTIVE DOSSIER VIEWPORT

   Bespoke Editorial & Architectural Stylesheet

   Completely distinct from Cyber Sentinel OS: No HUD, no neon scanlines, 

   no terminal emulators, no gamification, no interactive simulator widgets.

   ========================================================================== */



/* 1. Root Visibility & Surfaces */

#dossier-view {

  display: block !important;

}



.dossier-nav {

  display: flex !important;

}



/* 2. Dossier Global Variables & Surface */

body,

body[data-view="dossier"],

body[data-view="executive"] {

  background-color: #08090e;

  color: #f8fafc;

  font-family: var(--font-sans);

  line-height: 1.65;

}



/* Flowing Ambient Aurora Mesh in Dossier */

.dossier-root {

  position: relative;

  min-height: 100vh;

  padding-top: 5rem;

  padding-bottom: 4rem;

  overflow-x: clip;

}



.dossier-ambient-glow {

  position: fixed;

  inset: 0;

  background: 

    radial-gradient(circle at 25% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 45%),

    radial-gradient(circle at 75% 25%, rgba(56, 189, 248, 0.07) 0%, transparent 50%),

    radial-gradient(circle at 50% 70%, rgba(139, 92, 246, 0.05) 0%, transparent 45%),

    radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.04) 0%, transparent 40%);

  transform: translateZ(0);

  contain: strict;

  pointer-events: none;

  z-index: 0;

}



@keyframes dossierAuroraFlow {

  0% { transform: translate(0, 0) scale(1); }

  50% { transform: translate(-2%, 3%) scale(1.03); }

  100% { transform: translate(3%, -2%) scale(0.98); }

}



.dossier-container {

  max-width: 1120px;

  margin: 0 auto;

  padding: 0 1.5rem;

  position: relative;

  z-index: 10;

}



/* 3. Dossier Status Pill & Dot */

.dossier-status-pill {

  display: inline-flex;

  align-items: center;

  gap: 0.5rem;

  background: rgba(16, 185, 129, 0.1);

  border: 1px solid rgba(16, 185, 129, 0.28);

  color: #34d399;

  font-family: var(--font-mono);

  font-size: 0.72rem;

  font-weight: 600;

  letter-spacing: 0.04em;

  padding: 0.35rem 0.95rem;

  border-radius: 9999px;

  margin-bottom: 1.75rem;

}



.dossier-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: dossierPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;

  flex-shrink: 0;

}



@keyframes dossierPulse {

  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); transform: scale(0.95); }

  70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); transform: scale(1.15); }

  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); transform: scale(0.95); }

}



/* 4. Dossier Hero Section */

.dossier-hero-section {

  padding: 2rem 0 3.5rem;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

  margin-bottom: 3.5rem;

}



.dossier-hero-header {

  display: flex;

  align-items: center;

  gap: 1.75rem;

  margin-bottom: 1.5rem;

}



.dossier-avatar-wrap {

  width: 96px;

  height: 96px;

  border-radius: 50%;

  padding: 3px;

  background: linear-gradient(135deg, rgba(99, 102, 241, 0.6), rgba(56, 189, 248, 0.6));

  flex-shrink: 0;

  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.25);

}



.dossier-avatar-img {

  width: 100%;

  height: 100%;

  border-radius: 50%;

  object-fit: cover;

  display: block;

  background: #0d1117;

}



.dossier-hero-titles {

  display: flex;

  flex-direction: column;

  gap: 0.35rem;

}



.dossier-name {

  font-family: var(--font-editorial);

  font-size: 3.4rem;

  font-weight: 400;

  line-height: 1.05;

  letter-spacing: -0.02em;

  color: #ffffff;

}



.dossier-role-title {

  font-size: 1.2rem;

  font-weight: 600;

  color: #38bdf8;

  letter-spacing: -0.01em;

}



.dossier-hero-meta {

  font-size: 0.88rem;

  color: #94a3b8;

  display: flex;

  align-items: center;

  gap: 0.5rem;

  flex-wrap: wrap;

}



.dossier-hero-lead {

  font-size: 1.08rem;

  color: #cbd5e1;

  max-width: 880px;

  line-height: 1.7;

  margin-bottom: 2rem;

}



/* Metrics Ribbon */

.dossier-metrics-grid {

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 1rem;

  margin-bottom: 2.25rem;

}



.dossier-metric-card {

  background: rgba(17, 20, 30, 0.7);

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 12px;

  padding: 1.25rem 1rem;

  backdrop-filter: blur(16px);

  transition: transform 0.25s ease, border-color 0.25s ease;

}



.dossier-metric-card:hover {

  transform: translateY(-2px);

  border-color: rgba(99, 102, 241, 0.35);

}



.dossier-metric-val {

  font-size: 1.9rem;

  font-weight: 800;

  letter-spacing: -0.03em;

  color: #ffffff;

  line-height: 1.1;

  margin-bottom: 0.25rem;

}



.dossier-metric-lbl {

  font-size: 0.8rem;

  color: #94a3b8;

  line-height: 1.35;

}



/* Hero Action Buttons */

.dossier-hero-actions {

  display: flex;

  align-items: center;

  gap: 0.75rem;

  flex-wrap: wrap;

}



.dossier-btn {

  font-family: var(--font-sans);

  font-size: 0.88rem;

  font-weight: 600;

  padding: 0.65rem 1.25rem;

  border-radius: 9px;

  text-decoration: none;

  display: inline-flex;

  align-items: center;

  gap: 0.5rem;

  cursor: pointer;

  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

  border: 1px solid transparent;

}



.dossier-btn-primary {

  background: linear-gradient(135deg, #4f46e5 0%, #0284c7 100%);

  color: #ffffff !important;

  border-color: rgba(255, 255, 255, 0.2);

  box-shadow: 0 4px 18px rgba(79, 70, 229, 0.35);

}



.dossier-btn-primary:hover {

  transform: translateY(-2px);

  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.5), 0 0 15px rgba(56, 189, 248, 0.3);

  filter: brightness(1.08);

}



.dossier-btn-outline {

  background: rgba(255, 255, 255, 0.04);

  color: #e2e8f0;

  border-color: rgba(255, 255, 255, 0.12);

  backdrop-filter: blur(8px);

}



.dossier-btn-outline:hover {

  background: rgba(255, 255, 255, 0.08);

  border-color: rgba(255, 255, 255, 0.25);

  color: #ffffff;

  transform: translateY(-2px);

}



.dossier-btn-ghost {

  background: transparent;

  color: #94a3b8;

  border-color: transparent;

  padding: 0.65rem 0.85rem;

}



.dossier-btn-ghost:hover {

  color: #ffffff;

  background: rgba(255, 255, 255, 0.05);

}



/* 5. Dossier Section Standards */

.dossier-section {

  padding: 2.5rem 0 3.5rem;

  border-bottom: 1px solid rgba(255, 255, 255, 0.06);

  contain: layout style;

}



.dossier-section-head {

  margin-bottom: 2rem;

}



.dossier-section-tag {

  display: inline-block;

  font-family: var(--font-mono);

  font-size: 0.72rem;

  letter-spacing: 0.08em;

  text-transform: uppercase;

  color: #818cf8;

  background: rgba(99, 102, 241, 0.1);

  border: 1px solid rgba(99, 102, 241, 0.25);

  padding: 3px 10px;

  border-radius: 9999px;

  margin-bottom: 0.65rem;

}



.dossier-section-title {

  font-size: 2.25rem;

  font-weight: 700;

  letter-spacing: -0.025em;

  color: #ffffff;

  margin-bottom: 0.5rem;

}



.dossier-section-subtitle {

  font-size: 1rem;

  color: #94a3b8;

  max-width: 720px;

  line-height: 1.6;

}



/* 6. Featured Project Card: VulnInvestigator */

.dossier-project-card {

  background: rgba(17, 21, 32, 0.8);

  border: 1px solid rgba(255, 255, 255, 0.09);

  border-radius: 16px;

  overflow: hidden;

  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.55);

  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;

}



.dossier-project-card:hover {

  transform: translateY(-3px);

  border-color: rgba(99, 102, 241, 0.35);

  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(99, 102, 241, 0.1);

}



.dossier-project-banner {

  background: linear-gradient(90deg, rgba(16, 185, 129, 0.14) 0%, rgba(56, 189, 248, 0.1) 100%);

  border-bottom: 1px solid rgba(16, 185, 129, 0.3);

  padding: 0.85rem 1.5rem;

  display: flex;

  align-items: center;

  justify-content: space-between;

  flex-wrap: wrap;

  gap: 0.75rem;

}



.dossier-project-status {

  display: inline-flex;

  align-items: center;

  gap: 0.5rem;

  font-family: var(--font-mono);

  font-size: 0.75rem;

  font-weight: 700;

  color: #34d399;

  letter-spacing: 0.05em;

}



.dossier-project-live-link {

  font-family: var(--font-mono);

  font-size: 0.88rem;

  color: #ffffff;

  font-weight: 600;

  text-decoration: none;

  transition: color 0.2s ease;

}



.dossier-project-live-link:hover {

  color: #38bdf8;

  text-decoration: underline;

}



.dossier-project-body {

  padding: 2rem 1.75rem;

}



.dossier-project-title-row {

  display: flex;

  align-items: flex-start;

  justify-content: space-between;

  flex-wrap: wrap;

  gap: 1.25rem;

  margin-bottom: 1.5rem;

}



.dossier-project-heading {

  font-size: 1.75rem;

  font-weight: 700;

  color: #ffffff;

  letter-spacing: -0.02em;

  margin-bottom: 0.25rem;

}



.dossier-project-subheading {

  font-size: 0.95rem;

  color: #38bdf8;

  font-weight: 500;

}



.dossier-project-ctas {

  display: flex;

  align-items: center;

  gap: 0.75rem;

  flex-wrap: wrap;

}



.dossier-project-desc {

  font-size: 0.98rem;

  color: #cbd5e1;

  line-height: 1.7;

  margin-bottom: 1.75rem;

}



/* Architecture Pillars Grid */

.dossier-pillars-grid {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 1.25rem;

  margin-bottom: 1.75rem;

}



.dossier-pillar-card {

  background: rgba(255, 255, 255, 0.025);

  border: 1px solid rgba(255, 255, 255, 0.06);

  border-radius: 10px;

  padding: 1.25rem;

}



.dossier-pillar-card h4 {

  font-size: 0.92rem;

  font-weight: 700;

  color: #f1f5f9;

  margin-bottom: 0.45rem;

}



.dossier-pillar-card p {

  font-size: 0.82rem;

  color: #94a3b8;

  line-height: 1.5;

}



.dossier-pillar-card code {

  font-family: var(--font-mono);

  font-size: 0.75rem;

  color: #38bdf8;

  background: rgba(56, 189, 248, 0.08);

  padding: 1px 4px;

  border-radius: 3px;

}



/* Tags Row */

.dossier-tags-row {

  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 0.5rem;

}



.dossier-tag-label {

  font-family: var(--font-mono);

  font-size: 0.75rem;

  color: #64748b;

  margin-right: 0.25rem;

}



.dossier-tag {

  font-family: var(--font-mono);

  font-size: 0.72rem;

  color: #94a3b8;

  background: rgba(255, 255, 255, 0.04);

  border: 1px solid rgba(255, 255, 255, 0.08);

  padding: 3px 9px;

  border-radius: 5px;

}



/* 7. Enterprise IGA & AI Governance */

.dossier-grid-2 {

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 1.5rem;

}



.dossier-grid-3 {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 1.25rem;

}



.dossier-feature-card {

  background: rgba(17, 21, 32, 0.75);

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 14px;

  padding: 1.75rem;

  backdrop-filter: blur(16px);

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  transition: transform 0.25s ease, border-color 0.25s ease;

}



.dossier-feature-card:hover {

  transform: translateY(-2px);

  border-color: rgba(99, 102, 241, 0.35);

}



.dossier-feature-icon {

  font-size: 1.75rem;

  margin-bottom: 0.85rem;

}



.dossier-feature-card h3 {

  font-size: 1.18rem;

  font-weight: 700;

  color: #ffffff;

  margin-bottom: 0.65rem;

}



.dossier-feature-card p {

  font-size: 0.92rem;

  color: #94a3b8;

  line-height: 1.6;

  margin-bottom: 1.25rem;

}



/* Card General */

.dossier-card {

  background: rgba(17, 21, 32, 0.75);

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 14px;

  padding: 2rem;

  backdrop-filter: blur(16px);

}



.dossier-ai-split h3 {

  font-size: 1.25rem;

  font-weight: 700;

  color: #ffffff;

  margin-bottom: 0.65rem;

}



.dossier-ai-split p {

  font-size: 0.95rem;

  color: #94a3b8;

  line-height: 1.65;

  margin-bottom: 1.25rem;

}



.dossier-ai-bullets {

  display: flex;

  flex-direction: column;

  gap: 0.85rem;

}



.dossier-bullet {

  font-size: 0.92rem;

  color: #cbd5e1;

  line-height: 1.55;

  padding-left: 1rem;

  border-left: 2px solid #6366f1;

}



.dossier-bullet strong {

  color: #ffffff;

}



/* 8. Experience Timeline */

.dossier-timeline {

  display: flex;

  flex-direction: column;

  gap: 2rem;

  position: relative;

  padding-left: 1.5rem;

  border-left: 2px solid rgba(255, 255, 255, 0.1);

  margin-left: 0.5rem;

}



.dossier-timeline-item {

  position: relative;

}



.dossier-timeline-badge {

  position: absolute;

  top: 0;

  left: -2.35rem;

  width: 14px;

  height: 14px;

  border-radius: 50%;

  background: #6366f1;

  border: 3px solid #08090e;

  font-size: 0;

}



.dossier-timeline-content {

  background: rgba(17, 21, 32, 0.75);

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 14px;

  padding: 1.75rem;

  backdrop-filter: blur(16px);

  transition: transform 0.25s ease, border-color 0.25s ease;

}



.dossier-timeline-content:hover {

  transform: translateY(-2px);

  border-color: rgba(99, 102, 241, 0.35);

}



.dossier-timeline-header {

  display: flex;

  align-items: flex-start;

  justify-content: space-between;

  flex-wrap: wrap;

  gap: 0.75rem;

  margin-bottom: 1rem;

}



.dossier-role-name {

  font-size: 1.22rem;

  font-weight: 700;

  color: #ffffff;

}



.dossier-company {

  font-size: 0.92rem;

  color: #38bdf8;

  font-weight: 500;

}



.dossier-period {

  font-family: var(--font-mono);

  font-size: 0.78rem;

  color: #94a3b8;

  background: rgba(255, 255, 255, 0.05);

  border: 1px solid rgba(255, 255, 255, 0.1);

  padding: 3px 8px;

  border-radius: 6px;

}



.dossier-deliverables {

  list-style-type: none;

  padding: 0;

  margin: 0 0 1.25rem 0;

  display: flex;

  flex-direction: column;

  gap: 0.6rem;

}



.dossier-deliverables li {

  font-size: 0.92rem;

  color: #cbd5e1;

  line-height: 1.55;

  position: relative;

  padding-left: 1.25rem;

}



.dossier-deliverables li::before {

  content: '→';

  position: absolute;

  left: 0;

  color: #6366f1;

  font-weight: bold;

}



/* 9. Published Research & Academic Citations */

.dossier-scholar-banner {

  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(56, 189, 248, 0.08) 100%);

  border: 1px solid rgba(99, 102, 241, 0.3);

  border-radius: 12px;

  padding: 1.25rem 1.75rem;

  display: flex;

  align-items: center;

  justify-content: space-between;

  flex-wrap: wrap;

  gap: 1rem;

  margin-bottom: 2rem;

}



.dossier-scholar-banner h4 {

  font-size: 1.05rem;

  font-weight: 700;

  color: #ffffff;

  margin-bottom: 0.25rem;

}



.dossier-scholar-banner p {

  font-size: 0.85rem;

  color: #94a3b8;

}



.dossier-papers-grid {

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 1.5rem;

}



.dossier-paper-card {

  background: rgba(17, 21, 32, 0.75);

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 14px;

  padding: 1.75rem;

  backdrop-filter: blur(16px);

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  transition: transform 0.25s ease, border-color 0.25s ease;

}



.dossier-paper-card:hover {

  transform: translateY(-2px);

  border-color: rgba(99, 102, 241, 0.35);

}



.dossier-paper-meta {

  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-bottom: 0.75rem;

}



.dossier-paper-tag {

  font-family: var(--font-mono);

  font-size: 0.68rem;

  font-weight: 700;

  color: #60a5fa;

  background: rgba(96, 165, 250, 0.1);

  border: 1px solid rgba(96, 165, 250, 0.25);

  padding: 2px 7px;

  border-radius: 4px;

}



.dossier-paper-year {

  font-family: var(--font-mono);

  font-size: 0.75rem;

  color: #64748b;

}



.dossier-paper-title {

  font-size: 1.15rem;

  font-weight: 700;

  color: #ffffff;

  line-height: 1.35;

  margin-bottom: 0.5rem;

}



.dossier-paper-journal {

  font-size: 0.82rem;

  color: #38bdf8;

  margin-bottom: 0.85rem;

  line-height: 1.45;

}



.dossier-paper-abstract {

  font-size: 0.88rem;

  color: #94a3b8;

  line-height: 1.6;

  margin-bottom: 1.25rem;

}



.dossier-link-doi {

  font-family: var(--font-mono);

  font-size: 0.82rem;

  font-weight: 600;

  color: #34d399;

  text-decoration: none;

  transition: color 0.2s ease;

  display: inline-flex;

  align-items: center;

  gap: 0.35rem;

}



.dossier-link-doi:hover {

  color: #6ee7b7;

  text-decoration: underline;

}



/* 10. Credentials Grid */

.dossier-certs-grid {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 1.25rem;

}



.dossier-cert-card {

  background: rgba(17, 21, 32, 0.75);

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 12px;

  padding: 1.5rem;

  backdrop-filter: blur(16px);

  transition: transform 0.25s ease, border-color 0.25s ease;

}



.dossier-cert-card:hover {

  transform: translateY(-2px);

  border-color: rgba(99, 102, 241, 0.35);

}



.dossier-cert-badge {

  display: inline-block;

  font-family: var(--font-mono);

  font-size: 0.75rem;

  font-weight: 800;

  color: #ffffff;

  background: linear-gradient(135deg, #4f46e5, #0284c7);

  padding: 3px 8px;

  border-radius: 5px;

  margin-bottom: 0.75rem;

}



.dossier-cert-card h4 {

  font-size: 1rem;

  font-weight: 700;

  color: #ffffff;

  margin-bottom: 0.45rem;

  line-height: 1.35;

}



.dossier-cert-card p {

  font-size: 0.82rem;

  color: #94a3b8;

  line-height: 1.5;

}



/* 11. Contact Box & Alignment */
.dossier-contact-box {
  background: linear-gradient(135deg, rgba(17, 21, 32, 0.9) 0%, rgba(30, 27, 75, 0.4) 100%);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.dossier-contact-box .dossier-section-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  width: 100%;
}

.dossier-contact-box .dossier-section-tag {
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.75rem;
}

.dossier-contact-box .dossier-section-title {
  text-align: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.dossier-contact-box .dossier-section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 680px;
  line-height: 1.65;
  color: #94a3b8;
  font-size: 1.05rem;
  width: 100%;
}

.dossier-email-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1.35rem;
  margin-top: 0.25rem;
  margin-bottom: 1.75rem;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 9999px;
  color: #38bdf8;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.dossier-email-pill:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: #38bdf8;
  transform: translateY(-2px);
}

.dossier-email-pill.copied {
  border-color: #10b981;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
}

.dossier-email-pill .copy-hint {
  font-size: 0.75rem;
  color: #64748b;
  margin-left: 0.25rem;
}

.dossier-email-pill:hover .copy-hint {
  color: #94a3b8;
}

.dossier-contact-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  width: 100%;
}

.dossier-btn.copied {
  border-color: #10b981 !important;
  color: #10b981 !important;
  background: rgba(16, 185, 129, 0.15) !important;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.25) !important;
}



.dossier-footer {

  padding-top: 3.5rem;

  text-align: center;

  font-size: 0.92rem;

  color: #94a3b8;

}



/* Responsive Adjustments */

@media (max-width: 1024px) {

  .dossier-metrics-grid { grid-template-columns: repeat(2, 1fr); }

  .dossier-pillars-grid { grid-template-columns: 1fr; }

  .dossier-grid-2 { grid-template-columns: 1fr; }

  .dossier-grid-3 { grid-template-columns: repeat(2, 1fr); }

  .dossier-papers-grid { grid-template-columns: 1fr; }

  .dossier-certs-grid { grid-template-columns: repeat(2, 1fr); }

}



@media (max-width: 640px) {

  .dossier-name { font-size: 2.5rem; }

  .dossier-hero-header { flex-direction: column; align-items: flex-start; }

  .dossier-metrics-grid { grid-template-columns: 1fr; }

  .dossier-grid-3 { grid-template-columns: 1fr; }

  .dossier-certs-grid { grid-template-columns: 1fr; }

  .dossier-project-ctas { width: 100%; flex-direction: column; }

  .dossier-project-ctas .dossier-btn { width: 100%; justify-content: center; }

  .dossier-hero-actions { width: 100%; flex-direction: column; }

  .dossier-hero-actions .dossier-btn { width: 100%; justify-content: center; }

}





/* ==========================================================================

   RETRACTABLE SIDE NAVBAR & MOBILE SMARTPHONE OPTIMIZATIONS

   ========================================================================== */



/* 1. Global Viewport Overflow Guard */

html, body {

  width: 100%;

  max-width: 100vw;

  overflow-x: clip !important;

  touch-action: pan-y;

  box-sizing: border-box;

}



*, *::before, *::after {

  box-sizing: inherit;

}



.dossier-root, .sentinel-root {

  width: 100%;

  max-width: 100vw;

  overflow-x: clip !important;

  padding-top: 4.25rem;

}



.container, .dossier-container {

  width: 100%;

  max-width: 1200px;

  padding: 0 1.25rem;

  margin: 0 auto;

}



/* 2. Top Header & Sidebar Toggle Button */

.hud-nav {

  position: fixed;

  top: 0;

  left: 0;

  right: 0;

  height: 58px;

  z-index: 100;

  backdrop-filter: blur(16px);

  -webkit-backdrop-filter: blur(16px);

  background: rgba(8, 10, 16, 0.88);

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

  display: flex;

  align-items: center;

}



.hud-container {

  width: 100%;

  max-width: 1400px;

  margin: 0 auto;

  padding: 0 1.25rem;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 0.75rem;

}



.hud-left {

  display: flex;

  align-items: center;

  gap: 0.85rem;

  min-width: 0;

}



.sidebar-toggle-btn {

  display: inline-flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  gap: 4px;

  width: 38px;

  height: 38px;

  border-radius: 9px;

  background: rgba(255, 255, 255, 0.06);

  border: 1px solid rgba(255, 255, 255, 0.12);

  cursor: pointer;

  padding: 0;

  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);

  flex-shrink: 0;

}



.sidebar-toggle-btn:hover {

  background: rgba(255, 255, 255, 0.12);

  border-color: rgba(99, 102, 241, 0.5);

  transform: translateY(-1px);

}



.sidebar-toggle-btn .hamburger-bar {

  width: 18px;

  height: 2px;

  background: #f8fafc;

  border-radius: 2px;

  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

}



.sidebar-toggle-btn.open .hamburger-bar:nth-child(1) {

  transform: translateY(6px) rotate(45deg);

}



.sidebar-toggle-btn.open .hamburger-bar:nth-child(2) {

  opacity: 0;

  transform: translateX(-4px);

}



.sidebar-toggle-btn.open .hamburger-bar:nth-child(3) {

  transform: translateY(-6px) rotate(-45deg);

}



/* 3. Retractable Side Navigation Drawer */

.side-navbar {

  position: fixed;

  top: 0;

  left: 0;

  bottom: 0;

  width: 310px;

  max-width: 86vw;

  height: 100vh;

  z-index: 1000;

  background: #080a11;

  border-right: 1px solid rgba(255, 255, 255, 0.09);

  box-shadow: 10px 0 45px rgba(0, 0, 0, 0.8);

  transform: translateX(-100%);

  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);

  display: flex;

  flex-direction: column;

  overflow: hidden;

}



.side-navbar.open {

  transform: translateX(0);

}



/* Backdrop */

.side-navbar-backdrop {

  position: fixed;

  inset: 0;

  background: rgba(3, 5, 10, 0.75);

  backdrop-filter: blur(8px);

  -webkit-backdrop-filter: blur(8px);

  opacity: 0;

  pointer-events: none;

  transition: opacity 0.3s ease;

  z-index: 999;

}



.side-navbar-backdrop.open {

  opacity: 1;

  pointer-events: auto;

}



/* Sidebar Inner Scroll Area */

.side-navbar-inner {

  height: 100%;

  display: flex;

  flex-direction: column;

  overflow-y: auto;

  overflow-x: hidden;

  padding: 1.25rem;

  scrollbar-width: thin;

  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;

}



.side-navbar-header {

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding-bottom: 1rem;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

  margin-bottom: 1.25rem;

}



.side-brand {

  display: flex;

  align-items: center;

  gap: 0.75rem;

}



.side-avatar {

  position: relative;

  width: 40px;

  height: 40px;

  border-radius: 50%;

  flex-shrink: 0;

}



.side-avatar img {

  width: 100%;

  height: 100%;

  border-radius: 50%;

  object-fit: cover;

  border: 1.5px solid rgba(99, 102, 241, 0.4);

}



.side-status-dot {

  position: absolute;

  bottom: 0;

  right: 0;

  width: 10px;

  height: 10px;

  border-radius: 50%;

  background: #10b981;

  border: 2px solid #080a11;

  box-shadow: 0 0 6px #10b981;

}



.side-brand-meta {

  display: flex;

  flex-direction: column;

}



.side-name {

  font-family: var(--font-serif, "Instrument Serif", serif);

  font-size: 1.25rem;

  font-weight: 700;

  color: #ffffff;

  line-height: 1.2;

}



.side-title {

  font-family: var(--font-mono);

  font-size: 0.68rem;

  color: #94a3b8;

  letter-spacing: 0.02em;

}



.side-close-btn {

  background: rgba(255, 255, 255, 0.05);

  border: 1px solid rgba(255, 255, 255, 0.1);

  color: #94a3b8;

  width: 32px;

  height: 32px;

  border-radius: 8px;

  display: flex;

  align-items: center;

  justify-content: center;

  cursor: pointer;

  font-size: 0.95rem;

  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;

  flex-shrink: 0;

}



.side-close-btn:hover {

  background: rgba(239, 68, 68, 0.15);

  border-color: rgba(239, 68, 68, 0.4);

  color: #ef4444;

}



/* Sidebar Mode Switcher */

.side-mode-switcher-wrap {

  margin-bottom: 1.25rem;

}



.side-mode-label {

  font-family: var(--font-mono);

  font-size: 0.65rem;

  letter-spacing: 0.08em;

  color: #64748b;

  margin-bottom: 0.45rem;

}



.side-mode-switcher {

  display: grid;

  grid-template-columns: 1fr 1fr;

  background: rgba(255, 255, 255, 0.04);

  border: 1px solid rgba(255, 255, 255, 0.09);

  padding: 3px;

  border-radius: 9px;

  gap: 4px;

}



.side-mode-btn {

  font-family: var(--font-sans);

  font-size: 0.78rem;

  font-weight: 600;

  color: #94a3b8;

  background: transparent;

  border: none;

  padding: 0.45rem 0.5rem;

  border-radius: 6px;

  cursor: pointer;

  transition: all 0.2s ease;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 4px;

}



.side-mode-btn.active {

  background: #ffffff;

  color: #080a11;

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);

}



body[data-view="sentinel"] .side-mode-btn.active {

  background: var(--neon-cyan);

  color: #000;

  box-shadow: 0 0 12px rgba(0, 240, 255, 0.45);

}



/* Sidebar Nav Groups */

.side-nav-group {

  margin-bottom: 1.25rem;

}



.side-nav-heading {

  font-family: var(--font-mono);

  font-size: 0.66rem;

  font-weight: 700;

  letter-spacing: 0.08em;

  color: #6366f1;

  margin-bottom: 0.55rem;

}



body[data-view="sentinel"] .side-nav-heading {

  color: var(--neon-cyan);

}



.side-nav-list {

  list-style: none;

  padding: 0;

  margin: 0;

  display: flex;

  flex-direction: column;

  gap: 0.25rem;

}



.side-link {

  display: flex;

  align-items: center;

  gap: 0.65rem;

  padding: 0.55rem 0.75rem;

  border-radius: 8px;

  font-family: var(--font-sans);

  font-size: 0.85rem;

  color: #cbd5e1;

  text-decoration: none;

  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;

  border: 1px solid transparent;

}



.side-link:hover {

  background: rgba(255, 255, 255, 0.05);

  color: #ffffff;

  transform: translateX(3px);

}



.side-link.active {

  background: rgba(99, 102, 241, 0.14);

  border-color: rgba(99, 102, 241, 0.35);

  color: #ffffff;

}



body[data-view="sentinel"] .side-link.active {

  background: rgba(0, 240, 255, 0.12);

  border-color: rgba(0, 240, 255, 0.35);

  color: var(--neon-cyan);

}



.side-icon {

  font-size: 0.95rem;

  width: 20px;

  text-align: center;

  flex-shrink: 0;

}



/* Sidebar Footer & Utilities */

.side-nav-footer {

  margin-top: auto;

  padding-top: 1.25rem;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

}



.side-footer-actions {

  display: flex;

  flex-direction: column;

  gap: 0.45rem;

  margin-bottom: 0.85rem;

}



.side-action-btn {

  width: 100%;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 0.5rem 0.75rem;

  background: rgba(255, 255, 255, 0.04);

  border: 1px solid rgba(255, 255, 255, 0.1);

  border-radius: 7px;

  color: #e2e8f0;

  font-family: var(--font-sans);

  font-size: 0.78rem;

  font-weight: 500;

  cursor: pointer;

  transition: all 0.2s ease;

}



.side-action-btn:hover {

  background: rgba(255, 255, 255, 0.08);

  border-color: rgba(255, 255, 255, 0.2);

  color: #ffffff;

}



.side-socials-row {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 0.5rem;

  margin-bottom: 0.65rem;

}



.side-socials-row a {

  font-family: var(--font-mono);

  font-size: 0.7rem;

  color: #64748b;

  text-decoration: none;

  transition: color 0.2s ease;

}



.side-socials-row a:hover {

  color: #38bdf8;

}



.side-meta-loc {

  font-family: var(--font-mono);

  font-size: 0.65rem;

  color: #475569;

  text-align: center;

}



/* 4. Responsive Mobile Breakpoints & Layout Optimization */

@media (max-width: 1024px) {

  .dossier-metrics-grid { grid-template-columns: repeat(2, 1fr) !important; }

  .dossier-pillars-grid { grid-template-columns: 1fr !important; }

  .dossier-grid-2 { grid-template-columns: 1fr !important; }

  .dossier-grid-3 { grid-template-columns: repeat(2, 1fr) !important; }

  .dossier-papers-grid { grid-template-columns: 1fr !important; }

  .dossier-certs-grid { grid-template-columns: repeat(2, 1fr) !important; }

}



@media (max-width: 768px) {

  .hud-container { padding: 0 1rem; }

  .dossier-grid-3 { grid-template-columns: 1fr !important; }

  .dossier-section { padding: 2rem 0 2.5rem; }

  .dossier-section-title { font-size: 1.85rem; }

}



@media (max-width: 580px) {

  .hud-cv-btn { display: none !important; }

  .brand-dossier-text .dossier-role-pill { display: none !important; }

  .hud-status-badge { display: none !important; }



  .container, .dossier-container {

    padding: 0 0.85rem !important;

  }



  .hud-container {

    padding: 0 0.85rem !important;

  }



  /* Compact Mode Switcher in Mobile Top Bar */

  .view-switch {

    gap: 2px;

  }



  .view-btn {

    padding: 0.28rem 0.55rem;

    font-size: 0.72rem;

  }



  /* Dossier Hero Section Mobile */

  .dossier-hero-section {

    padding: 1.25rem 0 2rem;

  }



  .dossier-status-pill {

    font-size: 0.65rem;

    padding: 4px 8px;

    letter-spacing: 0.02em;

    max-width: 100%;

    white-space: normal;

    text-align: center;

    line-height: 1.35;

    justify-content: center;

  }



  .dossier-hero-header {

    flex-direction: column;

    align-items: flex-start;

    gap: 0.75rem;

    margin-bottom: 1.25rem;

  }



  .dossier-avatar-wrap {

    width: 68px;

    height: 68px;

  }



  .dossier-name {

    font-size: clamp(2rem, 9.5vw, 2.75rem) !important;

    line-height: 1.1;

    margin-bottom: 0.25rem;

    word-break: break-word;

  }



  .dossier-role-title {

    font-size: 1rem;

    margin-bottom: 0.4rem;

  }



  .dossier-hero-meta {

    font-size: 0.75rem;

    flex-wrap: wrap;

    gap: 0.25rem;

  }



  .dossier-hero-lead {

    font-size: 0.9rem;

    line-height: 1.6;

    margin-bottom: 1.5rem;

  }



  /* Keep 2x2 Clean Metrics Grid on Smartphone */

  .dossier-metrics-grid {

    grid-template-columns: repeat(2, 1fr) !important;

    gap: 0.65rem;

    margin-bottom: 1.5rem;

  }



  .dossier-metric-card {

    padding: 0.85rem 0.65rem;

    text-align: center;

    border-radius: 10px;

  }



  .dossier-metric-val {

    font-size: 1.55rem;

    margin-bottom: 0.25rem;

  }



  .dossier-metric-lbl {

    font-size: 0.68rem;

    line-height: 1.3;

  }



  /* Hero Actions Full-Width Stack */

  .dossier-hero-actions {

    flex-direction: column;

    width: 100%;

    gap: 0.55rem;

  }



  .dossier-hero-actions .dossier-btn {

    width: 100%;

    justify-content: center;

    padding: 0.75rem 1rem;

    font-size: 0.85rem;

  }



  /* Featured Project: VulnInvestigator Mobile */

  .dossier-project-banner {

    flex-direction: column;

    align-items: flex-start;

    gap: 0.4rem;

    padding: 0.75rem 0.85rem;

  }



  .dossier-project-live-link {

    font-size: 0.76rem;

    word-break: break-all;

  }



  .dossier-project-body {

    padding: 1.25rem 0.85rem;

  }



  .dossier-project-title-row {

    flex-direction: column;

    align-items: flex-start;

    gap: 0.85rem;

  }



  .dossier-project-heading {

    font-size: 1.45rem;

  }



  .dossier-project-ctas {

    width: 100%;

    flex-direction: column;

    gap: 0.5rem;

  }



  .dossier-project-ctas .dossier-btn {

    width: 100%;

    justify-content: center;

    padding: 0.7rem 1rem;

    font-size: 0.85rem;

  }



  .dossier-project-desc {

    font-size: 0.88rem;

    line-height: 1.6;

    margin-bottom: 1.25rem;

  }



  .dossier-pillars-grid {

    grid-template-columns: 1fr !important;

    gap: 0.75rem;

  }



  .dossier-pillar-card {

    padding: 0.85rem 0.75rem;

  }



  .dossier-pillar-card code {

    word-break: break-all;

    font-size: 0.7rem;

    display: inline-block;

  }



  /* Feature Cards in IGA & Skills */

  .dossier-feature-card,

  .dossier-card {

    padding: 1.15rem 0.85rem;

    border-radius: 12px;

  }



  .dossier-feature-card h3 {

    font-size: 1.1rem;

  }



  .dossier-feature-card p {

    font-size: 0.86rem;

    line-height: 1.55;

  }



  /* Experience Timeline on Smartphone */

  .dossier-timeline {

    padding-left: 0.75rem;

    margin-left: 0.15rem;

    border-left-width: 2px;

    gap: 1.25rem;

  }



  .dossier-timeline-badge {

    left: -1.35rem;

    width: 11px;

    height: 11px;

    top: 4px;

  }



  .dossier-timeline-content {

    padding: 1.15rem 0.85rem;

    border-radius: 12px;

  }



  .dossier-timeline-header {

    flex-direction: column;

    align-items: flex-start;

    gap: 0.35rem;

    margin-bottom: 0.75rem;

  }



  .dossier-role-name {

    font-size: 1.05rem;

  }



  .dossier-company {

    font-size: 0.8rem;

  }



  .dossier-period {

    font-size: 0.7rem;

    padding: 2px 6px;

  }



  .dossier-deliverables {

    gap: 0.5rem;

    margin-bottom: 1rem;

  }



  .dossier-deliverables li {

    font-size: 0.84rem;

    line-height: 1.5;

    padding-left: 0.95rem;

  }



  /* Research Publications */

  .dossier-scholar-banner {

    flex-direction: column;

    align-items: flex-start;

    gap: 0.75rem;

    padding: 0.85rem;

  }



  .dossier-scholar-banner .dossier-btn {

    width: 100%;

    justify-content: center;

  }



  .dossier-paper-card {

    padding: 1.15rem 0.85rem;

    border-radius: 12px;

  }



  .dossier-paper-title {

    font-size: 1rem;

    line-height: 1.35;

  }



  .dossier-paper-journal {

    font-size: 0.76rem;

    word-break: break-word;

  }



  .dossier-paper-abstract {

    font-size: 0.82rem;

    line-height: 1.55;

  }



  .dossier-link-doi {

    font-size: 0.74rem;

    word-break: break-all;

  }



  /* Certifications Grid: Single Column */

  .dossier-certs-grid {

    grid-template-columns: 1fr !important;

    gap: 0.75rem;

  }



  .dossier-cert-card {

    padding: 1rem 0.85rem;

    border-radius: 10px;

  }



  /* Contact Box */

  .dossier-contact-box {

    padding: 1.5rem 0.85rem;

    border-radius: 14px;

  }



  .dossier-contact-actions {

    flex-direction: column;

    width: 100%;

    gap: 0.5rem;

  }



  .dossier-contact-actions .dossier-btn {

    width: 100%;

    justify-content: center;

  }



  /* Sentinel OS Mobile Adjustments */

  .hero-avatar-row {

    flex-direction: column;

    align-items: flex-start;

    gap: 0.75rem;

  }



  .hero-highlights {

    grid-template-columns: repeat(2, 1fr) !important;

    gap: 0.5rem;

  }



  .hero-actions {

    flex-direction: column;

    width: 100%;

  }



  .hero-actions .btn-primary,

  .hero-actions .btn-outline {

    width: 100%;

    justify-content: center;

  }



  .mv-tabs-row {

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;

    flex-wrap: nowrap;

    padding-bottom: 0.5rem;

  }



  .mv-tab-btn {

    flex-shrink: 0;

  }



  .terminal-window {

    padding: 0 0.5rem 0.5rem;

  }



  .term-input-row {

    flex-direction: column;

    align-items: flex-start;

    gap: 0.35rem;

  }



  .term-input {

    width: 100%;

    min-width: 0;

  }

}









/* ==========================================================================

   ENHANCED SMARTPHONE RESPONSIVE OVERRIDES (<= 640px)

   ========================================================================== */

@media (max-width: 640px) {

  html, body {

    width: 100% !important;

    max-width: 100vw !important;

    overflow-x: clip !important;

  }



  .dossier-root, .sentinel-root {

    width: 100% !important;

    max-width: 100vw !important;

    overflow-x: clip !important;

    padding-top: 4.25rem !important;

  }



  .container, .dossier-container {

    width: 100% !important;

    max-width: 100% !important;

    padding: 0 0.85rem !important;

    box-sizing: border-box !important;

  }



  /* Compact Mobile Topbar */

  .hud-nav {

    height: 54px !important;

  }



  .hud-container {

    padding: 0 0.75rem !important;

    gap: 0.45rem !important;

  }



  .hud-left {

    min-width: 0 !important;

    flex-shrink: 1 !important;

    gap: 0.45rem !important;

  }



  .sidebar-toggle-btn {

    width: 34px !important;

    height: 34px !important;

    flex-shrink: 0 !important;

  }



  .hud-brand {

    font-size: 0.82rem !important;

    gap: 0.4rem !important;

  }



  .hud-brand .brand-icon {

    width: 24px !important;

    height: 24px !important;

    font-size: 0.72rem !important;

  }



  .brand-dossier-text .dossier-role-pill,

  .hud-status-badge,

  .hud-cv-btn {

    display: none !important;

  }



  .hud-right {

    flex-shrink: 0 !important;

    gap: 0.35rem !important;

  }



  .view-switch {

    padding: 2px !important;

    gap: 2px !important;

  }



  .view-btn {

    padding: 0.32rem 0.55rem !important;

    font-size: 0.85rem !important;

  }



  .view-btn .mode-text {

    display: none !important;

  }



  .ctrl-btn {

    padding: 0.32rem 0.55rem !important;

    font-size: 0.75rem !important;

  }



  /* Hero Section */

  .dossier-hero-section {

    padding: 1rem 0 2rem !important;

  }



  .dossier-status-pill {

    max-width: 100% !important;

    width: auto !important;

    display: inline-flex !important;

    flex-wrap: wrap !important;

    justify-content: center !important;

    text-align: center !important;

    padding: 4px 8px !important;

    font-size: 0.65rem !important;

    line-height: 1.35 !important;

    white-space: normal !important;

    word-break: break-word !important;

    margin-bottom: 1.25rem !important;

  }



  .dossier-pill-text {

    white-space: normal !important;

    word-break: break-word !important;

  }



  .dossier-hero-header {

    flex-direction: column !important;

    align-items: flex-start !important;

    gap: 0.75rem !important;

    margin-bottom: 1rem !important;

  }



  .dossier-avatar-wrap {

    width: 65px !important;

    height: 65px !important;

  }



  .dossier-name {

    font-size: clamp(2rem, 9.5vw, 2.75rem) !important;

    line-height: 1.1 !important;

    margin-bottom: 0.25rem !important;

    word-break: break-word !important;

  }



  .dossier-role-title {

    font-size: 0.95rem !important;

    margin-bottom: 0.35rem !important;

  }



  .dossier-hero-meta {

    font-size: 0.72rem !important;

    flex-wrap: wrap !important;

    gap: 0.25rem !important;

  }



  .dossier-hero-lead {

    font-size: 0.88rem !important;

    line-height: 1.6 !important;

    margin-bottom: 1.25rem !important;

  }



  /* 2x2 Metric Cards Grid */

  .dossier-metrics-grid {

    display: grid !important;

    grid-template-columns: repeat(2, 1fr) !important;

    gap: 0.55rem !important;

    width: 100% !important;

    margin-bottom: 1.25rem !important;

  }



  .dossier-metric-card {

    padding: 0.75rem 0.5rem !important;

    text-align: center !important;

    border-radius: 9px !important;

  }



  .dossier-metric-val {

    font-size: 1.45rem !important;

    margin-bottom: 0.15rem !important;

  }



  .dossier-metric-lbl {

    font-size: 0.65rem !important;

    line-height: 1.3 !important;

  }



  /* Hero Actions */

  .dossier-hero-actions {

    flex-direction: column !important;

    width: 100% !important;

    gap: 0.5rem !important;

  }



  .dossier-hero-actions .dossier-btn {

    width: 100% !important;

    justify-content: center !important;

    padding: 0.7rem 1rem !important;

    font-size: 0.82rem !important;

  }



  /* Featured Project: VulnInvestigator */

  .dossier-project-card {

    width: 100% !important;

    max-width: 100% !important;

    box-sizing: border-box !important;

    border-radius: 12px !important;

  }



  .dossier-project-banner {

    flex-direction: column !important;

    align-items: flex-start !important;

    gap: 0.35rem !important;

    padding: 0.65rem 0.85rem !important;

  }



  .dossier-project-live-link {

    font-size: 0.74rem !important;

    word-break: break-all !important;

    max-width: 100% !important;

  }



  .dossier-project-body {

    padding: 1.15rem 0.75rem !important;

  }



  .dossier-project-heading {

    font-size: 1.35rem !important;

  }



  .dossier-project-ctas {

    width: 100% !important;

    flex-direction: column !important;

    gap: 0.45rem !important;

  }



  .dossier-project-ctas .dossier-btn {

    width: 100% !important;

    justify-content: center !important;

    padding: 0.65rem 0.85rem !important;

  }



  .dossier-pillars-grid {

    grid-template-columns: 1fr !important;

    gap: 0.65rem !important;

  }



  .dossier-pillar-card {

    padding: 0.75rem 0.7rem !important;

  }



  .dossier-pillar-card code {

    word-break: break-all !important;

    white-space: normal !important;

    display: inline-block !important;

  }



  /* Grids Collapse cleanly */

  .dossier-grid-2,

  .dossier-grid-3,

  .dossier-papers-grid,

  .dossier-certs-grid {

    grid-template-columns: 1fr !important;

    gap: 0.75rem !important;

    width: 100% !important;

  }



  .dossier-feature-card,

  .dossier-card,

  .dossier-paper-card,

  .dossier-cert-card {

    padding: 1rem 0.75rem !important;

    border-radius: 10px !important;

  }



  .dossier-link-doi {

    word-break: break-all !important;

    font-size: 0.72rem !important;

  }



  /* Timeline */

  .dossier-timeline {

    padding-left: 0.65rem !important;

    margin-left: 0.15rem !important;

    border-left-width: 2px !important;

    gap: 1.15rem !important;

  }



  .dossier-timeline-badge {

    left: -1.2rem !important;

    width: 10px !important;

    height: 10px !important;

    top: 5px !important;

  }



  .dossier-timeline-content {

    padding: 1rem 0.75rem !important;

  }



  .dossier-timeline-header {

    flex-direction: column !important;

    align-items: flex-start !important;

    gap: 0.35rem !important;

  }



  .dossier-deliverables li {

    font-size: 0.82rem !important;

    padding-left: 0.85rem !important;

  }



  /* Contact */

  .dossier-contact-box {

    padding: 1.25rem 0.75rem !important;

  }



  .dossier-contact-actions {

    flex-direction: column !important;

    width: 100% !important;

    gap: 0.5rem !important;

  }



  .dossier-contact-actions .dossier-btn {

    width: 100% !important;

    justify-content: center !important;

  }

}


@media (max-width: 640px) {
  .dossier-email-pill {
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
    width: 90%;
    max-width: 320px;
    box-sizing: border-box;
  }
  .dossier-email-pill .copy-hint {
    margin-left: 0;
    font-size: 0.72rem;
  }
}

/* ==========================================================================
   120-144FPS COMPOSITOR & SCROLL RASTERIZATION PERFORMANCE LAYER
   ========================================================================== */
.dossier-pulse-dot {
  position: relative;
  animation: none !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22), 0 0 8px rgba(16, 185, 129, 0.55) !important;
}

.hud-nav {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(8, 10, 16, 0.96) !important;
  contain: layout style paint;
}

.side-navbar {
  will-change: transform;
  contain: layout style;
}

.side-navbar:not(.open) {
  visibility: hidden;
}

.side-navbar-backdrop {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(4, 6, 12, 0.78);
}

.dossier-metric-card,
.dossier-feature-card,
.dossier-card,
.dossier-timeline-content,
.dossier-paper-card,
.dossier-cert-card {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(15, 20, 33, 0.94);
  box-shadow: none;
  contain: layout style;
}

.dossier-project-card,
.dossier-contact-box {
  box-shadow: none;
  contain: layout style;
}

.dossier-btn-outline {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(255, 255, 255, 0.05);
}

.dossier-btn,
.dossier-project-card,
.side-mode-btn,
.side-action-btn {
  transition: transform 0.16s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.16s ease,
              background-color 0.16s ease,
              color 0.16s ease;
}

.dossier-btn-primary:hover {
  filter: none;
  box-shadow: 0 4px 18px rgba(79, 70, 229, 0.35);
}

.dossier-project-card:hover {
  box-shadow: none;
}
