/* ==========================================================================
   WINWINHOST.COM FLAGSHIP DESIGN TOKENS & MODULAR CSS
   Scoped Prefix: wwh- / --wwh-* / .wwh-*
   ========================================================================== */

/* Scoped Design Tokens */
:root {
  --wwh-canvas: #0f172a;                      /* Slate 900 — Solid Dark Navy */
  --wwh-surface-page: #0b0f19;                 /* Deep Page Wrapper */
  --wwh-surface-dark: rgba(15, 23, 42, 0.8);   /* Elevated Surface */
  --wwh-surface-card: rgba(15, 23, 42, 0.65);  /* Glass Card */
  --wwh-surface-best-value: rgba(30, 41, 59, 0.9);
  --wwh-surface-hover: rgba(255, 255, 255, 0.04);
  --wwh-surface-subtle: rgba(255, 255, 255, 0.02);
  --wwh-border: rgba(255, 255, 255, 0.08);
  --wwh-border-glass: rgba(255, 255, 255, 0.12);
  --wwh-border-glass-light: rgba(255, 255, 255, 0.08);
  --wwh-border-glass-subtle: rgba(255, 255, 255, 0.06);
  --wwh-border-focus: rgba(129, 140, 248, 0.5);
  --wwh-primary: #0369a1;                     /* Ocean Blue */
  --wwh-primary-hover: #0284c7;
  --wwh-primary-button: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  --wwh-accent-blue: #3b82f6;
  --wwh-accent-cyan: #06b6d4;
  --wwh-accent-indigo: #818cf8;                /* Global Link Indigo */
  --wwh-accent-purple: #8b5cf6;
  --wwh-badge-bg: rgba(59, 130, 246, 0.2);
  --wwh-badge-text: #93c5fd;
  --wwh-text-primary: #ffffff;                 /* Pure White (Headings & Body) */
  --wwh-text-body: rgba(255, 255, 255, 0.85);   /* Content Area Body Text (WCAG AAA) */
  --wwh-text-secondary: #e2e8f0;               /* Light Slate (WCAG AAA) */
  --wwh-text-muted: rgba(255, 255, 255, 0.7);  /* Section Muted (WCAG AAA) */
  --wwh-text-muted-light: #cbd5e1;
  --wwh-text-code: #38bdf8;                    /* Code Snippets */
  --wwh-shadow-card: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
  --wwh-shadow-card-elevated: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  --wwh-shadow-best-value: 0 12px 36px rgba(6, 182, 212, 0.25);
  --wwh-shadow-button-primary: 0 4px 14px rgba(59, 130, 246, 0.3);
  --wwh-shadow-button-cyan: 0 8px 24px rgba(6, 182, 212, 0.4);
  --wwh-font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --wwh-font-heading: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --wwh-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Base Body and Scoped Layout */
body, .wwh-body {
  font-family: var(--wwh-font-sans);
  background-color: var(--wwh-canvas);
  color: var(--wwh-text-primary);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

.wwh-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wwh-children-wrapper {
  width: 100%;
}

/* Scoped Component Classes */
.wwh-card {
  background: var(--wwh-surface-card);
  border: 1px solid var(--wwh-border);
  border-radius: 12px;
  box-shadow: var(--wwh-shadow-card);
  transition: all 0.25s ease;
}

.wwh-card:hover {
  background: var(--wwh-surface-hover);
  border-color: var(--wwh-border-glass);
}

.wwh-btn-primary {
  background: var(--wwh-primary-button);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  padding: 10px 20px;
  box-shadow: var(--wwh-shadow-button-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.wwh-btn-primary:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  box-shadow: var(--wwh-shadow-button-cyan);
}

.wwh-badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--wwh-badge-bg);
  color: var(--wwh-badge-text);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.wwh-link {
  color: var(--wwh-accent-indigo);
  text-decoration: none;
  transition: color 0.2s ease;
}

.wwh-link:hover {
  color: var(--wwh-accent-blue);
  text-decoration: underline;
}

.wwh-text-section {
  color: var(--wwh-text-muted);
}

.wwh-post-content {
  color: var(--wwh-text-body);
  font-size: 1.05rem;
  line-height: 1.8;
}

.wwh-post-content h1,
.wwh-post-content h2,
.wwh-post-content h3,
.wwh-post-content h4,
.wwh-post-content h5,
.wwh-post-content h6 {
  color: var(--wwh-text-primary);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.wwh-post-content p {
  margin-bottom: 1rem;
}

.wwh-post-content a {
  color: var(--wwh-accent-indigo);
}

.wwh-post-content code {
  background: var(--wwh-surface-dark);
  color: var(--wwh-text-code);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--wwh-font-mono);
}

/* ── Salvaged Content Layout Classes (Resume & Cloud Services) ── */
.resume-name {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: var(--highlight-color, #38bdf8);
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}
.resume-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 12px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--text-primary, #e2e8f0);
}
.resume-contact a {
  color: var(--accent-color, #0284c7);
  text-decoration: none;
}
.resume-contact a:hover {
  text-decoration: underline;
}
.resume-contact-sep {
  color: var(--panel-border, #334155);
  font-weight: 300;
}
.flexContainer {
  display: flex;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.4);
  padding: 8px 14px;
  border-radius: 8px;
  margin: 21px 0 7px 0;
  border: 1px solid var(--panel-border, #334155);
  font-weight: 600;
  color: var(--highlight-color, #38bdf8);
  font-size: 15px;
}
.flexContainer div:first-child {
  color: var(--accent-color, #0284c7);
}
.react-hero {
  padding: 2.5rem 1rem;
  text-align: center;
}
.react-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.react-feature-card {
  padding: 1.5rem;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--panel-border, #334155);
}

/* ── Mobile-Friendly Navbar & Undistorted Brand Logo ── */
.ww-navbar {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateZ(0);
  will-change: transform;
  background: rgba(15, 23, 42, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem 1.5rem;
  z-index: 1030;
}
.ww-navbar-inner {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  gap: 0.75rem;
}
.ww-brand {
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  text-decoration: none;
}
.ww-logo {
  width: 166px !important;
  height: 36px !important;
  max-width: none !important;
  aspect-ratio: 208 / 45;
  object-fit: contain;
  flex-shrink: 0 !important;
  margin-right: 12px;
  margin-bottom: 0 !important;
  display: block;
}
@media (max-width: 359.98px) {
  .ww-logo {
    width: 138px !important;
    height: 30px !important;
  }
}
.ww-nav-link {
  padding: 0.5rem 0.75rem;
  color: #cbd5e1 !important;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.ww-nav-link:hover,
.ww-nav-link:focus {
  color: #ffffff !important;
}
.ww-contact-btn {
  padding: 0.5rem 1.15rem;
  font-size: 0.88rem;
  white-space: nowrap;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.2);
}
.ww-dropdown-item {
  position: relative;
}
.ww-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.ww-dropdown-chevron {
  transition: transform 0.2s ease;
  opacity: 0.8;
}
.ww-dropdown-item:hover .ww-dropdown-chevron,
.ww-dropdown-item.open .ww-dropdown-chevron {
  transform: rotate(180deg);
  opacity: 1;
}
.ww-nav-toggle {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}
.ww-nav-toggle:hover,
.ww-nav-toggle:focus,
.ww-nav-toggle.active {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  outline: none;
}
.ww-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #f1f5f9;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.ww-nav-toggle.active .ww-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.ww-nav-toggle.active .ww-toggle-bar:nth-child(2) {
  opacity: 0;
}
.ww-nav-toggle.active .ww-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
@media (min-width: 1200px) {
  .ww-nav-toggle {
    display: none !important;
  }
  .ww-nav-collapse {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
  }
  .ww-nav-collapse .navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 0.15rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .ww-nav-cta-item {
    margin-left: 0.5rem;
  }
  .ww-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 220px;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1040;
    list-style: none;
    margin: 0;
  }
  .ww-dropdown-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 10px;
  }
  .ww-dropdown-item:hover .ww-dropdown-menu,
  .ww-dropdown-item:focus-within .ww-dropdown-menu,
  .ww-dropdown-item.open .ww-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .ww-dropdown-link {
    display: block;
    width: 100%;
    padding: 0.55rem 0.85rem;
    border-radius: 6px;
    font-size: 0.88rem;
  }
  .ww-dropdown-link:hover {
    background: rgba(56, 189, 248, 0.12);
  }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .ww-navbar {
    padding: 0.7rem 1rem;
  }
  .ww-nav-link {
    padding: 0.45rem 0.55rem;
    font-size: 0.85rem;
  }
  .ww-contact-btn {
    padding: 0.45rem 0.95rem;
    font-size: 0.85rem;
  }
}
@media (max-width: 1199.98px) {
  .ww-navbar {
    padding: 0.65rem 1rem;
  }
  .ww-nav-collapse {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.65);
    padding: 1rem;
    z-index: 1029;
  }
  .ww-nav-collapse.show {
    display: block !important;
  }
  .ww-nav-collapse .navbar-nav {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .ww-dropdown-toggle {
    display: none !important;
  }
  .ww-dropdown-item,
  .ww-dropdown-menu {
    display: contents !important;
  }
  .ww-nav-collapse .ww-nav-link {
    display: flex !important;
    align-items: center;
    min-height: 44px;
    padding: 0.7rem 0.95rem;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    white-space: normal;
  }
  .ww-nav-collapse .ww-nav-link:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.3);
  }
  .ww-nav-cta-item {
    grid-column: 1 / -1;
    margin-top: 0.25rem;
  }
  .ww-nav-collapse .ww-contact-btn {
    width: 100%;
    min-height: 44px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 0.98rem;
  }
}
@media (min-width: 640px) and (max-width: 1199.98px) {
  .ww-nav-collapse .navbar-nav {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* Forensics HUNT! Interactive 3D Movie Embed */
.forensics-movie-wrapper {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 0 2.5rem 0;
}

.forensics-movie-frame {
  background: #161026;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 32px rgba(155, 93, 229, 0.2);
  border: 2px solid rgba(255, 209, 102, 0.45);
}

.forensics-movie-iframe {
  width: 100%;
  height: 82vh;
  min-height: 680px;
  border: none;
  display: block;
}

.forensics-movie-caption {
  margin-top: 1rem;
  text-align: center;
  color: var(--wwh-text-muted);
  font-size: 0.92rem;
}

/* ==========================================================================
   WEBMASTER CO-OP, MEDIA KIT, EMBEDDABLE CALCULATOR & PORTFOLIO EXPLORER
   ========================================================================== */

.wwh-coop-wrapper {
  padding: 20px 0 48px 0;
  color: #f1f5f9;
}

.wwh-coop-hero {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.92) 0%, rgba(15, 23, 42, 0.98) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 18px;
  padding: 2.5rem;
  margin-bottom: 2.75rem;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.wwh-coop-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}

.wwh-coop-pill-emerald,
.wwh-coop-pill-sky,
.wwh-coop-pill-purple {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.wwh-coop-pill-emerald {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #6ee7b7;
}

.wwh-coop-pill-sky {
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #7dd3fc;
}

.wwh-coop-pill-purple {
  background: rgba(168, 85, 247, 0.18);
  border: 1px solid rgba(192, 132, 252, 0.45);
  color: #d8b4fe;
}

.wwh-coop-hero-title {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.wwh-coop-hero-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
}

.wwh-coop-hero-lead strong {
  color: #ffffff;
}

.wwh-coop-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.wwh-coop-telemetry-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 14px;
  padding: 1.5rem;
}

.wwh-coop-telemetry-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #6ee7b7;
  margin-bottom: 1rem;
}

.wwh-coop-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
  display: inline-block;
}

.wwh-coop-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.wwh-coop-stat-box {
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.85rem;
  text-align: center;
}

.wwh-coop-stat-box strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
}

