.fb-board{
  --fb-ink:#241f31;--fb-sub:#6e6782;--fb-border:#e8e4f2;--fb-brand:#6b4de6;--fb-green:#189a54;
  color:var(--fb-ink);background:#f6f4fb;display:grid;gap:18px;min-width:0;max-width:1400px;margin:auto;
  padding:24px 16px 48px;border-radius:18px;font-variant-numeric:tabular-nums;
}
.fb-board *, .fb-board *::before, .fb-board *::after{box-sizing:border-box}
.fb-board h1,.fb-board h2,.fb-board h3,.fb-board p,.fb-board li,.fb-board dl,.fb-board ol,.fb-board ul{margin:0}
.fb-board p{font-size:13px;line-height:1.55;color:var(--fb-sub)}
.fb-board button{font:inherit;color:inherit}
.fb-board button:focus-visible,.fb-board summary:focus-visible,.fb-scroll:focus-visible{outline:2px solid var(--fb-brand);outline-offset:3px}
.fb-top,.fb-card>header,.fb-drawer>header{display:flex;align-items:flex-start;flex-wrap:wrap;justify-content:space-between;gap:10px}
.fb-top h1{font-size:28px;line-height:1.3;margin:4px 0}
.fb-top>div>span,.fb-drawer header span{color:var(--fb-brand);font-size:12px;font-weight:650}
.fb-time{text-align:right}
.fb-time time{display:inline-flex;align-items:center;gap:9px;font-size:26px;font-weight:750;letter-spacing:.04em}
.fb-time time::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--fb-green);animation:fb-pulse 3s infinite}
.fb-filters{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:12.5px}
.fb-filters button,.fb-link,.fb-refresh,.fb-drawer [data-close]{border:1px solid var(--fb-border);border-radius:999px;background:white;cursor:pointer;padding:6px 11px}
.fb-filter-divider{padding-left:9px;border-left:1px solid #d7cafb;color:var(--fb-sub)}
.fb-filters [aria-pressed=true]{background:#eee9fc;border-color:#d7cafb;color:#5135bd;font-weight:700}
.fb-board .fb-link{width:max-content;max-width:100%;font-size:12px;font-weight:650;color:#5135bd;text-align:left}
.fb-board button[hidden],.fb-board [hidden]{display:none}
.fb-board .fb-notice{padding:10px 14px;border:1px solid #d7cafb;border-radius:10px;background:white}
.fb-kpis,.fb-pair,.fb-questions>div{display:grid;gap:12px;min-width:0}
.fb-kpis{grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr))}
.fb-pair,.fb-questions>div{grid-template-columns:repeat(auto-fit,minmax(min(100%,295px),1fr))}
/* 다섯 가지 묶음은 세 칸까지만 — 화상 카드가 넷째 카드 옆 두 칸을 채운다. 두 칸 이상일 때만 넓게 걸친다. */
.fb-questions>div{grid-template-columns:repeat(auto-fit,minmax(max(min(100%,295px),calc((100% - 24px) / 3)),1fr));container-type:inline-size}
@container (min-width:602px){.fb-questions .fb-wide{grid-column:span 2}}
.fb-wide>.fb-content{container-type:inline-size}
.fb-video{display:grid;gap:14px;min-width:0}
@container (min-width:560px){.fb-video{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:22px}}
.fb-video-main,.fb-video-side{display:grid;gap:10px;align-content:start;min-width:0}
.fb-video-side h4{margin:0;font-size:12px;font-weight:700;color:var(--fb-sub)}
.fb-board .fb-ink{color:var(--fb-ink)}
.fb-days{display:grid;grid-template-columns:repeat(var(--days,7),minmax(0,1fr));gap:4px;align-items:end;height:118px;padding-top:4px}
.fb-days>div{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:3px;height:100%;min-width:0}
.fb-days b{font-size:11px;color:var(--fb-ink);min-height:14px}
.fb-days i{display:block;width:min(22px,100%);height:max(2px,calc(var(--h) * .6));background:#c9bbfb;border-radius:5px 5px 2px 2px}
.fb-days .fb-today i{background:var(--fb-brand)}
.fb-days span{font-size:10px;color:var(--fb-sub);white-space:nowrap;overflow:hidden;max-width:100%}
.fb-avatars{list-style:none;padding:0;display:grid;gap:9px}
.fb-avatars li{display:grid;grid-template-columns:16px 30px minmax(0,1fr);align-items:center;gap:8px}
.fb-avatars .face{border-radius:50%;object-fit:cover}
.fb-rank{font-size:12px;font-weight:750;color:#a58afc;text-align:center}
.fb-avatars li:first-child .fb-rank{color:var(--fb-brand)}
.fb-avatar-line{display:flex;justify-content:space-between;gap:8px;font-size:12.5px;min-width:0}
.fb-avatar-line b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fb-avatar-line span{color:var(--fb-sub);white-space:nowrap;font-size:12px}
.fb-avatars i{display:block;margin-top:4px;max-width:100%;width:var(--w);height:7px;background:#a58afc;border-radius:5px}
.fb-avatars li:first-child i{background:var(--fb-brand)}
.fb-chips{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,128px),1fr));gap:8px;margin:0}
.fb-chips>div{border:1px solid #eee9fc;background:#fff;border-radius:12px;padding:9px 11px;min-width:0}
.fb-chips dt{font-size:11.5px;color:var(--fb-sub)}
.fb-chips dd{margin:2px 0 0;display:grid;gap:1px}
.fb-chips strong{font-size:17px;font-weight:750}
.fb-chips small{font-size:11px;color:var(--fb-sub)}
.fb-chips .fb-loss strong{color:#a23030}
.fb-card,.fb-questions,.fb-tile,.fb-trend{border:1px solid var(--fb-border);background:#fff;border-radius:18px;padding:17px;min-width:0}
.fb-card,.fb-content,.fb-questions{display:grid;gap:12px;min-width:0}
.fb-card{align-content:start}
.fb-questions{gap:7px}
.fb-board h2,.fb-card h3{font-size:17px;line-height:1.35}
.fb-questions>div{margin-top:6px}
.fb-card.fb-soft{background:#fbfaff;border-color:#eee9fc}
.fb-soft h3{font-size:13px;color:var(--fb-brand)}
.fb-card>[class=fb-content]{overflow-wrap:anywhere}
.fb-card h3 button,.fb-steps button{background:none;border:0;text-align:left;cursor:pointer;padding:0}
.fb-card h3 button:hover,.fb-link:hover{text-decoration:underline}
.fb-board .fb-refresh{font-size:11px;line-height:1.3;color:#584a75;max-width:100%;text-align:left}
.fb-refresh span:first-child{display:inline-block;margin-right:2px;font-size:15px}
.fb-spinning span:first-child{animation:fb-spin 1s linear infinite}
.fb-board .fb-refresh:disabled{cursor:wait;opacity:.82}
.fb-tile{display:grid;gap:5px;align-content:start;text-align:left;cursor:pointer}
.fb-tile small,.fb-tile>span,.fb-card li small,.fb-recall small{font-size:12px;color:var(--fb-sub)}
.fb-tile>strong,.fb-hero strong{font-size:27px;line-height:1.25;font-weight:750}
.fb-tile>strong .fb-missing,.fb-hero strong .fb-missing{font-size:18px;color:var(--fb-sub)}
.fb-board .fb-hot{background:#fff7f7;border-color:#f2c9c9;color:#9e3030;animation:fb-highlight 3s infinite}
.fb-board .fb-warm{background:#fffaf2;border-color:#eed7b0;color:#80500b;animation:fb-highlight 4s infinite}
.fb-hero>span,.fb-reply small,.fb-steps small,.fb-key small,.fb-facts dt{color:var(--fb-sub);font-size:12px}
.fb-board .fb-loss{color:#a23030}
.fb-board .fb-caution{color:#80500b}
.fb-mail,.fb-key,.fb-steps{padding:0;list-style:none}
.fb-mail{position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;text-align:center;font-size:10.5px;color:var(--fb-sub)}
.fb-mail::before{content:"";position:absolute;left:10%;right:10%;top:5px;border-top:2px dashed #cfc8e0}
.fb-mail li{position:relative;min-width:0}
.fb-mail li::before{content:"";display:block;margin:0 auto 6px;border-radius:50%;width:12px;height:12px;background:var(--fb-brand)}
.fb-mail b{display:block;color:var(--fb-ink);font-size:11px}
.fb-mail .fb-hollow::before{border:2px dashed #cfc8e0;background:#fff}
.fb-kind-bars{display:grid;grid-template-columns:repeat(var(--kinds,3),minmax(0,1fr));gap:8px;text-align:center;min-height:84px}
.fb-kind-bars>div{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;font-size:12px}
.fb-kind-bars i{display:block;width:min(46px,100%);height:6px;height:max(3px,calc(var(--w) * .5));background:#a58afc;border-radius:6px 6px 2px 2px}
.fb-kind-bars>div:nth-child(2) i{background:#7dcb9b}
.fb-kind-bars>div:nth-child(3) i{background:#dfb064}
.fb-reply{display:flex;align-items:center;gap:12px;min-width:0}
.fb-reply p+p{margin-top:5px}
.fb-ring{width:104px;height:104px;flex:0 0 104px;position:relative}
.fb-ring circle{fill:none;stroke:#eee9fc;stroke-width:12px}
.fb-ring .fb-ring-fill{stroke:var(--fb-brand);stroke-linecap:round;stroke-dashoffset:var(--offset);animation:fb-ring-fill 1.2s ease-out both}
.fb-ring div{position:absolute;inset:0;display:grid;align-content:center;justify-items:center;pointer-events:none}
.fb-ring strong{font-size:17px}
.fb-compare{display:block;width:100%;height:132px}
.fb-compare text{font-size:11px;fill:var(--fb-sub)}
.fb-draw{fill:none;stroke-width:3px;stroke-linecap:round;stroke-dasharray:1;animation:fb-line 1.2s ease-out both}
.fb-key{display:grid;gap:5px}
.fb-key li{display:grid;grid-template-columns:1fr auto;gap:3px 8px;padding-left:10px;border-left:3px solid var(--tone);font-size:12px}
.fb-key small{grid-column:1/-1}
.fb-river{position:relative;height:92px;overflow:hidden;isolation:isolate}
.fb-river>svg{width:100%;height:100%;animation:fb-grow-y 1.2s ease-out both}
.fb-dot,.fb-drop{position:absolute;z-index:1;top:calc(50% - 3px);width:7px;height:7px;border-radius:50%;background:var(--fb-brand)}
.fb-dot{left:0;animation:fb-flow 8s linear infinite}
.fb-dot-next{animation-delay:-4.5s}
.fb-gold-dot{background:#c78a1d;animation-duration:18s;animation-delay:-3s}
.fb-drop{left:var(--x);background:#a58afc;animation:fb-drop 4.7s var(--delay) infinite}
.fb-drop-hot{background:#d64545}
.fb-steps{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}
.fb-steps li{border:1px solid var(--fb-border);border-radius:10px;background:#fbfaff;padding:8px;min-width:0}
.fb-steps li>*,.fb-facts{display:grid;gap:4px}
.fb-board .fb-steps button{width:100%;font-size:12px}
.fb-steps strong{font-size:16px}
.fb-lanes,.fb-recall{display:grid;gap:8px}
.fb-lanes>div,.fb-recall>div{display:grid;align-items:center;gap:4px 8px;grid-template-columns:minmax(58px,.58fr) minmax(44px,1fr) auto;
  font-size:12px;padding:6px 0;border-bottom:1px solid var(--fb-border)}
.fb-lanes>div>small,.fb-recall>div>small{grid-column:1/-1;color:var(--fb-sub)}
.fb-lanes i,.fb-recall i{display:block;max-width:100%;width:var(--w);height:8px;background:#a58afc;border-radius:5px}
.fb-recall>div>div{background:#f1edfb;border-radius:5px}
.fb-facts>div{display:flex;justify-content:space-between;gap:8px;padding:7px 0;border-bottom:1px solid var(--fb-border)}
.fb-facts dd{margin:0;text-align:right;font-size:13px;font-weight:650}
.fb-scroll{max-width:100%;overflow-x:auto}
.fb-scroll table{border-collapse:collapse;width:100%;min-width:610px;font-size:12px}
.fb-scroll td,.fb-scroll th{padding:8px 7px;border-bottom:1px solid var(--fb-border);white-space:nowrap;text-align:right}
.fb-scroll th:first-child,.fb-scroll th[scope=row]{text-align:left}
.fb-scroll th small,.fb-scroll td small{color:var(--fb-sub);font-weight:400}
.fb-empty{border:1px dashed var(--fb-border);border-radius:10px;padding:12px}
.fb-missing{color:var(--fb-sub);font-size:.88em;font-weight:500}
.fb-tag{border-radius:999px;background:#eee9fc;color:#563bb7;padding:4px 8px;font-size:11px;font-weight:650}
.fb-placeholder{display:grid;gap:8px;place-content:center;min-height:93px;padding:12px;text-align:center;color:#594983;
  border-radius:12px;background-color:#faf8fd;background-image:repeating-linear-gradient(135deg,#eee8fa 0 9px,transparent 9px 19px);
  background-size:55px 55px;animation:fb-stripes 4s linear infinite;font-size:12px}
.fb-trend summary{cursor:pointer;font-weight:700}
.fb-trend[open] summary{margin-bottom:10px}
.fb-trend #flow-growth-trend{min-width:0}
.fb-drawer{position:fixed;inset:16px 16px 16px auto;margin:0;width:min(420px,calc(100% - 32px));max-width:none;height:auto;max-height:none;
  min-width:0;min-height:0;resize:none;padding:0;color:var(--fb-ink);background:#fff;border:1px solid #e2ddef;border-radius:18px;
  box-shadow:0 24px 64px rgba(36,27,62,.18);overflow:hidden;animation:fb-slide .24s ease-out}
.fb-drawer[open]{display:flex;flex-direction:column}
.fb-drawer::backdrop{background:rgba(36,27,62,.2)}
.fb-drawer>header{flex-wrap:nowrap;padding:16px;border-bottom:1px solid var(--fb-border)}
.fb-drawer>header>div{min-width:0}
.fb-drawer h2{margin-top:5px}
.fb-drawer [data-close]{width:44px;height:44px;flex:0 0 44px;border-radius:12px;font-size:22px;padding:0}
.fb-drawer-body{min-height:0;overflow:auto;padding:16px;display:grid;gap:13px}
.fb-grow-x{transform-origin:left;animation:fb-grow-x 1.2s ease-out both}
.fb-grow-y{transform-origin:bottom;animation:fb-grow-y 1.2s ease-out both}
@keyframes fb-ring-fill{from{stroke-dashoffset:100}}
@keyframes fb-line{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes fb-grow-x{from{transform:scaleX(0)}}
@keyframes fb-grow-y{from{transform:scaleY(0)}}
@keyframes fb-spin{to{transform:rotate(1turn)}}
@keyframes fb-pulse{50%{box-shadow:0 0 0 6px #189a5425}}
@keyframes fb-highlight{50%{box-shadow:0 0 0 3px #9e303018}}
@keyframes fb-slide{from{opacity:0;transform:translateX(18px)}}
@keyframes fb-stripes{to{background-position:55px 0}}
@keyframes fb-drop{0%,15%,100%{opacity:0;transform:translateY(0)}25%{opacity:1}70%{opacity:0;transform:translateY(34px)}}
@keyframes fb-flow{0%{left:0;opacity:0}12%,73%{opacity:1}100%{left:99%;opacity:0}}
@media(max-width:680px){
  .fb-board{padding:14px 9px 26px;gap:12px}
  .fb-card,.fb-questions,.fb-tile,.fb-trend{padding:12px;border-radius:12px}
  .fb-steps{grid-template-columns:repeat(4,minmax(0,1fr))}
  .fb-time{text-align:left}
}
@media(max-width:420px){
  .fb-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fb-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fb-drawer{inset:0;width:auto;border-radius:0}
}
@media(prefers-reduced-motion:reduce){
  .fb-board *,.fb-board *::before,.fb-board *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .fb-dot,.fb-drop{display:none}
}
