
  #bf-saju-preview {
    --bf-bg: #ffffff;
    --bf-fg: #202222;
    --bf-muted: #626666;
    --bf-soft: #f5f6f5;
    --bf-line: #d6d9d7;
    --bf-action: #232625;
    --bf-action-text: #ffffff;
    --bf-chart: #656f69;
    --bf-gap: 44px;
    color-scheme: light;
    color: var(--bf-fg);
    background: var(--bf-bg);
    font: 400 16px/1.75 -apple-system, BlinkMacSystemFont, "Segoe UI", "Malgun Gothic", sans-serif;
    text-align: left;
    overflow-wrap: anywhere;
    width: 100%;
  }
  #bf-saju-preview *, #bf-saju-preview *::before, #bf-saju-preview *::after { box-sizing: border-box; }
  #bf-saju-preview [hidden] { display: none !important; }
  #bf-saju-preview h1, #bf-saju-preview h2, #bf-saju-preview h3, #bf-saju-preview p { margin: 0; }
  #bf-saju-preview button, #bf-saju-preview input, #bf-saju-preview select, #bf-saju-preview textarea { font: inherit; }
  #bf-saju-preview button, #bf-saju-preview input, #bf-saju-preview select, #bf-saju-preview textarea { border-radius: 0; }
  #bf-saju-preview button { color: inherit; }
  #bf-saju-preview a { color: inherit; text-underline-offset: 4px; }
  #bf-saju-preview :focus-visible { outline: 2px solid #3d6551; outline-offset: 4px; }
  #bf-saju-preview ::selection { background: #dae5de; color: #18231c; }
  #bf-saju-preview input, #bf-saju-preview textarea { caret-color: #294d38; }
  #bf-saju-preview .bf-wrap { width: min(100%, 1056px); margin-inline: auto; padding-inline: 48px; }
  #bf-saju-preview .bf-preview-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #ecefed; padding: 12px 24px; font-size: 12px; }
  #bf-saju-preview .bf-preview-label { display: flex; gap: 12px; flex-wrap: wrap; color: #535b56; }
  #bf-saju-preview .bf-preview-label strong { color: #303b34; font-weight: 600; }
  #bf-saju-preview .bf-preview-switch { display: flex; gap: 4px; }
  #bf-saju-preview .bf-preview-switch button { padding: 6px 12px; border: 1px solid transparent; background: transparent; min-height: 34px; }
  #bf-saju-preview .bf-preview-switch button[aria-pressed="true"] { background: #ffffff; border-color: #cbd1cd; }
  #bf-saju-preview .bf-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 29px; }
  #bf-saju-preview .bf-logo { text-decoration: none; font-size: 21px; font-weight: 700; letter-spacing: -.025em; }
  #bf-saju-preview .bf-header-link { font-size: 13px; color: #505653; }
  #bf-saju-preview .bf-main { padding-top: 26px; padding-bottom: 64px; }
  #bf-saju-preview .bf-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
  #bf-saju-preview h1 { font-size: 30px; line-height: 1.35; letter-spacing: -.035em; font-weight: 600; }
  #bf-saju-preview h2 { font-size: 21px; line-height: 1.5; letter-spacing: -.025em; font-weight: 600; }
  #bf-saju-preview h3 { font-size: 17px; line-height: 1.6; font-weight: 600; }
  #bf-saju-preview .bf-lead { color: var(--bf-muted); margin-top: 10px; font-size: 15px; }
  #bf-saju-preview .bf-small { font-size: 12px; line-height: 1.75; color: var(--bf-muted); }
  #bf-saju-preview .bf-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--bf-line); padding: 9px 15px; background: var(--bf-bg); white-space: nowrap; font-size: 13px; min-height: 42px; text-decoration: none; }
  #bf-saju-preview .bf-button-primary { background: var(--bf-action); color: var(--bf-action-text); border-color: var(--bf-action); }
  #bf-saju-preview .bf-button:disabled { opacity: .55; cursor: wait; }
  #bf-saju-preview .bf-birthline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 18px; color: var(--bf-muted); font-size: 12px; }
  #bf-saju-preview .bf-demo-note { color: #56635a; }
  #bf-saju-preview .bf-jump { display: flex; gap: 8px 24px; flex-wrap: wrap; padding-block: 23px 25px; }
  #bf-saju-preview .bf-jump a { font-size: 13px; text-decoration: none; color: #535b56; }
  #bf-saju-preview .bf-overview { display: grid; grid-template-columns: 1.15fr 1fr; gap: 42px; padding: 30px; background: var(--bf-soft); }
  #bf-saju-preview .bf-summary h2 { font-size: 23px; font-weight: 500; line-height: 1.65; letter-spacing: -.03em; text-wrap: balance; }
  #bf-saju-preview .bf-summary p { margin-top: 15px; font-size: 14px; color: #565e58; }
  #bf-saju-preview .bf-keywords { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 19px; font-size: 12px; color: #434e46; font-weight: 500; }
  #bf-saju-preview .bf-chart-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
  #bf-saju-preview .bf-chart-heading h2 { font-size: 15px; }
  #bf-saju-preview .bf-element-row { display: grid; grid-template-columns: 38px 1fr 29px; align-items: center; gap: 10px; margin-top: 9px; font-size: 12px; }
  #bf-saju-preview .bf-element-name { color: #505a53; }
  #bf-saju-preview .bf-track { height: 8px; background: #e3e7e3; }
  #bf-saju-preview .bf-fill { height: 100%; background: var(--bf-chart); }
  #bf-saju-preview .bf-element-count { text-align: right; font-variant-numeric: tabular-nums; color: #4c554f; }
  #bf-saju-preview .bf-chart-note { font-size: 12px; color: #626a64; margin-top: 12px; line-height: 1.7; }
  #bf-saju-preview .bf-section { margin-top: var(--bf-gap); scroll-margin-top: 24px; }
  #bf-saju-preview .bf-section-title { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 19px; }
  #bf-saju-preview .bf-foundation { display: grid; grid-template-columns: 1fr 1.15fr; gap: 42px; align-items: center; }
  #bf-saju-preview .bf-pillar-table { width: 100%; table-layout: fixed; border-collapse: collapse; text-align: center; }
  #bf-saju-preview .bf-pillar-table th { font-size: 12px; font-weight: 400; color: var(--bf-muted); padding: 7px 4px; }
  #bf-saju-preview .bf-pillar-table td { padding: 8px 4px; background: #f5f6f5; border: 4px solid #ffffff; vertical-align: middle; }
  #bf-saju-preview .bf-pillar-table td.bf-day { background: #e8ede9; }
  #bf-saju-preview .bf-hanja { display: block; font-size: 25px; line-height: 1.5; font-weight: 500; }
  #bf-saju-preview .bf-hangul { display: block; color: #536157; font-size: 12px; }
  #bf-saju-preview .bf-pillar-explain { font-size: 14px; color: var(--bf-muted); }
  #bf-saju-preview .bf-pillar-explain strong { display: block; color: var(--bf-fg); font-weight: 500; margin-bottom: 8px; font-size: 16px; }
  #bf-saju-preview .bf-pillar-explain p { margin-bottom: 10px; }
  #bf-saju-preview .bf-period-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
  #bf-saju-preview .bf-tabs { display: flex; flex-wrap: wrap; gap: 5px; }
  #bf-saju-preview .bf-tab { background: transparent; border: 1px solid var(--bf-line); padding: 7px 15px; font-size: 12px; min-height: 38px; }
  #bf-saju-preview .bf-tab[aria-selected="true"], #bf-saju-preview .bf-choice[aria-pressed="true"] { background: var(--bf-action); color: #ffffff; border-color: var(--bf-action); }
  #bf-saju-preview .bf-period-body { background: var(--bf-soft); padding: 25px 28px; }
  #bf-saju-preview .bf-period-body h3 { font-size: 18px; font-weight: 500; margin-bottom: 8px; }
  #bf-saju-preview .bf-period-body > p { font-size: 14px; color: var(--bf-muted); max-width: 68ch; }
  #bf-saju-preview .bf-do-dont { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 22px; }
  #bf-saju-preview .bf-do-dont dt { font-size: 12px; font-weight: 600; color: #4c5c51; margin-bottom: 5px; }
  #bf-saju-preview .bf-do-dont dd { margin: 0; font-size: 13px; color: #4c544f; }
  #bf-saju-preview .bf-period-date { margin-top: 14px; font-size: 12px; color: var(--bf-muted); }
  #bf-saju-preview .bf-category-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 21px; }
  #bf-saju-preview .bf-category-body { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; }
  #bf-saju-preview .bf-category-body h3 { font-size: 20px; line-height: 1.6; font-weight: 500; margin-bottom: 9px; }
  #bf-saju-preview .bf-category-body p { font-size: 14px; color: var(--bf-muted); }
  #bf-saju-preview .bf-practice { background: var(--bf-soft); padding: 21px 24px; }
  #bf-saju-preview .bf-practice h3 { font-size: 13px; font-weight: 600; margin-bottom: 12px; }
  #bf-saju-preview .bf-practice label { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; padding: 5px 0; color: #4d5550; }
  #bf-saju-preview input[type="checkbox"], #bf-saju-preview input[type="radio"] { accent-color: #35493c; width: 16px; height: 16px; flex: 0 0 16px; margin: 4px 0 0; }
  #bf-saju-preview .bf-details { margin-top: 12px; border: 1px solid var(--bf-line); padding: 14px 18px; font-size: 13px; }
  #bf-saju-preview .bf-details summary { font-weight: 500; }
  #bf-saju-preview .bf-details p { margin-top: 12px; color: var(--bf-muted); font-size: 12px; }
  #bf-saju-preview .bf-footer { padding-block: 24px 30px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; font-size: 12px; color: var(--bf-muted); }
  #bf-saju-preview .bf-input-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 58px; margin-top: 34px; }
  #bf-saju-preview .bf-field { margin-bottom: 25px; }
  #bf-saju-preview .bf-field-label { display: block; font-weight: 500; font-size: 14px; margin-bottom: 9px; }
  #bf-saju-preview .bf-optional { font-weight: 400; color: var(--bf-muted); font-size: 12px; margin-left: 6px; }
  #bf-saju-preview .bf-calendar-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 10px; }
  #bf-saju-preview .bf-radio-label, #bf-saju-preview .bf-check-label { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; }
  #bf-saju-preview .bf-date-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 9px; }
  #bf-saju-preview .bf-control { display: block; width: 100%; min-width: 0; border: 1px solid #bfc5c1; background: #ffffff; color: var(--bf-fg); padding: 10px 12px; min-height: 46px; font-size: 16px; }
  #bf-saju-preview .bf-control:disabled { background: #ecefed; color: #6c756e; }
  #bf-saju-preview .bf-control-label { font-size: 12px; color: var(--bf-muted); display: block; margin-bottom: 4px; }
  #bf-saju-preview .bf-time-row { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
  #bf-saju-preview .bf-time-row input[type="time"] { width: 170px; }
  #bf-saju-preview .bf-choice-group { display: flex; gap: 8px; flex-wrap: wrap; }
  #bf-saju-preview .bf-choice { background: #ffffff; border: 1px solid var(--bf-line); padding: 7px 13px; min-height: 40px; font-size: 13px; }
  #bf-saju-preview textarea { resize: vertical; min-height: 104px; }
  #bf-saju-preview .bf-field-help { font-size: 12px; color: var(--bf-muted); margin-top: 7px; }
  #bf-saju-preview .bf-count { text-align: right; }
  #bf-saju-preview .bf-form-submit { width: 100%; font-size: 15px; min-height: 50px; margin-top: 18px; }
  #bf-saju-preview .bf-input-guide { background: var(--bf-soft); padding: 25px; align-self: start; }
  #bf-saju-preview .bf-input-guide h2 { font-size: 17px; margin-bottom: 20px; }
  #bf-saju-preview .bf-guide-item { margin-top: 21px; }
  #bf-saju-preview .bf-guide-item h3 { font-size: 14px; font-weight: 500; margin-bottom: 5px; }
  #bf-saju-preview .bf-guide-item p { font-size: 12px; color: var(--bf-muted); }
  #bf-saju-preview .bf-text-button { border: 0; padding: 0; background: transparent; text-decoration: underline; text-underline-offset: 4px; font-size: 12px; color: #4d5b52; }
  #bf-saju-preview .bf-error { color: #8b3232; font-size: 12px; margin-top: 14px; }
  #bf-saju-preview .bf-form-note { font-size: 12px; color: #59665d; margin-top: 12px; }
  #bf-saju-preview .bf-live { font-size: 12px; margin-top: 9px; color: var(--bf-muted); min-height: 21px; }
  @media (max-width: 720px) {
    #bf-saju-preview .bf-wrap { padding-inline: 26px; }
    #bf-saju-preview .bf-overview, #bf-saju-preview .bf-foundation, #bf-saju-preview .bf-category-body { gap: 26px; }
    #bf-saju-preview .bf-overview { padding: 24px; grid-template-columns: 1fr 1fr; }
    #bf-saju-preview .bf-input-layout { gap: 28px; grid-template-columns: 1.6fr 1fr; }
    #bf-saju-preview .bf-input-guide { padding: 20px; }
    #bf-saju-preview .bf-summary h2 { font-size: 21px; }
  }
  @media (max-width: 560px) {
    #bf-saju-preview .bf-preview-bar { padding: 12px 18px; gap: 10px; }
    #bf-saju-preview .bf-preview-label { font-size: 12px; gap: 8px; }
    #bf-saju-preview .bf-preview-switch button { min-height: 38px; }
    #bf-saju-preview .bf-wrap { padding-inline: 20px; }
    #bf-saju-preview .bf-header { padding-block: 22px; }
    #bf-saju-preview .bf-main { padding-top: 18px; padding-bottom: 40px; }
    #bf-saju-preview h1 { font-size: 27px; }
    #bf-saju-preview .bf-heading { align-items: flex-start; flex-wrap: wrap; gap: 14px; }
    #bf-saju-preview .bf-heading > .bf-button { padding: 6px 12px; min-height: 38px; }
    #bf-saju-preview .bf-birthline { gap: 5px 10px; margin-top: 14px; }
    #bf-saju-preview .bf-jump { gap: 8px 19px; padding-block: 18px 23px; }
    #bf-saju-preview .bf-jump a { font-size: 12px; min-height: 30px; display: inline-flex; align-items: center; }
    #bf-saju-preview .bf-overview, #bf-saju-preview .bf-foundation, #bf-saju-preview .bf-category-body, #bf-saju-preview .bf-input-layout { grid-template-columns: 1fr; }
    #bf-saju-preview .bf-overview { padding: 24px 22px; gap: 28px; }
    #bf-saju-preview .bf-summary h2 { font-size: 22px; }
    #bf-saju-preview .bf-do-dont { grid-template-columns: 1fr; gap: 16px; }
    #bf-saju-preview .bf-period-body { padding: 22px; }
    #bf-saju-preview .bf-tab { padding: 8px 12px; min-height: 42px; }
    #bf-saju-preview .bf-input-layout { margin-top: 28px; }
    #bf-saju-preview .bf-input-guide { margin-top: 8px; }
    #bf-saju-preview .bf-time-row { gap: 12px; }
    #bf-saju-preview .bf-time-row input[type="time"] { width: 150px; }
    #bf-saju-preview .bf-date-row { gap: 6px; }
    #bf-saju-preview .bf-control { padding-inline: 9px; }
    #bf-saju-preview .bf-footer { padding-block: 20px; }
  }
  #bf-saju-preview {
    --bf-bg: #faf8f1;
    --bf-fg: #273029;
    --bf-muted: #62665c;
    --bf-soft: #efeee5;
    --bf-line: #cccfc3;
    --bf-action: #344a3b;
    --bf-action-text: #ffffff;
    --bf-chart: #687a62;
    --bf-gap: 52px;
    background: var(--bf-bg);
    color: var(--bf-fg);
  }
  #bf-saju-preview .bf-wrap { max-width: 1136px; }
  #bf-saju-preview .bf-preview-bar { background: #e8eadd; color: #3f493b; }
  #bf-saju-preview .bf-preview-label, #bf-saju-preview .bf-preview-label strong { color: #434d3e; }
  #bf-saju-preview .bf-preview-switch button[aria-pressed="true"] { background: #faf8f1; border-color: #c3c9b8; }
  #bf-saju-preview .bf-header { padding-block: 28px 22px; }
  #bf-saju-preview .bf-logo { color: #34443a; font-size: 20px; font-weight: 500; }
  #bf-saju-preview h1, #bf-saju-preview h2, #bf-saju-preview .bf-summary h2, #bf-saju-preview .bf-category-body h3, #bf-saju-preview .bf-period-body h3 { font-family: "Batang", "Noto Serif KR", Georgia, serif; font-weight: 500; }
  #bf-saju-preview h1 { font-size: 32px; letter-spacing: -.035em; }
  #bf-saju-preview h2 { font-size: 23px; }
  #bf-saju-preview .bf-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
  #bf-saju-preview .bf-hero-copy { padding-block: 24px; }
  #bf-saju-preview .bf-hero .bf-lead { font-size: 15px; line-height: 1.9; max-width: none; word-break: keep-all; margin-top: 17px; }
  #bf-saju-preview .bf-editorial { display: block; width: 100%; height: auto; aspect-ratio: 1.7; object-fit: cover; object-position: center; }
  #bf-saju-preview .bf-hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
  #bf-saju-preview .bf-button { background: #faf8f1; border-color: #bcc4b8; color: #364339; padding: 10px 16px; }
  #bf-saju-preview .bf-button-primary { background: #344a3b; color: #ffffff; border-color: #344a3b; }
  #bf-saju-preview .bf-birthline { margin-top: 20px; padding-block: 0; }
  #bf-saju-preview .bf-demo-note { color: #6a5d48; }
  #bf-saju-preview .bf-jump { padding-block: 24px 30px; gap: 10px 26px; }
  #bf-saju-preview .bf-jump a { color: #4d594a; }
  #bf-saju-preview .bf-overview { background: transparent; padding: 22px 0 0; gap: 60px; }
  #bf-saju-preview .bf-summary h2 { font-size: 25px; line-height: 1.7; }
  #bf-saju-preview .bf-summary p { color: #62665c; line-height: 1.95; }
  #bf-saju-preview .bf-keywords { color: #586550; gap: 6px 20px; }
  #bf-saju-preview .bf-chart { padding: 24px 26px; background: #efeee5; }
  #bf-saju-preview .bf-chart-heading h2 { font-family: inherit; color: #384635; font-size: 15px; }
  #bf-saju-preview .bf-track { background: #dbdfd2; }
  #bf-saju-preview .bf-fill { background: #687a62; }
  #bf-saju-preview .bf-element-name, #bf-saju-preview .bf-element-count { color: #4d5949; }
  #bf-saju-preview .bf-chart-note { color: #62665c; }
  #bf-saju-preview .bf-pillar-table th { color: #55604f; font-size: 13px; }
  #bf-saju-preview .bf-pillar-table td { background: #efeee4; border: 5px solid #faf8f1; color: #27372b; }
  #bf-saju-preview .bf-pillar-table td.bf-day { background: #e1e8d9; color: #27372b; }
  #bf-saju-preview .bf-pillar-table .bf-hanja { color: #27372b !important; -webkit-text-fill-color: #27372b !important; opacity: 1 !important; text-shadow: none !important; font: 500 30px/1.55 "Batang", Georgia, serif; }
  #bf-saju-preview .bf-pillar-table .bf-hangul { color: #4d5d48 !important; -webkit-text-fill-color: #4d5d48 !important; font-size: 12px; }
  #bf-saju-preview .bf-pillar-explain { line-height: 1.95; }
  #bf-saju-preview .bf-tab { background: transparent; color: #4b5847; border-color: #c7cdbd; }
  #bf-saju-preview .bf-tab[aria-selected="true"], #bf-saju-preview .bf-choice[aria-pressed="true"] { background: #344a3b; color: #ffffff; border-color: #344a3b; }
  #bf-saju-preview .bf-period-body { background: #efeee5; padding: 26px 30px; }
  #bf-saju-preview .bf-period-body h3 { font-size: 21px; }
  #bf-saju-preview .bf-period-body > p { line-height: 1.95; }
  #bf-saju-preview .bf-category-body { gap: 58px; }
  #bf-saju-preview .bf-category-body h3 { font-size: 23px; }
  #bf-saju-preview .bf-category-body p { line-height: 1.95; }
  #bf-saju-preview .bf-practice { padding: 3px 0; background: transparent; }
  #bf-saju-preview .bf-practice h3 { font-family: inherit; font-size: 14px; }
  #bf-saju-preview .bf-practice label { padding-block: 7px; color: #4b5647; }
  #bf-saju-preview .bf-control { background: #fffef9; border: 1px solid #bdc5b6; color: #273029; min-height: 48px; }
  #bf-saju-preview .bf-control::placeholder { color: #717567; opacity: 1; }
  #bf-saju-preview .bf-control:disabled { background: #e8eade; color: #656b5b; }
  #bf-saju-preview .bf-choice { background: #faf8f1; border-color: #c7cdbd; color: #4b5847; }
  #bf-saju-preview .bf-input-layout { grid-template-columns: 1.35fr 1fr; gap: 64px; }
  #bf-saju-preview .bf-input-guide { background: transparent; padding: 0; }
  #bf-saju-preview .bf-input-guide .bf-editorial { aspect-ratio: 1.2; object-position: 70% center; }
  #bf-saju-preview .bf-input-guide h2 { margin-top: 24px; font-size: 22px; }
  #bf-saju-preview .bf-input-guide > p { font-size: 14px; color: #62665c; line-height: 1.95; margin-top: 12px; }
  #bf-saju-preview .bf-input-guide .bf-text-button { margin-top: 22px; }
  #bf-saju-preview .bf-field { margin-bottom: 28px; }
  #bf-saju-preview .bf-field-label { font-size: 15px; margin-bottom: 12px; }
  #bf-saju-preview .bf-form-submit { margin-top: 18px; }
  #bf-saju-preview .bf-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; margin-top: 48px; }
  #bf-saju-preview .bf-notes h2 { font-family: inherit; font-size: 13px; font-weight: 500; margin-bottom: 10px; }
  #bf-saju-preview .bf-notes p { font-size: 12px; line-height: 1.9; color: #64695e; }
  #bf-saju-preview .bf-footer { color: #64695e; }
  #bf-saju-preview .bf-pdf-feedback { color: #5a654e; font-size: 12px; margin-top: 12px; }
  #bf-saju-preview .bf-compare { background: #eeeee3; padding: 32px; margin-top: 58px; scroll-margin-top: 24px; }
  #bf-saju-preview .bf-compare h2 { font-size: 26px; }
  #bf-saju-preview .bf-compare-intro { max-width: 62ch; margin-top: 12px; font-size: 14px; color: #5d6657; line-height: 1.95; }
  #bf-saju-preview .bf-other-form { margin-top: 26px; }
  #bf-saju-preview .bf-other-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
  #bf-saju-preview .bf-other-form .bf-field { margin-bottom: 22px; }
  #bf-saju-preview .bf-other-form .bf-field-label { font-size: 13px; margin-bottom: 8px; }
  #bf-saju-preview .bf-other-form .bf-calendar-row { gap: 12px; }
  #bf-saju-preview .bf-other-action { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
  #bf-saju-preview .bf-other-action .bf-small { max-width: 38ch; }
  #bf-saju-preview .bf-pair-result { margin-top: 38px; }
  #bf-saju-preview .bf-pair-result > h3 { font: 500 23px/1.65 "Batang", Georgia, serif; margin-bottom: 12px; }
  #bf-saju-preview .bf-pair-description { font-size: 14px; line-height: 1.95; color: #56614f; }
  #bf-saju-preview .bf-pair-chart { margin-top: 25px; }
  #bf-saju-preview .bf-pair-chart-head, #bf-saju-preview .bf-pair-row { display: grid; grid-template-columns: 38px 1fr 1fr; gap: 18px; align-items: center; }
  #bf-saju-preview .bf-pair-chart-head { font-size: 13px; color: #53604d; margin-bottom: 12px; }
  #bf-saju-preview .bf-pair-row { margin-top: 13px; font-size: 13px; color: #3f503c; }
  #bf-saju-preview .bf-pair-mark { display: grid; grid-template-columns: 1fr 18px; gap: 10px; align-items: center; font-variant-numeric: tabular-nums; }
  #bf-saju-preview .bf-pair-track { background: #dce1d2; height: 9px; }
  #bf-saju-preview .bf-pair-fill { height: 100%; background: #5e7658; }
  #bf-saju-preview .bf-pair-fill-other { background: #947254; }
  #bf-saju-preview .bf-pair-insight { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 29px; }
  #bf-saju-preview .bf-pair-insight h4 { font-size: 14px; font-weight: 500; margin: 0 0 8px; color: #3b4e36; }
  #bf-saju-preview .bf-pair-insight p, #bf-saju-preview .bf-pair-period p { font-size: 14px; line-height: 1.95; color: #56614f; }
  #bf-saju-preview .bf-pair-period { margin-top: 28px; }
  #bf-saju-preview .bf-pair-period .bf-tabs { margin-bottom: 14px; }
  #bf-saju-preview .bf-pair-foot { margin-top: 20px; display: flex; gap: 12px 20px; justify-content: space-between; flex-wrap: wrap; align-items: center; }
  @media (max-width: 760px) {
    #bf-saju-preview .bf-hero { gap: 24px; }
    #bf-saju-preview .bf-overview { gap: 30px; }
    #bf-saju-preview .bf-input-layout { gap: 30px; }
    #bf-saju-preview .bf-hero-copy { padding-block: 12px; }
    #bf-saju-preview .bf-hero .bf-lead { font-size: 14px; }
    #bf-saju-preview .bf-compare { padding: 26px; }
  }
  @media (max-width: 560px) {
    #bf-saju-preview .bf-hero { grid-template-columns: 1fr; gap: 14px; }
    #bf-saju-preview .bf-hero-copy { padding-block: 6px; }
    #bf-saju-preview h1 { font-size: 30px; }
    #bf-saju-preview .bf-hero .bf-lead { max-width: none; }
    #bf-saju-preview .bf-editorial { aspect-ratio: 2.2; }
    #bf-saju-preview .bf-hero-actions { margin-top: 19px; }
    #bf-saju-preview .bf-overview { padding-top: 10px; gap: 26px; }
    #bf-saju-preview .bf-summary h2 { font-size: 24px; }
    #bf-saju-preview .bf-chart { padding: 22px; }
    #bf-saju-preview .bf-foundation { gap: 20px; }
    #bf-saju-preview .bf-section-title { margin-bottom: 17px; }
    #bf-saju-preview .bf-category-body { gap: 26px; }
    #bf-saju-preview .bf-input-layout, #bf-saju-preview .bf-other-grid, #bf-saju-preview .bf-notes, #bf-saju-preview .bf-pair-insight { grid-template-columns: 1fr; }
    #bf-saju-preview .bf-input-guide .bf-editorial { aspect-ratio: 1.8; }
    #bf-saju-preview .bf-compare { padding: 23px 18px; margin-top: 45px; }
    #bf-saju-preview .bf-compare h2 { font-size: 24px; }
    #bf-saju-preview .bf-compare .bf-time-row input[type="time"] { width: 130px; }
    #bf-saju-preview .bf-pair-chart-head, #bf-saju-preview .bf-pair-row { gap: 10px; grid-template-columns: 32px 1fr 1fr; }
    #bf-saju-preview .bf-pair-mark { gap: 5px; grid-template-columns: 1fr 14px; }
    #bf-saju-preview .bf-notes { gap: 22px; }
  }
  @media (max-width: 360px) {
    #bf-saju-preview .bf-date-row { grid-template-columns: 1fr 1fr; }
    #bf-saju-preview .bf-date-row > label:first-child { grid-column: 1 / -1; }
  }
  #bf-saju-preview .bf-conversation { margin-bottom: 58px; scroll-margin-top: 22px; }
  #bf-saju-preview .bf-conversation > h1 { margin-bottom: 12px; }
  #bf-saju-preview .bf-conversation-lead { color: #5c6657; font-size: 14px; line-height: 1.9; margin-bottom: 22px; }
  #bf-saju-preview .bf-chat-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 42px; align-items: start; }
  #bf-saju-preview .bf-guide-figure { margin: 0; }
  #bf-saju-preview .bf-guide-figure img { display: block; width: 100%; height: auto; aspect-ratio: 3/4; object-fit: contain; }
  #bf-saju-preview .bf-guide-figure figcaption { color: #56634e; text-align: center; margin-top: 12px; font-size: 12px; }
  #bf-saju-preview .bf-chat-log { display: grid; gap: 18px; }
  #bf-saju-preview .bf-chat-message { max-width: 100%; }
  #bf-saju-preview .bf-chat-author { display: block; font-size: 12px; font-weight: 500; color: #485c40; margin-bottom: 6px; }
  #bf-saju-preview .bf-chat-message p { font-size: 15px; line-height: 1.95; color: #34412e; white-space: pre-wrap; }
  #bf-saju-preview .bf-chat-message-user { justify-self: end; max-width: 90%; padding: 10px 14px; background: #e9eadf; }
  #bf-saju-preview .bf-chat-message-user .bf-chat-author { color: #5b6552; }
  #bf-saju-preview .bf-chat-prompts { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 18px; }
  #bf-saju-preview .bf-chat-prompts button { border: 1px solid #c5cbbd; background: transparent; color: #4b5b43; font-size: 12px; padding: 7px 10px; min-height: 38px; white-space: normal; text-align: left; }
  #bf-saju-preview .bf-chat-compose { margin-top: 20px; }
  #bf-saju-preview .bf-chat-compose label { font-size: 13px; color: #4b5b43; display: block; margin-bottom: 8px; }
  #bf-saju-preview .bf-chat-compose textarea { min-height: 88px; }
  #bf-saju-preview .bf-chat-send-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
  #bf-saju-preview .bf-chat-status { margin-top: 10px; min-height: 21px; color: #58664f; font-size: 12px; }
  #bf-saju-preview .bf-chat-tools { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
  #bf-saju-preview .bf-character-art { max-width: 360px; justify-self: end; aspect-ratio: 1; object-fit: contain; }
  #bf-saju-preview .bf-personal-heading { font: 500 24px/1.5 "Batang", Georgia, serif; }
  #bf-saju-preview .bf-character-name { margin-top: 17px; color: #3e5436; font: 500 22px/1.6 "Batang", Georgia, serif; }
  #bf-saju-preview .bf-character-intro { margin-top: 12px; max-width: 36ch; font-size: 14px; color: #5e6958; line-height: 1.95; }
  #bf-saju-preview .bf-character-example { margin-top: 11px; font-size: 12px; color: #5d6955; }
  #bf-saju-preview .bf-character-story { margin-top: 32px; scroll-margin-top: 24px; }
  #bf-saju-preview .bf-character-story > h2 { font-size: 20px; }
  #bf-saju-preview .bf-symbols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin: 18px 0 0; }
  #bf-saju-preview .bf-symbols dt { color: #42593a; font-size: 14px; font-weight: 500; margin-bottom: 7px; }
  #bf-saju-preview .bf-symbols dd { color: #606b58; font-size: 13px; line-height: 1.95; margin: 0; }
  #bf-saju-preview .bf-relation-figure { margin: 23px 0 22px; }
  #bf-saju-preview .bf-relation-figure img { display: block; width: 100%; height: auto; max-height: 370px; aspect-ratio: 3/2; object-fit: contain; }
  #bf-saju-preview .bf-relation-figure figcaption { margin-top: 13px; color: #526348; font-size: 13px; line-height: 1.9; }
  #bf-saju-preview .bf-relation-figure strong { display: block; font-weight: 500; margin-bottom: 4px; }
  #bf-saju-preview .bf-input-guide h2 { margin-top: 0; }
  @media (max-width: 760px) {
    #bf-saju-preview .bf-chat-layout { grid-template-columns: 170px minmax(0,1fr); gap: 26px; }
  }
  @media (max-width: 560px) {
    #bf-saju-preview .bf-chat-layout { grid-template-columns: 1fr; gap: 23px; }
    #bf-saju-preview .bf-guide-figure { display: grid; grid-template-columns: 122px 1fr; gap: 20px; align-items: center; }
    #bf-saju-preview .bf-guide-figure figcaption { text-align: left; margin: 0; }
    #bf-saju-preview .bf-conversation { margin-bottom: 44px; }
    #bf-saju-preview .bf-chat-prompts { gap: 6px; }
    #bf-saju-preview .bf-chat-prompts button { min-height: 42px; }
    #bf-saju-preview .bf-character-art { width: 100%; max-width: 340px; justify-self: center; aspect-ratio: 1; }
    #bf-saju-preview .bf-character-intro { max-width: none; }
    #bf-saju-preview .bf-symbols { grid-template-columns: 1fr; gap: 18px; }
    #bf-saju-preview .bf-relation-figure img { max-height: none; }
  }
