.cfb-chat-shell, .cfb-support-entry { width: min(calc(100% - 24px), 34rem); margin: 16px auto; }
.cfb-support-entry, .cfb-chat-panel { padding: 14px; border-radius: 14px; background: #fff7ec; border: 1px solid #e5c6a3; color: #3b160b; }
.cfb-support-entry h2, .cfb-chat-shell h1 { margin: 0 0 6px; font-size: 23px; overflow-wrap: anywhere; }
.cfb-support-entry a, .cfb-chat-back { color: #783710; font-weight: 750; min-height: 44px; display: inline-flex; align-items: center; }
.cfb-chat-messages { display: flex; flex-direction: column; gap: 6px; max-height: 42dvh; overflow: auto; list-style: none; padding: 0; margin: 4px 0 12px; }
.cfb-chat-messages li { align-self: flex-start; max-width: 85%; padding: 7px 9px; border-radius: 10px; background: #f3e1cc; overflow-wrap: anywhere; }
.cfb-chat-messages li.cfb-chat-outgoing { align-self: flex-end; background: #eac899; }
.cfb-chat-messages p { margin: 4px 0; white-space: pre-wrap; }
.cfb-chat-messages time, .cfb-chat-status { color: #674638; font-size: 12px; }
.cfb-chat-panel form { display: grid; gap: 5px; }
.cfb-chat-panel textarea { box-sizing: border-box; width: 100%; min-height: 60px; border: 1px solid #d7b593; border-radius: 8px; padding: 8px; font: inherit; }
.cfb-chat-send { min-height: 44px; padding: 6px 10px; border: 0; border-radius: 8px; background: #3b160b; color: white; font-weight: 750; cursor: pointer; }
.cfb-chat-error { color: #932e20; }

.cfb-support-page .cfb-support-header {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    width: min(100%, 480px);
    height: auto;
    min-height: 68px;
    margin-inline: auto;
    padding: max(8px, env(safe-area-inset-top)) 12px 8px;
    border-bottom: 2px solid #e99a22;
    border-radius: 0 0 15px 15px;
}
.cfb-support-page .cfb-support-header .back-btn {
    position: static;
    display: grid;
    place-items: center;
    min-height: 44px;
    border: 1px solid #c68446;
    border-radius: 12px;
    background: #ffffff0e;
    color: #fff7ec;
    font-size: 16px;
}
.cfb-support-page .cfb-support-header .header-title { margin: 0; padding: 0; font-size: 20px; }
.cfb-support-page .cfb-support-header img { display: block; width: 42px; height: auto; margin: 0; border-radius: 50%; }
.cfb-support-page :is(.cfb-support-entry,.grid-box) { box-sizing: border-box; width: min(calc(100% - 24px), 456px); margin-inline: auto; }
.cfb-support-page .cfb-support-entry a {
    justify-content: center;
    padding-inline: 13px;
    border-radius: 9px;
    background: #3b160b;
    color: #fff7ec;
    text-decoration: none;
}
.cfb-support-page .grid-box { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cfb-support-page .grid-box .box { min-width: 0; }
.cfb-support-page .grid-box .icon-bg { flex: 0 0 34px; height: 34px; }
.cfb-support-page .grid-box .box-text { line-height: 1.3; overflow-wrap: anywhere; }
