/* TABAK-PRIME STEP1420 — styles scoped to the existing chat panel. */
#tp-sync-chat .tp-community-tabs {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:8px 10px;flex:0 0 auto;min-width:0;border-bottom:1px solid #3b342c;background:#181617;}
#tp-sync-chat .tp-community-tab {appearance:none;min-width:0;min-height:38px;padding:7px 4px;border:1px solid transparent;border-radius:8px;background:transparent;color:#a09c99;font:600 12px/18px Montserrat,Arial,sans-serif!important;white-space:nowrap;cursor:pointer;}
#tp-sync-chat .tp-community-tab[aria-selected="true"] {background:#b07940;color:#fff;border-color:#b07940;}
#tp-sync-chat .tp-community-tab:focus-visible,#tp-sync-chat .tp-community-small:focus-visible {outline:2px solid #d1a06a;outline-offset:1px;}
#tp-sync-chat .tp-sync-chat-panel[data-tp-community-tab="messages"] > .tp-sync-chat-list,
#tp-sync-chat .tp-sync-chat-panel[data-tp-community-tab="messages"] > .tp-sync-chat-form,
#tp-sync-chat .tp-sync-chat-panel[data-tp-community-tab="messages"] > .tp-sync-chat-status,
#tp-sync-chat .tp-sync-chat-panel[data-tp-community-tab="reviews"] > .tp-sync-chat-list,
#tp-sync-chat .tp-sync-chat-panel[data-tp-community-tab="reviews"] > .tp-sync-chat-form,
#tp-sync-chat .tp-sync-chat-panel[data-tp-community-tab="reviews"] > .tp-sync-chat-status {display:none!important;}
#tp-sync-chat .tp-community-pane {display:flex!important;flex-direction:column;flex:1 1 0;min-width:0;min-height:0;overflow:hidden;background:#121210;color:#fefefe;}
#tp-sync-chat .tp-community-pane[hidden],#tp-sync-chat .tp-community-pane [hidden] {display:none!important;}
#tp-sync-chat .tp-community-info {flex:0 0 auto;margin:0;padding:8px 12px 4px;color:#a09c99;font:400 11px/16px Montserrat,Arial,sans-serif!important;}
#tp-sync-chat .tp-community-toolbar,#tp-sync-chat .tp-community-review-nav {display:flex;justify-content:space-between;gap:8px;flex:0 0 auto;padding:4px 12px;}
#tp-sync-chat .tp-community-review-nav {justify-content:flex-start;}
#tp-sync-chat .tp-community-small {appearance:none;border:0;border-radius:5px;background:transparent;color:#d1a06a;min-height:30px;padding:4px 6px;font:400 12px/18px Montserrat,Arial,sans-serif!important;cursor:pointer;text-align:left;}
#tp-sync-chat .tp-community-review-nav button[aria-pressed="true"] {background:#30251b;color:#fefefe;}
#tp-sync-chat .tp-community-feed {flex:1 1 0;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;overflow-wrap:anywhere;padding:10px 12px;scrollbar-color:#5c4936 #181617;}
#tp-sync-chat .tp-community-empty {color:#a09c99;margin:14px 0;text-align:center;font:400 13px/21px Montserrat,Arial,sans-serif!important;}
#tp-sync-chat .tp-community-message {display:block;background:#181617;border:1px solid #3b342c;border-radius:11px;padding:10px;margin:0 0 10px;min-width:0;max-width:100%;}
#tp-sync-chat .tp-community-message.is-own {border-color:#75522f;}
#tp-sync-chat .tp-community-meta {display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;justify-content:space-between;margin:0 0 6px;color:#d1a06a;font-size:12px;line-height:18px;}
#tp-sync-chat .tp-community-meta strong {font-weight:600!important;overflow-wrap:anywhere;}
#tp-sync-chat .tp-community-meta time {color:#a09c99;font-size:10px;white-space:nowrap;}
#tp-sync-chat .tp-community-message-text {white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font:400 13px/21px Montserrat,Arial,sans-serif!important;}
#tp-sync-chat .tp-community-quoted {margin:6px 0;padding:6px 9px;background:#24201d;border-left:3px solid #b07940;border-radius:4px;font-size:11px;line-height:17px;}
#tp-sync-chat .tp-community-quoted strong,#tp-sync-chat .tp-community-quoted span {display:block;overflow-wrap:anywhere;}
#tp-sync-chat .tp-community-review-status {display:inline-block;margin-top:8px;color:#d1a06a;font-size:11px;}
#tp-sync-chat .tp-community-composer {display:flex;flex-direction:column;flex:0 0 auto;gap:7px;min-width:0;margin:0;padding:10px 12px 6px;border-top:1px solid #3b342c;background:#181617;}
#tp-sync-chat .tp-community-input {display:block;appearance:none;box-sizing:border-box;width:100%;min-width:0;min-height:58px;max-height:100px;resize:vertical;padding:9px 10px;border:1px solid #3b342c;border-radius:8px;background:#121210;color:#fefefe;font:400 14px/20px Montserrat,Arial,sans-serif!important;outline:none;}
#tp-sync-chat .tp-community-input:focus {border-color:#b07940;}
#tp-sync-chat .tp-community-formbar {display:flex;gap:10px;justify-content:space-between;align-items:center;min-width:0;}
#tp-sync-chat .tp-community-send {appearance:none;min-height:38px;padding:8px 14px;border:1px solid #b07940;border-radius:8px;background:#b07940;color:#fff;font:600 12px/18px Montserrat,Arial,sans-serif!important;cursor:pointer;}
#tp-sync-chat .tp-community-muted {font-size:11px;color:#a09c99;}
#tp-sync-chat .tp-community-status {flex:0 0 auto;max-height:68px;overflow:auto;padding:5px 12px 8px;font:400 12px/18px Montserrat,Arial,sans-serif!important;color:#d1a06a;background:#181617;}
#tp-sync-chat .tp-community-status:empty {padding-top:0;padding-bottom:5px;}
#tp-sync-chat .tp-community-reply {display:flex;justify-content:space-between;gap:8px;align-items:flex-start;border-left:3px solid #b07940;padding:5px 8px;background:#24201d;}
#tp-sync-chat .tp-community-reply-text {min-width:0;font-size:11px;line-height:16px;overflow-wrap:anywhere;}
#tp-sync-chat .tp-community-reply-text strong,#tp-sync-chat .tp-community-reply-text span {display:block;}
#tp-sync-chat .tp-community-cancel {appearance:none;flex:0 0 30px;min-height:30px;border:0;background:transparent;color:#fefefe;font-size:20px;cursor:pointer;}
#tp-sync-chat .tp-community-pane button:disabled,#tp-sync-chat .tp-community-tab:disabled {opacity:.5;cursor:wait;}
@media(max-width:1023px) {
 #tp-sync-chat .tp-community-input {font-size:16px!important;line-height:22px!important;min-height:56px;}
 #tp-sync-chat .tp-community-status {padding-bottom:max(8px,env(safe-area-inset-bottom,0px));}
 #tp-sync-chat .tp-community-tab {font-size:12px!important;min-height:40px;}
}