#bf-saju-preview .bf-header .bf-logo { font-family: "Batang", Georgia, serif; font-size: 24px; }
#bf-saju-preview .bf-preview-bar { justify-content: flex-start; }
#bf-saju-preview .bf-conversation { margin-bottom: 0; }
#bf-saju-preview .bf-chat-log { gap: 22px; }
#bf-saju-preview .bf-chat-prompts[hidden], #bf-saju-preview .bf-finish[hidden] { display:none !important; }
#bf-saju-preview .bf-chat-tools { margin-top: 0; }
#bf-saju-preview .bf-chat-choice { max-width: 100%; }
#bf-saju-preview .bf-finish { margin-top: 14px; }
#bf-saju-preview .bf-finish button { min-height: 48px; font-size: 14px; padding-inline: 20px; }
#bf-saju-preview .bf-result-heading { margin-bottom: 30px; }
#bf-saju-preview .bf-result-heading > h1 { margin-bottom: 12px; }
#bf-saju-preview .bf-result-heading > p { font-size: 14px; color: #5b6653; line-height: 1.95; }
#bf-saju-preview .bf-result-story { margin: 22px 0 30px; padding: 22px 24px; background: #eceee2; }
#bf-saju-preview .bf-result-story h2 { font-size: 18px; margin-bottom: 8px; }
#bf-saju-preview .bf-result-story p { font-size: 14px; color: #4c5d43; line-height: 1.95; white-space: pre-wrap; }
#bf-saju-preview .bf-result-story p + p { margin-top: 10px; }
#bf-saju-preview .bf-result-back { margin-top: 16px; }
#bf-saju-preview .bf-pdf-note { font-size: 12px; color: #5d6656; margin-top: 10px; line-height: 1.9; }
#bf-saju-preview .bf-footer { padding-top: 12px; }
@media(max-width:560px){
  #bf-saju-preview .bf-chat-message-user { max-width: 94%; }
  #bf-saju-preview .bf-result-story { padding: 20px; }
  #bf-saju-preview .bf-finish button { width:100%; }
}

