/* NeuronLab V7.2 unified UI bundle. Generated from the validated style layers. */

/* ===== home-refined.css ===== */
/* =====================================================================
   NeuronLab — Home Refined
   Scoped entirely to body.home-refined (index.html only).
   Nothing here touches shared classes on other pages.
   ===================================================================== */

body.home-refined{
  --hr-ink:#1657c4;
  --hr-navy:#1a6cf5;
  --hr-blue:#3b8bff;
  --hr-brass:#c08a2e;
  --hr-brass-soft:#fdf3dd;
  --hr-paper:#fdfdfb;
  --hr-line:#eceadf;
  --hr-line-blue:#e4ecfb;
  --hr-muted:#5b6577;
  background:var(--hr-paper);
}

body.home-refined,
body.home-refined h1,
body.home-refined h2,
body.home-refined h3,
body.home-refined h4,
body.home-refined p,
body.home-refined a,
body.home-refined button,
body.home-refined input,
body.home-refined textarea,
body.home-refined select{
  font-family:"Pretendard","Noto Sans KR",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
body.home-refined h1,
body.home-refined h2,
body.home-refined .lab-hero h1,
body.home-refined .lab-section-head h2,
body.home-refined .lab-profile-card h2{
  font-weight:800;
}

/* ---------- topbar / header ---------- */
body.home-refined .v3-topbar{
  background:var(--hr-ink);
  font-weight:600;
  letter-spacing:.02em;
  font-size:.78rem;
  padding:8px 16px;
}
body.home-refined .v3-header{
  background:rgba(250,249,246,.92);
  border-bottom:1px solid var(--hr-line);
}
body.home-refined .v3-nav-links>a:hover,
body.home-refined .v3-nav-links>a[aria-current="page"]{
  color:var(--hr-brass);
}

/* ---------- "next action" ribbon ---------- */
body.home-refined .v5-shell{padding-top:22px}
body.home-refined .v5-shell .v5-card{
  background:var(--hr-ink);
  border:1px solid var(--hr-ink);
  border-radius:4px;
  box-shadow:none;
  color:#eef1f6;
  padding:20px 26px;
}
body.home-refined .v5-shell .v5-card .v5-kicker{
  color:var(--hr-brass);
  font-family:"Pretendard","Noto Sans KR",sans-serif;
  letter-spacing:.16em;
}
body.home-refined .v5-shell .v5-card h2{
  color:#fff;
  font-size:1.25rem;
  font-weight:600;
}
body.home-refined .v5-shell .v5-card p{color:#aab6c9}
body.home-refined .v5-shell .v5-btn-primary{
  background:transparent;
  border:1px solid rgba(255,255,255,.5);
  border-radius:2px;
  color:#fff;
  font-weight:600;
  transition:border-color .2s ease,background .2s ease;
}
body.home-refined .v5-shell .v5-btn-primary:hover{
  background:rgba(255,255,255,.08);
  border-color:#fff;
}

/* ---------- hero ---------- */
body.home-refined .lab-hero{
  padding:64px 0 72px;
  overflow:visible;
}
body.home-refined .lab-hero::before,
body.home-refined .lab-hero::after{
  content:none; /* remove default blurred gradient blobs */
}
body.home-refined .lab-kicker{
  font-family:"Pretendard","Noto Sans KR",sans-serif;
  color:var(--hr-brass);
  letter-spacing:.18em;
  font-size:12px;
}
body.home-refined .lab-kicker::before{
  width:auto;height:1px;border-radius:0;
  content:"";
  display:inline-block;
  width:22px;
  background:var(--hr-brass);
  box-shadow:none;
}
body.home-refined .lab-hero h1{
  font-size:clamp(38px,5.4vw,64px);
  line-height:1.18;
  letter-spacing:-.02em;
  color:var(--hr-ink);
  margin:20px 0 22px;
}
body.home-refined .lab-hero h1 em{
  font-style:italic;
  color:var(--hr-navy);
}
body.home-refined .lab-hero h1 em::after{content:none}
body.home-refined .lab-hero-copy>p{
  font-family:"Pretendard","Noto Sans KR",sans-serif;
  font-size:16.5px;
  line-height:1.85;
  color:var(--hr-muted);
  max-width:560px;
}
body.home-refined .lab-primary{
  background:var(--hr-ink);
  border-radius:2px;
  box-shadow:none;
  font-weight:600;
}
body.home-refined .lab-primary:hover{
  background:var(--hr-navy);
  transform:none;
  box-shadow:0 4px 14px rgba(13,45,94,.22);
}
body.home-refined .lab-secondary{
  border-radius:2px;
  border-color:var(--hr-line);
  box-shadow:none;
  color:var(--hr-ink);
  font-weight:600;
}
body.home-refined .lab-secondary:hover{
  border-color:var(--hr-ink);
  color:var(--hr-ink);
  background:#fff;
}
body.home-refined .lab-hero-proof{
  margin-top:26px;
  gap:0;
  border-top:1px solid var(--hr-line);
  padding-top:16px;
}
body.home-refined .lab-proof{
  border:0;
  background:none;
  backdrop-filter:none;
  border-radius:0;
  padding:0 16px 0 0;
  font-weight:600;
  font-size:12.5px;
  color:var(--hr-muted);
}

/* ---------- console / orbit panel: from "floating bubbles" to a quiet instrument ---------- */
body.home-refined .lab-console{
  background:#fff;
  border:1px solid var(--hr-line);
  border-radius:4px;
  box-shadow:0 24px 48px rgba(14,31,56,.06);
  backdrop-filter:none;
  padding:26px;
}
body.home-refined .lab-console-label{
  font-family:"Pretendard","Noto Sans KR",sans-serif;
  letter-spacing:.16em;
  color:var(--hr-muted);
}
body.home-refined .lab-dots i{filter:grayscale(1) opacity(.55)}
body.home-refined .lab-orbit{
  background:var(--hr-paper);
  border:1px solid var(--hr-line);
  min-height:360px;
}
body.home-refined .lab-orbit::before,
body.home-refined .lab-orbit::after{
  border-color:rgba(169,121,58,.28);
}
body.home-refined .lab-core{
  background:var(--hr-ink);
  border-radius:4px;
  box-shadow:0 18px 34px rgba(14,31,56,.28);
}
body.home-refined .lab-core strong{font-family:"Pretendard","Noto Sans KR",sans-serif}
body.home-refined .lab-orbit-card{
  border:1px solid var(--hr-line);
  border-radius:3px;
  box-shadow:0 10px 22px rgba(14,31,56,.08);
  color:var(--hr-ink);
  animation:none; /* stop the floaty bounce */
}
body.home-refined .lab-orbit-card small{color:#8a93a3}

/* ---------- stat strip ---------- */
body.home-refined .lab-stat-strip{
  border-radius:2px;
  border-color:var(--hr-line);
  box-shadow:none;
  background:transparent;
}
body.home-refined .lab-stat{
  background:#fff;
  border-right-color:var(--hr-line);
}
body.home-refined .lab-stat strong{
  font-family:"Pretendard","Noto Sans KR",sans-serif;
  font-weight:600;
  color:var(--hr-ink);
}
body.home-refined .lab-stat span{
  color:var(--hr-muted);
  font-weight:600;
  letter-spacing:.02em;
}

/* ---------- section rhythm ---------- */
body.home-refined .lab-section{padding:76px 0}
body.home-refined .lab-section-white{background:#fff}
body.home-refined .lab-section-soft{background:var(--hr-paper)}
body.home-refined .lab-section-head h2{
  color:var(--hr-ink);
  font-weight:600;
  letter-spacing:-.015em;
}
body.home-refined .lab-section-head p{
  font-family:"Pretendard","Noto Sans KR",sans-serif;
  color:var(--hr-muted);
}

/* ---------- entry cards: swap emoji blob for lettermark ---------- */
body.home-refined .lab-entry{
  border-radius:3px;
  border-color:var(--hr-line);
  box-shadow:none;
  transition:border-color .2s ease,box-shadow .2s ease;
}
body.home-refined .lab-entry::after{content:none}
body.home-refined .lab-entry:hover{
  transform:none;
  border-color:var(--hr-navy);
  box-shadow:0 18px 34px rgba(14,31,56,.08);
}
body.home-refined .lab-entry-icon{
  width:auto;height:auto;border-radius:0;background:none;
  font-size:0; /* hide emoji glyph */
  margin-bottom:20px;
  position:relative;
}
body.home-refined .lab-entry-icon::before{
  content:attr(data-mark);
  font-family:"Pretendard","Noto Sans KR",sans-serif;
  font-size:26px;
  font-weight:600;
  color:var(--hr-brass);
  display:block;
}
body.home-refined .lab-entry h3{
  font-family:"Pretendard","Noto Sans KR",sans-serif;
  font-weight:600;
  color:var(--hr-ink);
}
body.home-refined .lab-entry span{color:var(--hr-navy)}

/* ---------- dynamically-rendered cards (problems / ideas / quests / products) ---------- */
body.home-refined .lab-problem-card,
body.home-refined .lab-idea-card,
body.home-refined .lab-quest-card,
body.home-refined .lab-reader-card,
body.home-refined .v3-product-card{
  border-radius:3px;
  border-color:var(--hr-line);
  box-shadow:none;
}
body.home-refined .lab-problem-card:hover,
body.home-refined .lab-idea-card:hover,
body.home-refined .lab-quest-card:hover,
body.home-refined .lab-reader-card:hover,
body.home-refined .v3-product-card:hover{
  transform:none;
  border-color:var(--hr-navy);
  box-shadow:0 16px 32px rgba(14,31,56,.08);
}
body.home-refined .lab-tag{
  border-radius:1px;
  background:var(--hr-brass-soft);
  color:var(--hr-brass);
}

/* ---------- Neuron Loop (dark section) ---------- */
body.home-refined .lab-section-dark{
  background:var(--hr-ink);
}
body.home-refined .lab-section-dark .lab-kicker{color:#d8b876}
body.home-refined .lab-section-dark .lab-entry{
  background:transparent;
  border-color:rgba(255,255,255,.14);
}
body.home-refined .lab-section-dark .lab-entry-icon::before{
  color:#d8b876;
}
body.home-refined .lab-section-dark .lab-entry h3{color:#fff}

/* ---------- closing CTA ---------- */
body.home-refined .v3-seller-cta{
  background:var(--hr-ink);
  border-radius:4px;
}
body.home-refined .v3-seller-cta h2{
  font-family:"Pretendard","Noto Sans KR",sans-serif;
  font-weight:600;
}
body.home-refined .v3-seller-cta .lab-primary{
  background:#fff;
  color:var(--hr-ink);
}
body.home-refined .v3-seller-cta .lab-primary:hover{background:#f0ede4}
body.home-refined .v3-seller-cta .lab-secondary{
  background:transparent;
  border-color:rgba(255,255,255,.35);
  color:#fff;
}
body.home-refined .v3-seller-cta .lab-secondary:hover{border-color:#fff}

/* ---------- footer ---------- */
body.home-refined .v3-footer{background:var(--hr-ink)}
body.home-refined .hr-footer-sitemap{
  display:inline-block;
  margin-top:6px;
  color:#d8b876!important;
  font-weight:700;
}

@media(max-width:720px){
  /* On mobile the full 4-column footer is a long, low-value scroll.
     Keep the brand blurb + essential 안내 links, and point everyone
     else at the full sitemap instead of repeating every nav link. */
  body.home-refined .v3-footer-grid{grid-template-columns:1fr!important}
  body.home-refined .v3-footer-grid>div:nth-child(2),
  body.home-refined .v3-footer-grid>div:nth-child(3){display:none}
  body.home-refined .v3-footer-grid>div:nth-child(4){
    border-top:1px solid rgba(255,255,255,.14);
    padding-top:18px;
    margin-top:4px;
  }
}

@media(prefers-reduced-motion:reduce){
  body.home-refined *{animation:none!important}
}

@media(max-width:720px){
  body.home-refined .lab-hero{padding:44px 0 52px}
}
body.home-refined .v5-shell .v5-card{
  border-radius:22px;
  padding:24px 26px;
}
body.home-refined .v5-shell .v5-card h2{
  font-size:1.45rem;
  font-weight:800;
}
body.home-refined .v5-shell .v5-btn-primary{
  background:var(--hr-navy);
  border:1px solid var(--hr-navy);
  color:#fff !important;
  font-weight:800;
  border-radius:14px;
  box-shadow:0 12px 28px rgba(26,108,245,.24);
}
body.home-refined .v5-shell .v5-btn-primary:hover{
  background:#0f58d9;
  border-color:#0f58d9;
}
body.home-refined .lab-hero h1{
  font-size:clamp(42px,6vw,68px);
  line-height:1.12;
  letter-spacing:-.045em;
  color:var(--hr-ink);
  margin:18px 0 20px;
}
body.home-refined .lab-hero h1 strong,
body.home-refined .lab-hero h1 span{
  display:inline-block;
  font-weight:800;
}
body.home-refined .lab-hero h1 .accent{
  color:var(--hr-navy);
}
body.home-refined .lab-hero-copy>p{
  font-size:17px;
  font-weight:500;
  max-width:590px;
}
body.home-refined .lab-primary{
  color:#fff !important;
  font-weight:800;
}
body.home-refined .lab-primary span{color:#fff !important;}
body.home-refined .lab-section-dark .lab-section-head h2,
body.home-refined .lab-section-dark .lab-section-head p{
  color:#fff;
}
body.home-refined .lab-section-dark .lab-section-head p{
  font-weight:700;
  max-width:860px;
}
body.home-refined .lab-section-dark .lab-entry{
  background:rgba(255,255,255,.08) !important;
  border-color:rgba(255,255,255,.18) !important;
}
body.home-refined .lab-section-dark .lab-entry-icon::before{
  color:#fff;
  font-weight:800;
}
body.home-refined .lab-section-dark .lab-entry h3{
  color:#fff;
  font-size:31px;
  line-height:1.28;
  font-weight:800;
  margin-bottom:12px;
}
body.home-refined .lab-section-dark .lab-entry p{
  color:rgba(255,255,255,.92) !important;
  font-size:18px;
  line-height:1.7;
  font-weight:600;
}
@media(max-width:720px){
  body.home-refined .lab-hero h1{font-size:clamp(34px,10vw,48px)}
  body.home-refined .lab-section-dark .lab-entry h3{font-size:26px}
  body.home-refined .lab-section-dark .lab-entry p{font-size:16px}
}


/* ---------- V6.1.1 home first-page copy and box polish ---------- */
body.home-refined .lab-stat-strip{
  border-radius:18px;
  border:1px solid var(--hr-line);
  background:#fff;
  box-shadow:0 12px 28px rgba(14,31,56,.06);
  overflow:hidden;
}
body.home-refined .lab-stat{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:124px;
  padding:26px 28px;
}
body.home-refined .lab-stat strong{
  margin-bottom:8px;
}
body.home-refined .lab-copy-problem,
body.home-refined .lab-copy-single-line{
  max-width:none;
}
body.home-refined .lab-copy-problem .lab-copy-break{display:block}
@media (min-width:1280px){
  body.home-refined .lab-copy-single-line{
    white-space:nowrap;
    font-size:15px;
    letter-spacing:-0.012em;
  }
}
@media (max-width:1279px){
  body.home-refined .lab-copy-single-line{
    white-space:normal;
  }
}

/* ===== v5-4-ui-polish.css ===== */
/* NeuronLab V5.4 — CTA contrast + compact footer
   Loaded last so these accessibility and density rules win consistently. */

/* Home next-action card: bright, orderly, and clearly actionable. */
body.home-refined .v5-shell .v5-card{
  background:#fff !important;
  color:#0d2d5e !important;
  border:1px solid #d7e3f4 !important;
  border-radius:22px !important;
  box-shadow:0 10px 28px rgba(13,45,94,.055) !important;
  padding:24px 28px !important;
}
body.home-refined .v5-shell .v5-card .v5-kicker{
  color:#1a6cf5 !important;
}
body.home-refined .v5-shell .v5-card h2{
  color:#0d2d5e !important;
  font-size:clamp(1.25rem,2.2vw,1.55rem) !important;
}
body.home-refined .v5-shell .v5-card p{
  color:#64748b !important;
}
body.home-refined .v5-shell .v5-btn-primary,
body.home-refined .v5-shell .v5-btn-primary:link,
body.home-refined .v5-shell .v5-btn-primary:visited{
  min-height:50px;
  padding:13px 22px !important;
  border:1px solid #1a6cf5 !important;
  border-radius:13px !important;
  background:#1a6cf5 !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  box-shadow:0 10px 22px rgba(26,108,245,.2) !important;
  font-weight:800 !important;
  white-space:nowrap;
}
body.home-refined .v5-shell .v5-btn-primary:hover{
  background:#0f5fe8 !important;
  border-color:#0f5fe8 !important;
  color:#fff !important;
  transform:translateY(-1px);
  box-shadow:0 13px 27px rgba(26,108,245,.27) !important;
}
body.home-refined .v5-shell .v5-btn-primary:focus-visible{
  outline:3px solid rgba(26,108,245,.26);
  outline-offset:3px;
}

/* V3 pages: two-row compact footer. */
.v3-footer{
  padding:16px 0 13px !important;
}
.v3-footer .v3-container{
  display:grid;
  gap:7px;
}
.v3-footer-grid{
  display:flex !important;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:27px;
}
.v3-footer-compact-brand{
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:#fff;
  font-size:.85rem;
  font-weight:800;
  white-space:nowrap;
}
.v3-footer-compact-brand img{
  width:108px;
  height:auto;
  display:block;
}
.v3-footer-compact-links{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:14px;
  flex-wrap:wrap;
}
.v3-footer .v3-footer-compact-links a{
  display:inline-flex;
  margin:0;
  font-size:.73rem;
  color:#b9c8de;
}
.v3-footer .v3-footer-compact-links a:hover{
  color:#fff;
}
.v3-footer-business{
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  min-height:18px;
  font-size:.7rem !important;
  line-height:1.45;
  gap:10px !important;
  color:#91a5c4 !important;
}
.v3-footer-business + .v3-footer-business{
  margin-top:0 !important;
}

/* Legacy/legal pages: remove the tall 4-column footer, keep legal links in one row. */
.site-footer{
  padding:14px 0 !important;
}
.site-footer .footer-grid{
  display:none !important;
}
.site-footer .footer-bottom{
  min-height:26px;
  padding:0 !important;
  border-top:0 !important;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-size:12px !important;
  line-height:1.45;
}
.site-footer .footer-bottom-links{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:14px;
  flex-wrap:wrap;
}
.site-footer .footer-bottom-links a{
  margin:0;
  white-space:nowrap;
}

@media(max-width:680px){
  body.home-refined .v5-shell{
    padding-top:14px !important;
  }
  body.home-refined .v5-shell .v5-card{
    align-items:stretch !important;
    gap:16px !important;
    padding:20px !important;
  }
  body.home-refined .v5-shell .v5-btn-primary{
    width:100%;
  }
  .v3-footer{
    padding:12px 0 10px !important;
  }
  .v3-footer-grid{
    gap:9px;
    flex-wrap:wrap;
  }
  .v3-footer-compact-brand img{
    width:94px;
  }
  .v3-footer-compact-links{
    justify-content:flex-start;
    gap:10px;
  }
  .v3-footer .v3-footer-compact-links a{
    font-size:.68rem;
  }
  .v3-footer-business{
    gap:5px 9px !important;
    font-size:.65rem !important;
  }
  .site-footer .footer-bottom{
    align-items:flex-start;
    flex-direction:column;
    gap:5px;
  }
  .site-footer .footer-bottom-links{
    justify-content:flex-start;
    gap:10px;
  }
}

/* ===== v5-5-one-line-footer.css ===== */
/* NeuronLab V5.5 — ultra-compact one-line footer
   Always one visual row. On narrow screens optional items are hidden. */

.v3-footer,
.site-footer,
.legal-footer{
  margin:0 !important;
  padding:0 !important;
  min-height:0 !important;
  border:0 !important;
  background:#0b1f3a !important;
  color:#aebed4 !important;
}

.v3-footer > .v3-container,
.site-footer > .wrap,
.legal-footer{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
}

/* Remove every legacy multi-row/footer-grid fragment. */
.v3-footer .v3-footer-grid,
.v3-footer .v3-footer-business,
.site-footer .footer-grid,
.site-footer .footer-bottom,
.legal-footer > :not(.nl-footer-one-line){
  display:none !important;
}

.nl-footer-one-line{
  box-sizing:border-box;
  width:100%;
  min-height:34px;
  padding:0 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:nowrap;
  gap:0;
  overflow-x:auto;
  overflow-y:hidden;
  white-space:nowrap;
  scrollbar-width:none;
  -ms-overflow-style:none;
  -webkit-overflow-scrolling:touch;
  font-size:10.5px;
  font-weight:550;
  line-height:1;
  letter-spacing:-.015em;
  color:#aebed4;
  border-top:1px solid rgba(255,255,255,.065);
}
.nl-footer-one-line::-webkit-scrollbar{display:none;width:0;height:0}
.nl-footer-one-line > *{flex:0 0 auto}

.nl-footer-one-line a,
.nl-footer-one-line a:link,
.nl-footer-one-line a:visited{
  display:inline-flex !important;
  align-items:center;
  margin:0 !important;
  padding:0 !important;
  color:#c9d6e8 !important;
  -webkit-text-fill-color:#c9d6e8 !important;
  text-decoration:none !important;
  font-size:inherit !important;
  line-height:1 !important;
}
.nl-footer-one-line a:hover{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}
.nl-footer-one-line a:focus-visible{
  outline:2px solid #6aa8ff;
  outline-offset:3px;
  border-radius:2px;
}

.nl-footer-brand{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  font-weight:850 !important;
  letter-spacing:-.025em;
}
.nl-footer-sep{
  margin:0 6px;
  color:#536b8d;
  user-select:none;
}
.nl-footer-meta{color:#9fb0c8}
.nl-footer-email-short{display:none}

@media(max-width:680px){
  .nl-footer-one-line{
    min-height:30px;
    padding:0 8px;
    justify-content:flex-start;
    font-size:9.5px;
    letter-spacing:-.025em;
  }
  .nl-footer-sep{margin:0 4px}
  .nl-footer-owner,
  .nl-footer-refund{display:none !important}
  .nl-footer-email-long{display:none}
  .nl-footer-email-short{display:inline}
}

@media(max-width:380px){
  .nl-footer-one-line{font-size:9px}
  .nl-footer-sep{margin:0 3px}
}

@media print{
  .v3-footer,.site-footer,.legal-footer{display:none !important}
}

/* ===== v5-8-mobile-calm.css ===== */
/* =====================================================================
   NeuronLab V5.8 — Mobile Calm Mode
   목적: 정보 구조는 유지하고 모바일의 시각 피로·과밀도만 줄인다.
   적용 범위: 760px 이하. 데스크톱 디자인에는 영향 없음.
   ===================================================================== */

@media (max-width:760px){
  :root{
    --calm-bg:#f7f8fb;
    --calm-surface:#ffffff;
    --calm-ink:#10233f;
    --calm-muted:#67768a;
    --calm-line:#e8edf4;
    --calm-blue:#1a6cf5;
    --calm-soft:#eef4ff;
    --calm-radius:16px;
  }

  html{scroll-padding-top:64px}
  body.v3-body{
    background:var(--calm-bg)!important;
    color:var(--calm-ink)!important;
    font-size:15px;
    line-height:1.68;
    letter-spacing:-.01em;
    overflow-x:hidden;
  }
  body.v3-body *,
  body.v3-body *::before,
  body.v3-body *::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    scroll-behavior:auto!important;
  }

  /* ---------- header: two layers -> one quiet bar ---------- */
  .v3-topbar{display:none!important}
  .v3-header{
    top:0!important;
    background:rgba(255,255,255,.98)!important;
    backdrop-filter:none!important;
    box-shadow:none!important;
    border-bottom:1px solid var(--calm-line)!important;
  }
  .v3-container,
  .lab-container,
  .v5-shell,
  .wrap{
    width:min(calc(100% - 32px),1180px)!important;
  }
  .v3-nav{
    min-height:58px!important;
    height:58px!important;
    gap:8px!important;
  }
  .v3-brand img{height:28px!important;width:auto!important}
  .v3-nav-actions{gap:5px!important;margin-left:auto!important}
  .v3-mobile-toggle{
    width:38px!important;
    height:38px!important;
    border-radius:10px!important;
    border-color:var(--calm-line)!important;
    background:#fff!important;
    font-size:1.05rem!important;
  }
  .v3-nav-links{
    top:58px!important;
    padding:10px 16px 14px!important;
    gap:0!important;
    box-shadow:0 12px 28px rgba(16,35,63,.08)!important;
  }
  .v3-nav-links>a{
    padding:11px 4px!important;
    border-radius:0!important;
    border-bottom:1px solid var(--calm-line)!important;
    font-size:.92rem!important;
    font-weight:700!important;
  }
  .v3-nav-links>a:last-child{border-bottom:0!important}

  /* ---------- global hierarchy ---------- */
  h1,h2,h3,h4{letter-spacing:-.035em!important}
  .lab-kicker,.v3-eyebrow,.v5-kicker,.eyebrow{
    font-size:10px!important;
    letter-spacing:.1em!important;
  }
  main p{color:var(--calm-muted)}
  .v3-section,
  .lab-section{
    padding:42px 0!important;
  }
  .lab-section-head,
  .v3-section-head{
    gap:10px!important;
    margin-bottom:20px!important;
  }
  .lab-section-head h2,
  .v3-section-head h2{
    font-size:clamp(25px,7.2vw,30px)!important;
    line-height:1.25!important;
    margin:0!important;
  }
  .lab-section-head p,
  .v3-section-head p{
    font-size:14.5px!important;
    line-height:1.68!important;
    margin:7px 0 0!important;
    max-width:none!important;
  }
  /* section labels repeat the Korean title and increase fatigue */
  .lab-section:not(.lab-hero) .lab-kicker,
  .v3-section .v3-eyebrow{
    display:none!important;
  }

  /* ---------- cards: remove visual shouting ---------- */
  .v5-card,
  .lab-entry,
  .lab-problem-card,
  .lab-idea-card,
  .lab-quest-card,
  .lab-reader-card,
  .v3-product-card,
  .v3-trust-card,
  .v3-resource-card,
  .v3-community-card,
  .v3-blog-card,
  .v3-product-panel,
  .lab-detail-main,
  .lab-detail-side,
  .lab-dna-intro,
  .lab-dna-panel,
  .lab-result-panel,
  .lab-remix-panel,
  .lab-quest-detail,
  .lab-book-selector,
  .lab-reader-main,
  .panel,
  .doc,
  .hero-card{
    border-radius:var(--calm-radius)!important;
    border-color:var(--calm-line)!important;
    box-shadow:none!important;
  }
  .lab-entry,
  .lab-problem-card,
  .lab-idea-card,
  .lab-quest-card,
  .lab-reader-card,
  .v3-trust-card,
  .v3-resource-card,
  .v3-community-card,
  .v3-blog-card{
    padding:18px!important;
  }
  .lab-entry:hover,
  .lab-problem-card:hover,
  .lab-idea-card:hover,
  .lab-quest-card:hover,
  .lab-reader-card:hover,
  .v3-product-card:hover{
    transform:none!important;
    box-shadow:none!important;
  }
  .lab-entry h3,
  .lab-problem-card h3,
  .lab-idea-card h3,
  .lab-quest-card h3,
  .lab-reader-card h3{
    font-size:19px!important;
    line-height:1.4!important;
    margin-bottom:7px!important;
  }
  .lab-entry p,
  .lab-problem-card p,
  .lab-idea-card p,
  .lab-quest-card p,
  .lab-reader-card p{
    font-size:14px!important;
    line-height:1.65!important;
  }

  /* ---------- buttons: one strong action, rest quiet ---------- */
  .v3-btn,
  .v5-btn,
  .lab-primary,
  .lab-secondary,
  .btn{
    min-height:44px!important;
    border-radius:12px!important;
    font-size:14px!important;
    font-weight:800!important;
    box-shadow:none!important;
  }
  .lab-primary,.v3-btn-primary,.v5-btn-primary,.btn-primary{
    color:#fff!important;
    background:var(--calm-blue)!important;
  }
  .lab-secondary,.v3-btn-outline{
    background:transparent!important;
    border-color:transparent!important;
    color:var(--calm-blue)!important;
    padding-left:4px!important;
    padding-right:4px!important;
  }

  /* ---------- home: reduce above-the-fold duplication ---------- */
  body.home-refined .v5-shell{
    padding:10px 0 0!important;
  }
  body.home-refined .v5-shell .v5-card{
    padding:15px 16px!important;
    border-radius:14px!important;
    gap:11px!important;
    background:#fff!important;
    color:var(--calm-ink)!important;
    align-items:flex-start!important;
  }
  body.home-refined .v5-shell .v5-card .v5-kicker{display:none!important}
  body.home-refined .v5-shell .v5-card h2{
    font-size:18px!important;
    line-height:1.4!important;
    color:var(--calm-ink)!important;
    margin:0 0 3px!important;
  }
  body.home-refined .v5-shell .v5-card p{
    font-size:13.5px!important;
    line-height:1.55!important;
    color:var(--calm-muted)!important;
    margin:0!important;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  body.home-refined .v5-shell .v5-btn-primary{
    width:auto!important;
    min-height:40px!important;
    padding:0 14px!important;
    align-self:flex-start!important;
  }

  body.home-refined .lab-hero{
    padding:34px 0 40px!important;
  }
  body.home-refined .lab-hero-grid{gap:18px!important}
  body.home-refined .lab-console{display:none!important}
  body.home-refined .lab-hero h1{
    font-size:clamp(35px,10.2vw,44px)!important;
    line-height:1.14!important;
    margin:12px 0 16px!important;
    letter-spacing:-.055em!important;
  }
  body.home-refined .lab-hero-copy>p{
    font-size:15px!important;
    line-height:1.7!important;
    margin:0 0 20px!important;
  }
  body.home-refined .lab-hero-actions{
    display:grid!important;
    gap:6px!important;
  }
  body.home-refined .lab-hero-actions .lab-primary{
    width:100%!important;
  }
  body.home-refined .lab-hero-actions .lab-secondary{
    width:auto!important;
    justify-self:start!important;
    min-height:36px!important;
  }
  body.home-refined .lab-hero-proof{display:none!important}

  /* ---------- compact metrics ---------- */
  body.home-refined .lab-container[style*="padding-bottom"]{
    padding-bottom:8px!important;
  }
  body.home-refined .lab-stat-strip{
    gap:0!important;
    border-radius:14px!important;
    overflow:hidden!important;
    background:#fff!important;
  }
  body.home-refined .lab-stat{
    padding:14px 12px!important;
    min-height:78px!important;
  }
  body.home-refined .lab-stat strong{
    font-size:24px!important;
    line-height:1!important;
  }
  body.home-refined .lab-stat span{
    font-size:11.5px!important;
    line-height:1.35!important;
  }

  /* ---------- home: show a useful sample, not a wall of cards ---------- */
  body.home-refined #labHomeProblems> :nth-child(n+4),
  body.home-refined #labHomeIdeas> :nth-child(n+4),
  body.home-refined #labHomeQuests> :nth-child(n+4),
  body.home-refined #labHomeProducts> :nth-child(n+4){
    display:none!important;
  }

  /* ---------- choose-your-door becomes a calm list ---------- */
  body.home-refined .lab-entry-grid{
    gap:9px!important;
  }
  body.home-refined .lab-entry{
    display:grid!important;
    grid-template-columns:36px minmax(0,1fr)!important;
    column-gap:12px!important;
    row-gap:3px!important;
    align-items:start!important;
  }
  body.home-refined .lab-entry-icon{
    grid-row:1/4!important;
    margin:0!important;
    padding-top:1px!important;
  }
  body.home-refined .lab-entry-icon::before{
    font-size:18px!important;
  }
  body.home-refined .lab-entry h3,
  body.home-refined .lab-entry p,
  body.home-refined .lab-entry span{
    grid-column:2!important;
    margin:0!important;
  }
  body.home-refined .lab-entry span{
    font-size:13px!important;
    margin-top:4px!important;
  }

  /* ---------- Neuron Loop: big blue wall -> light compact explanation ---------- */
  body.home-refined .lab-section-dark{
    background:var(--calm-soft)!important;
    color:var(--calm-ink)!important;
  }
  body.home-refined .lab-section-dark .lab-section-head h2{
    color:var(--calm-ink)!important;
  }
  body.home-refined .lab-section-dark .lab-section-head p{
    color:var(--calm-muted)!important;
    font-weight:500!important;
  }
  body.home-refined .lab-section-dark .lab-entry{
    background:#fff!important;
    color:var(--calm-ink)!important;
    border-color:var(--calm-line)!important;
  }
  body.home-refined .lab-section-dark .lab-entry-icon::before{
    color:var(--calm-blue)!important;
  }
  body.home-refined .lab-section-dark .lab-entry h3{
    color:var(--calm-ink)!important;
    font-size:19px!important;
  }
  body.home-refined .lab-section-dark .lab-entry p{
    color:var(--calm-muted)!important;
    font-size:14px!important;
    font-weight:500!important;
  }

  /* ---------- closing callout ---------- */
  body.home-refined .v3-seller-cta{
    padding:20px!important;
    border-radius:16px!important;
  }
  body.home-refined .v3-seller-cta h2{
    font-size:24px!important;
    line-height:1.3!important;
  }
  body.home-refined .v3-seller-actions{
    gap:5px!important;
  }

  /* ---------- forms/detail pages ---------- */
  .lab-detail-hero{padding:34px 0 20px!important}
  .lab-detail-main,.lab-detail-side,
  .lab-dna-intro,.lab-dna-panel,.lab-result-panel,.lab-remix-panel,
  .lab-quest-detail,.lab-book-selector,.lab-reader-main,
  .v3-product-panel,.doc,.panel,.hero-card{
    padding:18px!important;
  }
  .lab-detail-main h1,.hero h1{
    font-size:32px!important;
    line-height:1.22!important;
  }
  .lab-detail-main .lead,.hero p{
    font-size:15px!important;
  }
  .lab-form-grid,.split,.grid{gap:14px!important}
  .lab-input,.lab-textarea,.lab-select,.input,.select,.textarea{
    border-radius:12px!important;
    padding:12px 13px!important;
  }
  .lab-filter-bar{
    gap:6px!important;
    flex-wrap:nowrap!important;
    overflow-x:auto!important;
    padding-bottom:4px!important;
    scrollbar-width:none;
  }
  .lab-filter-bar::-webkit-scrollbar{display:none}
  .lab-filter{white-space:nowrap!important;padding:8px 11px!important;font-size:12px!important}

  /* ---------- tables: readable, contained ---------- */
  .v3-table-wrap,.table-wrap,.list-table-wrap{
    border-radius:14px!important;
    box-shadow:none!important;
    overflow-x:auto!important;
  }
  .v3-table th,.v3-table td,.list-table th,.list-table td{
    padding:10px 11px!important;
    font-size:12.5px!important;
  }

  /* ---------- single-line footer remains truly small ---------- */
  .v3-footer{
    padding:7px 0!important;
    min-height:30px!important;
  }
  .v5-footer-one-line{
    min-height:26px!important;
    font-size:10.5px!important;
  }
}

@media (max-width:390px){
  .v3-container,.lab-container,.v5-shell,.wrap{width:min(calc(100% - 26px),1180px)!important}
  .v3-brand img{height:26px!important}
  body.home-refined .lab-hero h1{font-size:34px!important}
  body.home-refined .lab-stat{padding:12px 9px!important}
}

/* ===== v5-8-1-button-contrast.css ===== */
/* =====================================================================
   NeuronLab V5.8.1 — Button Contrast Hotfix
   흰 배경 + 흰 글씨로 보이지 않던 하단 CTA를 명확하게 수정합니다.
   ===================================================================== */

body.home-refined .v3-seller-cta .lab-primary,
body.home-refined .v3-seller-cta .lab-primary:link,
body.home-refined .v3-seller-cta .lab-primary:visited,
body.home-refined .v3-seller-cta .lab-primary:hover,
body.home-refined .v3-seller-cta .lab-primary:focus,
body.home-refined .v3-seller-cta .lab-primary:active {
  background:#ffffff !important;
  border:1px solid #ffffff !important;
  color:#0d2d5e !important;
  -webkit-text-fill-color:#0d2d5e !important;
  font-weight:800 !important;
  opacity:1 !important;
}

body.home-refined .v3-seller-cta .lab-primary *,
body.home-refined .v3-seller-cta .lab-primary span {
  color:#0d2d5e !important;
  -webkit-text-fill-color:#0d2d5e !important;
}

body.home-refined .v3-seller-cta .lab-secondary,
body.home-refined .v3-seller-cta .lab-secondary:link,
body.home-refined .v3-seller-cta .lab-secondary:visited {
  background:transparent !important;
  border:1px solid rgba(255,255,255,.58) !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  font-weight:800 !important;
}

body.home-refined .v3-seller-cta .lab-secondary:hover,
body.home-refined .v3-seller-cta .lab-secondary:focus {
  background:rgba(255,255,255,.10) !important;
  border-color:#ffffff !important;
  color:#ffffff !important;
}

body.home-refined a.lab-primary:visited,
body.home-refined a.v5-btn-primary:visited,
body.home-refined a.v3-btn-primary:visited {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}

@media (max-width:760px) {
  body.home-refined .v3-seller-cta .lab-primary,
  body.home-refined .v3-seller-cta .lab-secondary {
    width:100% !important;
    min-height:48px !important;
    justify-content:center !important;
  }
}

/* ===== v5-9-focus-lab.css ===== */
/* =====================================================================
   NeuronLab V5.9 — Focus Lab
   목적: 탐색 화면의 활기는 유지하고, 완료형 화면은 조용하고 재미있게.
   범위: 전역 모션 정책 + focus-page/reading-page + 집중도구/스프린트.
   ===================================================================== */

:root{
  --nl-focus-bg:#f5f7fb;
  --nl-focus-surface:#ffffff;
  --nl-focus-ink:#10233f;
  --nl-focus-muted:#66758a;
  --nl-focus-line:#e5ebf3;
  --nl-focus-blue:#1a6cf5;
  --nl-focus-blue-dark:#0f58d9;
  --nl-focus-soft:#edf4ff;
  --nl-focus-green:#0f9f6e;
  --nl-focus-radius:18px;
  --nl-focus-shadow:0 12px 32px rgba(16,35,63,.08);
}

/* 1. 움직임은 상태 변화에만: 기존 무한 모션은 최대 2회 */
.float-qna,.float-update,.float-seller,
.orb,.orb-a,.orb-b,.orb-c,
.badge-dot,.lab-orbit-card{
  animation-iteration-count:2!important;
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto!important}
  *,*::before,*::after{
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
}

/* 2. 완료형 화면 공통 */
body.focus-page{
  background:var(--nl-focus-bg)!important;
  color:var(--nl-focus-ink);
  --focus-reading-width:760px;
}
body.focus-page .v3-topbar{display:none!important}
body.focus-page .orb,
body.focus-page .orb-a,
body.focus-page .orb-b,
body.focus-page .orb-c,
body.focus-page .float-qna,
body.focus-page .float-update,
body.focus-page .float-seller,
body.focus-page .badge-dot{display:none!important}
body.focus-page main{
  min-height:calc(100vh - 124px);
}
body.focus-page .v5-shell,
body.focus-page main>.v3-section>.v3-container,
body.focus-page main>.lab-section>.lab-container,
body.focus-page main>.lab-hero>.lab-container,
body.focus-page main>.v3-article,
body.focus-page main>#labIdeaDetail>.lab-container{
  width:min(calc(100% - 40px),var(--focus-reading-width))!important;
  margin-inline:auto!important;
}
body.focus-page .lab-console{display:none!important}
body.focus-page .lab-hero-grid{grid-template-columns:1fr!important}
body.focus-page .lab-hero{padding:52px 0 30px!important}
body.focus-page .lab-section{padding:44px 0!important}
body.focus-page .v5-card,
body.focus-page .lab-detail-main,
body.focus-page .lab-detail-side,
body.focus-page .lab-quest-detail,
body.focus-page .lab-book-selector,
body.focus-page .lab-reader-main,
body.focus-page .v3-product-panel,
body.focus-page .v3-panel,
body.focus-page .panel,
body.focus-page .doc{
  border-color:var(--nl-focus-line)!important;
  border-radius:var(--nl-focus-radius)!important;
  box-shadow:none!important;
  background:var(--nl-focus-surface)!important;
}
body.focus-page p,
body.focus-page li,
body.focus-page label{
  line-height:1.75;
}
body.focus-page .v5-page-head,
body.focus-page .lab-section-head{
  margin-bottom:22px!important;
}
body.focus-page .v5-page-head h1,
body.focus-page .lab-hero h1,
body.focus-page .lab-section-head h2{
  letter-spacing:-.045em!important;
}

/* 3. 스크롤 시 헤더 축소 */
body.focus-page .v3-header{
  transition:height .18s ease,box-shadow .18s ease,background .18s ease;
}
body.focus-page.focus-header-compact .v3-header{
  background:rgba(255,255,255,.98)!important;
  box-shadow:0 4px 18px rgba(16,35,63,.06)!important;
}
body.focus-page.focus-header-compact .v3-nav{
  min-height:48px!important;
  height:48px!important;
  gap:10px!important;
}
body.focus-page.focus-header-compact .v3-brand img{height:27px!important}
body.focus-page.focus-header-compact .v3-nav-links{display:none!important}
body.focus-page.focus-header-compact .v3-mobile-toggle{display:flex!important;margin-left:auto!important}
body.focus-page.focus-header-compact .v3-nav-links.open{
  display:flex!important;
  position:absolute!important;
  left:0!important;
  right:0!important;
  top:48px!important;
  z-index:105!important;
  background:#fff!important;
  border-bottom:1px solid var(--nl-focus-line)!important;
  padding:14px 20px!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:2px!important;
  box-shadow:0 12px 28px rgba(16,35,63,.08)!important;
}
body.focus-page.focus-header-compact .v3-nav-links.open>a{
  padding:10px 8px!important;
}

/* 4. 집중 도구 — 한 줄, 선택적 */
.nl-focus-tools{
  width:min(calc(100% - 40px),760px);
  margin:12px auto 0;
  min-height:44px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:6px 8px 6px 12px;
  border:1px solid var(--nl-focus-line);
  border-radius:14px;
  background:rgba(255,255,255,.92);
  box-shadow:0 6px 18px rgba(16,35,63,.05);
  position:relative;
  z-index:60;
}
.nl-focus-tools__label{
  font-size:12px;
  font-weight:800;
  color:var(--nl-focus-muted);
  margin-right:auto;
  white-space:nowrap;
}
.nl-focus-tools button{
  min-height:34px;
  border:1px solid var(--nl-focus-line);
  border-radius:10px;
  background:#fff;
  color:var(--nl-focus-ink);
  font:inherit;
  font-size:12px;
  font-weight:800;
  padding:0 11px;
  cursor:pointer;
}
.nl-focus-tools button:hover{border-color:#bfd2ef;background:#f8fbff}
.nl-focus-tools button[aria-pressed="true"]{
  background:var(--nl-focus-blue);
  color:#fff;
  border-color:var(--nl-focus-blue);
}
.nl-focus-streak{
  display:inline-flex;
  align-items:center;
  gap:4px;
  font-size:12px;
  font-weight:800;
  color:#a15c00;
  white-space:nowrap;
}

/* 5. 사용자 선택 집중 모드 */
body.nl-focus-enabled{
  --focus-reading-width:700px;
  font-size:calc(1em + 1px);
}
body.nl-focus-enabled .v3-footer,
body.nl-focus-enabled .lab-console,
body.nl-focus-enabled .v3-topbar,
body.nl-focus-enabled .lab-hero-proof,
body.nl-focus-enabled .v5-kicker,
body.nl-focus-enabled .lab-kicker,
body.nl-focus-enabled .v3-eyebrow{
  display:none!important;
}
body.nl-focus-enabled .v3-header{
  box-shadow:none!important;
  border-bottom:1px solid var(--nl-focus-line)!important;
}
body.nl-focus-enabled main{
  background:var(--nl-focus-bg)!important;
}
body.nl-focus-enabled .v5-card,
body.nl-focus-enabled .lab-quest-detail,
body.nl-focus-enabled .lab-reader-main,
body.nl-focus-enabled .v3-product-panel,
body.nl-focus-enabled .doc,
body.nl-focus-enabled .panel{
  box-shadow:none!important;
}
body.nl-focus-enabled .lab-secondary,
body.nl-focus-enabled .v5-btn-ghost,
body.nl-focus-enabled .v3-btn-outline{
  opacity:.72;
}

/* 6. 읽기 진행률 */
.nl-reading-progress{
  position:fixed;
  left:0;
  top:0;
  width:100%;
  height:3px;
  background:transparent;
  z-index:9999;
  pointer-events:none;
}
.nl-reading-progress>i{
  display:block;
  width:0;
  height:100%;
  background:linear-gradient(90deg,var(--nl-focus-blue),#68a6ff);
  box-shadow:0 0 10px rgba(26,108,245,.25);
  transition:width .08s linear;
}

/* 7. 모바일 핵심 CTA 하나만 */
.nl-mobile-focus-action{display:none}

/* 8. 대시보드 정보 위계 */
.nl-dashboard-more{
  grid-column:1/-1;
  border:1px solid var(--nl-focus-line);
  border-radius:16px;
  background:#fff;
  overflow:hidden;
}
.nl-dashboard-more>summary{
  cursor:pointer;
  list-style:none;
  padding:16px 18px;
  color:var(--nl-focus-ink);
  font-weight:800;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.nl-dashboard-more>summary::-webkit-details-marker{display:none}
.nl-dashboard-more>summary::after{content:"＋";font-size:20px;color:var(--nl-focus-blue)}
.nl-dashboard-more[open]>summary::after{content:"−"}
.nl-dashboard-more-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  padding:0 14px 14px;
}
.nl-dashboard-more-grid>.v5-card{height:100%}

/* 9. 20분 스프린트 — 재미는 작고 조용하게 */
.nl-sprint-backdrop{
  position:fixed;
  inset:0;
  z-index:10000;
  display:grid;
  place-items:center;
  padding:20px;
  background:rgba(8,22,42,.48);
  backdrop-filter:blur(6px);
}
.nl-sprint-backdrop[hidden]{display:none!important}
.nl-sprint-card{
  width:min(100%,380px);
  border-radius:22px;
  background:#fff;
  padding:24px;
  box-shadow:0 28px 80px rgba(8,22,42,.24);
  text-align:center;
}
.nl-sprint-card h2{margin:0 0 4px;font-size:24px;color:var(--nl-focus-ink)}
.nl-sprint-card p{margin:0;color:var(--nl-focus-muted);font-size:14px}
.nl-sprint-time{
  margin:24px 0 18px;
  font-variant-numeric:tabular-nums;
  font-size:58px;
  line-height:1;
  font-weight:900;
  letter-spacing:-.055em;
  color:var(--nl-focus-blue);
}
.nl-sprint-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.nl-sprint-actions button{
  min-height:44px;
  border-radius:12px;
  border:1px solid var(--nl-focus-line);
  background:#fff;
  color:var(--nl-focus-ink);
  font-weight:800;
  cursor:pointer;
}
.nl-sprint-actions .primary{background:var(--nl-focus-blue);color:#fff;border-color:var(--nl-focus-blue)}
.nl-sprint-close{
  margin-top:10px;
  border:0;
  background:transparent;
  color:var(--nl-focus-muted);
  font-weight:700;
  cursor:pointer;
}

/* 10. 조용한 완료 피드백 */
.nl-focus-toast{
  position:fixed;
  left:50%;
  bottom:24px;
  z-index:10020;
  transform:translate(-50%,18px);
  opacity:0;
  pointer-events:none;
  min-width:min(360px,calc(100% - 32px));
  padding:12px 16px;
  border-radius:13px;
  background:#10233f;
  color:#fff;
  text-align:center;
  font-size:14px;
  font-weight:800;
  box-shadow:0 14px 34px rgba(16,35,63,.22);
  transition:.22s ease;
}
.nl-focus-toast.show{opacity:1;transform:translate(-50%,0)}
.nl-focus-complete-pulse{animation:nlFocusComplete .45s ease 1}
@keyframes nlFocusComplete{
  0%{transform:scale(.98);box-shadow:0 0 0 0 rgba(26,108,245,.25)}
  70%{transform:scale(1);box-shadow:0 0 0 10px rgba(26,108,245,0)}
  100%{transform:scale(1)}
}

/* 11. API 실패도 산만하지 않게 */
.nl-recovery-card{
  border:1px dashed #cbd8e8!important;
  border-radius:16px!important;
  background:#fbfdff!important;
  color:var(--nl-focus-muted)!important;
  padding:22px!important;
  text-align:center!important;
}
.nl-recovery-card button{
  margin-top:10px;
  min-height:38px;
  border:1px solid #bfd1e8;
  border-radius:10px;
  background:#fff;
  color:var(--nl-focus-blue);
  font-weight:800;
  padding:0 14px;
  cursor:pointer;
}

@media(max-width:900px){
  .nl-dashboard-more-grid{grid-template-columns:1fr}
}

@media(max-width:760px){
  body.focus-page{--focus-reading-width:100%}
  body.focus-page main{padding-bottom:76px}
  body.focus-page .v5-shell,
  body.focus-page main>.v3-section>.v3-container,
  body.focus-page main>.lab-section>.lab-container,
  body.focus-page main>.lab-hero>.lab-container,
  body.focus-page main>.v3-article,
  body.focus-page main>#labIdeaDetail>.lab-container{
    width:min(calc(100% - 28px),760px)!important;
  }
  body.focus-page .v3-topbar{display:none!important}
  body.focus-page .v3-header{position:sticky!important;top:0!important}
  body.focus-page .lab-hero{padding:34px 0 20px!important}
  body.focus-page .lab-section{padding:30px 0!important}
  body.focus-page .v5-grid{display:block!important}
  body.focus-page .v5-grid>.v5-card{margin-bottom:12px!important}
  body.focus-page .lab-reader-layout,
  body.focus-page .lab-quest-layout,
  body.focus-page .v3-checkout-grid{
    grid-template-columns:1fr!important;
  }
  body.focus-page .lab-book-selector,
  body.focus-page .lab-quest-list{
    max-height:220px;
    overflow:auto;
  }
  .nl-focus-tools{
    width:min(calc(100% - 28px),760px);
    margin-top:8px;
    padding:5px 6px 5px 10px;
    min-height:42px;
    overflow-x:auto;
  }
  .nl-focus-tools__label{font-size:11px}
  .nl-focus-tools button{min-height:32px;font-size:11px;padding:0 9px}
  .nl-focus-streak{font-size:11px}
  .nl-mobile-focus-action{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:9990;
    display:block;
    padding:10px 14px calc(10px + env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid var(--nl-focus-line);
    backdrop-filter:blur(12px);
  }
  .nl-mobile-focus-action button,
  .nl-mobile-focus-action a{
    display:flex;
    width:min(100%,720px);
    min-height:48px;
    margin:0 auto;
    align-items:center;
    justify-content:center;
    border:0;
    border-radius:13px;
    background:var(--nl-focus-blue);
    color:#fff!important;
    text-decoration:none;
    font-weight:900;
    font-size:15px;
    box-shadow:0 10px 24px rgba(26,108,245,.24);
    cursor:pointer;
  }
  .nl-focus-toast{bottom:82px}
  .nl-sprint-card{padding:22px 18px}
  .nl-sprint-time{font-size:50px}
}

/* ===== v6-action-loop.css ===== */
/* =====================================================================
   NeuronLab V6.1 — Immersion Layer
   Focus without boredom: one next action, visible progress, quiet reward.
   Loaded after V5.9 and intentionally overrides only V6 components.
   ===================================================================== */

:root{
  --v6-ink:#10233f;
  --v6-muted:#66758a;
  --v6-blue:#1a6cf5;
  --v6-blue-dark:#0f58d9;
  --v6-blue-soft:#edf4ff;
  --v6-green:#0f9f6e;
  --v6-amber:#b8750f;
  --v6-bg:#f6f8fc;
  --v6-surface:#ffffff;
  --v6-line:#e4eaf3;
  --v6-shadow:0 14px 36px rgba(16,35,63,.08);
  --v6-radius:20px;
  --v6-safe-bottom:env(safe-area-inset-bottom,0px);
}

body.v6-app{
  --nl-focus-bg:var(--v6-bg);
  --nl-focus-surface:var(--v6-surface);
  --nl-focus-ink:var(--v6-ink);
  --nl-focus-muted:var(--v6-muted);
  --nl-focus-line:var(--v6-line);
  --nl-focus-blue:var(--v6-blue);
  font-family:"Pretendard","Noto Sans KR",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

/* The old V5.9 toolbar is functionally retained but visually replaced. */
body.v6-app .nl-focus-tools{display:none!important}

/* ---------------------------------------------------------------------
   Home resume card: visible only when JS has a useful next action.
   --------------------------------------------------------------------- */
.v6-resume-shell{
  width:min(calc(100% - 40px),1120px);
  margin:22px auto 0;
}
.v6-resume-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:22px;
  min-height:118px;
  padding:24px 26px;
  border:1px solid #dbe6f7;
  border-radius:22px;
  background:linear-gradient(135deg,#fff 0%,#f5f9ff 100%);
  box-shadow:0 12px 30px rgba(16,35,63,.06);
}
.v6-resume-card[hidden]{display:none!important}
.v6-resume-eyebrow{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:6px;
  color:var(--v6-blue);
  font-size:11px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.v6-resume-eyebrow::before{
  content:"";
  width:8px;height:8px;border-radius:50%;
  background:var(--v6-blue);
  box-shadow:0 0 0 5px rgba(26,108,245,.10);
}
.v6-resume-card h2{
  margin:0;
  color:var(--v6-ink);
  font-size:clamp(21px,2.6vw,29px);
  line-height:1.28;
  font-weight:850;
  letter-spacing:-.035em;
}
.v6-resume-card p{
  margin:7px 0 0;
  color:var(--v6-muted);
  font-size:15px;
}
.v6-resume-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 20px;
  border-radius:13px;
  background:var(--v6-blue);
  color:#fff!important;
  text-decoration:none;
  font-size:14px;
  font-weight:900;
  white-space:nowrap;
  box-shadow:0 12px 26px rgba(26,108,245,.22);
}
.v6-resume-action:hover{background:var(--v6-blue-dark)}

/* ---------------------------------------------------------------------
   Four-stage action loop. It communicates position without gamified noise.
   --------------------------------------------------------------------- */
.v6-stage-rail{
  width:min(calc(100% - 40px),1120px);
  margin:22px auto 0;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border:1px solid var(--v6-line);
  border-radius:18px;
  background:#fff;
  overflow:hidden;
}
.v6-stage{
  position:relative;
  display:grid;
  grid-template-columns:34px 1fr;
  gap:10px;
  align-items:center;
  min-height:72px;
  padding:13px 16px;
  color:#8591a3;
  border-right:1px solid var(--v6-line);
}
.v6-stage:last-child{border-right:0}
.v6-stage-num{
  width:30px;height:30px;border-radius:50%;
  display:grid;place-items:center;
  border:1px solid #dce4ef;
  color:#7b8798;
  font-size:12px;
  font-weight:900;
  background:#f9fbfe;
}
.v6-stage strong{display:block;color:inherit;font-size:14px;line-height:1.2}
.v6-stage small{display:block;margin-top:3px;color:inherit;font-size:11px}
.v6-stage.is-done{color:var(--v6-green)}
.v6-stage.is-done .v6-stage-num{background:#eaf8f3;border-color:#bce7d7;color:var(--v6-green)}
.v6-stage.is-current{
  color:var(--v6-ink);
  background:var(--v6-blue-soft);
}
.v6-stage.is-current::after{
  content:"";
  position:absolute;left:16px;right:16px;bottom:0;height:3px;
  border-radius:3px 3px 0 0;background:var(--v6-blue);
}
.v6-stage.is-current .v6-stage-num{background:var(--v6-blue);border-color:var(--v6-blue);color:#fff}

/* ---------------------------------------------------------------------
   Dashboard — daily action first, everything else secondary.
   --------------------------------------------------------------------- */
body.v6-dashboard-page main{background:var(--v6-bg)}
.v6-dashboard{
  width:min(calc(100% - 40px),1120px);
  margin:0 auto;
  padding:42px 0 78px;
}
.v6-dashboard-hero{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:22px;
  margin-bottom:22px;
}
.v6-dashboard-hero small{
  display:block;
  margin-bottom:7px;
  color:var(--v6-blue);
  font-size:11px;
  font-weight:900;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.v6-dashboard-hero h1{
  margin:0;
  color:var(--v6-ink);
  font-size:clamp(31px,4.5vw,50px);
  line-height:1.12;
  letter-spacing:-.055em;
  font-weight:900;
}
.v6-dashboard-hero p{margin:10px 0 0;color:var(--v6-muted);font-size:16px}
.v6-date-chip{
  display:inline-flex;align-items:center;min-height:38px;
  padding:0 13px;border:1px solid var(--v6-line);border-radius:999px;
  background:#fff;color:var(--v6-muted);font-size:12px;font-weight:800;white-space:nowrap;
}
.v6-dashboard-grid{
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(280px,.75fr);
  gap:18px;
  align-items:stretch;
}
.v6-panel{
  border:1px solid var(--v6-line);
  border-radius:var(--v6-radius);
  background:#fff;
  box-shadow:var(--v6-shadow);
}
.v6-primary-panel{padding:28px}
.v6-panel-kicker{
  display:flex;align-items:center;gap:8px;
  color:var(--v6-blue);font-size:11px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;
}
.v6-panel-kicker::before{content:"";width:18px;height:2px;border-radius:2px;background:var(--v6-blue)}
.v6-primary-panel h2{
  margin:12px 0 8px;color:var(--v6-ink);font-size:clamp(24px,3vw,36px);line-height:1.25;font-weight:900;letter-spacing:-.045em;
}
.v6-primary-panel>p{margin:0;color:var(--v6-muted);line-height:1.75}
.v6-action-meta{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 22px}
.v6-action-meta span{
  display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border-radius:999px;
  background:#f4f7fb;color:#5b697d;font-size:12px;font-weight:800;
}
.v6-primary-button{
  display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 22px;border:0;border-radius:14px;
  background:var(--v6-blue);color:#fff!important;text-decoration:none;font-size:15px;font-weight:900;
  box-shadow:0 12px 26px rgba(26,108,245,.22);cursor:pointer;
}
.v6-primary-button:hover{background:var(--v6-blue-dark)}
.v6-complete-button{
  margin-left:8px;min-height:50px;padding:0 17px;border:1px solid #cbd8ea;border-radius:14px;
  background:#fff;color:var(--v6-ink);font-weight:900;cursor:pointer;
}
.v6-complete-button[aria-pressed="true"]{background:#eaf8f3;border-color:#b7e2d2;color:var(--v6-green)}

.v6-progress-panel{display:grid;place-items:center;padding:26px;text-align:center}
.v6-progress-ring{
  --value:0;
  width:146px;height:146px;border-radius:50%;display:grid;place-items:center;
  background:conic-gradient(var(--v6-blue) calc(var(--value)*1%),#e9eef6 0);
  position:relative;
}
.v6-progress-ring::before{content:"";position:absolute;inset:12px;border-radius:50%;background:#fff}
.v6-progress-ring strong{position:relative;z-index:1;color:var(--v6-ink);font-size:34px;font-weight:900;letter-spacing:-.05em}
.v6-progress-panel h3{margin:16px 0 4px;color:var(--v6-ink);font-size:20px}
.v6-progress-panel p{margin:0;color:var(--v6-muted);font-size:13px}

.v6-dashboard-lower{
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(300px,.9fr);
  gap:18px;
  margin-top:18px;
}
.v6-checklist-panel,.v6-momentum-panel{padding:24px}
.v6-checklist-panel h2,.v6-momentum-panel h2{margin:0;color:var(--v6-ink);font-size:21px;letter-spacing:-.03em}
.v6-checklist-panel>p,.v6-momentum-panel>p{margin:6px 0 18px;color:var(--v6-muted);font-size:14px}
.v6-daily-list{display:grid;gap:10px}
.v6-daily-item{
  position:relative;
  display:grid;grid-template-columns:28px 1fr auto;gap:11px;align-items:center;
  min-height:58px;padding:10px 12px;border:1px solid var(--v6-line);border-radius:13px;background:#fbfcfe;
}
.v6-daily-item input{position:absolute;opacity:0;pointer-events:none}
.v6-check{
  width:24px;height:24px;border-radius:8px;border:1.5px solid #cbd7e7;background:#fff;display:grid;place-items:center;
  color:#fff;font-size:13px;font-weight:900;
}
.v6-daily-item.is-done{background:#f2fbf7;border-color:#c7eadc}
.v6-daily-item.is-done .v6-check{background:var(--v6-green);border-color:var(--v6-green)}
.v6-daily-item.is-done .v6-check::before{content:"✓"}
.v6-daily-item strong{display:block;color:var(--v6-ink);font-size:14px}
.v6-daily-item small{display:block;margin-top:2px;color:var(--v6-muted);font-size:12px}
.v6-daily-item em{font-style:normal;color:#8a96a8;font-size:11px;font-weight:800;white-space:nowrap}
.v6-momentum-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.v6-momentum-card{padding:15px 12px;border:1px solid var(--v6-line);border-radius:14px;background:#fbfcfe;text-align:center}
.v6-momentum-card strong{display:block;color:var(--v6-blue);font-size:25px;font-weight:900;letter-spacing:-.04em}
.v6-momentum-card span{display:block;margin-top:4px;color:var(--v6-muted);font-size:11px;font-weight:800}
.v6-quick-links{margin-top:14px;border-top:1px solid var(--v6-line);padding-top:12px}
.v6-quick-links summary{cursor:pointer;color:var(--v6-ink);font-size:13px;font-weight:900}
.v6-quick-links-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:11px}
.v6-quick-links a{display:flex;align-items:center;min-height:42px;padding:0 12px;border-radius:10px;background:#f5f8fc;color:var(--v6-ink);text-decoration:none;font-size:12px;font-weight:800}
.v6-quick-links a:hover{background:var(--v6-blue-soft);color:var(--v6-blue)}

/* Compact focus control. V5.9 functionality remains available underneath. */
.v6-focus-dock{
  width:min(calc(100% - 40px),760px);
  margin:9px auto 0;
  display:flex;justify-content:flex-end;gap:6px;
  position:relative;z-index:70;
}
.v6-focus-dock button{
  display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 11px;
  border:1px solid var(--v6-line);border-radius:999px;background:rgba(255,255,255,.94);color:var(--v6-muted);
  font:inherit;font-size:11px;font-weight:900;cursor:pointer;box-shadow:0 5px 15px rgba(16,35,63,.05);
}
.v6-focus-dock button[aria-pressed="true"]{background:var(--v6-blue);border-color:var(--v6-blue);color:#fff}

/* Quiet source badge shown only when the public API is unavailable. */
.v6-fallback-note{
  display:inline-flex;align-items:center;gap:6px;margin:0 0 10px;padding:5px 9px;border-radius:999px;
  background:#fff7e8;color:#8f5d06;font-size:11px;font-weight:800;
}
.v6-fallback-note::before{content:"";width:6px;height:6px;border-radius:50%;background:#e6a029}

/* Mobile bottom app navigation. */
.v6-bottom-nav{display:none}

/* Home rails become compact swipeable shelves on narrow screens. */
@media(max-width:760px){
  body.v6-app{padding-bottom:calc(66px + var(--v6-safe-bottom))}
  body.v6-app.v6-no-bottom-nav{padding-bottom:0}
  .v6-resume-shell{width:min(calc(100% - 28px),1120px);margin-top:14px}
  .v6-resume-card{grid-template-columns:1fr;gap:14px;padding:19px;border-radius:17px;min-height:0}
  .v6-resume-card h2{font-size:22px}
  .v6-resume-card p{font-size:14px;line-height:1.65}
  .v6-resume-action{width:100%;min-height:46px}

  .v6-stage-rail{
    width:min(calc(100% - 28px),1120px);
    display:flex;overflow-x:auto;scroll-snap-type:x mandatory;
    margin-top:14px;border-radius:15px;-webkit-overflow-scrolling:touch;
  }
  .v6-stage{flex:0 0 72%;min-height:66px;scroll-snap-align:start;border-right:1px solid var(--v6-line)}

  .v6-dashboard{width:min(calc(100% - 28px),1120px);padding:28px 0 36px}
  .v6-dashboard-hero{display:block;margin-bottom:16px}
  .v6-dashboard-hero h1{font-size:34px}
  .v6-dashboard-hero p{font-size:14px;line-height:1.65}
  .v6-date-chip{margin-top:14px}
  .v6-dashboard-grid,.v6-dashboard-lower{grid-template-columns:1fr;gap:12px}
  .v6-primary-panel,.v6-checklist-panel,.v6-momentum-panel{padding:19px}
  .v6-primary-panel h2{font-size:27px}
  .v6-primary-button,.v6-complete-button{width:100%;margin:8px 0 0}
  .v6-progress-panel{padding:20px}
  .v6-progress-ring{width:122px;height:122px}
  .v6-momentum-grid{gap:7px}
  .v6-momentum-card{padding:12px 6px}
  .v6-momentum-card strong{font-size:22px}
  .v6-daily-item{grid-template-columns:28px 1fr;padding:10px}
  .v6-daily-item em{display:none}
  .v6-quick-links-grid{grid-template-columns:1fr}

  .v6-focus-dock{width:min(calc(100% - 28px),760px);margin-top:6px}

  .v6-bottom-nav{
    position:fixed;left:0;right:0;bottom:0;z-index:10010;
    display:grid;grid-template-columns:repeat(4,1fr);
    min-height:58px;padding:5px 8px calc(5px + var(--v6-safe-bottom));
    border-top:1px solid rgba(210,220,234,.92);
    background:rgba(255,255,255,.96);backdrop-filter:blur(16px);
    box-shadow:0 -8px 24px rgba(16,35,63,.08);
  }
  .v6-bottom-nav a{
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
    min-width:0;min-height:48px;border-radius:11px;color:#7b8798;text-decoration:none;
    font-size:10px;font-weight:800;
  }
  .v6-bottom-nav a::before{font-size:19px;line-height:1}
  .v6-bottom-nav a[data-nav="home"]::before{content:"⌂"}
  .v6-bottom-nav a[data-nav="ideas"]::before{content:"◇"}
  .v6-bottom-nav a[data-nav="experiment"]::before{content:"✓"}
  .v6-bottom-nav a[data-nav="workspace"]::before{content:"○"}
  .v6-bottom-nav a.is-active{background:var(--v6-blue-soft);color:var(--v6-blue)}

  body.v6-app .lab-problem-grid,
  body.v6-app .lab-idea-grid,
  body.v6-app .lab-quest-grid,
  body.v6-app .lab-reader-grid{
    display:flex!important;
    overflow-x:auto!important;
    gap:12px!important;
    scroll-snap-type:x mandatory;
    padding:2px 2px 10px!important;
    -webkit-overflow-scrolling:touch;
  }
  body.v6-app .lab-problem-grid>* ,
  body.v6-app .lab-idea-grid>* ,
  body.v6-app .lab-quest-grid>* ,
  body.v6-app .lab-reader-grid>*{
    flex:0 0 86%!important;
    scroll-snap-align:start;
  }
  body.v6-app .nl-mobile-focus-action{bottom:calc(58px + var(--v6-safe-bottom))}
  body.v6-app .nl-focus-toast{bottom:calc(128px + var(--v6-safe-bottom))}
}

@media(min-width:761px){
  body.v6-app .v6-bottom-nav{display:none!important}
}

@media(prefers-reduced-motion:reduce){
  .v6-progress-ring,.v6-resume-card,.v6-stage,.v6-panel{transition:none!important}
}

/* =====================================================================
   NeuronLab V6.1 — Immersion Layer
   Selected from the peer upgrade design: emotional completion feedback,
   visible continuity, calm streaks, and one-time stage milestones.
   ===================================================================== */

.v61-last-progress,
.v61-dashboard-last{
  display:block;
  margin:0 0 7px;
  color:#7a8799;
  font-size:12px;
  line-height:1.5;
  font-weight:800;
}
.v61-dashboard-last{margin:8px 0 -2px}

/* The primary action earns attention only while unfinished. */
.v6-primary-panel{position:relative;overflow:visible}
.v6-primary-panel.is-pending{
  border-color:#bcd2f7;
  animation:v61-primary-breathe 2.4s ease-in-out 3;
}
.v6-primary-panel.is-complete{
  border-color:#bee5d7;
  box-shadow:0 14px 36px rgba(15,159,110,.08);
}
[data-v6-dashboard].v61-primary-pending .v6-progress-panel,
[data-v6-dashboard].v61-primary-pending .v6-momentum-panel{
  filter:saturate(.86);
  opacity:.9;
}

/* Completion pulse: short, local, and never continuously animated. */
.v6-complete-button,
.v6-daily-item,
.v6-check{position:relative}
.v6-complete-button.is-celebrating::after,
.v6-daily-item.is-celebrating .v6-check::after{
  content:"";
  position:absolute;
  inset:-7px;
  border:2px solid rgba(15,159,110,.48);
  border-radius:inherit;
  pointer-events:none;
  animation:v61-complete-pulse .62s ease-out both;
}
.v6-daily-item.is-celebrating .v6-check::after{inset:-6px;border-radius:11px}

/* The ring is animated by requestAnimationFrame in JS. */
.v6-progress-ring{will-change:background}

/* Streak is self-comparison only, never a ranking. */
.v6-momentum-grid{grid-template-columns:repeat(4,1fr)}
.v61-streak-card strong{white-space:nowrap}
.v61-streak-note{
  margin:11px 0 0;
  padding:10px 12px;
  border-radius:12px;
  background:#f4f8ff;
  color:#5c6b7e;
  font-size:12px;
  line-height:1.55;
  font-weight:700;
}

/* A calm end-of-day finish, not an endless engagement prompt. */
.v61-day-complete{
  margin-top:14px;
  padding:14px 16px;
  border:1px solid #c5eadc;
  border-radius:14px;
  background:#f2fbf7;
  color:#276b55;
}
.v61-day-complete[hidden]{display:none!important}
.v61-day-complete strong{display:block;font-size:14px;font-weight:900}
.v61-day-complete span{display:block;margin-top:3px;font-size:12px;line-height:1.55}
.v61-day-complete.is-revealed{animation:v61-finish-card .58s ease-out both}
.v6-daily-item.v61-finish-wave{
  animation:v61-finish-wave .75s ease-out var(--v61-delay,0ms) both;
}

/* One-time stage milestone. It is inline, dismissible and non-blocking. */
.v61-stage-banner{
  width:min(calc(100% - 40px),1120px);
  margin:16px auto 0;
  display:grid;
  grid-template-columns:36px minmax(0,1fr) 32px;
  align-items:center;
  gap:12px;
  padding:15px 16px;
  border:1px solid #cfe0fa;
  border-radius:16px;
  background:linear-gradient(135deg,#f7faff,#eef5ff);
  color:var(--v6-ink);
  opacity:0;
  transform:translateY(-6px);
  transition:opacity .32s ease,transform .32s ease;
}
.v61-stage-banner.is-visible{opacity:1;transform:translateY(0)}
.v61-stage-icon{
  width:34px;height:34px;border-radius:50%;display:grid;place-items:center;
  background:var(--v6-blue);color:#fff;font-size:16px;font-weight:900;
}
.v61-stage-banner strong{display:block;font-size:15px;font-weight:900}
.v61-stage-banner p{margin:3px 0 0;color:var(--v6-muted);font-size:12px;line-height:1.55}
.v61-stage-banner button{
  width:32px;height:32px;border:0;border-radius:50%;background:transparent;color:#8290a3;
  font-size:22px;line-height:1;cursor:pointer;
}
.v61-stage-banner button:hover{background:#fff;color:var(--v6-ink)}

/* Quiet variable reward copy. */
.v61-reward-toast{
  position:fixed;
  left:50%;
  bottom:26px;
  z-index:12050;
  transform:translate(-50%,12px);
  max-width:min(calc(100% - 32px),420px);
  padding:11px 15px;
  border:1px solid #c8e8db;
  border-radius:999px;
  background:rgba(244,252,248,.97);
  color:#176d50;
  box-shadow:0 14px 34px rgba(16,35,63,.14);
  font-size:13px;
  font-weight:850;
  text-align:center;
  opacity:0;
  pointer-events:none;
  transition:opacity .22s ease,transform .22s ease;
}
.v61-reward-toast.is-visible{opacity:1;transform:translate(-50%,0)}

/* The compact focus buttons now feel immediately responsive. */
.v6-focus-dock button{
  transition:transform .16s ease,background-color .16s ease,border-color .16s ease,color .16s ease;
}
.v6-focus-dock button:active,
.v6-focus-dock button.is-pressing{transform:scale(.95)}

@keyframes v61-complete-pulse{
  0%{opacity:.72;transform:scale(.78)}
  100%{opacity:0;transform:scale(1.34)}
}
@keyframes v61-primary-breathe{
  0%,100%{box-shadow:0 14px 36px rgba(16,35,63,.08)}
  50%{box-shadow:0 14px 40px rgba(26,108,245,.18),0 0 0 4px rgba(26,108,245,.045)}
}
@keyframes v61-finish-card{
  0%{opacity:0;transform:translateY(7px)}
  100%{opacity:1;transform:translateY(0)}
}
@keyframes v61-finish-wave{
  0%{box-shadow:0 0 0 0 rgba(15,159,110,0)}
  42%{box-shadow:0 0 0 5px rgba(15,159,110,.11);border-color:#a7decc}
  100%{box-shadow:0 0 0 0 rgba(15,159,110,0)}
}

@media(max-width:760px){
  .v61-stage-banner{
    width:min(calc(100% - 28px),1120px);
    grid-template-columns:32px minmax(0,1fr) 30px;
    padding:13px;
    margin-top:12px;
  }
  .v61-stage-icon{width:30px;height:30px;font-size:14px}
  .v61-stage-banner strong{font-size:14px}
  .v6-momentum-grid{grid-template-columns:repeat(2,1fr)}
  .v61-reward-toast{bottom:calc(74px + var(--v6-safe-bottom))}
  body.v6-no-bottom-nav .v61-reward-toast{bottom:calc(22px + var(--v6-safe-bottom))}
}

@media(prefers-reduced-motion:reduce){
  .v6-primary-panel.is-pending,
  .v6-complete-button.is-celebrating::after,
  .v6-daily-item.is-celebrating .v6-check::after,
  .v61-day-complete.is-revealed,
  .v6-daily-item.v61-finish-wave{
    animation:none!important;
  }
  .v61-stage-banner,
  .v61-reward-toast,
  .v6-focus-dock button{
    transition:none!important;
  }
}


/* ---------- V6.1.1 stage rail box polish ---------- */
body.home-refined .v6-stage-rail{
  border:1px solid var(--v6-line);
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 24px rgba(14,31,56,.05);
  overflow:hidden;
}
body.home-refined .v6-stage{
  min-height:72px;
  padding:18px 24px;
  align-items:center;
}
body.home-refined .v6-stage.is-current::after{
  left:20px;
  right:20px;
  bottom:0;
  border-radius:999px;
}

/* ===== v6-1-2-home-focus.css ===== */
/* =====================================================================
   NeuronLab V6.1.2 — Home Focus
   - desktop: aligned process diagram, stage rail and metric boxes
   - mobile: calmer copy rhythm, one primary action, compact sections
   Scoped to the first page only.
   ===================================================================== */

body.home-refined{
  --v612-ink:#102f61;
  --v612-blue:#1a6cf5;
  --v612-blue-dark:#0f58d9;
  --v612-soft:#f5f8fd;
  --v612-line:#dfe7f2;
  --v612-muted:#5d6a7d;
}

body.home-refined .lab-container,
body.home-refined .v3-container{
  width:min(calc(100% - 40px),1180px);
}

/* ------------------------------------------------------------------
   Hero: less empty space, clearer reading order.
   ------------------------------------------------------------------ */
body.home-refined .lab-hero{
  padding:58px 0 48px;
}
body.home-refined .lab-hero-grid{
  grid-template-columns:minmax(0,1.06fr) minmax(430px,.94fr);
  gap:56px;
  align-items:center;
}
body.home-refined .lab-hero-copy{
  min-width:0;
}
body.home-refined .lab-hero h1{
  max-width:660px;
  text-wrap:balance;
}
body.home-refined .lab-hero-copy>p{
  max-width:620px;
  line-height:1.75;
  text-wrap:pretty;
  word-break:keep-all;
}
body.home-refined .lab-hero-actions{
  align-items:center;
}

/* ------------------------------------------------------------------
   Research flow: replace visually scattered orbit cards with a precise
   symmetric grid. No animation, no pseudo orbit rings.
   ------------------------------------------------------------------ */
body.home-refined .lab-console{
  padding:22px;
  border-radius:18px;
  box-shadow:0 20px 48px rgba(14,31,56,.08);
}
body.home-refined .lab-orbit{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-areas:
    "problem demand"
    "core core"
    "experiment knowledge";
  gap:12px;
  min-height:0;
  padding:20px;
  border-radius:16px;
}
body.home-refined .lab-orbit::before,
body.home-refined .lab-orbit::after{
  display:none!important;
}
body.home-refined .lab-core{
  position:static;
  grid-area:core;
  left:auto;top:auto;
  width:100%;height:auto;
  min-height:94px;
  transform:none;
  border-radius:14px;
  box-shadow:0 12px 28px rgba(14,31,56,.18);
}
body.home-refined .lab-core strong{
  font-size:32px;
  line-height:1;
  margin-bottom:6px;
}
body.home-refined .lab-orbit-card{
  position:static;
  left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
  min-height:84px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:14px 16px;
  border-radius:12px;
  box-shadow:none;
  animation:none!important;
  text-align:left;
}
body.home-refined .lab-orbit-card.a{grid-area:problem}
body.home-refined .lab-orbit-card.b{grid-area:demand}
body.home-refined .lab-orbit-card.c{grid-area:experiment}
body.home-refined .lab-orbit-card.d{grid-area:knowledge}
body.home-refined .lab-orbit-card small{
  line-height:1.45;
}

/* ------------------------------------------------------------------
   Stage and metrics: exact same page width, matching radius and rhythm.
   ------------------------------------------------------------------ */
body.home-refined .v6-stage-rail{
  width:min(calc(100% - 40px),1180px);
  margin:24px auto 14px;
  grid-auto-rows:1fr;
  border-radius:16px;
  border-color:var(--v612-line);
  box-shadow:0 8px 22px rgba(14,31,56,.045);
}
body.home-refined .v6-stage{
  min-height:76px;
  padding:17px 22px;
}
body.home-refined .v6-stage.is-current::after{
  left:20px;
  right:20px;
}
body.home-refined #v6StageRail + .lab-container{
  padding-top:0!important;
}
body.home-refined .lab-stat-strip{
  grid-auto-rows:1fr;
  border-radius:16px;
  border-color:var(--v612-line);
  box-shadow:0 8px 22px rgba(14,31,56,.045);
}
body.home-refined .lab-stat{
  min-height:108px;
  padding:22px 26px;
  align-items:flex-start;
}
body.home-refined .lab-stat strong{
  font-size:30px;
  font-weight:800;
  line-height:1;
}
body.home-refined .lab-stat span{
  margin-top:4px;
  line-height:1.45;
}

/* ------------------------------------------------------------------
   Section hierarchy: less vertical wandering, consistent copy width.
   ------------------------------------------------------------------ */
body.home-refined .lab-section{
  padding:62px 0;
}
body.home-refined .lab-section-head{
  align-items:flex-end;
  gap:22px;
  margin-bottom:26px;
}
body.home-refined .lab-section-head>div{
  min-width:0;
  flex:1 1 auto;
}
body.home-refined .lab-section-head h2{
  margin:8px 0 8px;
  font-size:clamp(32px,3.5vw,44px);
  line-height:1.18;
  font-weight:800;
  text-wrap:balance;
}
body.home-refined .lab-section-head p{
  max-width:none;
  font-size:16px;
  line-height:1.68;
  color:var(--v612-muted);
  word-break:keep-all;
  text-wrap:pretty;
}
body.home-refined .lab-copy-problem,
body.home-refined .lab-copy-single-line{
  max-width:none;
}
body.home-refined .lab-copy-second-line{
  display:block;
}
@media (min-width:1280px){
  body.home-refined .lab-copy-single-line{
    white-space:nowrap;
    font-size:15.5px;
    letter-spacing:-.014em;
  }
}

/* Cards follow one visual system rather than mixed square/round boxes. */
body.home-refined .lab-entry,
body.home-refined .lab-problem-card,
body.home-refined .lab-idea-card,
body.home-refined .lab-quest-card,
body.home-refined .lab-reader-card,
body.home-refined .v3-product-card{
  border-radius:16px;
  border-color:var(--v612-line);
}
body.home-refined .lab-entry{
  padding:24px;
}

/* Closing CTA is still strong on desktop, but tighter and aligned. */
body.home-refined .v3-seller-cta{
  grid-template-columns:minmax(0,1fr) auto;
  padding:36px 40px;
  border-radius:18px;
  gap:34px;
}
body.home-refined .v3-seller-cta h2{
  font-size:clamp(30px,3vw,42px);
  line-height:1.22;
}
body.home-refined .v3-seller-actions{
  flex-wrap:nowrap;
  align-items:center;
}

/* ------------------------------------------------------------------
   Mobile focus: natural line lengths and one visually dominant action.
   ------------------------------------------------------------------ */
@media (max-width:760px){
  body.home-refined .lab-container,
  body.home-refined .v3-container{
    width:min(calc(100% - 28px),1180px);
  }
  body.home-refined .lab-hero{
    padding:34px 0 30px;
  }
  body.home-refined .lab-hero-grid{
    display:block;
  }
  body.home-refined .lab-console{
    display:none!important;
  }
  body.home-refined .lab-hero h1{
    max-width:360px;
    margin:10px 0 16px;
    font-size:clamp(34px,10.5vw,43px);
    line-height:1.12;
    letter-spacing:-.05em;
  }
  body.home-refined .lab-hero-copy>p{
    max-width:36em;
    margin:0;
    font-size:15.5px;
    line-height:1.72;
    word-break:keep-all;
  }
  body.home-refined .lab-hero-actions{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
    margin-top:22px;
  }
  body.home-refined .lab-hero-actions .lab-primary{
    width:100%!important;
    min-height:48px;
    justify-content:center;
    border-radius:13px;
  }
  body.home-refined .lab-hero-actions .lab-secondary{
    width:auto!important;
    min-height:36px;
    justify-self:center!important;
    padding:5px 8px!important;
    border:0!important;
    background:transparent!important;
    color:var(--v612-blue)!important;
  }

  /* Two-by-two stage map is easier than a sideways scrolling rail. */
  body.home-refined .v6-stage-rail{
    width:calc(100% - 28px);
    margin:14px auto 10px;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    overflow:hidden!important;
    border-radius:14px;
  }
  body.home-refined .v6-stage{
    min-width:0!important;
    min-height:64px!important;
    padding:11px 12px!important;
    grid-template-columns:28px minmax(0,1fr);
    gap:8px;
    border-right:1px solid var(--v612-line)!important;
    border-bottom:1px solid var(--v612-line);
  }
  body.home-refined .v6-stage:nth-child(2n){border-right:0!important}
  body.home-refined .v6-stage:nth-child(n+3){border-bottom:0}
  body.home-refined .v6-stage-num{width:26px;height:26px}
  body.home-refined .v6-stage strong{font-size:13px}
  body.home-refined .v6-stage small{font-size:10px}
  body.home-refined .v6-stage.is-current::after{left:10px;right:10px;height:2px}

  body.home-refined .lab-container[style*="padding-bottom"]{
    padding-bottom:4px!important;
  }
  body.home-refined .lab-stat-strip{
    grid-template-columns:repeat(2,minmax(0,1fr));
    border-radius:14px;
  }
  body.home-refined .lab-stat{
    min-height:76px!important;
    padding:13px 12px!important;
  }
  body.home-refined .lab-stat strong{
    font-size:23px!important;
    margin-bottom:5px;
  }
  body.home-refined .lab-stat span{
    font-size:11px!important;
    line-height:1.35;
  }

  body.home-refined .lab-section{
    padding:44px 0;
  }
  body.home-refined .lab-section-head{
    align-items:flex-start;
    gap:12px;
    margin-bottom:19px;
  }
  body.home-refined .lab-section-head h2{
    margin:0 0 7px;
    font-size:clamp(27px,8vw,32px);
    line-height:1.22;
    letter-spacing:-.04em;
  }
  body.home-refined .lab-section-head p,
  body.home-refined .lab-copy-single-line,
  body.home-refined .lab-copy-problem{
    white-space:normal!important;
    font-size:15px!important;
    line-height:1.7!important;
    letter-spacing:-.01em!important;
    word-break:keep-all;
  }
  body.home-refined .lab-copy-second-line{
    display:inline;
  }
  body.home-refined .lab-section-head>a.lab-secondary{
    min-height:36px;
    padding:7px 10px;
    align-self:flex-start;
  }

  body.home-refined .lab-entry,
  body.home-refined .lab-problem-card,
  body.home-refined .lab-idea-card,
  body.home-refined .lab-quest-card,
  body.home-refined .lab-reader-card,
  body.home-refined .v3-product-card{
    border-radius:14px;
  }

  /* Closing area becomes a light, calm next-step card on mobile. */
  body.home-refined .v3-seller-cta{
    grid-template-columns:1fr;
    gap:18px;
    padding:22px!important;
    border:1px solid var(--v612-line);
    border-radius:16px!important;
    background:var(--v612-soft)!important;
    color:var(--v612-ink)!important;
    box-shadow:none;
  }
  body.home-refined .v3-seller-cta .lab-kicker{color:#b27816!important}
  body.home-refined .v3-seller-cta h2{
    color:var(--v612-ink)!important;
    font-size:26px!important;
    line-height:1.3!important;
  }
  body.home-refined .v3-seller-cta p{
    color:var(--v612-muted)!important;
    font-size:15px;
    line-height:1.68;
  }
  body.home-refined .v3-seller-actions{
    display:grid;
    grid-template-columns:1fr;
    gap:7px!important;
  }
  body.home-refined .v3-seller-cta .lab-primary{
    width:100%!important;
    min-height:46px;
    background:var(--v612-blue)!important;
    border-color:var(--v612-blue)!important;
    color:#fff!important;
  }
  body.home-refined .v3-seller-cta .lab-secondary{
    width:100%!important;
    min-height:42px;
    background:#fff!important;
    border-color:var(--v612-line)!important;
    color:var(--v612-ink)!important;
  }
}

@media (max-width:390px){
  body.home-refined .lab-hero h1{font-size:33px}
  body.home-refined .lab-stat span{font-size:10.5px!important}
  body.home-refined .v6-stage{padding:10px 9px!important}
}

@media (prefers-reduced-motion:reduce){
  body.home-refined .lab-orbit-card,
  body.home-refined .lab-core,
  body.home-refined .v6-stage,
  body.home-refined .lab-stat{
    animation:none!important;
    transition:none!important;
  }
}

/* ===== v6-2-unified-brand-live-home.css ===== */


/* The homepage counters are live Oracle DB values. */
body.home-refined .lab-stat strong[data-db-state="loading"] { opacity:.52; }
body.home-refined .lab-stat strong[data-db-state="error"] { color:#7a8798; }
body.home-refined .lab-stat strong[data-db-state="live"] { color:var(--v612-blue,#1a6cf5); }

/* Halve the former section spacing while keeping a readable rhythm. */
body.home-refined .lab-section {
  padding:31px 0!important;
}
body.home-refined .lab-section-head {
  margin-bottom:15px!important;
}
body.home-refined .lab-section-head h2 {
  margin-top:5px!important;
  margin-bottom:6px!important;
}
body.home-refined .lab-container[style*="padding-bottom"] {
  padding-bottom:10px!important;
}
body.home-refined .v6-stage-rail {
  margin-top:14px!important;
  margin-bottom:8px!important;
}
body.home-refined .lab-stat-strip {
  margin-bottom:0!important;
}
body.home-refined .v3-seller-cta {
  margin-top:0!important;
  margin-bottom:0!important;
}

@media (max-width:900px) {
}
@media (max-width:560px) {
  body.home-refined .lab-section {
    padding:22px 0!important;
  }
  body.home-refined .lab-section-head {
    margin-bottom:12px!important;
  }
}
@media (max-width:390px) {
}

/* ===== v6-2-1-half-spacing.css ===== */
/* NeuronLab V6.2.1 — homepage vertical spacing reduced to exactly 50% of V6.2 */

/* From the very top: resume block and hero. */
body.home-refined .v6-resume-shell{
  margin-top:7px!important;
  margin-bottom:0!important;
}
body.home-refined .lab-hero{
  padding:29px 0 24px!important;
}

/* Stage rail, stat strip and every homepage section. */
body.home-refined .v6-stage-rail{
  margin-top:7px!important;
  margin-bottom:4px!important;
}
body.home-refined .lab-container[style*="padding-bottom"]{
  padding-bottom:5px!important;
}
body.home-refined .lab-section{
  padding:15.5px 0!important;
}
body.home-refined .lab-section-head{
  margin-bottom:7.5px!important;
}
body.home-refined .lab-section-head h2{
  margin-top:2.5px!important;
  margin-bottom:3px!important;
}
body.home-refined .lab-section-head p{
  margin-top:0!important;
  margin-bottom:0!important;
}
body.home-refined .v3-seller-cta{
  margin-top:0!important;
  margin-bottom:0!important;
}

/* Keep the requested line break clean and intentional. */
body.home-refined .v3-seller-cta h2 .v621-break{
  display:block;
}

@media (max-width:760px){
  body.home-refined .v6-resume-shell{
    margin-top:7px!important;
  }
  body.home-refined .lab-hero{
    padding:17px 0 15px!important;
  }
  body.home-refined .v6-stage-rail{
    margin-top:7px!important;
    margin-bottom:5px!important;
  }
  body.home-refined .lab-container[style*="padding-bottom"]{
    padding-bottom:2px!important;
  }
  body.home-refined .lab-section{
    padding:11px 0!important;
  }
  body.home-refined .lab-section-head{
    margin-bottom:6px!important;
  }
  body.home-refined .lab-section-head h2{
    margin-top:0!important;
    margin-bottom:3.5px!important;
  }
}

/* ===== v6-3-global-layout.css ===== */
/* =====================================================================
   NeuronLab V6.3 — Global Layout Consistency
   - one canonical outer width across every public/admin/legal page
   - one compact vertical rhythm across every page family
   - focus pages keep quiet styling, but no longer look like a separate,
     narrow microsite
   ===================================================================== */

:root{
  --nl-global-max:1180px;
  --nl-global-gutter:40px;
  --nl-global-section-y:16px;
  --nl-global-hero-top:28px;
  --nl-global-hero-bottom:24px;
  --nl-global-head-gap:10px;
}

html,body{overflow-x:clip}

/* 1. Canonical page frame: header, content and footer all share 1180px. */
body.v6-app :is(
  .v3-container,
  .lab-container,
  .wrap,
  .container,
  .v5-shell,
  .v6-resume-shell,
  .v6-dashboard,
  .v6-stage-rail,
  .legal-wrap
){
  width:min(calc(100% - var(--nl-global-gutter)),var(--nl-global-max))!important;
  max-width:var(--nl-global-max)!important;
  margin-inline:auto!important;
}

/* Shells formerly lost 44px through horizontal padding, which made them
   look like a different site. Cards retain their own internal padding. */
body.v6-app .v5-shell{
  padding-inline:0!important;
}

/* Focus pages used a 760px outer frame by design. Keep their quiet tone,
   but align the page frame to the same 1180px grid as the rest of the site. */
body.focus-page .v5-shell,
body.focus-page main>.v3-section>.v3-container,
body.focus-page main>.lab-section>.lab-container,
body.focus-page main>.lab-hero>.lab-container,
body.focus-page main>.v3-article,
body.focus-page main>#labIdeaDetail>.lab-container{
  width:min(calc(100% - var(--nl-global-gutter)),var(--nl-global-max))!important;
  max-width:var(--nl-global-max)!important;
  margin-inline:auto!important;
}

/* Long reading content still gets a readable measure inside the same full
   page frame. This preserves usability without making the entire page narrow. */
body.reading-page .v3-article{
  padding-inline:0!important;
}
body.reading-page .v3-article>:is(h1,.v3-eyebrow,.v3-article-meta,.v3-article-body){
  max-width:860px;
  margin-inline:auto;
}
body.reading-page .v3-article>.v3-seller-cta{
  width:100%;
  max-width:var(--nl-global-max);
  margin-inline:auto;
}

/* 2. One compact vertical rhythm for all page families. */
body.v6-app :is(
  .v3-section,
  .lab-section,
  .section,
  .s-section,
  .apply-section,
  .catalog-section,
  .qna-page-section
){
  padding-block:var(--nl-global-section-y)!important;
}

body.v6-app :is(
  .v3-hero,
  .lab-hero,
  .hero,
  .page-hero,
  .seller-hero,
  .v3-page-hero,
  .legal-hero,
  .launch-section
){
  padding-top:var(--nl-global-hero-top)!important;
  padding-bottom:var(--nl-global-hero-bottom)!important;
}

body.v6-app :is(.v3-section-head,.lab-section-head,.section-head){
  margin-bottom:var(--nl-global-head-gap)!important;
}
body.v6-app .v5-page-head{
  margin-top:8px!important;
  margin-bottom:14px!important;
}
body.v6-app .main{
  padding-top:8px!important;
  padding-bottom:24px!important;
}
body.v6-app .v5-shell{
  padding-top:20px!important;
  padding-bottom:24px!important;
}
body.v6-app .v6-dashboard{
  padding-top:22px!important;
  padding-bottom:26px!important;
}
body.v6-app .v3-article{
  padding-top:24px!important;
  padding-bottom:24px!important;
}

/* Remove old focus-page spacing overrides that made page 2 visibly different. */
body.focus-page .lab-hero{
  padding-top:var(--nl-global-hero-top)!important;
  padding-bottom:var(--nl-global-hero-bottom)!important;
}
body.focus-page .lab-section{
  padding-block:var(--nl-global-section-y)!important;
}
body.focus-page .v5-page-head,
body.focus-page .lab-section-head{
  margin-bottom:var(--nl-global-head-gap)!important;
}

/* Consistent inner gaps without flattening component hierarchy. */
body.v6-app :is(.v3-section-head,.lab-section-head) h2{
  margin-top:4px!important;
  margin-bottom:5px!important;
}
body.v6-app :is(.v3-section-head,.lab-section-head) p{
  margin-top:0!important;
  margin-bottom:0!important;
}

@media(max-width:760px){
  :root{
    --nl-global-gutter:28px;
    --nl-global-section-y:11px;
    --nl-global-hero-top:17px;
    --nl-global-hero-bottom:15px;
    --nl-global-head-gap:7px;
  }

  body.v6-app :is(
    .v3-container,
    .lab-container,
    .wrap,
    .container,
    .v5-shell,
    .v6-resume-shell,
    .v6-dashboard,
    .v6-stage-rail,
    .legal-wrap
  ){
    width:min(calc(100% - var(--nl-global-gutter)),var(--nl-global-max))!important;
  }

  body.focus-page .v5-shell,
  body.focus-page main>.v3-section>.v3-container,
  body.focus-page main>.lab-section>.lab-container,
  body.focus-page main>.lab-hero>.lab-container,
  body.focus-page main>.v3-article,
  body.focus-page main>#labIdeaDetail>.lab-container{
    width:min(calc(100% - var(--nl-global-gutter)),var(--nl-global-max))!important;
  }

  body.v6-app .v5-shell{
    padding-top:14px!important;
    padding-bottom:18px!important;
  }
  body.v6-app .v6-dashboard{
    padding-top:16px!important;
    padding-bottom:20px!important;
  }
  body.v6-app .main,
  body.v6-app .v3-article{
    padding-bottom:18px!important;
  }
  body.reading-page .v3-article>:is(h1,.v3-eyebrow,.v3-article-meta,.v3-article-body){
    max-width:none;
  }
}

/* ===== v6-3-1-footer-consistency.css ===== */
/* NeuronLab V6.3.1 — consistent one-line footer for Dashboard, DNA, Experiment Lab */
body.footer-consistent .v3-footer,
body.footer-consistent.nl-focus-enabled .v3-footer{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  flex:0 0 auto!important;
  margin-top:16px!important;
}
body.footer-consistent .v3-footer .nl-footer-one-line{
  display:flex!important;
}
@media(max-width:760px){
  body.footer-consistent .v3-footer,
  body.footer-consistent.nl-focus-enabled .v3-footer{
    margin-top:10px!important;
    margin-bottom:calc(68px + env(safe-area-inset-bottom))!important;
  }
}

/* ===== algofate-official-v2.css ===== */
/* AlgoFate official header logo — single authoritative display rule */
.v3-algofate-link,
.algofate-header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-left: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  overflow: hidden;
  border-radius: 10px;
}

.v3-algofate-link img,
.algofate-header-link img {
  display: block;
  width: auto;
  height: 40px;
  max-width: none;
  object-fit: contain;
  border: 0;
  border-radius: 10px;
  background: transparent;
}

.v3-algofate-link:hover,
.v3-algofate-link:focus,
.algofate-header-link:hover,
.algofate-header-link:focus {
  background: transparent;
  box-shadow: none;
  transform: none;
}

.v3-algofate-link:focus-visible,
.algofate-header-link:focus-visible {
  outline: 3px solid rgba(26, 108, 245, .25);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .v3-algofate-link img,
  .algofate-header-link img { height: 34px; }
}

@media (max-width: 560px) {
  .v3-algofate-link,
  .algofate-header-link { margin-left: 3px; }
  .v3-algofate-link img,
  .algofate-header-link img { height: 30px; }
}
