.btl-preview-shell { width: 100%; min-width: 0; background: #fff; color: var(--btl-ink); border-radius: 10px; box-shadow: 0 0 0 1px #2025340a, 0 12px 40px -24px #20253430; text-align: left; }
.btl-preview-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; padding: 18px 24px; border-bottom: 1px solid #eceef2; }
.btl-preview-roles { display: flex; gap: 4px; padding: 4px; background: #f0f2f7; border-radius: 9px; }
.btl-preview-roles button { min-width: 82px; min-height: 40px; padding: 8px 20px; border: 0; border-radius: 5px; background: transparent; color: #596276; font-size: 14px; font-weight: 600; transition: background-color 150ms, color 150ms, box-shadow 150ms, transform 150ms; }
.btl-preview-roles button[aria-pressed="true"] { background: white; color: var(--btl-blue); box-shadow: 0 1px 4px #20253412; }
.btl-preview-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.btl-preview-actions > button, .btl-preview-actions > a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 9px 12px; border: 0; border-radius: 6px; background: transparent; color: #536078; font-size: 12px; font-weight: 550; white-space: nowrap; transition: background-color 150ms, color 150ms, transform 150ms; }
.btl-preview-actions > a { padding-right: 10px; background: #eef1ff; color: var(--btl-blue); }
.btl-preview-actions svg { flex: 0 0 auto; }
.btl-preview-roles button:active, .btl-preview-actions > button:active, .btl-preview-actions > a:active { transform: scale(.96); }
.btl-preview-guidance { padding: 18px 26px 19px; background: #fafbfe; }
.btl-preview-guide-label { display: block; margin-bottom: 7px; color: #68758d; font-size: 11px; font-weight: 550; }
.btl-preview-guidance ol { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 10px; margin: 0; padding: 0; list-style: none; }
.btl-preview-guidance li { display: flex; align-items: center; gap: 10px; color: #384461; font-size: 13px; font-weight: 600; }
.btl-preview-path-arrow { color: #8490a6; font-weight: 400; }
.btl-preview-guidance p { margin-top: 8px; color: #697386; font-size: 12px; line-height: 1.7; }
.btl-preview-app { display: block; width: 100%; height: 760px; border: 0; border-block: 1px solid #e6e9f0; background: #f8fafc; }
.btl-preview-app:focus-visible { outline: 3px solid #7585ff; outline-offset: -3px; }
.btl-preview-caption { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 18px 26px; }
.btl-preview-caption > p { max-width: 660px; color: #697386; font-size: 12px; line-height: 1.75; text-wrap: pretty; }
.btl-preview-caption > a { display: flex; align-items: center; gap: 12px; min-height: 44px; flex-shrink: 0; color: var(--btl-blue); font-size: 13px; font-weight: 600; }
.btl-preview-caption > a span { font-size: 19px; font-weight: 400; }
@media (hover: hover) {
  .btl-preview-roles button:hover { color: var(--btl-blue); }
  .btl-preview-actions > button:hover { background: #f0f2f7; color: #34405c; }
  .btl-preview-actions > a:hover { background: #e4e9ff; }
  .btl-preview-caption > a:hover { text-decoration: underline; text-underline-offset: 4px; }
}
@media (max-width: 760px) {
  .btl-preview-toolbar { align-items: stretch; flex-direction: column; gap: 10px; padding: 14px; }
  .btl-preview-roles { width: 100%; }
  .btl-preview-roles button { flex: 1; min-width: 0; padding-inline: 12px; font-size: 13px; }
  .btl-preview-actions { justify-content: flex-end; }
  .btl-preview-actions > button, .btl-preview-actions > a { font-size: 12px; }
  .btl-preview-guidance { padding: 15px 17px 17px; }
  .btl-preview-guidance ol { gap: 6px 8px; }
  .btl-preview-guidance li { gap: 8px; font-size: 12px; }
  .btl-preview-guidance p { font-size: 11px; }
  .btl-preview-app { height: 700px; }
  .btl-preview-caption { display: block; padding: 16px 19px; }
  .btl-preview-caption > p { font-size: 11px; }
  .btl-preview-caption > a { width: fit-content; margin-top: 6px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .btl-preview-shell *, .btl-preview-shell *::before, .btl-preview-shell *::after { transition: none !important; } }