#bf-saju-preview .bf-chat-column { min-width:0; }
#bf-saju-preview .bf-chat-history { margin-bottom:24px; color:#5d6656; }
#bf-saju-preview .bf-chat-history[hidden] { display:none !important; }
#bf-saju-preview .bf-chat-history summary { padding:10px 0; font-size:13px; text-decoration:underline; text-underline-offset:4px; }
#bf-saju-preview #bf-history-log { display:grid; gap:20px; padding-top:16px; }
#bf-saju-preview .bf-chat-compose { margin-top:24px; }
#bf-saju-preview .bf-chat-status { min-height:24px; }
#bf-saju-preview .bf-finish > p { font-size:13px; line-height:1.9; color:#5d6656; margin-bottom:12px; }
#bf-saju-preview .bf-chat-message p { overflow-wrap:anywhere; }
#bf-saju-preview .bf-chat-message:not(.bf-chat-message-user) { padding-inline-start:10px; }
#bf-saju-preview .bf-chat-message:not(.bf-chat-message-user) > p { position:relative; width:fit-content; max-width:100%; padding:16px 20px; background:#e8eddf; border-radius:16px; }
#bf-saju-preview .bf-chat-message:not(.bf-chat-message-user) > p::before { content:""; position:absolute; left:-8px; top:18px; width:10px; height:13px; background:inherit; clip-path:polygon(100% 0,100% 100%,0 0); }
#bf-saju-preview .bf-chat-message-user { min-width:0; padding:0; background:transparent; }
#bf-saju-preview .bf-chat-message-user .bf-chat-author { text-align:right; }
#bf-saju-preview .bf-chat-message-user > p { padding:12px 16px; background:#eeeae0; border-radius:14px; }
#bf-saju-preview .bf-result-story p { overflow-wrap:anywhere; }
@media(max-width:560px){
  #bf-saju-preview .bf-chat-history summary { min-height:44px; }
  #bf-saju-preview .bf-chat-send-row { gap:12px; }
  #bf-saju-preview .bf-chat-message:not(.bf-chat-message-user) > p { padding:14px 16px; }
}