.wwh-coop-stat-box span {
  font-size: 0.78rem;
  color: #cbd5e1;
}

.wwh-coop-telemetry-note {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 0.75rem;
}

.wwh-coop-json-link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #38bdf8;
  text-decoration: none;
}

.wwh-coop-section {
  margin-bottom: 3rem;
}

.wwh-coop-section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.wwh-coop-section-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.wwh-coop-section-sub {
  color: #cbd5e1;
  max-width: 760px;
  margin: 0 auto;
  font-size: 0.98rem;
  line-height: 1.6;
}

.wwh-coop-track-card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.wwh-coop-track-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.45);
}

.wwh-coop-track-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.wwh-tag-emerald {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
}

.wwh-tag-sky {
  background: rgba(56, 189, 248, 0.2);
  color: #7dd3fc;
}

.wwh-tag-purple {
  background: rgba(168, 85, 247, 0.2);
  color: #d8b4fe;
}

.wwh-tag-amber {
  background: rgba(251, 191, 36, 0.2);
  color: #fde68a;
}

.wwh-coop-track-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.wwh-coop-track-desc {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.wwh-coop-track-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: #38bdf8;
  text-decoration: none;
}

.wwh-coop-studio-box,
.wwh-coop-form-card {
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 16px;
  padding: 2rem;
}

