/* Open seamless article — no cards, wide calm reading rhythm */
body.bt-flow--article .bt-page-main{
  width:min(1100px,calc(100% - 2 * var(--bt-shell-pad, clamp(18px,4.5vw,32px))));
  padding-top:clamp(88px,12vw,120px);
  padding-bottom:clamp(72px,10vw,120px);
  background:transparent;
}
.bt-article-page{
  --article-pad-inline:clamp(0px,1.5vw,8px);
  --article-read:min(54rem,100%);
  display:flex;
  flex-direction:column;
  width:100%;
  margin:0;
  padding-inline:var(--article-pad-inline);
}
.bt-article-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  width:100%;
  margin:0 0 clamp(28px,4vw,40px);
}
.bt-article-toolbar .bt-btn{
  gap:10px;
  min-height:46px;
  padding-inline:18px;
}
.bt-article-cover{
  width:100%;
  margin:0 0 clamp(28px,4.5vw,44px);
  border:0;
  background:transparent;
  line-height:0;
}
.bt-article-cover img{
  display:block;
  width:100%;
  aspect-ratio:2 / 1;
  max-height:min(520px,58vw);
  object-fit:cover;
  margin:0;
  cursor:zoom-in;
  border-radius:clamp(16px,2.8vw,28px);
}
.bt-article-header{
  width:min(var(--article-read),100%);
  margin:0 0 clamp(32px,5vw,48px);
}
.bt-article-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin:0 0 18px;
  color:var(--bg-button);
  font-weight:900;
  font-size:.92rem;
  letter-spacing:.01em;
}
.bt-article-header h1{
  margin:0 0 clamp(18px,2.5vw,24px);
  font-size:clamp(1.85rem,4.8vw,3rem);
  line-height:1.35;
  font-weight:900;
  letter-spacing:-.02em;
}
.bt-article-lead{
  margin:0 0 clamp(18px,2.4vw,24px);
  color:var(--text-muted);
  line-height:2.05;
  font-size:clamp(1.08rem,2.2vw,1.28rem);
  font-weight:700;
  max-width:42rem;
}
.bt-article-meta{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  font-size:.95rem;
  font-weight:800;
  color:var(--text-muted);
  line-height:1.6;
}
.bt-article-meta i{color:var(--bg-button)}
.bt-article-podcast{
  width:min(var(--article-read),100%);
  margin:0 0 clamp(36px,5vw,52px);
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
}
.bt-article-podcast .bt-article-kicker{margin-bottom:14px}
.bt-article-podcast .bt-audio{
  width:100%;
  margin:0;
  display:block;
  min-height:48px;
}
.bt-article-prose,
.bt-article-prose.bt-blog-content{
  width:min(var(--article-read),100%) !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  overflow:visible !important;
  font-size:clamp(1.08rem,1.9vw,1.22rem);
  line-height:2.2;
  color:var(--text);
  letter-spacing:.005em;
}
.bt-article-prose > *:first-child{margin-top:0 !important}
.bt-article-prose :is(h1,h2,h3,h4){
  line-height:1.45;
  margin:2em 0 .75em;
  font-weight:900;
  color:var(--text);
}
.bt-article-prose h2{
  border:0;
  border-right:3px solid var(--bg-button);
  padding-right:14px;
  font-size:clamp(1.3rem,2.6vw,1.55rem);
}
.bt-article-prose h3{
  font-size:clamp(1.15rem,2.2vw,1.3rem);
}
.bt-article-prose p{
  margin:0 0 1.45em;
  max-width:none;
}
.bt-article-prose ul,
.bt-article-prose ol{
  padding-right:1.5rem;
  margin:0 0 1.45em;
  max-width:none;
}
.bt-article-prose li{
  margin-bottom:.55em;
  padding-inline-start:.15em;
}
.bt-article-prose li + li{margin-top:.15em}
.bt-article-prose a{
  color:var(--bg-button);
  text-decoration:underline;
  text-underline-offset:4px;
  text-decoration-thickness:1.5px;
}
.bt-article-prose img{
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  margin:clamp(2rem,4vw,3rem) 0;
  border:0;
  border-radius:clamp(14px,2vw,22px);
  box-shadow:none;
}
.bt-article-prose blockquote{
  margin:1.8em 0;
  padding:0;
  padding-right:18px;
  border:0;
  border-right:3px solid var(--bg-button);
  background:transparent;
  border-radius:0;
  color:var(--text-muted);
  font-weight:700;
  font-size:1.05em;
  line-height:2.05;
}
.bt-article-prose hr{
  border:0;
  border-top:1px solid color-mix(in srgb,var(--border) 65%,transparent);
  margin:2.4em 0;
}
.bt-article-prose table{
  width:100%;
  margin:1.6em 0 2em;
  border-collapse:collapse;
  display:block;
  overflow-x:auto;
}
.bt-article-prose th,
.bt-article-prose td{
  padding:12px 14px;
  border-bottom:1px solid color-mix(in srgb,var(--border) 75%,transparent);
  text-align:start;
}
.bt-article-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  width:min(var(--article-read),100%);
  margin-top:clamp(40px,6vw,64px);
  padding-top:clamp(24px,3.5vw,32px);
  border-top:1px solid color-mix(in srgb,var(--border) 65%,transparent);
}
.bt-article-footer .bt-btn{
  gap:10px;
  min-height:48px;
  padding-inline:20px;
}
.bt-consult-float{
  position:fixed;z-index:1400;left:50%;bottom:max(18px,env(safe-area-inset-bottom));
  width:min(92vw,560px);min-height:72px;transform:translate(-50%,18px);
  display:flex;align-items:center;gap:12px;padding:10px 12px 10px 10px;
  border:1px solid color-mix(in srgb,var(--border) 85%,transparent);border-radius:18px;
  background:color-mix(in srgb,var(--bg-card) 94%,transparent);
  box-shadow:0 18px 48px color-mix(in srgb,var(--bg-button) 14%,rgba(0,0,0,.18));
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
  opacity:0;pointer-events:none;overflow:hidden;
  transition:opacity .35s ease,transform .35s ease;
}
.bt-consult-float.is-visible{opacity:1;pointer-events:auto;transform:translate(-50%,0)}
.bt-consult-float.is-leaving{opacity:0;transform:translate(-50%,14px);pointer-events:none}
.bt-consult-float__progress{position:absolute;inset:0 0 auto;height:3px;background:color-mix(in srgb,var(--border) 70%,transparent)}
.bt-consult-float__progress > span{display:block;height:100%;width:100%;transform-origin:right center;background:var(--bt-grad);transform:scaleX(1)}
.bt-consult-float.is-visible .bt-consult-float__progress > span{animation:bt-consult-progress 5s linear forwards}
.bt-consult-float__avatar{
  flex:0 0 48px;width:48px;height:48px;border-radius:999px;overflow:hidden;
  border:2px solid color-mix(in srgb,var(--bg-button) 35%,var(--border));background:var(--bg-soft);
}
.bt-consult-float__avatar img{width:100%;height:100%;object-fit:cover;display:block}
.bt-consult-float__copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}
.bt-consult-float__title{margin:0;font-size:.9rem;font-weight:900;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bt-consult-float__text{margin:0;font-size:.78rem;line-height:1.4;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bt-consult-float__action{
  flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:6px;
  min-height:40px;padding:0 14px;border-radius:999px;border:0;text-decoration:none;
  background:var(--bt-grad);color:var(--text-on-button);font:inherit;font-size:.82rem;font-weight:900;white-space:nowrap;
}
.bt-consult-float__close{
  position:absolute;top:6px;left:8px;width:24px;height:24px;border:0;border-radius:999px;
  background:transparent;color:var(--text-muted);cursor:pointer;display:grid;place-items:center;font-size:.72rem;padding:0;
}
@keyframes bt-consult-progress{to{transform:scaleX(0)}}
@media (max-width:720px){
  body.bt-flow--article .bt-page-main{
    width:min(100%,calc(100% - 2 * var(--bt-shell-pad, 16px)));
    padding-bottom:clamp(64px,12vw,96px);
  }
  .bt-article-cover img{aspect-ratio:4/3;max-height:none;border-radius:16px}
  .bt-article-footer .bt-btn{width:100%;justify-content:center}
  .bt-consult-float{gap:8px;padding:8px}
  .bt-consult-float__avatar{flex-basis:42px;width:42px;height:42px}
  .bt-consult-float__action span{display:none}
}
@media (prefers-reduced-motion:reduce){
  .bt-consult-float,.bt-consult-float__progress > span{transition:none;animation:none}
}