#bf-saju-preview .bf-preview-bar { padding:9px 24px; }
#bf-saju-preview .bf-header { padding-block:18px; }
#bf-saju-preview .bf-header-link { display:inline-flex; align-items:center; min-height:44px; }
#bf-saju-preview .bf-main { padding-top:22px; }
#bf-saju-preview h1,#bf-saju-preview h2,#bf-saju-preview h3 { word-break:keep-all; overflow-wrap:anywhere; }
#bf-saju-preview .bf-conversation-lead { margin-bottom:22px; }
#bf-saju-preview .bf-chat-layout { grid-template-columns:168px minmax(0,1fr); gap:32px; }
#bf-saju-preview .bf-guide-figure figcaption strong,#bf-saju-preview .bf-guide-figure figcaption span { display:block; }
#bf-saju-preview .bf-guide-figure figcaption strong { font-size:15px; margin-bottom:4px; }
#bf-saju-preview .bf-session-status { font-size:13px; color:#56634e; margin-bottom:14px; }
#bf-saju-preview .bf-compose-label { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:8px; }
#bf-saju-preview .bf-compose-label label { margin:0; }
#bf-saju-preview .bf-compose-label > span { font-size:12px; color:#5d6656; }
#bf-saju-preview .bf-chat-compose textarea { min-height:86px; }
#bf-saju-preview .bf-chat-send-row { margin-top:8px; }
#bf-saju-preview .bf-chat-send-row .bf-text-button { font-size:14px; min-height:46px; padding:8px 0; }
#bf-saju-preview .bf-chat-send-row .bf-button { min-height:46px; min-width:78px; font-size:14px; }
#bf-saju-preview .bf-keyboard-hint { font-size:12px; color:#5d6656; margin-top:6px; }
#bf-saju-preview .bf-chat-status { margin-top:6px; min-height:22px; }
#bf-saju-preview .bf-chat-privacy { font-size:13px; color:#5d6656; margin-top:24px; line-height:1.9; }
#bf-saju-preview .bf-end-review { margin-top:18px; padding:20px; background:#eeeee3; }
#bf-saju-preview .bf-end-review[hidden] { display:none!important; }
#bf-saju-preview .bf-end-review h2 { font-size:19px; margin-bottom:10px; }
#bf-saju-preview .bf-end-review p { font-size:14px; line-height:1.85; color:#4c5d43; }
#bf-saju-preview .bf-end-review p + p { margin-top:8px; }
#bf-saju-preview .bf-end-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; }
#bf-saju-preview .bf-button,#bf-saju-preview .bf-tab { min-height:44px; white-space:normal; }
#bf-saju-preview .bf-result-heading { margin-bottom:22px; }
#bf-saju-preview .bf-result-heading > h1 { font-size:28px; }
#bf-saju-preview .bf-result-heading > p { margin-top:12px; font-size:14px; line-height:1.85; }
#bf-saju-preview .bf-recap { display:grid; gap:22px; }
#bf-saju-preview .bf-recap h2 { font-size:17px; margin-bottom:8px; }
#bf-saju-preview .bf-recap p { font-size:16px; line-height:1.9; overflow-wrap:anywhere; }
#bf-saju-preview .bf-recap-focus-row { display:grid; grid-template-columns:minmax(0,1fr) 150px; gap:24px; align-items:start; }
#bf-saju-preview .bf-recap-reading { display:grid; gap:22px; }
#bf-saju-preview .bf-recap-art { margin:0; }
#bf-saju-preview .bf-recap-art[hidden] { display:none!important; }
#bf-saju-preview .bf-recap-art img { width:100%; height:auto; aspect-ratio:1; object-fit:contain; display:block; }
#bf-saju-preview .bf-recap-art figcaption { font-size:12px; color:#4c5d43; margin-top:8px; line-height:1.75; word-break:keep-all; }
#bf-saju-preview .bf-recap-art figcaption span { color:#5d6656; }
#bf-saju-preview .bf-recap-focus-row.bf-no-art { grid-template-columns:1fr; }
#bf-saju-preview .bf-recap-action { background:#e8eddf; padding:18px 20px; }
#bf-saju-preview .bf-result-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; }
#bf-saju-preview .bf-result-actions .bf-button { min-height:48px; font-size:14px; }
#bf-saju-preview .bf-pdf-note { font-size:13px; line-height:1.85; margin-top:12px; }
#bf-saju-preview .bf-pair-entry { margin-top:30px; padding:22px; border:1px solid #cbd1c2; }
#bf-saju-preview .bf-pair-entry h2 { font-size:20px; margin-bottom:10px; }
#bf-saju-preview .bf-pair-entry p { font-size:14px; color:#56634e; line-height:1.85; margin-bottom:16px; }
#bf-saju-preview .bf-result-details { margin-top:26px; }
#bf-saju-preview .bf-result-details > summary { font-size:16px; min-height:48px; padding:10px 0; text-decoration:underline; text-underline-offset:5px; }
#bf-saju-preview .bf-result-details > .bf-detail-scope { font-size:14px; color:#5d6656; margin:14px 0 20px; line-height:1.85; }
#bf-saju-preview .bf-result-story { margin:14px 0 0; padding:18px 20px; }
#bf-saju-preview .bf-partial-note { font-size:14px; color:#5d6656; line-height:1.85; margin-top:24px; }
#bf-saju-preview .bf-jump a { min-height:44px; display:inline-flex; align-items:center; }
#bf-saju-preview .bf-compare { margin-top:24px; }
@media(max-width:760px){
  #bf-saju-preview .bf-preview-bar { padding:8px 20px; }
  #bf-saju-preview .bf-preview-label { display:flex; flex-wrap:wrap; gap:3px 12px; line-height:1.65; }
  #bf-saju-preview .bf-header { padding-block:8px; }
  #bf-saju-preview .bf-main { padding-top:14px; }
  #bf-saju-preview .bf-chat-layout { grid-template-columns:1fr; gap:14px; }
  #bf-saju-preview .bf-guide-figure { display:flex; align-items:center; gap:16px; }
  #bf-saju-preview .bf-guide-figure img { width:64px; height:85px; }
  #bf-saju-preview .bf-guide-figure figcaption { margin:0; text-align:left; font-size:12px; }
  #bf-saju-preview .bf-guide-figure figcaption br { display:none; }
  #bf-saju-preview .bf-guide-figure figcaption span { max-width:220px; }
  #bf-saju-preview .bf-conversation-lead { margin-bottom:14px; font-size:14px; }
  #bf-saju-preview .bf-session-status { display:none; }
  #bf-saju-preview .bf-chat-compose { margin-top:18px; }
  #bf-saju-preview .bf-chat-message p { font-size:16px; line-height:1.85; }
  #bf-saju-preview .bf-keyboard-hint { display:none; }
  #bf-saju-preview .bf-recap-focus-row { grid-template-columns:minmax(0,1fr) 92px; gap:16px; }
  #bf-saju-preview .bf-recap { gap:18px; }
  #bf-saju-preview .bf-recap-reading { gap:18px; }
  #bf-saju-preview .bf-recap h2 { font-size:16px; }
  #bf-saju-preview .bf-recap p { font-size:15px; }
  #bf-saju-preview .bf-result-heading > h1 { font-size:26px; }
  #bf-saju-preview .bf-result-heading { margin-bottom:18px; }
  #bf-saju-preview .bf-result-actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:20px; }
  #bf-saju-preview .bf-result-actions .bf-button { padding:10px; font-size:13px; }
  #bf-saju-preview .bf-pair-entry { padding:18px; margin-top:24px; }
  #bf-saju-preview .bf-end-actions { display:grid; }
  #bf-saju-preview .bf-end-actions button { width:100%; }
  #bf-saju-preview .bf-chat-privacy { font-size:12px; margin-top:16px; }
}