.wwh-coop-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 0.4rem;
}

.wwh-coop-input {
  width: 100%;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  color: #ffffff;
  font-size: 0.92rem;
  box-sizing: border-box;
}

.wwh-coop-calc-card {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.35rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.wwh-coop-calc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
}

.wwh-coop-calc-vertical {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #7dd3fc;
}

.wwh-coop-calc-bounty {
  font-size: 0.78rem;
  font-weight: 700;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.15);
  padding: 3px 8px;
  border-radius: 6px;
}

.wwh-coop-calc-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.wwh-coop-calc-desc {
  font-size: 0.88rem;
  color: #cbd5e1;
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.wwh-coop-code-wrap {
  margin-bottom: 0.75rem;
}

.wwh-coop-code-label {
  display: block;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 0.3rem;
}

.wwh-coop-code-textarea {
  width: 100%;
  background: #090d16;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 0.6rem;
  color: #38bdf8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  resize: none;
  box-sizing: border-box;
}

.wwh-coop-calc-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
}

.wwh-coop-preview-link {
  font-weight: 700;
  color: #38bdf8;
  text-decoration: none;
}

.wwh-coop-host-link {
  color: #cbd5e1;
  text-decoration: none;
}

.wwh-coop-table-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.wwh-coop-table th,
.wwh-coop-table td {
  vertical-align: middle;
  padding: 14px 16px;
}

