:root{
  --color-sky:#70b7f2;
  --color-sky-deep:#2874b7;
  --color-deep-blue:#12335f;
  --color-ink:#16304f;
  --color-muted:#5c6f84;
  --color-cream:#fff7ea;
  --color-ivory:#fffdf8;
  --color-peach:#ffc6a8;
  --color-coral:#ff735c;
  --color-pink:#ff9bcf;
  --color-gold:#ffd166;
  --color-lavender:#b8a5ff;
  --color-mint:#9bdacb;
  --line-soft:rgba(22,48,79,.12);
  --radius-sm:14px;
  --radius-md:20px;
  --radius-xl:28px;
  --radius-2xl:36px;
  --shadow-soft:0 18px 50px rgba(36,49,85,.12);
  --shadow-card:0 12px 30px rgba(36,49,85,.1);
  --font-display:ui-rounded,"Arial Rounded MT Bold","Trebuchet MS",sans-serif;
  --font-body:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
}

html{height:auto;min-height:100%;background:var(--color-cream);scroll-behavior:smooth}
body.theme-3d{
  --theme3d-rail:min(1420px,calc(100% - 32px));
  height:auto!important;
  min-height:100vh;
  margin:0;
  color:var(--color-ink);
  background:
    radial-gradient(circle at 8% 8%,rgba(112,183,242,.15),transparent 26rem),
    radial-gradient(circle at 92% 18%,rgba(255,155,207,.16),transparent 28rem),
    linear-gradient(180deg,#fffaf0 0%,#fff6e8 55%,#fffdf8 100%);
  font-family:var(--font-body);
  letter-spacing:0;
  color-scheme:light;
}
.theme-3d *{box-sizing:border-box}
.theme-3d :where(main,section,article,div,header,footer,nav){min-width:0}
.theme-3d h1,.theme-3d h2,.theme-3d h3,.theme-3d h4,.theme-3d .brand__copy strong{font-family:var(--font-display);letter-spacing:0}
.theme-3d :where(h1,h2,h3,h4,p,a,button,summary){overflow-wrap:break-word}
.theme-3d a{color:inherit}
.theme-3d :focus-visible{outline:3px solid rgba(255,115,92,.55);outline-offset:3px}
.theme-3d ::selection{background:var(--color-gold);color:var(--color-deep-blue)}
.theme-3d :where(.landing,.weekly-shell,.pricing-shell,.connexion-shell,.legal-shell,.faq-shell,.about-shell,.editorial-shell){width:var(--theme3d-rail);max-width:none;margin-right:auto;margin-left:auto}
.theme-3d :where(.identity-shell,.form-shell){width:min(1180px,calc(100% - 32px));max-width:none;margin-right:auto;margin-left:auto}
.theme-3d .result-reader{width:min(1380px,calc(100% - 32px));max-width:none;margin-right:auto;margin-left:auto}

/* Shared navigation */
.theme-3d .site-header{
  width:min(1420px,calc(100% - 32px));
  min-height:76px;
  margin:16px auto 0;
  padding:10px 14px;
  border:1px solid rgba(255,255,255,.68);
  border-radius:22px;
  color:var(--color-deep-blue);
  background:rgba(255,253,248,.9);
  box-shadow:0 12px 34px rgba(27,72,116,.1);
  backdrop-filter:blur(18px);
}
.theme-3d .brand{gap:10px;color:var(--color-deep-blue)}
.theme-3d .brand__mark{
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border:0;
  border-radius:14px;
  color:#fff;
  background:linear-gradient(145deg,var(--color-gold),#ff9c4a);
  box-shadow:0 8px 18px rgba(255,156,74,.28);
  font-size:1.45rem;
}
.theme-3d .brand__copy strong{color:var(--color-deep-blue);font-size:1.08rem;text-transform:uppercase;letter-spacing:.035em}
.theme-3d .site-menu-panel{gap:16px}
.theme-3d .site-nav{gap:4px}
.theme-3d .site-nav a{
  min-height:42px;
  padding:9px 12px;
  border-radius:12px;
  color:#294969;
  font-weight:760;
}
.theme-3d .site-nav a:hover,.theme-3d .site-nav a.active{color:#12335f;background:#eef7ff}
.theme-3d .site-nav__icon{color:var(--color-coral)}
.theme-3d .site-social-link{color:#315e9d!important}
.theme-3d .header-actions{gap:8px}
.theme-3d .language-switch>summary,.theme-3d .site-header .btn--ghost{
  color:var(--color-deep-blue);
  border-color:rgba(18,51,95,.16);
  background:#fff;
}
.theme-3d .language-switch[open]>summary,.theme-3d .site-header .btn--ghost:hover{background:#eef7ff}
.theme-3d .language-switch__menu{border-color:var(--line-soft);background:#fff;box-shadow:var(--shadow-soft)}
.theme-3d .language-switch__menu a{color:var(--color-ink)}
.theme-3d .site-menu-toggle{border-color:rgba(18,51,95,.16);background:#fff}
.theme-3d .site-menu-toggle span{background:var(--color-deep-blue)}

/* Reusable bright components */
.theme-3d .btn{
  min-height:48px;
  border-radius:999px;
  font-weight:850;
  box-shadow:none;
}
.theme-3d .btn--primary,.theme-3d .header-actions__cta{
  border:0;
  color:#fff;
  background:linear-gradient(135deg,#ff8b66 0%,#ff735c 55%,#f55f89 100%);
  box-shadow:0 10px 24px rgba(255,115,92,.28);
}
.theme-3d .btn--primary:hover,.theme-3d .header-actions__cta:hover{transform:translateY(-2px);filter:saturate(1.06);box-shadow:0 14px 30px rgba(255,115,92,.34)}
.theme-3d .btn--ghost{color:var(--color-deep-blue);border-color:rgba(18,51,95,.16);background:#fff}
.theme-3d .card,.theme-3d .premium-panel,.theme-3d .connexion-card,.theme-3d .identity-card,.theme-3d .form-card{
  color:var(--color-ink);
  border-color:rgba(22,48,79,.12);
  border-radius:var(--radius-xl);
  background:rgba(255,253,248,.96);
  box-shadow:var(--shadow-soft);
}
.theme-3d .kicker,.theme-3d .v2-eyebrow,.theme-3d .weekly-kicker,.theme-3d .premium-panel-kicker{color:#e2546f}
.theme-3d .muted,.theme-3d .action-card-copy{color:var(--color-muted)}
.theme-3d input,.theme-3d textarea,.theme-3d select{
  color:var(--color-ink);
  border:2px solid rgba(22,48,79,.12);
  border-radius:18px;
  background:#fff;
  box-shadow:0 6px 18px rgba(36,49,85,.06);
}
.theme-3d input:focus,.theme-3d textarea:focus,.theme-3d select:focus{border-color:var(--color-coral);box-shadow:0 0 0 4px rgba(255,115,92,.13);outline:none}

/* Home */
.theme-3d .landing-3d{width:min(1480px,calc(100% - 32px));margin:0 auto;padding-bottom:28px}
.home3d-hero{
  position:relative;
  min-height:680px;
  margin:18px 0 0;
  overflow:hidden;
  border-radius:var(--radius-2xl);
  color:#fff;
  background:#2874b7;
  box-shadow:0 24px 60px rgba(26,72,116,.2);
}
.home3d-hero__image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.home3d-hero__veil{position:absolute;inset:0;background:linear-gradient(90deg,rgba(12,59,105,.92) 0%,rgba(18,76,127,.68) 35%,rgba(18,76,127,.14) 65%,rgba(18,76,127,.03) 100%)}
.home3d-hero__copy{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:flex-start;width:min(760px,60%);min-height:inherit;padding:clamp(52px,5vw,76px) clamp(42px,5vw,76px) 170px}
.home3d-kicker{margin:0 0 14px;color:#b83d5b;font-size:.83rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.home3d-hero .home3d-kicker,.home3d-weekly .home3d-kicker{color:#ffe08a}
.home3d-hero h1{max-width:720px;margin:0;font-size:clamp(2.65rem,3.6vw,4rem);line-height:1.02;text-shadow:0 4px 18px rgba(4,36,68,.24)}
.home3d-hero__lead{max-width:650px;margin:18px 0 0;color:rgba(255,255,255,.95);font-size:clamp(1rem,1.4vw,1.2rem);line-height:1.5}
.home3d-hero__actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:22px}
.home3d-hero__actions .btn{min-height:58px;padding:0 28px;font-size:1.05rem}
.home3d-hero__note{display:flex;align-items:center;gap:8px;color:rgba(255,255,255,.9);font-size:.93rem;font-weight:720}
.home3d-hero__note::before{content:"✓";display:grid;place-items:center;width:24px;height:24px;border-radius:50%;color:var(--color-deep-blue);background:var(--color-gold);font-weight:950}
.home3d-benefits{position:absolute;z-index:2;right:34px;bottom:28px;left:34px;display:grid;grid-template-columns:repeat(4,1fr);overflow:hidden;border:1px solid rgba(255,255,255,.7);border-radius:24px;color:var(--color-ink);background:rgba(255,253,248,.94);box-shadow:0 16px 40px rgba(20,57,91,.16);backdrop-filter:blur(16px)}
.home3d-benefit{display:grid;grid-template-columns:46px 1fr;gap:12px;align-items:center;min-height:96px;padding:16px 20px;border-right:1px solid rgba(22,48,79,.1)}
.home3d-benefit:last-child{border-right:0}
.home3d-benefit__icon{display:grid;place-items:center;width:44px;height:44px;border-radius:15px;background:#fff0d2;font-size:1.35rem}
.home3d-benefit:nth-child(2) .home3d-benefit__icon{background:#e4f5ff}.home3d-benefit:nth-child(3) .home3d-benefit__icon{background:#ffe4ec}.home3d-benefit:nth-child(4) .home3d-benefit__icon{background:#eae4ff}
.home3d-benefit strong{display:block;font-family:var(--font-display);font-size:.98rem}.home3d-benefit span:last-child{display:block;margin-top:3px;color:var(--color-muted);font-size:.8rem;line-height:1.35}
.home3d-section{margin-top:22px;padding:clamp(34px,5vw,70px);border:1px solid rgba(22,48,79,.08);border-radius:var(--radius-2xl);background:rgba(255,253,248,.88);box-shadow:0 12px 34px rgba(36,49,85,.06)}
.home3d-section__head{display:flex;align-items:end;justify-content:space-between;gap:26px;margin-bottom:30px}
.home3d-section__head>div{max-width:760px}.home3d-section__head h2{margin:6px 0 10px;font-size:clamp(2rem,4vw,3.35rem);line-height:1.06}.home3d-section__head p:last-child{margin:0;color:var(--color-muted);font-size:1.05rem;line-height:1.65}
.home3d-how{background:linear-gradient(135deg,#fff4df,#fff9ef 55%,#eef8ff)}
.home3d-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.home3d-step{position:relative;min-height:410px;overflow:hidden;border:1px solid rgba(22,48,79,.09);border-radius:24px;background:#fff;box-shadow:var(--shadow-card)}
.home3d-step__visual{position:relative;aspect-ratio:16/10;overflow:hidden;background:#eaf7ff}
.home3d-step__visual::after{content:"";position:absolute;inset:auto 0 0;height:34%;background:linear-gradient(transparent,rgba(255,255,255,.92))}
.home3d-step__visual img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.home3d-step:hover .home3d-step__visual img{transform:scale(1.035)}
.home3d-step__body{position:relative;padding:30px 26px 28px}
.home3d-step__number{position:absolute;top:-31px;left:24px;display:grid;place-items:center;width:56px;height:56px;border:4px solid #fff;border-radius:18px;color:#fff;background:linear-gradient(145deg,var(--color-coral),#ff9c65);box-shadow:0 10px 22px rgba(255,115,92,.24);font-family:var(--font-display);font-size:1.05rem}
.home3d-step h3{margin:14px 0 10px;color:var(--color-deep-blue);font-size:1.5rem}.home3d-step p{margin:0;color:var(--color-muted);line-height:1.65}
.home3d-signs{background:linear-gradient(135deg,#fffdf8,#eff8ff)}
.home3d-sign-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.home3d-sign-card{position:relative;min-width:0;overflow:hidden;border-radius:22px;color:#fff;text-decoration:none;aspect-ratio:4/5;background:#326fa9;box-shadow:0 12px 24px rgba(27,72,116,.14);transition:transform .25s ease,box-shadow .25s ease}
.home3d-sign-card:hover{transform:translateY(-5px);box-shadow:0 18px 34px rgba(27,72,116,.22)}
.home3d-sign-card img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}.home3d-sign-card:hover img{transform:scale(1.04)}
.home3d-sign-card::after{content:"";position:absolute;inset:32% 0 0;background:linear-gradient(transparent,rgba(12,35,62,.9))}
.home3d-sign-card strong{position:absolute;z-index:1;right:15px;bottom:15px;left:15px;font-family:var(--font-display);font-size:1rem;line-height:1.16}
.home3d-weekly{position:relative;min-height:420px;overflow:hidden;color:#fff;background:linear-gradient(120deg,#2b7bbb,#70b7f2 52%,#ffb37e)}
.home3d-weekly::before,.home3d-weekly::after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.18)}.home3d-weekly::before{width:300px;height:300px;right:12%;top:-120px}.home3d-weekly::after{width:180px;height:180px;right:2%;bottom:-50px}
.home3d-weekly__copy{position:relative;z-index:1;max-width:720px}.home3d-weekly h2{margin:8px 0 14px;font-size:clamp(2.2rem,4.5vw,4rem);line-height:1.02}.home3d-weekly p{font-size:1.12rem;line-height:1.65}.home3d-weekly__actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:24px}.home3d-weekly .btn--ghost{color:var(--color-deep-blue);background:#fff}
.home3d-journal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.home3d-article{display:flex;min-height:220px;flex-direction:column;padding:24px;border:1px solid rgba(22,48,79,.1);border-radius:22px;background:#fff;text-decoration:none;box-shadow:var(--shadow-card)}.home3d-article small{color:#e2546f;font-weight:850;text-transform:uppercase}.home3d-article strong{margin:26px 0 10px;font-family:var(--font-display);font-size:1.35rem;line-height:1.24}.home3d-article span{color:var(--color-muted);line-height:1.55}
.home3d-trust{background:linear-gradient(135deg,#e9f7ff,#fff5df)}.home3d-trust-list{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.home3d-trust-item{display:flex;gap:10px;align-items:center;padding:18px;border-radius:18px;background:#fff;color:var(--color-deep-blue);font-weight:800}.home3d-trust-item::before{content:"✓";display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:50%;color:#fff;background:var(--color-mint)}

/* Quiz and identity */
.theme-3d.identity-page,.theme-3d.story-page{background:linear-gradient(135deg,#fff8ed,#fff2e5 55%,#eaf7ff)}
.theme-3d .identity-shell,.theme-3d .form-shell{width:min(1180px,calc(100% - 32px))}
.theme-3d .identity-card,.theme-3d .form-card{border-radius:30px;background:rgba(255,253,248,.98)}
.theme-3d .form-card--chat{position:relative;isolation:isolate;overflow:hidden}
.theme-3d .form-card--chat::after{content:"";position:absolute;z-index:-1;right:-3%;bottom:0;width:44%;height:74%;background:url("../img/theme3d/hero.webp") center/cover no-repeat;opacity:.14;mask-image:linear-gradient(90deg,transparent,#000 35%)}
.theme-3d .chat-agent-head{color:var(--color-deep-blue);border-color:var(--line-soft);background:linear-gradient(90deg,#edf8ff,#fff4df)}
.theme-3d .chat-agent-avatar{color:#fff;background:linear-gradient(145deg,var(--color-gold),var(--color-coral));box-shadow:0 8px 20px rgba(255,115,92,.2)}
.theme-3d .chat-agent-copy strong{color:var(--color-deep-blue)}.theme-3d .chat-agent-copy span{color:#56728f}.theme-3d .chat-agent-copy i{background:#48c99a}
.theme-3d .chat-agent-step,.theme-3d .pill{color:var(--color-deep-blue);border-color:rgba(18,51,95,.12);background:#fff}
.theme-3d .chat-welcome{color:var(--color-ink);border-color:rgba(22,48,79,.09);background:#fff;box-shadow:var(--shadow-card)}
.theme-3d .chat-welcome h1,
.theme-3d .chat-welcome.identity-copy h1,
.theme-3d .wizard--chat .field__label,
.theme-3d.story-page--chat-v3 .v3-live-question strong{color:var(--color-deep-blue)}
.theme-3d .chat-welcome p:not(.kicker),
.theme-3d .chat-welcome.identity-copy p:not(.kicker),
.theme-3d .wizard--chat .field__hint,
.theme-3d.story-page--chat-v3 .v3-live-question span{color:var(--color-muted)}
.theme-3d .chat-history__title{color:#c94f72}
.theme-3d .chat-history__archive{border-color:rgba(22,48,79,.1)}
.theme-3d .chat-history__archive summary,
.theme-3d .chat-history__archive[open] summary{color:var(--color-deep-blue)}
.theme-3d .chat-bubble--agent,
.theme-3d .wizard--chat .field__prompt,
.theme-3d.story-page--chat-v3 .v3-live-question{color:var(--color-ink);border-color:rgba(22,48,79,.09);background:#fff;box-shadow:var(--shadow-card)}
.theme-3d .chat-bubble--user,
.theme-3d.story-page--chat-v3 .v3-answer{color:#fff;background:linear-gradient(135deg,#ff8a69,#f36991)}
.theme-3d .chat-bubble--user span{color:#fff3e8}
.theme-3d .chat-typing{color:var(--color-muted)}
.theme-3d.story-page--chat-v3 .v3-live-composer{border-color:rgba(22,48,79,.12);background:#fff;box-shadow:0 12px 30px rgba(36,49,85,.1)}
.theme-3d.story-page--chat-v3 .v3-live-input{color:var(--color-ink);background:transparent;box-shadow:none}
.theme-3d.story-page--chat-v3 .v3-live-input::placeholder{color:#7a8da0}
.theme-3d .v3-live-send{color:#fff;background:linear-gradient(145deg,var(--color-coral),#f35f8c)}
.theme-3d .progress-line{background:rgba(22,48,79,.09)}.theme-3d .progress-line span{background:linear-gradient(90deg,var(--color-sky),var(--color-coral),var(--color-gold))}
.theme-3d .form-card--chat .teaser-card{color:var(--color-ink);border-color:rgba(255,115,92,.2);background:linear-gradient(145deg,#fff,#fff1dc)}
.theme-3d .form-card--chat .teaser-card h2{color:var(--color-deep-blue)}
.theme-3d .form-card--chat .teaser-card__lead,
.theme-3d .form-card--chat .teaser-clues p{color:var(--color-muted)}
.theme-3d .form-card--chat .teaser-clues p{border-color:rgba(22,48,79,.1);background:#fff}
.theme-3d .form-card--chat .teaser-clues span,
.theme-3d .form-card--chat .teaser-card__cta{color:#d94f6b}
.theme-3d .form-card--chat .teaser-actions .btn{color:var(--color-deep-blue);border-color:rgba(22,48,79,.13);background:#fff}
.theme-3d .loading-overlay{background:rgba(44,94,137,.3);backdrop-filter:blur(12px)}
.theme-3d .loading-card{color:var(--color-ink);border-color:#fff;background:#fffaf0}
.theme-3d .loading-card .loading-kicker{color:#d94f6b}
.theme-3d .loading-card .loading-message{color:var(--color-deep-blue)}
.theme-3d .loading-card .loading-hint{color:var(--color-muted)}
.theme-3d .loading-card .loading-progress{background:rgba(22,48,79,.1)}

/* Results */
.theme-3d.result-page{background:linear-gradient(135deg,#edf8ff,#fff8eb 48%,#ffeef4)}
.theme-3d .result-reader{width:min(1380px,calc(100% - 32px));border:0;border-radius:32px;background:rgba(255,253,248,.9);box-shadow:var(--shadow-soft)}
.theme-3d .reader-topbar{color:var(--color-deep-blue);border-color:var(--line-soft);background:#fffdf8}
.theme-3d .reader-profile{color:var(--color-deep-blue)}
.theme-3d .reader-hero-card{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(340px,.95fr);overflow:hidden;border-radius:0;background:linear-gradient(135deg,#e9f6ff,#fff4df)}
.theme-3d .reader-hero-copy{min-width:0;padding:clamp(30px,5vw,72px)}
.theme-3d .reader-hero-copy{color:var(--color-ink);background:transparent}.theme-3d .reader-hero-copy h1{color:var(--color-deep-blue)}.theme-3d .reader-hero-copy p{color:#405c78}
.theme-3d .reader-visual{position:relative;min-width:0;min-height:520px;margin:0;background:linear-gradient(145deg,#96d4ff,#ffd2b5)}.theme-3d .reader-visual img{width:100%;height:100%;object-fit:cover}.theme-3d .reader-visual figcaption{position:absolute;right:24px;bottom:22px;left:24px;color:#fff;text-shadow:0 2px 12px rgba(18,51,95,.5)}
.theme-3d .reader-narrative-sign{border-color:rgba(255,115,92,.2);border-radius:22px;color:var(--color-ink);background:#fff;box-shadow:var(--shadow-card)}
.theme-3d .reader-narrative-sign img{width:76px;height:76px;border-radius:18px;object-fit:cover}
.theme-3d .reader-narrative-sign strong{color:var(--color-deep-blue)}.theme-3d .reader-narrative-sign em{color:var(--color-muted)}
.theme-3d .reaction-panel,.theme-3d .reader-share-panel,.theme-3d .premium-panel,.theme-3d .love-compatibility-panel{color:var(--color-ink);border-color:rgba(22,48,79,.12);border-radius:24px;background:#fff;box-shadow:var(--shadow-card)}
.theme-3d .reaction-panel{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  padding:26px;
  background:linear-gradient(135deg,#fff,#fff9ef 55%,#f4faff);
}
.theme-3d .reaction-panel__head{text-align:center}
.theme-3d .reaction-panel__head h2{color:var(--color-deep-blue)}
.theme-3d .reaction-panel__actions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.theme-3d .reaction-form{min-width:0;width:100%}
.theme-3d .reaction-choice{
  position:relative;
  display:flex;
  min-width:0;
  width:100%;
  min-height:108px;
  flex-direction:column;
  justify-content:center;
  gap:8px;
  padding:14px 10px;
  color:var(--color-deep-blue);
  border:1px solid rgba(22,48,79,.1);
  border-radius:20px;
  background:#f8fbff;
  text-align:center;
}
.theme-3d .reaction-choice:hover,.theme-3d .reaction-choice:focus-visible{background:#fff;border-color:var(--reaction-accent,var(--color-coral));box-shadow:0 10px 24px rgba(36,49,85,.1)}
.theme-3d .reaction-choice__emoji{
  width:46px;
  height:46px;
  flex:0 0 46px;
  color:transparent;
  border-radius:16px;
  background:var(--reaction-soft,#fff0dc);
  font-size:0;
}
.theme-3d .reaction-choice__emoji::before{color:var(--reaction-accent,#e2546f);font-size:1.55rem;line-height:1}
.theme-3d .reaction-choice[data-reaction-key="wow"]{--reaction-accent:#e49816;--reaction-soft:#fff1c9}.theme-3d .reaction-choice[data-reaction-key="wow"] .reaction-choice__emoji::before{content:"\1F929"}
.theme-3d .reaction-choice[data-reaction-key="seen"]{--reaction-accent:#3488c8;--reaction-soft:#e4f4ff}.theme-3d .reaction-choice[data-reaction-key="seen"] .reaction-choice__emoji::before{content:"\1F60C"}
.theme-3d .reaction-choice[data-reaction-key="heart"]{--reaction-accent:#e65583;--reaction-soft:#ffe4ee}.theme-3d .reaction-choice[data-reaction-key="heart"] .reaction-choice__emoji::before{content:"\1F970"}
.theme-3d .reaction-choice[data-reaction-key="mixed"]{--reaction-accent:#8267c9;--reaction-soft:#eee9ff}.theme-3d .reaction-choice[data-reaction-key="mixed"] .reaction-choice__emoji::before{content:"\1F914"}
.theme-3d .reaction-choice[data-reaction-key="miss"]{--reaction-accent:#718195;--reaction-soft:#edf1f5}.theme-3d .reaction-choice[data-reaction-key="miss"] .reaction-choice__emoji::before{content:"\1F610"}
.theme-3d .reaction-choice__label{min-width:0;color:var(--color-deep-blue);overflow-wrap:normal;font-weight:850;line-height:1.2}
.theme-3d .reaction-choice__count{
  position:absolute;
  top:9px;
  right:9px;
  min-width:24px;
  height:24px;
  padding:0 6px;
  color:var(--reaction-accent,#d94f6b);
  background:#fff;
  border:1px solid rgba(22,48,79,.08);
}
.theme-3d .reaction-choice__count[hidden]{display:none!important}
.theme-3d .reaction-choice.is-selected{border-color:var(--reaction-accent,var(--color-coral));background:var(--reaction-soft,#fff0dc);box-shadow:0 0 0 3px color-mix(in srgb,var(--reaction-accent,var(--color-coral)) 18%,transparent)}
.theme-3d .reaction-panel__status{grid-column:1;color:var(--color-muted);text-align:center}
.theme-3d .reaction-panel__status.is-success{color:#2f8a6b}.theme-3d .reaction-panel__status.is-error{color:#c84f5c}
.theme-3d .share-btn{color:var(--color-deep-blue);border-color:rgba(22,48,79,.12);background:#f8fbff}.theme-3d .share-btn:hover{background:#fff0e8;border-color:var(--color-coral)}
.theme-3d .reader-share-panel .share-panel-title{color:var(--color-deep-blue)}
.theme-3d .reader-share-panel .action-card-copy{color:var(--color-muted)}
.theme-3d .reader-share-panel .share-btn-label{color:var(--color-deep-blue)}
.theme-3d .reader-share-panel .share-btn-sub{color:var(--color-muted)}
.theme-3d .reader-share-panel .share-ico{color:#d94f6b;background:#fff0e8}
.theme-3d .premium-panel{background:linear-gradient(135deg,#fff5dc,#fff 55%,#ffe9f1)}
.theme-3d .premium-panel-title,
.theme-3d .premium-panel h2,
.theme-3d .publication-card h2,
.theme-3d .premium-long-section h2{color:var(--color-deep-blue)}
.theme-3d .premium-panel :where(.premium-note,p:not(.premium-panel-kicker)),
.theme-3d .premium-panel-action small,
.theme-3d .publication-card p:not(.premium-panel-kicker){color:var(--color-muted)}
.theme-3d .premium-benefits span{color:var(--color-deep-blue);border-color:rgba(22,48,79,.12);background:#fff}
.theme-3d .premium-panel-price{color:var(--color-deep-blue);border-color:rgba(22,48,79,.12);background:#fff}
.theme-3d .premium-long-section{color:var(--color-ink);border-color:rgba(22,48,79,.1);background:linear-gradient(135deg,#fff5dc,#fff 55%,#edf8ff);box-shadow:var(--shadow-card)}
.theme-3d .premium-long-card{border-color:rgba(22,48,79,.1);background:#fff}
.theme-3d .premium-long-card span{color:#d44e68}
.theme-3d .premium-long-card p{color:var(--color-muted)}

/* Love result: the legacy result stylesheet was designed for a dark page and
   still gives headings, excerpts and the score white text. Keep every Love
   state readable when it is rendered inside the bright theme. */
.theme-3d.love-page .shell{width:min(1180px,calc(100% - 32px));margin-right:auto;margin-left:auto}
.theme-3d.love-page .love-result-current,
.theme-3d.love-page .love-offer-current{overflow:hidden;color:var(--color-ink);background:rgba(255,253,248,.98)}
.theme-3d.love-page .card__head h1{color:var(--color-deep-blue)}
.theme-3d.love-page .card__head .muted{color:var(--color-muted)}
.theme-3d.love-page .love-score-current{
  width:min(240px,100%);
  min-height:168px;
  border:1px solid rgba(255,115,92,.2);
  background:
    radial-gradient(circle at 50% 8%,rgba(255,255,255,.7),transparent 48%),
    linear-gradient(145deg,#ffd166,#ff8a69 52%,#ef5f94);
  box-shadow:0 20px 44px rgba(239,95,148,.22);
}
.theme-3d.love-page .love-score-current strong,
.theme-3d.love-page .love-score-current span{color:#fff;text-shadow:0 2px 12px rgba(111,44,77,.18)}
.theme-3d.love-page .love-result-current>.content{
  border-color:rgba(22,48,79,.1);
  background:linear-gradient(135deg,#edf8ff,#fff9ef);
}
.theme-3d.love-page .love-result-current>.content p{color:#405c78}
.theme-3d.love-page .friends-comparison-section .premium-long-card p,
.theme-3d.love-page .premium-long-section .premium-long-card p{color:var(--color-muted)}
.theme-3d.love-page .reader-share-panel,
.theme-3d.love-page .premium-panel,
.theme-3d.love-page .premium-long-section{max-width:100%}
.theme-3d.love-page .love-result-section--locked{opacity:1}
.theme-3d .publication-card{color:var(--color-ink);border-color:rgba(22,48,79,.1);background:#fff;box-shadow:var(--shadow-card)}
.theme-3d .reader-bottom-nav{border:1px solid var(--line-soft);border-radius:24px;background:#fffdf8;box-shadow:var(--shadow-card)}.theme-3d .reader-dots span{background:#d9e2eb}.theme-3d .reader-dots span.active{background:var(--color-coral)}
.theme-3d .reader-bottom-nav .nav__left .btn{color:var(--color-deep-blue);border-color:rgba(22,48,79,.13);background:#f6faff}
.theme-3d .reader-bottom-nav .nav__left .btn:not(.btn--disabled):hover{color:var(--color-deep-blue);border-color:rgba(255,115,92,.28);background:#fff0e8}
.theme-3d .reader-bottom-nav .nav__left .btn--disabled{color:#77889a;border-color:rgba(22,48,79,.09);background:#f4f7fa;opacity:1}
.theme-3d .reader-bottom-nav .reader-privacy{color:var(--color-muted)}
.theme-3d .reader-ad-choice--premium{color:var(--color-deep-blue);border-color:rgba(22,48,79,.16);background:#fff}.theme-3d .reader-ad-choice--premium small{color:#b83d5b}
.theme-3d .reader-bottom-nav,.theme-3d .reaction-panel,.theme-3d .reader-share-panel,.theme-3d .premium-panel,.theme-3d .premium-long-section,.theme-3d .publication-card{max-width:calc(100% - 48px);margin-right:auto;margin-left:auto}
.theme-3d .save-card{max-width:calc(100% - 48px);margin-right:auto;margin-left:auto;color:var(--color-ink);border-color:rgba(22,48,79,.1);background:linear-gradient(135deg,#fffdf8,#fff5f8);box-shadow:var(--shadow-card)}
.theme-3d .save-card .kicker{color:#b83d5b}.theme-3d .save-card h2{color:var(--color-deep-blue)}.theme-3d .save-card p:not(.kicker){color:var(--color-muted)}
.theme-3d .save-form input{color:var(--color-ink);border-color:rgba(22,48,79,.15);background:#fff}.theme-3d .save-form input::placeholder{color:#8796a6}.theme-3d .save-email{color:var(--color-deep-blue)}.theme-3d .resend-form button{color:#b83d5b}
.theme-3d .completion-modal{color:var(--color-ink);border-color:rgba(22,48,79,.12);background:#fffdf8;box-shadow:0 30px 90px rgba(18,51,95,.24)}
.theme-3d .completion-modal .modal-close{color:var(--color-deep-blue);border-color:rgba(22,48,79,.13);background:#f6faff}
.theme-3d .completion-modal__header h2{color:var(--color-deep-blue)}
.theme-3d .completion-modal__header>p:last-child{color:var(--color-muted)}
.theme-3d .completion-modal__options{border-color:rgba(22,48,79,.1);background:rgba(22,48,79,.1)}
.theme-3d .completion-option{background:#fff}
.theme-3d .completion-option--save{background:#fff9ef}
.theme-3d .completion-option--publication{background:#f5faff}
.theme-3d .completion-option--publication.is-active{background:#effaf5}
.theme-3d .completion-option__copy h3{color:var(--color-deep-blue)}
.theme-3d .completion-option__copy>p:last-child{color:var(--color-muted)}
.theme-3d .completion-modal .publication-consent{color:var(--color-ink)}
.theme-3d .completion-modal__footer .btn--ghost{color:var(--color-deep-blue);border-color:rgba(22,48,79,.14);background:#fff}
.theme-3d .save-code-modal{color:var(--color-ink);border-color:rgba(22,48,79,.12);background:linear-gradient(135deg,#fffdf8,#fff5f8);box-shadow:0 30px 90px rgba(18,51,95,.24)}
.theme-3d .save-code-modal .modal-close{color:var(--color-deep-blue);border-color:rgba(22,48,79,.13);background:#fff}
.theme-3d .save-code-modal h2{color:var(--color-deep-blue)}
.theme-3d .save-code-modal__copy{color:var(--color-muted)}

/* Weekly */
.theme-3d.weekly-page{background:linear-gradient(180deg,#eaf7ff,#fff8ea 48%,#fff)}
.theme-3d .weekly-shell{width:min(1380px,calc(100% - 32px))}
.theme-3d .weekly-hero{max-width:none}.theme-3d .weekly-hero-intro,.theme-3d .weekly-theme-card{color:var(--color-ink);border-color:rgba(22,48,79,.1);border-radius:28px;background:#fff;box-shadow:var(--shadow-card)}
.theme-3d .weekly-hero h1,.theme-3d .weekly-theme-card h2{color:var(--color-deep-blue)}.theme-3d .weekly-lead,.theme-3d .weekly-angle{color:var(--color-muted)}
.theme-3d .weekly-theme-card{background:linear-gradient(135deg,#fff0d9,#ffe8ef)}
.theme-3d .weekly-period{color:var(--color-deep-blue);border-color:rgba(18,51,95,.12);background:#fff}
.theme-3d .weekly-weather-card{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;margin:0 0 24px;overflow:hidden;border:1px solid rgba(22,48,79,.1);border-radius:24px;background:rgba(22,48,79,.09);box-shadow:var(--shadow-card)}
.theme-3d .weekly-weather-card>div{min-height:132px;padding:22px;background:#fff}.theme-3d .weekly-weather-card>div:nth-child(1){background:#eaf7ff}.theme-3d .weekly-weather-card>div:nth-child(2){background:#fff2e2}.theme-3d .weekly-weather-card>div:nth-child(3){background:#eef9f4}.theme-3d .weekly-weather-card>div:nth-child(4){background:#fff0f3}
.theme-3d .weekly-weather-card small{display:block;margin-bottom:12px;color:#d94f6b;font-weight:900;text-transform:uppercase}.theme-3d .weekly-weather-card strong{display:block;color:var(--color-deep-blue);font-family:var(--font-display);font-size:1.02rem;line-height:1.4}
.theme-3d .weekly-editorial-intro>div,.theme-3d .weekly-sign-picker,.theme-3d .weekly-sign-card,.theme-3d .weekly-cta{color:var(--color-ink);border-color:rgba(22,48,79,.1);border-radius:24px;background:#fff;box-shadow:var(--shadow-card)}
.theme-3d .weekly-sign-picker{padding:30px}
.theme-3d .weekly-editorial-intro h2{color:var(--color-deep-blue)}
.theme-3d .weekly-editorial-intro p:not(.weekly-kicker){color:var(--color-muted)}
.theme-3d .weekly-archive-link{color:var(--color-deep-blue);border-color:rgba(22,48,79,.1);background:#f6faff}
.theme-3d .weekly-archive-link:hover{border-color:var(--color-coral);background:#fff2e8}
.theme-3d .weekly-sign-picker__head h2{color:var(--color-deep-blue)}
.theme-3d .weekly-sign-picker__head p:last-child{color:var(--color-muted)}
.theme-3d .weekly-sign-picker__links a{color:var(--color-deep-blue);border-color:rgba(22,48,79,.1);background:#f6fbff}.theme-3d .weekly-sign-picker__links a:hover{border-color:var(--color-coral);background:#fff2e8}
.theme-3d .weekly-sign-picker__links a.is-personal-sign{position:relative;border:2px solid #ff85bd;background:linear-gradient(135deg,#fff0f7,#f2f8ff);box-shadow:inset 4px 0 #ff85bd}
.theme-3d .weekly-sign-picker__links a.is-personal-sign::after{content:"\2713";position:absolute;z-index:1;top:-9px;right:-9px;display:grid;place-items:center;width:26px;height:26px;border:3px solid #fff;border-radius:50%;color:#fff;background:#ef629c;box-shadow:0 5px 12px rgba(201,75,114,.26);font-size:.72rem;font-weight:950}
.theme-3d .weekly-personal-mini{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important}
.theme-3d .weekly-sign-picker__links img{width:46px;height:46px;flex:0 0 46px;border-radius:14px;object-fit:cover;object-position:center 10%}
.theme-3d .weekly-sign-card{overflow:hidden}.theme-3d .weekly-sign-head strong{color:var(--color-deep-blue)}.theme-3d .weekly-sign-head small,.theme-3d .weekly-sign-head em,.theme-3d .weekly-card-subtitle{color:var(--color-muted)}
.theme-3d .weekly-v4-sign-image{position:relative;width:100%;aspect-ratio:3/2;margin:0 0 20px;overflow:hidden}.theme-3d .weekly-v4-sign-image::after{content:"";position:absolute;inset:auto 0 0;height:35%;background:linear-gradient(transparent,#fff)}.theme-3d .weekly-v4-sign-image img{width:100%;height:100%;object-fit:cover;object-position:center 10%}
.theme-3d .weekly-sign-card .weekly-sign-head,.theme-3d .weekly-sign-card .weekly-card-subtitle,.theme-3d .weekly-sign-card .weekly-observe-button,.theme-3d .weekly-sign-card .weekly-back-to-picker{margin-right:20px;margin-left:20px}
.theme-3d .weekly-v4-personal{position:relative;grid-column:1/-1;display:block;min-height:360px;overflow:hidden;border:1px solid rgba(255,115,92,.25);border-radius:28px;color:#fff;text-decoration:none;box-shadow:var(--shadow-soft)}.theme-3d .weekly-v4-personal>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.theme-3d .weekly-v4-personal__veil{position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,51,95,.95),rgba(18,51,95,.62) 48%,rgba(18,51,95,.08))}.theme-3d .weekly-v4-personal__copy{position:relative;display:flex;min-height:360px;max-width:600px;flex-direction:column;justify-content:center;padding:44px}.theme-3d .weekly-v4-personal__copy small{color:var(--color-gold);font-weight:900;text-transform:uppercase}.theme-3d .weekly-v4-personal__copy strong{margin:9px 0;font-family:var(--font-display);font-size:clamp(2.4rem,5vw,4.5rem);line-height:1}.theme-3d .weekly-v4-personal__copy em{font-size:1.16rem;font-style:normal}.theme-3d .weekly-v4-personal__copy b{align-self:flex-start;margin-top:22px;padding:12px 17px;border-radius:999px;color:var(--color-deep-blue);background:#fff}
.theme-3d .weekly-observe-button{color:var(--color-ink);border-color:rgba(22,48,79,.1);background:#fff8ee}.theme-3d .weekly-observe-more{color:#d44e68}
.theme-3d .weekly-modal-layer{background:rgba(37,76,112,.48)}
.theme-3d .weekly-modal{display:grid;grid-template-columns:minmax(260px,.76fr) minmax(420px,1.24fr);width:min(1080px,100%);color:var(--color-ink);border-color:#fff;border-radius:28px;background:#fffdf8}
.theme-3d .weekly-v4-modal-image{grid-column:1;grid-row:1/3;min-height:100%;margin:0;overflow:hidden;background:#eaf7ff}
.theme-3d .weekly-v4-modal-image img{display:block;width:100%;height:100%;min-height:620px;object-fit:cover;object-position:center 10%}
.theme-3d .weekly-modal-head{grid-column:2;grid-row:1;border-color:var(--line-soft);background:linear-gradient(135deg,#eaf7ff,#fff0dc)}.theme-3d .weekly-modal-head h2{color:var(--color-deep-blue)}
.theme-3d .weekly-modal .weekly-sign-content{grid-column:2;grid-row:2}
.theme-3d .weekly-modal-close{color:var(--color-deep-blue);border-color:rgba(18,51,95,.15);background:#fff}
.theme-3d .weekly-modal-head p{color:var(--color-deep-blue)}
.theme-3d .weekly-modal-head small{color:#d94f6b}
.theme-3d .weekly-modal .weekly-sign-content,
.theme-3d .weekly-modal .weekly-subtitle,
.theme-3d .weekly-modal .weekly-main-text,
.theme-3d .weekly-modal .weekly-main-text p,
.theme-3d .weekly-modal .weekly-directions p,
.theme-3d .weekly-modal .weekly-question,
.theme-3d .weekly-modal .weekly-compatibility{color:var(--color-muted)}
.theme-3d .weekly-modal .weekly-subtitle{color:#d94f6b}
.theme-3d .weekly-modal .weekly-sign-content blockquote{color:var(--color-ink);border-color:var(--color-coral);background:#fff2e8}
.theme-3d .weekly-modal .weekly-sign-content blockquote strong,
.theme-3d .weekly-modal .weekly-directions strong,
.theme-3d .weekly-modal .weekly-question strong,
.theme-3d .weekly-modal .weekly-compatibility strong{color:var(--color-deep-blue)}
.theme-3d .weekly-modal .weekly-directions p,
.theme-3d .weekly-modal .weekly-question,
.theme-3d .weekly-modal .weekly-compatibility{border-color:rgba(22,48,79,.1);background:#f8fbff}

/* Editorial, legal, account and pricing */
.theme-3d .editorial-shell,.theme-3d .legal-shell,.theme-3d .connexion-shell,.theme-3d .premium-shell,.theme-3d .shell{width:min(1280px,calc(100% - 32px))}
.theme-3d .editorial-hero,.theme-3d .legal-card,.theme-3d .faq-card,.theme-3d .about-section,.theme-3d .account-card,.theme-3d .pricing-card{color:var(--color-ink);border-color:rgba(22,48,79,.1);border-radius:28px;background:#fff;box-shadow:var(--shadow-card)}
.theme-3d .plan{background-color:#fff}
.theme-3d .editorial-card,.theme-3d .sign-card{color:var(--color-ink);border-color:rgba(22,48,79,.1);border-radius:22px;background:#fff;box-shadow:var(--shadow-card)}
.theme-3d .editorial-card:hover,.theme-3d .sign-card:hover{transform:translateY(-4px);border-color:rgba(255,115,92,.3)}
.theme-3d.editorial-page .editorial-hero{max-width:none;padding:clamp(28px,5vw,58px);border:1px solid rgba(22,48,79,.1);border-radius:28px;background:rgba(255,255,255,.94);box-shadow:var(--shadow-card)}
.theme-3d.editorial-page .editorial-hero h1,.theme-3d .journal-section__head h2,.theme-3d .article-card h2,.theme-3d .sign-card h2,.theme-3d .article-page h1,.theme-3d .article-page h2,.theme-3d .article-cta h2,.theme-3d .editorial-crosslinks h2{color:var(--color-deep-blue)}
.theme-3d.editorial-page .editorial-hero p:not(.kicker),.theme-3d .journal-section__head>p,.theme-3d .article-card p:not(.article-meta),.theme-3d .sign-card p,.theme-3d .editorial-crosslinks p,.theme-3d .article-page p,.theme-3d .article-page li{color:var(--color-muted)}
.theme-3d .article-link{color:#d94f6b}.theme-3d .article-link:hover{color:var(--color-deep-blue)}
.theme-3d .sign-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.theme-3d .sign-card{display:flex;min-width:0;flex-direction:column;overflow:hidden;padding:0}
.theme-3d .sign-card__visual{display:block;aspect-ratio:4/3;overflow:hidden;background:#eaf7ff}
.theme-3d .sign-card__visual img{width:100%;height:100%;object-fit:cover;object-position:center 28%;transition:transform .3s ease}
.theme-3d .sign-card:hover .sign-card__visual img{transform:scale(1.035)}
.theme-3d .sign-card__content{display:flex;flex:1;flex-direction:column;padding:24px}
.theme-3d .sign-card__content>span{display:grid;place-items:center;width:42px;height:42px;margin:0 0 16px;border-radius:14px;color:#d94f6b;background:#fff0dc}
.theme-3d .sign-card__content .article-link{margin-top:auto;padding-top:12px}
.theme-3d .article-card,.theme-3d .editorial-crosslinks article,.theme-3d .article-page,.theme-3d .article-note,.theme-3d .article-cta{color:var(--color-ink);border-color:rgba(22,48,79,.1);background:#fff;box-shadow:var(--shadow-card)}
.theme-3d details{border-color:rgba(22,48,79,.1);background:#fff}.theme-3d summary{color:var(--color-deep-blue)}
.theme-3d .legal-card h1,
.theme-3d .legal-card h2,
.theme-3d .faq-shell .hero h1{color:var(--color-deep-blue)}
.theme-3d .legal-card :where(p:not(.kicker),li),
.theme-3d .faq-shell .hero>p:not(.kicker),
.theme-3d .faq-card details p{color:var(--color-muted)}
.theme-3d .legal-card a{color:#c94b66;text-underline-offset:3px}
.theme-3d .legal-note{color:var(--color-muted);border-color:rgba(22,48,79,.1);background:#f6faff}
.theme-3d .faq-card details{border-color:rgba(22,48,79,.1);background:#f8fbff}
.theme-3d .faq-card summary::after{color:#d44e68;background:#fff0e8}

/* Login and account */
.theme-3d.connexion-page{color:var(--color-ink);background:linear-gradient(135deg,#eef8ff,#fff8ec 50%,#ffedf4)}
.theme-3d .connexion-shell{min-height:100vh;padding-bottom:32px}
.theme-3d .connexion-card{
  color:var(--color-ink);
  border:1px solid rgba(22,48,79,.11);
  border-radius:28px;
  background:#fffdf8;
  box-shadow:var(--shadow-soft);
}
.theme-3d .connexion-card--login{max-width:720px;margin:54px auto 0;padding:38px}
.theme-3d .connexion-card h1{color:var(--color-deep-blue);font-size:3.6rem;line-height:1.02}
.theme-3d .connexion-card :where(h2,h3),
.theme-3d .account-block h2,
.theme-3d .love-columns h3,
.theme-3d .history-list strong,
.theme-3d .empty-state h2{color:var(--color-deep-blue)}
.theme-3d .connexion-card p:not(.kicker),
.theme-3d .history-list span,
.theme-3d .muted-account{color:var(--color-muted)}
.theme-3d .connexion-form input{color:var(--color-ink);border-color:rgba(22,48,79,.14);background:#fff}
.theme-3d .account-status{color:var(--color-deep-blue);border-color:rgba(22,48,79,.12);background:#edf8ff}
.theme-3d .account-status small{color:var(--color-muted)}
.theme-3d .account-status--premium{color:#8a5060;border-color:rgba(255,115,92,.25);background:#fff0e8}
.theme-3d .account-summary article,
.theme-3d .account-block,
.theme-3d .history-list article,
.theme-3d .empty-state{border-color:rgba(22,48,79,.1);background:#f8fbff}
.theme-3d .account-summary span{color:var(--color-muted)}
.theme-3d .account-summary strong{color:var(--color-deep-blue)}
.theme-3d .weekly-preference-card{border-color:rgba(255,115,92,.2);background:linear-gradient(135deg,#fff3df,#fff,#ffedf4)}
.theme-3d .weekly-preference-form>label:first-of-type,
.theme-3d .weekly-email-toggle{color:var(--color-deep-blue)}
.theme-3d .weekly-preference-form select{color:var(--color-ink);border-color:rgba(22,48,79,.13);background:#fff}
.theme-3d .weekly-preference-form small{color:var(--color-muted)}
.theme-3d .weekly-email-toggle{border-color:rgba(22,48,79,.11);background:#fff}
.theme-3d .weekly-subscription-note{color:var(--color-muted)!important}.theme-3d .weekly-subscription-note a{color:#d44e68}
.theme-3d .share-progress{border-color:rgba(22,48,79,.1);background:#fff}
.theme-3d .share-progress__top small{color:var(--color-muted)}.theme-3d .share-progress__top b{color:var(--color-deep-blue)}
.theme-3d .share-progress__bar{background:#dfeaf3}
.theme-3d .account-actions .btn--ghost{color:var(--color-deep-blue);border-color:rgba(22,48,79,.13);background:#fff}
.theme-3d .resend-form button{color:#d44e68}

/* About page: its legacy inline stylesheet uses explicit white text. */
.theme-3d .about-shell .hero h1,
.theme-3d .about-shell .about-section h2,
.theme-3d .about-shell .final-cta h2{color:var(--color-deep-blue)}
.theme-3d .about-shell .hero>div>p:not(.kicker),
.theme-3d .about-shell .about-section p{color:var(--color-muted)}
.theme-3d .about-shell .hero .btn:not(.btn--primary){color:var(--color-deep-blue);border-color:rgba(22,48,79,.14);background:#fff}
.theme-3d .about-shell .about-section{
  color:var(--color-ink);
  border-color:rgba(22,48,79,.1);
  background:#fff;
  box-shadow:var(--shadow-card);
}
.theme-3d .about-shell .final-cta{
  color:var(--color-ink);
  border-color:rgba(255,115,92,.22);
  background:linear-gradient(135deg,#fff0dc,#fff 54%,#ffedf4);
  box-shadow:var(--shadow-card);
}
.theme-3d .about-shell .story-card{
  color:#fff;
  border-color:rgba(255,255,255,.22);
  background:linear-gradient(145deg,#294f78,#383454);
}
.theme-3d .about-shell .story-card p{color:rgba(255,255,255,.88)}
.theme-3d .about-shell .about-footer{color:#45617c}
.theme-3d .about-shell .about-footer a:hover{color:var(--color-deep-blue)}
.theme-3d .cookie-consent{color:#fff}
.theme-3d .cookie-consent strong{color:#fff}
.theme-3d .cookie-consent p{color:rgba(255,255,255,.78)}
.theme-3d .cookie-consent a{color:#ffd8a8}

/* Footer */
.theme-3d .site-footer,.theme-3d .legal-footer{
  display:block;
  width:min(1420px,calc(100% - 32px));
  margin:22px auto 0;
  padding:28px;
  border:1px solid rgba(22,48,79,.1);
  border-radius:24px;
  color:#45617c;
  background:#fffdf8;
  box-shadow:0 12px 30px rgba(36,49,85,.06);
}
.theme-3d .site-footer a,.theme-3d .legal-footer a{color:#31506e}
.theme3d-footer-main{
  display:grid;
  grid-template-columns:minmax(280px,.85fr) minmax(520px,1.55fr);
  align-items:start;
  gap:36px 64px;
}
.theme3d-footer-brand{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:start;gap:16px;text-align:left}
.theme3d-footer-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;color:#fff;font-size:1.35rem;background:linear-gradient(145deg,#ffbc59,#ff835e);box-shadow:0 10px 24px rgba(255,132,94,.2)}
.theme3d-footer-copy{display:grid;gap:5px;max-width:520px;margin:0;color:var(--color-muted);font-weight:650;line-height:1.5}
.theme3d-footer-copy strong{color:var(--color-deep-blue);font-size:1.08rem;line-height:1.25}
.theme3d-footer-nav{display:grid;gap:16px;justify-items:end;min-width:0}
.theme3d-footer-links{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px 24px}
.theme3d-footer-links a{font-weight:800;line-height:1.35;text-decoration:none}
.theme3d-footer-links a:hover,.theme3d-footer-links a:focus-visible{color:var(--color-coral);text-decoration:underline;text-underline-offset:5px}
.theme3d-footer-links--secondary{padding-top:15px;border-top:1px solid var(--line-soft)}
.theme3d-footer-links--secondary a{color:#5d7187;font-size:.92rem}
.theme3d-footer-disclaimer{margin:22px 0 0;padding-top:17px;border-top:1px solid var(--line-soft);color:#6a7d90;font-size:.88rem;text-align:center}

@media(max-width:1100px){
  .home3d-sign-grid{grid-template-columns:repeat(3,1fr)}
  .home3d-benefits{grid-template-columns:repeat(2,1fr)}
  .home3d-benefit:nth-child(2){border-right:0}.home3d-benefit:nth-child(-n+2){border-bottom:1px solid rgba(22,48,79,.1)}
  .home3d-hero{padding-bottom:190px}.home3d-hero__copy{width:65%}
  .theme-3d .site-menu-panel{gap:8px}.theme-3d .site-nav a{padding:8px}
  .theme-3d .reader-bottom-nav--ad-choice{grid-template-columns:1fr 1fr}
  .theme-3d .reader-bottom-nav--ad-choice .nav__left{grid-column:1;grid-row:1;justify-self:start}
  .theme-3d .reader-bottom-nav--ad-choice .nav__right--choices{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;justify-self:stretch}
  .theme-3d .reader-bottom-nav--ad-choice .nav__right--choices .btn{width:100%;min-width:0;white-space:normal;text-align:center}
  .theme-3d .reader-bottom-nav--ad-choice .reader-dots{grid-column:1/-1;grid-row:3;gap:12px;flex-wrap:wrap}
  .theme-3d .reader-bottom-nav--ad-choice .reader-privacy{grid-column:1/-1;grid-row:4}
}
@media(max-width:1000px){
  .theme3d-footer-main{grid-template-columns:1fr;gap:24px}
  .theme3d-footer-nav{justify-items:start;width:100%}
  .theme3d-footer-links{justify-content:flex-start}
}
@media(min-width:1081px){
  .theme-3d .site-header--modern.site-header--full{grid-template-columns:auto minmax(0,1fr);gap:14px}
  .theme-3d .site-header--modern .site-menu-toggle{display:none}
  .theme-3d .site-header--modern .site-menu-panel{position:static;display:flex;flex-direction:row;align-items:center;padding:0;border:0;background:transparent;box-shadow:none}
  .theme-3d .site-header--modern .site-nav{display:flex!important;grid-template-columns:none;gap:2px;width:auto;padding:0;border:0;background:none}
  .theme-3d .site-header--modern .site-nav a{padding:8px 9px;background:transparent;font-size:.78rem}
  .theme-3d .site-header--modern .header-actions{display:flex;grid-template-columns:none;width:auto;min-width:max-content;padding-top:0;border-top:0}
  .theme-3d .site-header--modern .header-actions .btn{width:auto!important;padding-right:12px!important;padding-left:12px!important;font-size:.8rem!important}
}
@media(max-width:1080px){
  .theme-3d .site-header--modern{z-index:70}
  .theme-3d .site-header--modern .site-menu-panel{
    gap:12px;
    padding:14px;
    border:1px solid rgba(22,48,79,.12);
    border-radius:20px;
    color:var(--color-ink);
    background:#fffdf8;
    box-shadow:0 22px 52px rgba(36,49,85,.16);
  }
  .theme-3d .site-header--modern .site-nav{
    gap:7px;
    padding:0;
    border:0;
    background:transparent;
  }
  .theme-3d .site-header--modern .site-nav a{
    color:var(--color-deep-blue);
    border:1px solid rgba(22,48,79,.08);
    border-radius:12px;
    background:#f6faff;
  }
  .theme-3d .site-header--modern .site-nav a:hover,
  .theme-3d .site-header--modern .site-nav a:focus-visible,
  .theme-3d .site-header--modern .site-nav a.active{
    color:var(--color-deep-blue);
    border-color:rgba(255,115,92,.24);
    background:#fff0e8;
  }
  .theme-3d .site-header--modern .header-actions{
    border-color:rgba(22,48,79,.1);
  }
  .theme-3d .site-header--modern .header-actions__login{
    color:var(--color-deep-blue)!important;
    border-color:rgba(22,48,79,.13)!important;
    background:#fff!important;
  }
}
@media(max-width:900px){
  body.theme-3d{--theme3d-rail:min(760px,calc(100% - 24px))}
  .theme-3d .site-header{width:calc(100% - 24px);margin-top:12px}
  .theme-3d .site-menu-panel{border-color:rgba(22,48,79,.1);background:#fffdf8;box-shadow:var(--shadow-soft)}
  .theme-3d .site-nav a{background:#f6faff}
  .home3d-hero__copy{width:78%}
  .home3d-steps,.home3d-journal-grid{grid-template-columns:1fr}
  .home3d-step{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr);min-height:250px}
  .home3d-step__visual{height:100%;aspect-ratio:auto}
  .home3d-step__visual::after{inset:0 0 0 auto;width:28%;height:auto;background:linear-gradient(90deg,transparent,#fff)}
  .home3d-step__body{display:flex;flex-direction:column;justify-content:center;padding:30px}
  .home3d-step__number{top:22px;left:-30px}
  .home3d-trust-list{grid-template-columns:repeat(2,1fr)}
  .theme-3d .weekly-weather-card{grid-template-columns:repeat(2,1fr)}
  .theme-3d .reader-hero-card{grid-template-columns:1fr}.theme-3d .reader-visual{min-height:420px}.theme-3d .reaction-panel__actions{grid-template-columns:repeat(3,minmax(0,1fr))}
  .theme-3d .weekly-modal{grid-template-columns:1fr}
  .theme-3d .weekly-v4-modal-image{grid-column:1;grid-row:1;width:100%;height:260px;min-height:0}
  .theme-3d .weekly-v4-modal-image img{height:100%;min-height:0;object-position:center 10%}
  .theme-3d .weekly-modal-head{grid-column:1;grid-row:2}
  .theme-3d .weekly-modal .weekly-sign-content{grid-column:1;grid-row:3}
  .theme-3d .form-card--chat::after{display:none}
  .theme-3d .sign-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .theme3d-footer-main{grid-template-columns:1fr;gap:24px}
  .theme3d-footer-nav{justify-items:start;width:100%}
  .theme3d-footer-links{justify-content:flex-start}
}
@media(max-width:820px){
  .theme-3d .about-shell .story-card{order:0}
}
@media(max-width:640px){
  body.theme-3d{--theme3d-rail:min(440px,calc(100% - 20px))}
  .theme-3d .site-header{min-height:70px;padding:8px 10px;border-radius:18px}.theme-3d .brand__mark{width:40px;height:40px}.theme-3d .brand__copy strong{font-size:.95rem}
  .theme-3d .landing-3d{width:calc(100% - 20px)}
  .home3d-hero{min-height:780px;padding-bottom:0;border-radius:26px}
  .home3d-hero__image{object-position:68% center}
  .home3d-hero__veil{background:linear-gradient(180deg,rgba(14,68,116,.82) 0%,rgba(14,68,116,.48) 42%,rgba(14,68,116,.92) 70%,rgba(14,68,116,.98) 100%)}
  .home3d-hero__copy{justify-content:flex-end;width:100%;min-height:560px;padding:28px 24px 200px}
  .home3d-hero h1{font-size:clamp(2.25rem,11vw,3.25rem)}
  .home3d-hero__lead{font-size:1rem}.home3d-hero__actions{margin-top:22px}.home3d-hero__actions .btn{width:100%;min-height:54px;padding:0 18px}
  .home3d-benefits{right:16px;bottom:16px;left:16px;grid-template-columns:1fr 1fr;border-radius:20px}
  .home3d-benefit{grid-template-columns:36px 1fr;min-height:82px;padding:10px}.home3d-benefit__icon{width:34px;height:34px;border-radius:11px}.home3d-benefit>span:last-child>span{display:none}
  .home3d-section{padding:30px 20px;border-radius:26px}.home3d-section__head{display:block}.home3d-section__head .btn{margin-top:18px}
  .home3d-step{display:block;min-height:0}.home3d-step__visual{height:auto;aspect-ratio:16/10}.home3d-step__visual::after{inset:auto 0 0;width:auto;height:34%;background:linear-gradient(transparent,rgba(255,255,255,.92))}.home3d-step__body{display:block;padding:28px 22px 24px}.home3d-step__number{top:-29px;left:20px;width:52px;height:52px}
  .home3d-sign-grid{grid-template-columns:repeat(2,1fr);gap:10px}.home3d-sign-card{border-radius:18px}
  .home3d-trust-list{grid-template-columns:1fr}.home3d-weekly{min-height:390px}
  .theme-3d .identity-shell,.theme-3d .form-shell,.theme-3d .result-reader,.theme-3d .weekly-shell,.theme-3d .editorial-shell,.theme-3d .legal-shell,.theme-3d .connexion-shell,.theme-3d .premium-shell,.theme-3d .shell{width:calc(100% - 20px)}
  .theme-3d .identity-card,.theme-3d .form-card,.theme-3d .result-reader{border-radius:24px}
  .theme-3d .reader-hero-copy{padding:26px 20px}.theme-3d .reader-visual{min-height:330px}.theme-3d .reader-bottom-nav,.theme-3d .reaction-panel,.theme-3d .reader-share-panel,.theme-3d .premium-panel,.theme-3d .premium-long-section,.theme-3d .publication-card,.theme-3d .save-card{max-width:calc(100% - 24px)}.theme-3d .reaction-panel{padding:20px 14px}.theme-3d .reaction-panel__actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.theme-3d .reaction-choice{min-height:102px;border-radius:18px}
  .theme-3d .weekly-weather-card{grid-template-columns:1fr}.theme-3d .weekly-weather-card>div{min-height:0}.theme-3d .weekly-sign-picker{padding:22px 18px}.theme-3d .weekly-v4-personal{min-height:420px}.theme-3d .weekly-v4-personal>img{object-position:68% center}.theme-3d .weekly-v4-personal__veil{background:linear-gradient(0deg,rgba(18,51,95,.96),rgba(18,51,95,.5) 58%,rgba(18,51,95,.05))}.theme-3d .weekly-v4-personal__copy{justify-content:flex-end;min-height:420px;padding:24px}
  .theme-3d .weekly-v4-modal-image{height:210px}
  .theme-3d .site-footer,.theme-3d .legal-footer{width:calc(100% - 20px);padding:20px;border-radius:22px}
  .theme-3d .connexion-card--login{margin-top:18px;padding:24px}.theme-3d .connexion-card h1{font-size:2.45rem}
  .theme3d-footer-brand{grid-template-columns:40px minmax(0,1fr);gap:12px}.theme3d-footer-mark{width:40px;height:40px;border-radius:12px;font-size:1.05rem}
  .theme3d-footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;width:100%}.theme3d-footer-links a{align-items:flex-start}.theme3d-footer-links--secondary{padding-top:16px}
  .theme3d-footer-disclaimer{margin-top:20px;padding-top:16px;text-align:left}
  .theme-3d .sign-grid{grid-template-columns:1fr}.theme-3d .sign-card__visual{aspect-ratio:16/10}.theme-3d.editorial-page .editorial-hero{padding:26px 22px}.theme-3d.editorial-page .editorial-hero h1{font-size:clamp(2.2rem,11vw,3.4rem)}
}
@media(max-width:520px){.theme-3d .reader-bottom-nav--ad-choice .nav__right--choices{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.theme-3d *{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}

/* Admin: the original dashboard is dark. Keep its dense layout, but give every
   operational surface an explicit light-theme color so inherited white text
   can never disappear on the 3D preview. */
.theme-3d.admin-page{
  color:var(--color-ink);
  background:
    radial-gradient(circle at 8% 5%,rgba(112,183,242,.18),transparent 30rem),
    radial-gradient(circle at 94% 12%,rgba(255,155,207,.17),transparent 32rem),
    linear-gradient(180deg,#f7fbff 0%,#fff8ed 48%,#fffdf8 100%);
}
.theme-3d .admin-shell{width:min(1440px,calc(100% - 32px));max-width:none;padding:0 0 56px}
.theme-3d .admin-header.site-header{width:100%;max-width:none;margin:16px 0 30px}
.theme-3d .admin-login,
.theme-3d .admin-card,
.theme-3d .stat-grid article{
  color:var(--color-ink);
  border-color:rgba(22,48,79,.11);
  background:rgba(255,255,255,.96);
  box-shadow:var(--shadow-card);
  backdrop-filter:none;
}
.theme-3d .admin-login{max-width:680px;margin:56px auto 0;border-radius:28px}
.theme-3d .admin-login h1,
.theme-3d .admin-title h1,
.theme-3d .admin-card h2,
.theme-3d .health-panel h3,
.theme-3d .contact-message-head h3,
.theme-3d .journal-idea-card h3,
.theme-3d .journal-empty h2,
.theme-3d .ai-compare-tool h3,
.theme-3d .prompt-list>h3{color:var(--color-deep-blue)}
.theme-3d .admin-login p:not(.kicker),
.theme-3d .admin-title p,
.theme-3d .admin-card-subtitle,
.theme-3d .contact-count,
.theme-3d .health-note,
.theme-3d .muted-admin,
.theme-3d .pager span,
.theme-3d .admin-pagination{color:var(--color-muted)}
.theme-3d .admin-title{padding:6px 2px 4px}
.theme-3d .admin-title h1{font-size:clamp(2.2rem,4vw,4rem);line-height:1.02}

.theme-3d .admin-section-nav{
  top:8px;
  border-color:rgba(22,48,79,.1);
  background:rgba(255,253,248,.94);
  box-shadow:0 12px 34px rgba(36,49,85,.12);
}
.theme-3d .admin-section-nav a{color:#45617c}
.theme-3d .admin-section-nav a:hover,
.theme-3d .admin-section-nav a:focus-visible{color:var(--color-deep-blue);background:#eef7ff}
.theme-3d .admin-section-nav a.active{color:#fff;background:linear-gradient(135deg,#ff8b66,#f55f89);box-shadow:0 8px 20px rgba(245,95,137,.22)}
.theme-3d .admin-section-nav a.active .admin-nav-count{color:#c43f61;background:#fff}
.theme-3d .admin-overview-links a{
  color:var(--color-deep-blue);
  border-color:rgba(22,48,79,.1);
  background:#fff;
  box-shadow:0 8px 22px rgba(36,49,85,.07);
}
.theme-3d .admin-overview-links a:hover,
.theme-3d .admin-overview-links a:focus-visible{background:#f5faff}
.theme-3d .admin-overview-links span,
.theme-3d .stat-grid span{color:var(--color-muted)}
.theme-3d .stat-grid strong{color:var(--color-deep-blue)}

.theme-3d .admin-form input,
.theme-3d .search-form input,
.theme-3d .admin-card select,
.theme-3d .admin-card textarea,
.theme-3d .admin-card input[type="text"],
.theme-3d .admin-card input[type="email"],
.theme-3d .admin-card input[type="number"],
.theme-3d .admin-card input[type="date"],
.theme-3d .admin-card input[type="datetime-local"],
.theme-3d .premium-seed-form input,
.theme-3d .analysis-filter-form input,
.theme-3d .analysis-filter-form select,
.theme-3d .contact-filter-form input,
.theme-3d .contact-filter-form select,
.theme-3d .contact-reply-form input,
.theme-3d .contact-reply-form textarea,
.theme-3d .ai-setting-card input,
.theme-3d .ai-setting-card select,
.theme-3d .ai-compare-form input,
.theme-3d .prompt-editor textarea,
.theme-3d .visit-filter-form input,
.theme-3d .visit-filter-form select,
.theme-3d .visit-exclusion-add-form input,
.theme-3d .journal-idea-form input,
.theme-3d .journal-idea-form textarea,
.theme-3d .journal-editor-form input,
.theme-3d .journal-editor-form textarea,
.theme-3d .journal-editor-form select{
  color:var(--color-ink);
  border-color:rgba(22,48,79,.14);
  background:#fff;
  box-shadow:none;
}
.theme-3d .admin-page input::placeholder,
.theme-3d .admin-card input::placeholder,
.theme-3d .admin-card textarea::placeholder{color:#8292a2;opacity:1}
.theme-3d .admin-remember-option{color:var(--color-deep-blue)}
.theme-3d .admin-remember-note,
.theme-3d .admin-table-note,
.theme-3d .analysis-progress-cell small,
.theme-3d .admin-publication-reason{color:var(--color-muted)}
.theme-3d .analysis-filter-form,
.theme-3d .visit-current-ip-form,
.theme-3d .visit-exclusion-add-form{
  border-color:rgba(22,48,79,.1);
  background:#f6faff;
}
.theme-3d .analysis-filter-form label>span,
.theme-3d .visit-filter-form label,
.theme-3d .visit-current-ip-form span,
.theme-3d .visit-exclusion-add-form label>span{color:#557088}
.theme-3d .visit-current-ip-form strong{color:var(--color-deep-blue)}

.theme-3d .table-wrap,
.theme-3d .health-table-wrap{border:1px solid rgba(22,48,79,.1);border-radius:16px;background:#fff}
.theme-3d table{background:#fff}
.theme-3d th,
.theme-3d td{color:#334f69;border-bottom-color:rgba(22,48,79,.09)}
.theme-3d th{color:var(--color-deep-blue);background:#edf6fc}
.theme-3d tbody tr:nth-child(even) td{background:rgba(237,246,252,.55)}
.theme-3d tbody tr:hover td{background:#fff3ea}
.theme-3d .admin-empty-row{color:var(--color-muted)!important}
.theme-3d .admin-seed-link,
.theme-3d .analysis-progress-link,
.theme-3d .visit-daily-table a{color:#c84467}
.theme-3d .admin-seed-link:hover,
.theme-3d .admin-seed-link:focus-visible{color:var(--color-deep-blue)}

.theme-3d .status-pill,
.theme-3d .analysis-progress-badge{
  color:var(--color-deep-blue);
  border-color:rgba(22,48,79,.14);
  background:#f4f8fb;
}
.theme-3d .status-pill--free,
.theme-3d .status-pill--ignored{color:#64778a}
.theme-3d .status-pill--one_shot_premium,
.theme-3d .status-pill--warning,
.theme-3d .status-pill--draft,
.theme-3d .status-ideas{color:#8a5a13;border-color:#efd59b;background:#fff7df}
.theme-3d .status-pill--premium_abonne,
.theme-3d .status-pill--mistral{color:#9c3560;border-color:#efb3cc;background:#fff0f6}
.theme-3d .status-pill--ok,
.theme-3d .status-pill--new,
.theme-3d .status-published,
.theme-3d .analysis-progress-badge--complete{color:#237557;border-color:#a9dbc8;background:#edf9f4}
.theme-3d .status-pill--danger{color:#a83b4c;border-color:#edb3bc;background:#fff0f2}
.theme-3d .status-pill--openai,
.theme-3d .status-pill--sent,
.theme-3d .status-scheduled{color:#315f98;border-color:#b8cce6;background:#eef5ff}
.theme-3d .analysis-progress-badge--draft{color:#8a5a13;border-color:#efd59b;background:#fff7df}
.theme-3d .analysis-progress-badge--teaser{color:#7b4ca3;border-color:#d9bfe9;background:#faf2ff}
.theme-3d .admin-visibility-toggle{color:#9c3560;border-color:#efb3cc;background:#fff0f6}
.theme-3d .admin-visibility-toggle.is-disabled{color:#748394;border-color:#dce4eb;background:#f5f7f9}

.theme-3d .health-metrics article,
.theme-3d .health-panel,
.theme-3d .health-list li,
.theme-3d .contact-list-item,
.theme-3d .contact-message-card,
.theme-3d .contact-reply-form,
.theme-3d .contact-sent-card,
.theme-3d .ai-setting-card,
.theme-3d .ai-compare-tool,
.theme-3d .prompt-editor,
.theme-3d .ai-comparison,
.theme-3d .weekly-calendar-item,
.theme-3d .weekly-research-sources,
.theme-3d .journal-project,
.theme-3d .journal-idea-card,
.theme-3d .journal-section-editors fieldset{
  color:var(--color-ink);
  border-color:rgba(22,48,79,.1);
  background:#f8fbff;
}
.theme-3d .health-metrics span,
.theme-3d .health-metrics em,
.theme-3d .health-list small,
.theme-3d .contact-list-item small,
.theme-3d .contact-list-item em,
.theme-3d .contact-message-head p:not(.kicker),
.theme-3d .ai-setting-card label span,
.theme-3d .ai-comparison-head small,
.theme-3d .prompt-editor summary small,
.theme-3d .weekly-calendar-item small,
.theme-3d .weekly-calendar-item em,
.theme-3d .weekly-entry-editor summary em,
.theme-3d .weekly-research-help,
.theme-3d .journal-project small,
.theme-3d .journal-empty p:last-child,
.theme-3d .journal-idea-card>p,
.theme-3d .journal-idea-card dt,
.theme-3d .journal-idea-card ol{color:var(--color-muted)}
.theme-3d .health-metrics strong,
.theme-3d .health-list strong,
.theme-3d .contact-list-item strong,
.theme-3d .contact-reply-form label span,
.theme-3d .journal-idea-form label>span,
.theme-3d .journal-editor-form label>span,
.theme-3d .journal-idea-card dd{color:var(--color-deep-blue)}
.theme-3d .contact-list-item.active,
.theme-3d .contact-list-item:hover,
.theme-3d .journal-project:hover,
.theme-3d .journal-project.is-active{border-color:rgba(255,115,92,.35);background:#fff3ea}
.theme-3d .contact-message-card pre,
.theme-3d .contact-sent-card pre{color:#334f69}
.theme-3d .contact-sent-card{border-color:#c8d8eb;background:#f1f7ff}
.theme-3d .contact-delete-form{border-top-color:rgba(22,48,79,.1)}

.theme-3d .ai-active-cost{color:#9a5d12}
.theme-3d .ai-cost-groups fieldset{border-color:rgba(22,48,79,.1);background:#fff}
.theme-3d .ai-cost-groups legend{color:#557088}
.theme-3d .ai-model-name{color:var(--color-muted)}
.theme-3d .ai-comparison-head,
.theme-3d .ai-comparison-columns{background:rgba(22,48,79,.1)}
.theme-3d .ai-comparison-head>div,
.theme-3d .ai-comparison-columns>div{color:var(--color-ink);background:#fff}
.theme-3d .ai-comparison-columns em{color:#c84467}
.theme-3d .ai-comparison-columns p{color:#405c78}

.theme-3d .visit-session-table td>small,
.theme-3d .visit-timeline small,
.theme-3d .visit-timeline__seed{color:var(--color-muted)}
.theme-3d .visit-ip{color:#315f98;border-color:#b8cce6;background:#eef5ff}
.theme-3d .visit-ip--muted{color:#748394;border-color:#dce4eb;background:#f5f7f9}
.theme-3d .visit-flags span{color:#9c3560;border-color:#efb3cc;background:#fff0f6}
.theme-3d .visit-timeline__index{color:#fff;border-color:#ff9bcf;background:linear-gradient(145deg,#ff8b66,#f55f89)}
.theme-3d .visit-timeline li>div{border-color:rgba(22,48,79,.1);background:#f8fbff}
.theme-3d .visit-timeline strong{color:var(--color-deep-blue)}
.theme-3d .visit-timeline p{color:#405c78}
.theme-3d .visit-daily-table tr.is-selected td,
.theme-3d .visit-session-table tr.is-selected td{background:#fff0e8}

.theme-3d .weekly-calendar-item{color:var(--color-deep-blue)}
.theme-3d .weekly-calendar-item>span,
.theme-3d .weekly-entry-editor summary small,
.theme-3d .weekly-research-sources summary,
.theme-3d .journal-idea-number,
.theme-3d .journal-section-editors legend{color:#c84467}
.theme-3d .weekly-calendar-item.status-published{border-color:#a9dbc8;background:#edf9f4}
.theme-3d .weekly-calendar-item.status-generated{border-color:#d9bfe9;background:#faf2ff}
.theme-3d .weekly-calendar-item:hover{background:#fff3ea}
.theme-3d .weekly-entry-editor>form{border-top-color:rgba(22,48,79,.1)}
.theme-3d .weekly-research-sources a{color:#315f98}
.theme-3d .journal-meta-preview{border-left-color:var(--color-coral);background:#fff3ea}
.theme-3d .journal-save-bar{border-color:rgba(255,115,92,.28);background:rgba(255,253,248,.97);box-shadow:var(--shadow-card)}
.theme-3d .journal-save-bar p{color:var(--color-muted)}
.theme-3d .btn--danger{color:#a83b4c!important;border-color:#edb3bc!important;background:#fff0f2!important}
.theme-3d .btn--danger:hover,
.theme-3d .btn--danger:focus-visible{color:#fff!important;border-color:#c9475b!important;background:#c9475b!important}

@media(max-width:820px){
  .theme-3d .admin-shell{width:calc(100% - 20px)}
  .theme-3d .admin-header.site-header{width:100%;margin-top:10px;margin-bottom:20px}
  .theme-3d .admin-section-nav{margin-inline:0;padding:7px}
  .theme-3d .admin-login{margin-top:24px;padding:24px}
  .theme-3d .admin-card{padding:18px;border-radius:22px}
  .theme-3d .table-wrap,.theme-3d .health-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
}
@media(max-width:520px){
  .theme-3d .admin-title h1{font-size:2.25rem}
  .theme-3d .admin-login h1{font-size:2.35rem;line-height:1.02}
  .theme-3d .stat-grid{gap:10px}.theme-3d .stat-grid article{padding:16px;border-radius:18px}
  .theme-3d .admin-section-nav a{padding:9px 11px;font-size:.8rem}
  .theme-3d .contact-message-card,.theme-3d .contact-reply-form,.theme-3d .contact-sent-card{padding:14px;border-radius:18px}
}