html,body{margin:0;background:#f8f7f0}html{scrollbar-color:#9ba58d #f8f7f0}body{min-width:280px}
#bf-saju-preview .bf-preview-label{width:100%;align-items:center;gap:4px 16px;flex-wrap:wrap}
#bf-saju-preview #bf-reconnect{margin-left:auto;min-height:44px;padding:4px 0;font-size:12px}
#bf-saju-preview .bf-chat-message p{white-space:pre-wrap}
#bf-saju-preview .bf-chat-event>p{background:transparent;padding:0;font-size:13px;color:#56634e}
#bf-saju-preview .bf-chat-event>p::before{display:none}
#bf-saju-preview .bf-memory{background:#eeeee3;padding:18px;font-size:14px;line-height:1.85}
#bf-saju-preview .bf-memory h2{font-size:16px;margin-bottom:10px}
#bf-saju-preview .bf-memory p+p{margin-top:8px}
#bf-saju-preview .bf-memory p:last-child{font-size:12px;color:#56634e}
#bf-saju-preview button:disabled{opacity:1;background:#e1e3d8;color:#626959;cursor:not-allowed}
#bf-saju-preview .bf-text-button:disabled{background:transparent;color:#69715f}
#bf-saju-preview textarea::placeholder{color:#68705f;opacity:1}
#bf-saju-preview textarea{caret-color:#4c5d43}
#bf-saju-preview ::selection{background:#d8e0ca;color:#263320}
#bf-saju-preview .bf-sample-gallery{display:grid;grid-template-columns:1fr 1fr;gap:20px}
#bf-saju-preview .bf-sample-gallery figure{margin:0}
#bf-saju-preview .bf-sample-gallery img{display:block;width:100%;height:auto}
#bf-saju-preview .bf-sample-gallery figcaption{font-size:13px;margin-top:10px;color:#56634e}
#bf-saju-preview #bf-result-detail{display:grid;gap:20px}
#bf-saju-preview .bf-result-story .bf-chat-message p{font-size:15px;color:#263320}
@media(max-width:760px){#bf-saju-preview #bf-reconnect{margin-left:0;min-height:36px}#bf-saju-preview .bf-sample-gallery{grid-template-columns:1fr}#bf-saju-preview .bf-preview-label{gap:0 12px}#bf-saju-preview .bf-preview-label>span{flex:1}}

#bf-saju-preview .bf-chat-message.bf-chat-event>p{background:transparent;padding:0;font-size:13px;color:#56634e}
#bf-saju-preview .bf-chat-message.bf-chat-event>p::before{display:none}
@media(max-width:760px){#bf-saju-preview #bf-connection-note{display:none}#bf-saju-preview #bf-reconnect{margin-left:auto}}

#bf-saju-preview .bf-guide-crop{display:block;min-width:0}
#bf-saju-preview .bf-message-body{width:fit-content;max-width:min(100%,72ch);padding:16px 20px;background:#e8eddf;border-radius:16px;position:relative}
#bf-saju-preview .bf-message-body::before{content:"";position:absolute;left:-8px;top:18px;width:10px;height:13px;background:inherit;clip-path:polygon(100% 0,100% 100%,0 0)}
#bf-saju-preview .bf-chat-message .bf-message-body p{padding:0;background:transparent;border-radius:0;max-width:100%;white-space:pre-wrap}
#bf-saju-preview .bf-chat-message .bf-message-body p::before{display:none}
#bf-saju-preview .bf-message-body p+p{margin-top:14px}
#bf-saju-preview .bf-chat-loading .bf-message-body{padding:14px 20px;color:#344a3b}
#bf-saju-preview .bf-reply-loading{display:flex;align-items:center;gap:12px}
#bf-saju-preview .bf-loading-dots{display:inline-flex;align-items:center;gap:5px}
#bf-saju-preview .bf-loading-dots>span{width:5px;height:5px;border-radius:50%;background:currentColor;animation:bf-reply-pulse 1.3s ease-in-out infinite}
#bf-saju-preview .bf-loading-dots>span:nth-child(2){animation-delay:.18s}
#bf-saju-preview .bf-loading-dots>span:nth-child(3){animation-delay:.36s}
@keyframes bf-reply-pulse{0%,80%,100%{opacity:.35}40%{opacity:1}}
@media(prefers-reduced-motion:reduce){#bf-saju-preview .bf-loading-dots>span{animation:none;opacity:.7}}
#bf-saju-preview .bf-chat-message-user .bf-message-body{padding:12px 16px;background:#eeeae0;border-radius:14px}
#bf-saju-preview .bf-chat-message-user .bf-message-body::before,#bf-saju-preview .bf-chat-event .bf-message-body::before{display:none}
#bf-saju-preview .bf-chat-event .bf-message-body{padding:0;background:transparent;border-radius:0;font-size:13px;color:#56634e}
#bf-saju-preview .bf-new-response{position:fixed;bottom:20px;right:24px;z-index:3;max-width:calc(100vw - 40px);min-height:44px;font-size:13px;background:#344a3b;color:#fff;border-color:#344a3b}
#bf-saju-preview .bf-draft-storage-note{font-size:12px;color:#5d6656;line-height:1.8;margin-top:8px;max-width:72ch}
#bf-saju-preview .bf-profile-details,#bf-saju-preview .bf-switch-details{margin-top:22px;scroll-margin-top:24px}
#bf-saju-preview .bf-profile-details>summary,#bf-saju-preview .bf-switch-details>summary,#bf-saju-preview .bf-session-tools summary{font-size:14px;min-height:44px;padding-block:10px;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
#bf-saju-preview .bf-profile-details>summary span{color:#5d6656;font-size:12px}
#bf-saju-preview .bf-profile-intro,#bf-saju-preview .bf-profile-help,#bf-saju-preview .bf-switch-details>p{font-size:13px;line-height:1.85;color:#56634e;max-width:72ch;margin-top:10px}
#bf-saju-preview .bf-profile-form{margin-top:22px}
#bf-saju-preview .bf-profile-form fieldset{min-width:0;margin:0;padding:18px 20px 20px;border:1px solid #cbd1c2}
#bf-saju-preview .bf-profile-form legend{padding-inline:8px;font-size:17px;font-weight:500}
#bf-saju-preview .bf-profile-state{font-size:13px;color:#5d6656;margin-bottom:12px}
#bf-saju-preview .bf-profile-state.bf-is-confirmed{color:#344a3b;font-weight:500}
#bf-saju-preview .bf-profile-candidates{font-size:12px;color:#56634e;line-height:1.8}
#bf-saju-preview .bf-use-candidates{min-height:44px;margin-block:4px 12px;text-align:left}
#bf-saju-preview .bf-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
#bf-saju-preview .bf-profile-grid label,#bf-saju-preview .bf-switch-details label,#bf-saju-preview #bf-delete-form label{font-size:13px;display:block;color:#3d4c36}
#bf-saju-preview .bf-profile-grid label>span{font-size:12px}
#bf-saju-preview .bf-profile-grid .bf-control{margin-top:6px;font-size:16px;background:#faf8f1}
#bf-saju-preview .bf-profile-grid .bf-field-help{display:block;font-size:12px;line-height:1.7}
#bf-saju-preview .bf-profile-form button[type=submit]{margin-top:14px}
#bf-saju-preview #bf-profile-status,#bf-saju-preview #bf-session-tool-status{font-size:13px;line-height:1.8;color:#4c5d43;margin-top:12px}
#bf-saju-preview #bf-switch-form{display:grid;gap:10px;max-width:440px;margin-top:16px}
#bf-saju-preview #bf-switch-form .bf-control,#bf-saju-preview #bf-delete-form .bf-control{background:#faf8f1}
#bf-saju-preview #bf-review-profile{display:block;margin-top:12px;min-height:44px;text-align:left}
#bf-saju-preview .bf-confirmed-result{margin-top:24px;padding:20px;background:#efeee5}
#bf-saju-preview .bf-confirmed-result>h2{font-size:18px;margin-bottom:14px}
#bf-saju-preview #bf-result-people{display:grid;gap:18px}
#bf-saju-preview #bf-result-people h3{font-size:14px;margin-bottom:6px}
#bf-saju-preview .bf-confirmed-result p,#bf-saju-preview .bf-confirmed-result li{font-size:13px;color:#56634e;line-height:1.85}
#bf-saju-preview .bf-confirmed-result>p,#bf-saju-preview #bf-result-calculation{margin-top:16px}
#bf-saju-preview #bf-result-calculation ul{padding-inline-start:20px;margin-block:8px 0}
#bf-saju-preview #bf-edit-profiles{min-height:44px;text-align:left;margin-top:4px}
#bf-saju-preview [data-pdf][aria-busy=true]{opacity:.7;cursor:progress}
#bf-saju-preview .bf-pdf-feedback{font-size:13px;color:#7a3c2c;line-height:1.85;margin-top:12px}
#bf-saju-preview .bf-session-tools{padding-block:28px 20px;font-size:12px;color:#56634e}
#bf-saju-preview .bf-session-tools>p{margin-top:10px;max-width:72ch}
#bf-saju-preview .bf-session-tools>details{margin-top:14px;max-width:600px}
#bf-saju-preview .bf-session-tools details>p{font-size:13px;line-height:1.85;margin-block:8px 14px}
#bf-saju-preview #bf-delete-form{display:grid;gap:12px;max-width:380px;margin-top:16px}
#bf-saju-preview #bf-delete-cancel{text-align:left;min-height:44px;width:fit-content}
#bf-saju-preview #bf-result-title{scroll-margin-top:24px}
#bf-saju-preview .bf-person-calculation{margin-top:18px;padding:18px;background:#faf8f1}
#bf-saju-preview #bf-result-people .bf-person-calculation>h3{margin-bottom:8px;font-size:15px}
#bf-saju-preview .bf-calculation-pillars{width:100%;max-width:520px;border-collapse:collapse;table-layout:fixed;margin-block:14px 22px;text-align:center}
#bf-saju-preview .bf-calculation-pillars caption{font-size:12px;color:#56634e;text-align:left;margin-bottom:8px}
#bf-saju-preview .bf-calculation-pillars th{font-size:12px;font-weight:500;background:#efeee5;border:1px solid #cbd1c2;padding:8px 4px}
#bf-saju-preview .bf-calculation-pillars td{font-size:23px;font-weight:500;line-height:1.5;padding:12px 4px;border:1px solid #cbd1c2}
#bf-saju-preview .bf-calculation-pillars td.bf-pillar-unknown{font-size:12px;color:#5d6656;word-break:keep-all}
#bf-saju-preview .bf-calculation-elements{display:grid;gap:10px;margin:14px 0;max-width:520px}
#bf-saju-preview .bf-calculation-element{display:grid;grid-template-columns:28px 1fr;gap:10px;font-size:13px;align-items:center}
#bf-saju-preview .bf-calculation-element dd{display:grid;grid-template-columns:1fr 48px;gap:12px;align-items:center;margin:0;font-variant-numeric:tabular-nums}
#bf-saju-preview .bf-calculation-track{display:block;height:8px;background:#e1e4d8}
#bf-saju-preview .bf-calculation-track>span{display:block;height:100%;background:#687a62}
#bf-saju-preview .bf-calculation-note{margin-top:12px}
#bf-saju-preview .bf-calculation-notices{padding-inline-start:20px;margin-block:12px 0}
#bf-saju-preview .bf-calculation-basis{margin-top:12px}
#bf-saju-preview .bf-calculation-basis summary{font-size:13px;padding-block:10px;min-height:44px;text-decoration:underline;text-underline-offset:4px}
#bf-saju-preview .bf-calculation-basis ul{padding-inline-start:20px;margin:4px 0 0}
@media(max-width:760px){
  #bf-saju-preview .bf-guide-crop{width:88px;height:96px;flex:0 0 88px;overflow:hidden}
  #bf-saju-preview .bf-guide-crop img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 0;transform:scale(2.5);transform-origin:50% 10%}
  #bf-saju-preview .bf-guide-figure{gap:14px}
  #bf-saju-preview .bf-guide-figure figcaption span{max-width:210px}
  #bf-saju-preview .bf-message-body{padding:14px 16px}
  #bf-saju-preview .bf-profile-form fieldset{padding:14px}
  #bf-saju-preview .bf-confirmed-result{padding:18px}
  #bf-saju-preview .bf-person-calculation{padding:14px}
  #bf-saju-preview .bf-profile-grid{gap:14px}
}
@media(max-width:400px){
  #bf-saju-preview .bf-profile-grid{grid-template-columns:1fr}
  #bf-saju-preview .bf-result-actions{grid-template-columns:1fr}
}

#bf-saju-preview .bf-session-context{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 16px;margin-bottom:4px;font-size:13px;color:#4c5d43}
#bf-saju-preview .bf-session-context .bf-text-button{min-height:44px;font-size:13px;text-align:left}
#bf-saju-preview .bf-consultation-progress{max-width:72ch;margin-top:14px;font-size:13px;line-height:1.85;color:#4c5d43}
body.bf-profile-modal-open,body.bf-result-modal-open{overflow:hidden}
#bf-saju-preview .bf-profile-entry{display:flex;flex-wrap:wrap;gap:0 20px;margin-top:12px}
#bf-saju-preview .bf-profile-entry>.bf-text-button{min-height:44px;font-size:13px;text-align:left}
#bf-saju-preview .bf-profile-entry>p{flex-basis:100%;margin-top:4px}
#bf-saju-preview .bf-message-profile-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
#bf-saju-preview .bf-message-profile-actions .bf-button{font-size:14px;min-height:44px;background:#faf8f1}
#bf-saju-preview .bf-profile-dialog{width:min(520px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:22px 24px;border:1px solid #aeb9a6;background:#faf8f1;color:#273029;overflow:auto;overscroll-behavior:contain;box-shadow:none}
#bf-saju-preview .bf-profile-dialog::backdrop{background:rgb(26 34 27 / .5)}
#bf-saju-preview .bf-profile-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
#bf-saju-preview .bf-profile-dialog-heading h2{font-size:21px;font-weight:500;line-height:1.4}
#bf-saju-preview .bf-profile-dialog-heading .bf-text-button{min-height:44px;min-width:44px;font-size:13px}
#bf-saju-preview .bf-profile-dialog-note{margin-top:4px;font-size:13px;line-height:1.65;color:#56634e}
#bf-saju-preview .bf-profile-persons{display:flex;gap:8px;margin-top:12px}
#bf-saju-preview .bf-profile-persons .bf-button{min-height:44px;flex:1}
#bf-saju-preview .bf-profile-persons [aria-pressed=true]{background:#344a3b;color:#fff;border-color:#344a3b}
#bf-saju-preview .bf-profile-step-count{margin-top:14px;font-size:12px;color:#56634e}
#bf-saju-preview .bf-profile-dialog .bf-profile-form{margin-top:8px}
#bf-saju-preview .bf-profile-dialog .bf-profile-state{margin:0 0 8px;font-size:12px;line-height:1.5}
#bf-saju-preview .bf-profile-dialog .bf-profile-state:empty{display:none}
#bf-saju-preview .bf-profile-dialog [data-profile-step]>h3{font-size:17px;font-weight:500;line-height:1.4;margin-bottom:12px}
#bf-saju-preview .bf-profile-dialog .bf-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#bf-saju-preview .bf-profile-dialog .bf-profile-full{grid-column:1 / -1}
#bf-saju-preview .bf-profile-dialog .bf-control{min-height:44px;padding:8px 10px;margin-top:4px}
#bf-saju-preview .bf-profile-dialog .bf-field-help{font-size:11px;line-height:1.5;margin-top:4px}
#bf-saju-preview .bf-profile-dialog .bf-profile-help{font-size:12px;line-height:1.5;margin-top:8px}
#bf-saju-preview .bf-profile-step-actions{display:flex;justify-content:flex-end;align-items:center;gap:16px;margin-top:18px}
#bf-saju-preview .bf-profile-step-actions>.bf-text-button{min-height:44px;margin-right:auto;font-size:13px}
#bf-saju-preview .bf-profile-dialog .bf-profile-step-actions button[type=submit]{margin-top:0}
#bf-saju-preview .bf-profile-candidate-review{margin:8px 0 12px;font-size:12px;color:#56634e}
#bf-saju-preview .bf-profile-candidate-review>summary{min-height:44px;display:flex;align-items:center;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
#bf-saju-preview .bf-profile-candidate-review .bf-use-candidates{margin:4px 0 0}
#bf-saju-preview #bf-profile-dialog-status{font-size:13px;line-height:1.6;color:#713e2f;margin-top:12px}
#bf-saju-preview #bf-profile-dialog-status:empty{display:none}
#bf-saju-preview .bf-profile-transfer-note{margin-top:8px;font-size:12px;line-height:1.6;color:#56634e}
#bf-saju-preview .bf-profile-dialog .bf-field-error{display:block;margin-top:5px;font-size:12px;line-height:1.6;color:#713e2f}
@media(min-width:480px){
  #bf-saju-preview .bf-profile-dialog [data-profile-step="0"] .bf-profile-full{grid-column:auto}
}
@media(max-width:400px){
  #bf-saju-preview .bf-profile-dialog{padding:14px 16px}
  #bf-saju-preview .bf-profile-dialog-heading h2{font-size:19px}
  #bf-saju-preview .bf-profile-dialog .bf-profile-grid{gap:10px}
  #bf-saju-preview .bf-profile-step-actions{margin-top:14px}
  #bf-saju-preview .bf-profile-dialog .bf-control{padding-inline:7px}
}
#bf-saju-preview #bf-finish-status{margin-top:14px;font-size:14px;line-height:1.85}
#bf-saju-preview .bf-result-heading{display:grid;grid-template-columns:64px minmax(0,1fr);gap:18px;align-items:start}
#bf-saju-preview .bf-result-heading #bf-result-title{font-size:28px;margin-bottom:10px;line-height:1.4}
#bf-saju-preview .bf-result-heading p{max-width:72ch;font-size:14px;line-height:1.85;color:#5b6653}
#bf-saju-preview .bf-result-guide{display:block;width:64px;height:78px;overflow:hidden}
#bf-saju-preview .bf-result-guide img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 0;transform:scale(2.5);transform-origin:50% 10%}
#bf-saju-preview .bf-result-closing{max-width:72ch;margin-top:24px;font-size:15px;line-height:1.9;color:#3d4c36}
#bf-saju-preview .bf-comparison-note{max-width:72ch;margin-top:14px;font-size:14px;line-height:1.85;color:#56634e;white-space:pre-wrap}
#bf-saju-preview .bf-result-reading-guide{max-width:72ch;margin-bottom:20px}
#bf-saju-preview .bf-calculation-reading{max-width:68ch;margin-top:12px}
#bf-saju-preview .bf-pillar-reading{display:block;font-family:inherit;font-size:13px;color:#4c5d43;line-height:1.8}
#bf-saju-preview .bf-session-status{display:block}
#bf-saju-preview .bf-result-visuals{margin-top:32px}
#bf-saju-preview .bf-result-visuals>h2{font-size:20px;font-weight:500;margin-bottom:10px}
#bf-saju-preview .bf-visual-status{max-width:72ch;font-size:14px;color:#4c5d43;line-height:1.85}
#bf-saju-preview .bf-visual-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin-top:20px}
#bf-saju-preview .bf-visual-gallery:empty{display:none}
#bf-saju-preview .bf-visual-gallery[data-count="1"]{grid-template-columns:minmax(0,420px)}
#bf-saju-preview .bf-visual-gallery figure{margin:0;min-width:0}
#bf-saju-preview .bf-visual-gallery img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:#efeee5}
#bf-saju-preview .bf-visual-gallery img[hidden]{display:none}
#bf-saju-preview .bf-visual-gallery figcaption{padding-top:14px}
#bf-saju-preview .bf-visual-gallery figcaption>span{font-size:12px;color:#56634e}
#bf-saju-preview .bf-visual-gallery h3{font-size:18px;font-weight:500;margin:4px 0 8px}
#bf-saju-preview .bf-visual-gallery p{font-size:14px;line-height:1.85;color:#4c5d43;overflow-wrap:anywhere}
#bf-saju-preview #bf-visual-retry{margin-top:16px;min-height:44px}
#bf-saju-preview #bf-reconnect{min-height:44px}
@media(max-width:760px){
  #bf-saju-preview .bf-visual-gallery{grid-template-columns:1fr;gap:24px}
  #bf-saju-preview .bf-visual-gallery[data-count="1"]{grid-template-columns:1fr}
  #bf-saju-preview .bf-result-visuals{margin-top:26px}
  #bf-saju-preview .bf-session-context{align-items:flex-start;margin-bottom:6px}
  #bf-saju-preview .bf-session-context p{padding-block:9px}
  #bf-saju-preview .bf-session-status{margin-bottom:12px;font-size:12px}
  #bf-saju-preview .bf-result-heading{grid-template-columns:52px minmax(0,1fr);gap:12px}
  #bf-saju-preview .bf-result-heading #bf-result-title{font-size:26px}
  #bf-saju-preview .bf-result-guide{width:52px;height:66px}
  #bf-saju-preview .bf-result-actions [data-pdf]{grid-column:1/-1}
}

#bf-saju-preview .bf-document-entry{margin-top:14px}
#bf-saju-preview .bf-document-entry>.bf-text-button{min-height:44px;font-size:14px}
#bf-saju-preview .bf-document-entry>p{max-width:72ch;font-size:13px;line-height:1.75;color:#56634e}
#bf-saju-preview .bf-document-entry>ul{margin:10px 0 0;padding-inline-start:20px;font-size:13px;color:#4c5d43}
#bf-saju-preview .bf-document-entry li+li{margin-top:6px}
#bf-saju-preview .bf-document-help{max-width:72ch;font-size:13px;line-height:1.75;color:#56634e}
#bf-saju-preview .bf-document-help>summary{min-height:44px;padding-block:10px;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
#bf-saju-preview .bf-document-help>p{margin-bottom:10px}
#bf-saju-preview .bf-closed-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
#bf-saju-preview #bf-reading-retry{margin-top:8px;font-size:14px;min-height:44px}
#bf-saju-preview .bf-result-dialog{width:min(960px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #aeb9a6;background:#faf8f1;color:#273029;overflow:auto;overscroll-behavior:contain;box-shadow:none;scrollbar-color:#9ba58d #faf8f1}
#bf-saju-preview .bf-result-dialog::backdrop{background:rgb(26 34 27 / .5)}
#bf-saju-preview .bf-result-dialog-bar{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 28px;background:#faf8f1}
#bf-saju-preview .bf-result-dialog-bar h2{font-size:19px;font-weight:500}
#bf-saju-preview .bf-result-dialog-bar .bf-text-button{min-height:44px;font-size:14px}
#bf-saju-preview .bf-result-view-switch{display:flex;flex-wrap:wrap;gap:8px;padding:0 28px 24px}
#bf-saju-preview .bf-result-view-switch>.bf-button{min-height:44px;font-size:14px}
#bf-saju-preview .bf-result-view-switch [aria-pressed=true]{background:#344a3b;color:#fff;border-color:#344a3b}
#bf-saju-preview .bf-result-content,#bf-saju-preview .bf-result-pdf{padding:0 28px 30px}
#bf-saju-preview .bf-result-pdf>h3{margin-bottom:10px;font-size:19px;font-weight:500}
#bf-saju-preview #bf-pdf-preview-status{font-size:14px;line-height:1.85;color:#4c5d43;margin-bottom:14px}
#bf-saju-preview #bf-pdf-preview{display:block;width:100%;height:65dvh;min-height:320px;border:1px solid #bdc5b6;background:#efeee5}
#bf-saju-preview #bf-pdf-preview-retry{margin-bottom:18px;font-size:14px}
#bf-saju-preview #bf-pdf-preview-download{margin-top:14px;font-size:14px;min-height:44px}
#bf-saju-preview .bf-result-dialog[open][data-result-view="pdf"]{display:flex;flex-direction:column;height:calc(100dvh - 32px);overflow:hidden}
#bf-saju-preview .bf-result-dialog[data-result-view="pdf"] .bf-result-dialog-bar{position:static;flex:none;padding-block:10px}
#bf-saju-preview .bf-result-dialog[data-result-view="pdf"] .bf-result-view-switch{flex:none;padding-bottom:12px}
#bf-saju-preview .bf-result-dialog[data-result-view="pdf"] .bf-result-pdf{display:flex;flex:1;flex-direction:column;gap:8px;min-height:0;overflow:auto;padding-bottom:20px}
#bf-saju-preview .bf-pdf-preview-heading{display:flex;flex:none;align-items:center;justify-content:space-between;gap:8px;min-height:44px}
#bf-saju-preview .bf-pdf-preview-heading h3{font-size:17px;font-weight:500;line-height:1.5}
#bf-saju-preview .bf-pdf-preview-heading #bf-pdf-preview-download{flex:none;margin:0;padding:8px 12px}
#bf-saju-preview .bf-result-dialog[data-result-view="pdf"] #bf-pdf-preview-status{flex:none;margin:0;line-height:1.6}
#bf-saju-preview .bf-result-dialog[data-result-view="pdf"] #bf-pdf-preview-retry{flex:none;align-self:flex-start;margin:0}
#bf-saju-preview .bf-result-dialog[data-result-view="pdf"] #bf-pdf-preview{flex:1 1 0;height:auto;min-height:120px}
#bf-saju-preview .bf-result-dialog[data-result-view="pdf"] .bf-result-pdf>.bf-pdf-note{flex:none;max-width:none;margin:0;font-size:12px;line-height:1.6}
@media(max-width:760px){
  #bf-saju-preview .bf-result-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}
  #bf-saju-preview .bf-result-dialog[open][data-result-view="pdf"]{height:calc(100dvh - 20px)}
  #bf-saju-preview .bf-result-dialog-bar{padding:10px 18px;gap:10px}
  #bf-saju-preview .bf-result-dialog-bar h2{font-size:18px}
  #bf-saju-preview .bf-result-dialog-bar .bf-text-button{font-size:13px}
  #bf-saju-preview .bf-result-view-switch{padding:0 18px 20px}
  #bf-saju-preview .bf-result-content,#bf-saju-preview .bf-result-pdf{padding:0 18px 24px}
  #bf-saju-preview .bf-result-dialog .bf-result-heading #bf-result-title{font-size:23px}
  #bf-saju-preview .bf-document-entry>p,#bf-saju-preview .bf-document-entry>ul{font-size:14px}
}
@media(pointer:coarse){
  #bf-saju-preview .bf-keyboard-hint{display:none}
}
@media(max-width:400px){
  #bf-saju-preview .bf-preview-bar{padding-block:4px}
  #bf-saju-preview .bf-header{padding-block:4px}
  #bf-saju-preview .bf-main{padding-top:8px}
  #bf-saju-preview .bf-conversation>h1{font-size:28px;margin-bottom:8px}
  #bf-saju-preview .bf-conversation-lead{margin-bottom:10px}
  #bf-saju-preview .bf-chat-layout{gap:10px}
  #bf-saju-preview .bf-guide-crop{width:64px;height:72px;flex-basis:64px}
  #bf-saju-preview .bf-session-context{gap:0 12px;margin-bottom:2px}
  #bf-saju-preview .bf-session-status{margin-bottom:8px}
  #bf-saju-preview .bf-message-body{padding:12px 14px}
}

/* A bounded reading room: only the conversation scrolls; the composer stays in reach. */
#bf-saju-preview{box-sizing:border-box;position:fixed;inset-inline:0;top:var(--bf-viewport-offset,0px);height:var(--bf-viewport-height,100dvh);min-height:0;display:flex;flex-direction:column;overflow:hidden;padding-top:env(safe-area-inset-top)}
#bf-saju-preview .bf-header{flex:none;padding-block:12px;gap:12px}
#bf-saju-preview .bf-brand{display:flex;align-items:baseline;gap:14px}
#bf-saju-preview .bf-brand>span+span{font-size:12px;color:#56634e}
#bf-saju-preview .bf-header-link{font-size:13px}
#bf-saju-preview .bf-main{flex:1;min-height:0;width:100%;padding-top:12px;padding-bottom:max(16px,env(safe-area-inset-bottom))}
#bf-saju-preview .bf-conversation,#bf-saju-preview .bf-chat-layout{height:100%;min-height:0}
#bf-saju-preview .bf-chat-layout{grid-template-columns:168px minmax(0,1fr);gap:32px;align-items:stretch}
#bf-saju-preview .bf-guide-figure{align-self:start;display:block;margin:0;padding-top:44px}
#bf-saju-preview .bf-guide-figure figcaption{margin-top:20px;text-align:left}
#bf-saju-preview .bf-guide-figure h1{font-size:24px;font-weight:500;line-height:1.6;margin:0 0 12px}
#bf-saju-preview .bf-guide-figure figcaption>span{font-size:13px;line-height:1.85}
#bf-saju-preview .bf-chat-column{display:flex;flex-direction:column;min-height:0;position:relative}
#bf-saju-preview .bf-chat-toolbar{display:flex;justify-content:flex-end;gap:24px;flex:none;margin-bottom:12px}
#bf-saju-preview .bf-chat-toolbar .bf-text-button{min-height:44px;font-size:14px;padding:8px 0}
#bf-saju-preview .bf-chat-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-color:#9ba58d #f8f7f0;overflow-anchor:none;padding:8px 10px 16px 0;outline-offset:-2px}
#bf-saju-preview .bf-chat-log{display:flex;flex-direction:column;gap:24px;min-height:100%;justify-content:flex-start}
#bf-saju-preview .bf-chat-message{flex:none;max-width:100%}
#bf-saju-preview .bf-chat-message-user{align-self:flex-end}
#bf-saju-preview .bf-chat-message p{max-width:68ch}
#bf-saju-preview .bf-latest-slot{height:0;position:relative;z-index:2;flex:none;align-self:center}
#bf-saju-preview .bf-new-response{position:absolute;bottom:10px;right:auto;left:50%;transform:translateX(-50%);white-space:nowrap;max-width:calc(100vw - 40px);margin:0;font-size:13px}
#bf-saju-preview .bf-chat-compose{flex:none;margin:0;padding-top:12px;background:#f8f7f0}
#bf-saju-preview .bf-compose-label{margin-bottom:6px}
#bf-saju-preview .bf-chat-compose textarea{display:block;height:76px;min-height:76px;max-height:130px;resize:none;overflow:auto;padding:12px 14px;font-size:16px;line-height:1.6;scrollbar-color:#9ba58d #faf8f1}
#bf-saju-preview .bf-chat-send-row{margin-top:4px}
#bf-saju-preview .bf-chat-status{min-height:0;margin:6px 0 0;max-height:72px;overflow:auto;font-size:13px;line-height:1.6}
#bf-saju-preview .bf-chat-status:empty{display:none}
#bf-saju-preview .bf-connection-retry{font-size:13px;min-height:44px}
#bf-saju-preview .bf-compose-notice{font-size:11px;line-height:1.5;color:#56634e;margin-top:2px}
#bf-saju-preview .bf-compose-notice .bf-text-button{font-size:11px;min-height:32px;padding:4px}
#bf-saju-preview .bf-closed-actions{margin:0 0 10px;gap:8px}
#bf-saju-preview .bf-closed-actions .bf-button{font-size:13px;padding:8px 12px}
body.bf-utility-modal-open{overflow:hidden}
#bf-saju-preview .bf-utility-dialog{width:min(540px,calc(100vw - 32px));max-width:none;max-height:calc(var(--bf-viewport-height,100dvh) - 32px);margin:auto;padding:20px 24px 24px;border:1px solid #aeb9a6;background:#faf8f1;color:#273029;overflow:auto;overscroll-behavior:contain;box-shadow:none;scrollbar-color:#9ba58d #faf8f1}
#bf-saju-preview .bf-utility-dialog::backdrop{background:rgb(26 34 27 / .5)}
#bf-saju-preview .bf-utility-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
#bf-saju-preview .bf-utility-heading h2{font-size:21px;font-weight:500;line-height:1.5}
#bf-saju-preview .bf-utility-heading .bf-text-button{min-height:44px;min-width:44px;font-size:13px}
#bf-saju-preview .bf-utility-dialog h3{font-size:16px;font-weight:500;line-height:1.6;margin:0 0 10px}
#bf-saju-preview .bf-utility-dialog p{font-size:14px;line-height:1.85}
#bf-saju-preview .bf-tool-section+.bf-tool-section{margin-top:24px}
#bf-saju-preview .bf-tool-links{display:flex;align-items:stretch;flex-direction:column;gap:12px}
#bf-saju-preview .bf-tool-links .bf-text-button{align-self:start;min-height:44px;font-size:13px}
#bf-saju-preview .bf-utility-dialog .bf-profile-entry{margin:0 0 12px;gap:4px 16px}
#bf-saju-preview .bf-utility-dialog .bf-profile-entry>.bf-text-button{font-size:14px}
#bf-saju-preview .bf-utility-dialog .bf-switch-details{margin-top:16px}
#bf-saju-preview .bf-utility-dialog .bf-switch-details>summary{min-height:44px;cursor:pointer;font-size:14px}
#bf-saju-preview .bf-utility-dialog .bf-switch-details p{margin:8px 0}
#bf-saju-preview .bf-utility-dialog .bf-document-entry{margin:0}
#bf-saju-preview .bf-utility-dialog #bf-document-upload{border:1px solid #344a3b;background:#344a3b;color:#fff;padding:10px 16px;text-decoration:none;margin-bottom:14px}
#bf-saju-preview .bf-utility-dialog .bf-preview-label{display:flex;flex-direction:column;align-items:flex-start;font-size:13px;gap:8px}
#bf-saju-preview .bf-utility-dialog .bf-chat-privacy{margin:12px 0}
#bf-saju-preview .bf-utility-dialog .bf-draft-storage-note{margin-top:14px;font-size:13px}
#bf-saju-preview .bf-utility-dialog .bf-keyboard-hint{display:block;font-size:13px;margin-top:14px}
#bf-saju-preview .bf-utility-dialog .bf-session-tools{margin:24px 0 0;padding:0;width:auto}
#bf-saju-preview .bf-utility-dialog .bf-session-tools p{margin-top:10px}
#bf-saju-preview .bf-utility-dialog .bf-session-tools summary{min-height:44px;padding-block:10px}
#bf-saju-preview .bf-utility-dialog .bf-end-review{margin:0;padding:0;background:transparent}
#bf-saju-preview .bf-utility-note{margin-top:20px;color:#56634e}
#bf-saju-preview .bf-utility-dialog .bf-memory{margin:0;padding:0;background:transparent}
#bf-saju-preview #bf-history-log{padding-top:0}
#bf-saju-preview #bf-history-label{display:none}
#bf-saju-preview ::selection{background:#d9e2ce;color:#273029}
#bf-saju-preview textarea{caret-color:#344a3b}
#bf-saju-preview :focus-visible{outline:2px solid #516848;outline-offset:3px}
@media(max-width:760px){
  #bf-saju-preview .bf-header{padding-block:6px;min-height:52px}
  #bf-saju-preview .bf-main{padding-top:4px;padding-bottom:max(8px,env(safe-area-inset-bottom))}
  #bf-saju-preview .bf-chat-layout{display:flex;flex-direction:column;gap:4px}
  #bf-saju-preview .bf-guide-figure{display:flex;align-items:center;gap:14px;flex:none;padding:0;align-self:stretch}
  #bf-saju-preview .bf-guide-crop{width:52px;height:60px;flex-basis:52px}
  #bf-saju-preview .bf-guide-figure figcaption{margin:0}
  #bf-saju-preview .bf-guide-figure h1{font-size:19px;line-height:1.5;margin:0}
  #bf-saju-preview .bf-guide-figure h1 br{display:none}
  #bf-saju-preview .bf-guide-figure figcaption>span{display:none}
  #bf-saju-preview .bf-chat-column{flex:1;min-height:0}
  #bf-saju-preview .bf-chat-toolbar{margin-bottom:0;gap:22px}
  #bf-saju-preview .bf-chat-toolbar .bf-text-button{font-size:13px}
  #bf-saju-preview .bf-chat-scroll{padding-right:4px;padding-top:4px;padding-bottom:12px}
  #bf-saju-preview .bf-chat-log{gap:20px}
  #bf-saju-preview .bf-chat-message p{font-size:16px;line-height:1.85}
  #bf-saju-preview .bf-message-body{padding:12px 14px}
  #bf-saju-preview .bf-chat-compose{padding-top:8px}
  #bf-saju-preview .bf-chat-compose textarea{height:64px;min-height:64px;padding:10px 12px}
  #bf-saju-preview .bf-compose-label label{font-size:12px}
  #bf-saju-preview .bf-chat-status{max-height:54px;font-size:12px}
  #bf-saju-preview .bf-utility-dialog{width:calc(100vw - 24px);padding:14px 18px 20px;max-height:calc(var(--bf-viewport-height,100dvh) - 24px)}
  #bf-saju-preview .bf-utility-heading h2{font-size:19px}
}
@media(max-height:550px) and (max-width:760px){
  #bf-saju-preview .bf-header{display:none}
  #bf-saju-preview .bf-guide-figure{display:none}
  #bf-saju-preview .bf-chat-compose textarea{height:52px;min-height:52px}
  #bf-saju-preview .bf-compose-notice{display:none}
  #bf-saju-preview .bf-closed-actions{margin-bottom:4px}
}

@media(max-width:760px){
  #bf-saju-preview[data-short-viewport] .bf-header,#bf-saju-preview[data-short-viewport] .bf-guide-figure{display:none}
  #bf-saju-preview[data-short-viewport] .bf-chat-compose textarea{height:52px;min-height:52px}
  #bf-saju-preview[data-short-viewport] .bf-compose-notice{display:none}
  #bf-saju-preview[data-short-viewport] .bf-closed-actions{margin-bottom:4px}
}