.wwh-coop-table-sub {
  font-size: 0.82rem;
  color: #cbd5e1;
  margin-top: 4px;
}

.wwh-coop-domain-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wwh-coop-domain-chip {
  display: inline-block;
  padding: 3px 8px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 6px;
  color: #7dd3fc;
  font-size: 0.78rem;
  text-decoration: none;
}

.wwh-coop-checklist {
  padding-left: 1.2rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-top: 1.25rem;
}

.wwh-coop-checklist li {
  margin-bottom: 0.75rem;
}

.wwh-coop-form-status {
  margin-top: 1rem;
  font-weight: 700;
  color: #6ee7b7;
}

/* Embeddable Calculator Iframe Internal Styles */
.wwh-calculator-embed {
  width: 100%;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
}

.wwh-embed-body {
  margin: 0;
  padding: 12px;
  background: #0f172a;
  color: #f1f5f9;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  text-align: left;
}

.wwh-embed-card {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.wwh-embed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.wwh-embed-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.15);
  padding: 3px 9px;
  border-radius: 999px;
}

.wwh-embed-verdict {
  font-size: 0.74rem;
  font-weight: 700;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.18);
  padding: 3px 9px;
  border-radius: 999px;
}

.wwh-embed-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.wwh-embed-desc {
  font-size: 0.83rem;
  color: #cbd5e1;
  margin: 0 0 14px 0;
}

.wwh-embed-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  align-items: center;
}

@media (max-width: 640px) {
  .wwh-embed-grid {
    grid-template-columns: 1fr;
  }
}

.wwh-embed-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 4px;
}

.wwh-embed-input {
  width: 100%;
  background: #090d16;
  border: 1px solid #334155;
  border-radius: 7px;
  padding: 7px 10px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.wwh-embed-results {
  background: rgba(9, 13, 22, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}

.wwh-embed-metric-box {
  margin-bottom: 10px;
}

.wwh-embed-metric-label {
  display: block;
  font-size: 0.75rem;
  color: #cbd5e1;
}

.wwh-embed-metric-val {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  color: #38bdf8;
}

.wwh-embed-metric-subval {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #6ee7b7;
}

.wwh-embed-cta {
  display: block;
  background: linear-gradient(135deg, #0284c7 0%, #3b82f6 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 9px 12px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 8px;
}

.wwh-embed-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: #94a3b8;
}

.wwh-embed-footer a {
  color: #38bdf8;
  text-decoration: none;
}

/* Interactive Portfolio Explorer Collaboration Upgrades */
.portfolio-stats-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.portfolio-health-pill {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid #34d399;
  border-radius: 20px;
  color: #6ee7b7;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.portfolio-coop-cta-pill {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, #0284c7 0%, #6366f1 100%);
  border-radius: 20px;
  color: #ffffff !important;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.portfolio-collab-toolbar {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 16px;
  align-items: end;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 28px;
}

@media (max-width: 991.98px) {
  .portfolio-collab-toolbar {
    grid-template-columns: 1fr;
  }
}

.portfolio-toolbar-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 6px;
}

.portfolio-search-input,
.portfolio-silo-select {
  width: 100%;
  background: #090d16;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 10px 14px;
  color: #ffffff;
  font-size: 0.92rem;
  box-sizing: border-box;
}

.portfolio-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.portfolio-toolbar-btn,
.portfolio-toolbar-btn-alt {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.portfolio-toolbar-btn {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff !important;
}

.portfolio-toolbar-btn-alt {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #7dd3fc !important;
}

.card-silo-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(129, 140, 248, 0.5);
  color: #c7d2fe;
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.card-domain-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.card-domain-host {
  font-size: 0.78rem;
  font-weight: 700;
  color: #38bdf8;
}

.card-health-dot {
  font-size: 0.7rem;
  font-weight: 700;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.14);
  padding: 2px 7px;
  border-radius: 8px;
}

.card-primary-row {
  margin-bottom: 12px;
}

.card-collab-actions {
  display: flex;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.card-collab-btn,
.card-syndicate-btn {
  flex: 1 1 auto;
  text-align: center;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
}

.card-collab-btn {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #6ee7b7 !important;
}

.card-syndicate-btn {
  background: rgba(129, 140, 248, 0.15);
  border: 1px solid rgba(129, 140, 248, 0.4);
  color: #c7d2fe !important;
}

.portfolio-card-filtered-out {
  display: none !important;
}
