/* JFJ homepage — charcoal palette and quiet illustrated cards, matching Elpix. */
html[data-theme] body.portal.jfj-home,
html body.portal.jfj-home {
  --theme-bg: #101518;
  --theme-text: #edf0f2;
  --theme-muted: #94a3ad;
  background: #101518;
  color: #edf0f2;
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
html body.portal.jfj-home #app { width: 100%; min-width: 0; }
html body.portal.jfj-home header {
  width: min(1248px, calc(100% - 64px));
  min-height: 70px;
  margin: 0 auto;
  padding: 14px 0;
  background: transparent;
  border: 0;
  gap: 16px;
}
html body.portal.jfj-home header strong { font-size: 14px; color: #d8a64a; font-weight: 650; }
html body.portal.jfj-home header span { font-size: 12px; color: #94a3ad; }
html body.portal.jfj-home header > div { display: flex; align-items: center; gap: 12px; font-size: 13px; }
html body.portal.jfj-home .wrap { width: min(1248px, calc(100% - 64px)); max-width: none; margin: 0 auto; padding: 0; }
html body.portal.jfj-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 166px;
  margin: 0 0 24px;
  padding: 24px 22px;
  border: 1px solid #293239;
  border-radius: 14px;
  background: linear-gradient(115deg, #171e23, #1c2329);
}
html body.portal.jfj-home .home-hero .eyebrow { position: relative; color: #94a3ad; font-size: 11px; font-weight: 600; letter-spacing: 1px; }
html body.portal.jfj-home .home-hero h1 { position: relative; margin: 10px 0 6px; font-size: 28px; line-height: 1.25; letter-spacing: -.8px; font-weight: 650; }
html body.portal.jfj-home .home-hero .intro { position: relative; max-width: 400px; margin: 8px 0 0; color: #9baab6; font-size: 14px; line-height: 1.65; }
.jfj-home .home-art { position: absolute; right: 16px; bottom: 0; width: 390px; height: 166px; object-fit: contain; opacity: .85; pointer-events: none; z-index: -1; }
html body.portal.jfj-home .tile-group { margin: 0 0 20px; }
html body.portal.jfj-home .tile-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 9px; color: #8b9aa6; font-size: 12px; line-height: 1.5; letter-spacing: 0; opacity: 1; }
html body.portal.jfj-home .tile-head span { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: 1.15px; color: #9baab6; }
html body.portal.jfj-home .tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(228px, 1fr)); gap: 12px; }
html body.portal.jfj-home .tiles .tile {
  --tile-accent: #889bab;
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  min-width: 0;
  min-height: 124px;
  padding: 19px;
  border: 1px solid #293239;
  border-radius: 12px;
  background: linear-gradient(120deg, #171e23 24%, color-mix(in srgb, var(--tile-accent) 12%, #171e23));
  color: #edf0f2;
  box-shadow: none;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
html body.portal.jfj-home .tile:has(.ico-dashboard, .ico-foto, .ico-ai, .ico-iklan, .ico-ceo) { --tile-accent: #d0a149; }
html body.portal.jfj-home .tile:has(.ico-meeting, .ico-hasil, .ico-moodboard) { --tile-accent: #a28ac8; }
html body.portal.jfj-home .tile:has(.ico-loops) { --tile-accent: #78ac92; }
html body.portal.jfj-home .tile:has(.ico-chat) { --tile-accent: #c48372; }
html body.portal.jfj-home .tiles .tile:hover { border-color: color-mix(in srgb, var(--tile-accent) 55%, #293239); background: linear-gradient(120deg, #1b2227, color-mix(in srgb, var(--tile-accent) 17%, #171e23)); transform: translateY(-2px); }
html body.portal.jfj-home .tiles .tile > div { min-width: 0; }
html body.portal.jfj-home .tiles .tile b { display: block; margin-bottom: 5px; color: #edf0f2; font-size: 16px; font-weight: 600; letter-spacing: -.3px; line-height: 1.4; overflow-wrap: anywhere; }
html body.portal.jfj-home .tiles .tile small { display: block; font-size: 13px; line-height: 1.5; color: #95a3af; opacity: 1; }
html body.portal.jfj-home .tile-ico { flex: 0 0 32px; width: 32px; height: 34px; margin-top: 1px; padding: 0; background: transparent; border-radius: 0; color: var(--tile-accent); stroke-width: 1.35; }
html body.portal.jfj-home .tiles .tile.tile-off { opacity: .55; transform: none; }
html body.portal.jfj-home a:focus-visible,
html body.portal.jfj-home button:focus-visible { outline: 2px solid #d8a64a; outline-offset: 4px; }
html body.portal.jfj-home button,
html body.portal.jfj-home a.button { min-height: 36px; padding: 7px 12px; border: 1px solid #303a41; border-radius: 8px; background: transparent; color: #a8b5c0; font-size: 12px; }
html body.portal.jfj-home button:hover,
html body.portal.jfj-home a.button:hover { background: #20282e; border-color: #59636b; }
html body.portal.jfj-home footer { width: min(1248px, calc(100% - 64px)); margin: 24px auto 0; padding: 20px 0 28px; background: transparent; border-top: 1px solid #293239; }
html body.portal.jfj-home .footer-links { justify-content: flex-start; gap: 8px; }
@media (max-width: 760px) {
  html body.portal.jfj-home header,
  html body.portal.jfj-home .wrap,
  html body.portal.jfj-home footer { width: calc(100% - 36px); }
  .jfj-home .home-art { right: -90px; opacity: .3; }
  html body.portal.jfj-home .home-hero .intro { max-width: 330px; }
}
@media (max-width: 520px) {
  html body.portal.jfj-home header { min-height: 72px; gap: 8px; }
  html body.portal.jfj-home header > a { display: flex; flex-direction: column; }
  html body.portal.jfj-home header > div { gap: 8px; font-size: 12px; }
  html body.portal.jfj-home .home-hero { padding: 22px 18px; min-height: 166px; }
  html body.portal.jfj-home .home-hero h1 { font-size: 26px; }
  html body.portal.jfj-home .home-hero .intro { max-width: 260px; }
  .jfj-home .home-art { right: -185px; opacity: .22; }
  html body.portal.jfj-home .tiles { grid-template-columns: 1fr; gap: 10px; }
  html body.portal.jfj-home .tiles .tile { min-height: 104px; padding: 18px; }
  html body.portal.jfj-home .tile-group { margin-bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html body.portal.jfj-home .tiles .tile { transition: none; }
  html body.portal.jfj-home .tiles .tile:hover { transform: none; }
}
/* Banner WAJIB Tools Moodboard JFJ Foto (12.62.0, MKT-261106-1116): /foto/moodboard/banner.js mengisi [data-mb-banner]
   hanya untuk tim yang berhak; kosong = tidak memakan tempat. Lebarnya disamakan dengan header beranda. */
html body.portal.jfj-home [data-mb-banner]:not(:empty) { width: min(1248px, calc(100% - 64px)); margin: 16px auto 0; }
@media (max-width: 760px) { html body.portal.jfj-home [data-mb-banner]:not(:empty) { width: calc(100% - 36px); } }
/* theme.css gelap memaksa warna semua <a> (#9bc1ff !important); tombol "Kerjakan sekarang" di latar coral jadi tak terbaca. */
html[data-theme] body [data-mb-banner] .mb-banner > a[href] { color: #1a0805 !important; }
