@import url('oujvl0x95cy4aqfpxd.css?v=20260908-metrics-1');
@import url('yaptrv0yqs5x9xbeqt.css?v=20260914-polish-1');

:root {
    --chat-bg: #08070e;
    --chat-panel: #0b0a12;
    --chat-panel-raised: #11101a;
    --chat-border: rgba(232, 226, 242, 0.13);
    --chat-border-strong: rgba(232, 226, 242, 0.23);
    --chat-text: #f4efe6;
    --chat-muted: #aaa5b0;
    --chat-subtle: #7e7987;
    --chat-accent: #e7e0ef;
    --chat-accent-ink: #100e17;
    --chat-danger: #e79b91;
    --chat-width: 1180px;
    --chat-copy-width: 780px;
    --chat-sidebar-expanded: 260px;
    --chat-sidebar-collapsed: 52px;
    --chat-sidebar-transition: 220ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.osint-chat-shell {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: var(--chat-sidebar-expanded) minmax(0, 1fr);
    grid-template-rows: 0 minmax(0, 1fr);
    color: var(--chat-text);
    background: var(--chat-bg);
    isolation: isolate;
}

.osint-chat-shell.chat-sidebar-ready {
    transition: grid-template-columns var(--chat-sidebar-transition);
}

.osint-chat-shell[hidden] {
    display: none;
}

body.chat-interface-active {
    overflow: hidden;
    background: var(--chat-bg);
}

body.chat-interface-active > .sidenav,
body.chat-interface-active > .container,
body.chat-interface-active > .overlay,
body.chat-interface-active > .bg-glow,
body.chat-interface-active > .app-loading-overlay {
    display: none !important;
}

body.chat-interface-active > .bg-grid {
    z-index: 29;
    opacity: 0.16;
    pointer-events: none;
}

body.chat-interface-active[aria-busy="true"] #osint-chat-account .discord-sign-in-text {
    color: var(--chat-muted) !important;
    text-shadow: none !important;
    background: transparent;
}

body.chat-interface-active > .discord-user-menu {
    --dark: #0b0a12;
    --darker: #08070e;
    --content-bg: #0b0a12;
    --terminal-bg: #09080f;
    --terminal-border: rgba(232, 226, 242, 0.13);
    --border-color: rgba(232, 226, 242, 0.13);
    --accent-color: #e7e0ef;
    --text-color: #f4efe6;
    --text-color-dimmed: #aaa5b0;
    --text-secondary: #7e7987;
    --surface-0: #08070e;
    --surface-1: #0b0a12;
    --surface-2: #11101a;
    --surface-3: #171522;
    --surface-highlight: rgba(244, 239, 230, 0.06);
    width: min(320px, calc(100vw - 16px));
    min-width: min(300px, calc(100vw - 16px));
    max-width: none;
    max-height: calc(100dvh - 16px);
    padding: 8px;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid rgba(232, 226, 242, 0.14);
    border-radius: 12px;
    background: #0b0a12;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.52);
}

body.chat-interface-active > .discord-user-menu .menu-account-summary {
    gap: 3px;
    padding: 10px 10px 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

body.chat-interface-active > .discord-user-menu .menu-account-provider,
body.chat-interface-active > .discord-user-menu .menu-section-label {
    color: var(--chat-subtle);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

body.chat-interface-active > .discord-user-menu .menu-account-tier {
    padding: 0;
    color: var(--chat-muted);
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 10px;
    font-weight: 600;
}

body.chat-interface-active > .discord-user-menu .menu-account-name {
    color: var(--chat-text);
    font-size: 13px;
    font-weight: 600;
}

body.chat-interface-active > .discord-user-menu .menu-account-meta {
    color: var(--chat-muted);
    font-size: 11px;
}

body.chat-interface-active > .discord-user-menu .menu-section-label {
    margin: 5px 0 2px;
    padding: 0 10px;
}

body.chat-interface-active > .discord-user-menu .discord-user-menu-item {
    gap: 11px;
    min-height: 40px;
    padding: 9px 10px;
    color: var(--chat-muted);
    border: 0;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 500;
}

body.chat-interface-active > .discord-user-menu .discord-user-menu-item:hover,
body.chat-interface-active > .discord-user-menu .discord-user-menu-item:focus-visible {
    color: var(--chat-text);
    border: 0;
    outline: 0;
    background: rgba(244, 239, 230, 0.06);
}

body.chat-interface-active > .discord-user-menu .menu-item-icon {
    width: 18px;
    color: var(--chat-subtle);
    font-size: 12px;
}

body.chat-interface-active > .discord-user-menu :is(
    .manage-subscription-item,
    .support-item,
    .user-status-item,
    .server-health-item
) :is(.menu-item-icon, .menu-item-label) {
    color: inherit;
}

body.chat-interface-active > .discord-user-menu .menu-divider {
    margin: 6px 2px;
    background: rgba(232, 226, 242, 0.1);
}

.osint-chat-header {
    position: relative;
    z-index: 5;
    grid-column: 2;
    grid-row: 1;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-width: 0;
    padding: 0 22px;
    border: 0;
    background: transparent;
}

.osint-chat-header-primary {
    display: none;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.osint-chat-header-button,
.osint-chat-history-close {
    display: none;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    color: var(--chat-muted);
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    cursor: pointer;
}

.osint-chat-header-button:hover,
.osint-chat-header-button:focus-visible,
.osint-chat-history-close:hover,
.osint-chat-history-close:focus-visible {
    color: var(--chat-text);
    border-color: var(--chat-border);
    background: var(--chat-panel-raised);
}

.osint-chat-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--chat-text);
    text-decoration: none;
}

.osint-chat-brand img {
    width: 29px;
    height: 29px;
    object-fit: contain;
}

.osint-chat-brand-copy {
    display: block;
    min-width: 0;
}

.osint-chat-brand-copy strong {
    font-family: "Neo Tech Std", "Inter", system-ui, sans-serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.osint-chat-main {
    position: relative;
    z-index: 2;
    grid-column: 2;
    grid-row: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    min-height: 0;
}

.osint-chat-history {
    grid-column: 1;
    grid-row: 1 / 3;
    display: flex;
    min-width: 0;
    padding: 4px;
    overflow: hidden;
    flex-direction: column;
    border-right: 1px solid var(--chat-border);
    background: #07060c;
    box-sizing: border-box;
}

.osint-chat-history-head {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0;
}

.osint-chat-history-brand-toggle,
.osint-chat-history-close {
    display: grid;
    flex: 0 0 44px;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--chat-muted);
    border: 0;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
}

.osint-chat-history-brand-toggle:hover,
.osint-chat-history-brand-toggle:focus-visible,
.osint-chat-history-close:hover,
.osint-chat-history-close:focus-visible {
    color: var(--chat-text);
    background: rgba(244, 239, 230, 0.055);
}

.osint-chat-history-mark {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    box-sizing: border-box;
    line-height: 1;
    width: 30px;
    height: 30px;
}

.osint-chat-history-mark img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    transition: opacity 120ms ease, transform 160ms ease;
}

.osint-chat-sidebar-glyph {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.55;
}

.osint-chat-history-mark .osint-chat-sidebar-glyph {
    position: absolute;
    opacity: 0;
    transform: scale(0.84);
    transition: opacity 120ms ease, transform 160ms ease;
}

.osint-chat-history-brand-toggle {
    display: flex;
    flex: 1 1 auto;
    justify-content: flex-start;
    gap: 7px;
    width: auto;
    min-width: 0;
    padding: 0 7px;
    text-decoration: none;
}

.osint-chat-history-brand-name {
    min-width: 0;
    overflow: hidden;
    color: var(--chat-text);
    font-family: "Neo Tech Std", "Inter", system-ui, sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.osint-chat-history .osint-chat-history-close {
    display: grid;
    margin-left: auto;
}

.osint-chat-history-search,
.osint-chat-tools-nav,
.osint-chat-new {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 40px;
    padding: 0 10px;
    color: var(--chat-muted);
    text-align: left;
    border: 0;
    border-radius: 9px;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    font-weight: 400;
    white-space: nowrap;
}

.osint-chat-history-recent {
    min-height: 32px;
    padding: 10px 10px 4px;
    color: #85808d;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
}

.osint-chat-new {
    margin: 4px 0 2px;
}

.osint-chat-tools-nav,
.osint-chat-history-search {
    margin: 0 0 2px;
}

.osint-chat-tools-nav[aria-pressed="true"] {
    color: var(--chat-text);
    background: rgba(244, 239, 230, 0.055);
}

.osint-chat-tools-nav[aria-pressed="true"] i {
    color: var(--chat-text);
}

.osint-chat-history.chat-sidebar-tools-view .osint-chat-history-recent,
.osint-chat-history.chat-sidebar-tools-view .osint-chat-history-list,
.osint-chat-sidebar-tools[hidden] {
    display: none;
}

.osint-chat-sidebar-tools {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}

.osint-chat-sidebar-tools-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 32px;
    padding: 10px 4px 4px 10px;
    color: #85808d;
    font-size: 13px;
    line-height: 18px;
}

.osint-chat-sidebar-tools-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 26px;
    padding: 0 8px;
    color: var(--chat-subtle);
    border: 0;
    border-radius: 7px;
    background: transparent;
    cursor: pointer;
    font-size: 12px;
}

.osint-chat-sidebar-tools-back:hover,
.osint-chat-sidebar-tools-back:focus-visible {
    color: var(--chat-text);
    outline: 0;
    background: rgba(244, 239, 230, 0.055);
}

.osint-chat-sidebar-tools-list {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0 0 8px;
    overflow-x: hidden;
    overflow-y: auto;
}

.osint-chat-sidebar-tool {
    display: flex;
    align-items: center;
    gap: 4px;
    width: 100%;
    min-height: 36px;
    margin: 1px 0;
    padding: 2px 6px 2px 10px;
    color: #aaa5b0;
    border-radius: 9px;
    background: transparent;
    font-size: 13px;
    font-weight: 400;
}

.osint-chat-sidebar-tool:hover,
.osint-chat-sidebar-tool:focus-within,
.osint-chat-sidebar-tool[aria-selected="true"] {
    color: var(--chat-text);
    background: rgba(244, 239, 230, 0.055);
}

.osint-chat-sidebar-tool-select {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 32px;
    padding: 0;
    color: inherit;
    text-align: left;
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
}

.osint-chat-sidebar-tool-select:focus-visible {
    outline: 0;
}

.osint-chat-sidebar-tool-mark {
    display: grid;
    flex: 0 0 30px;
    place-items: center;
    width: 30px;
    height: 30px;
}

.osint-chat-sidebar-tool-mark > * {
    grid-area: 1 / 1;
}

.osint-chat-sidebar-tool-favorite {
    opacity: 0;
    pointer-events: none;
    transition: opacity 140ms ease;
}

.osint-chat-sidebar-tool:is(:hover, :focus-within, .is-favorite) .osint-chat-sidebar-tool-favorite {
    opacity: 1;
    pointer-events: auto;
}

.osint-chat-sidebar-tool:is(:hover, :focus-within, .is-favorite) .chat-tool-access {
    visibility: hidden;
}

.osint-chat-sidebar-tool i {
    display: grid;
    flex: 0 0 24px;
    place-items: center;
    width: 24px;
    color: var(--chat-muted);
    font-size: 13px;
}

.osint-chat-sidebar-tool-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.osint-chat-sidebar-tool .chat-tool-access {
    flex: 0 0 auto;
    margin-left: 0;
}

.osint-chat-new:hover,
.osint-chat-tools-nav:hover,
.osint-chat-new:focus-visible,
.osint-chat-tools-nav:focus-visible,
.osint-chat-history-search:hover,
.osint-chat-history-search:focus-visible {
    color: var(--chat-text);
    outline: 0;
    background: rgba(244, 239, 230, 0.055);
}

.osint-chat-history-search i,
.osint-chat-tools-nav i,
.osint-chat-new i {
    display: grid;
    flex: 0 0 24px;
    place-items: center;
    width: 24px;
    color: var(--chat-muted);
    font-size: 13px;
}

.osint-chat-history-list {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0 0 8px;
    overflow-x: hidden;
    overflow-y: auto;
}

.osint-chat-account-footer {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    margin-top: auto;
    padding-top: 8px;
}

.osint-chat-account-hint {
    margin: 0;
    padding: 4px 10px 9px;
    color: var(--chat-subtle);
    font-size: 11px;
    line-height: 1.45;
}

.osint-chat-account-hint[hidden] {
    display: none;
}

.osint-chat-plans-link {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 10px;
    color: #aaa5b0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.25;
    text-decoration: none;
    border: 0;
    border-radius: 9px;
    background: transparent;
    box-sizing: border-box;
}

.osint-chat-plans-link[hidden] {
    display: none;
}

.osint-chat-plans-link i {
    display: grid;
    flex: 0 0 24px;
    place-items: center;
    width: 24px;
    color: #8e8897;
    font-size: 16px;
}

.osint-chat-plans-link:hover,
.osint-chat-plans-link:focus-visible {
    color: var(--chat-text);
    outline: 0;
    background: rgba(244, 239, 230, 0.055);
}

.osint-chat-account {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    padding: 6px 8px;
    overflow: hidden;
    color: var(--chat-muted);
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: 0;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    box-sizing: border-box;
    transition: color 140ms ease, background 140ms ease;
}

.osint-chat-account-avatar-fallback,
.osint-chat-account .discord-user-avatar {
    display: grid;
    flex: 0 0 32px;
    place-items: center;
    width: 32px !important;
    height: 32px !important;
    margin: 0;
    color: #c8c1d1;
    border: 1px solid rgba(232, 226, 242, 0.14);
    border-radius: 50%;
    background: #11101a;
    object-fit: cover;
    box-sizing: border-box;
}

.osint-chat-account.discord-has-avatar .osint-chat-account-avatar-fallback {
    display: none;
}

.osint-chat-account .discord-sign-in-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.osint-chat-account:hover,
.osint-chat-account:focus-visible {
    color: var(--chat-text);
    background: rgba(244, 239, 230, 0.055);
}

.osint-chat-history-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 24px;
    gap: 2px;
    align-items: center;
    width: 100%;
    min-height: 36px;
    margin: 1px 0;
    padding: 2px 5px 2px 10px;
    color: #aaa5b0;
    text-align: left;
    border: 0;
    border-radius: 9px;
    background: transparent;
    cursor: pointer;
    box-sizing: border-box;
}

.osint-chat-history-open {
    grid-column: 1;
    display: block;
    min-width: 0;
    padding: 0;
    color: inherit;
    text-align: left;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.osint-chat-history-item:hover,
.osint-chat-history-item:focus-visible,
.osint-chat-history-item[aria-current="true"] {
    color: var(--chat-text);
    background: rgba(244, 239, 230, 0.055);
}

.osint-chat-history-item-copy {
    display: block;
    min-width: 0;
}

.osint-chat-history-item-copy strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.osint-chat-history-item-copy strong {
    font-size: 13px;
    font-weight: 400;
}

.osint-chat-history-delete {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    padding: 0;
    color: transparent;
    border: 0;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
}

.osint-chat-history-item:hover .osint-chat-history-delete,
.osint-chat-history-item:focus-within .osint-chat-history-delete {
    color: var(--chat-subtle);
}

.osint-chat-history-delete:hover,
.osint-chat-history-delete:focus-visible {
    color: var(--chat-text) !important;
    background: var(--chat-panel-raised);
}

.osint-chat-history-empty,
.osint-chat-history-loading {
    padding: 28px 12px;
    color: var(--chat-subtle);
    text-align: center;
    font-size: 11px;
    line-height: 1.55;
}

.osint-chat-history-backdrop {
    display: none;
}

.osint-chat-search-overlay {
    position: fixed;
    z-index: 80;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 9vh 20px 24px;
    background: rgba(2, 1, 6, 0.68);
    backdrop-filter: blur(8px);
    box-sizing: border-box;
}

.osint-chat-search-overlay[hidden] {
    display: none;
}

.osint-chat-search-dialog {
    width: min(620px, 100%);
    max-height: min(700px, 80vh);
    overflow: hidden;
    color: var(--chat-text);
    border: 1px solid rgba(226, 219, 238, 0.14);
    border-radius: 18px;
    background: #0d0c14;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.66), 0 1px 0 rgba(255, 255, 255, 0.025) inset;
}

.osint-chat-search-head {
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 0 13px 0 19px;
}

.osint-chat-search-head h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 550;
    letter-spacing: 0;
    text-transform: none;
}

.osint-chat-search-close {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-left: auto;
    padding: 0;
    color: var(--chat-muted);
    border: 0;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
}

.osint-chat-search-close:hover,
.osint-chat-search-close:focus-visible {
    color: var(--chat-text);
    background: rgba(244, 239, 230, 0.055);
}

.osint-chat-search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    margin: 0 12px 12px;
    padding: 0 15px;
    color: var(--chat-subtle);
    border: 1px solid rgba(226, 219, 238, 0.14);
    border-radius: 12px;
    background: #08070d;
    box-sizing: border-box;
}

.osint-chat-search-field:focus-within {
    color: #b8b1c1;
    border-color: rgba(214, 201, 231, 0.34);
    box-shadow: 0 0 0 3px rgba(115, 88, 143, 0.08);
}

.osint-chat-search-field input {
    min-width: 0;
    width: 100%;
    padding: 0;
    color: var(--chat-text);
    font: inherit;
    font-size: 14px;
    border: 0;
    outline: 0;
    background: transparent;
}

.osint-chat-search-field input::placeholder {
    color: var(--chat-subtle);
}

.osint-chat-search-results {
    max-height: calc(min(700px, 80vh) - 120px);
    padding: 0 8px 10px;
    overflow-y: auto;
}

.osint-chat-search-section-label {
    padding: 7px 12px 5px;
    color: #777180;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.035em;
}

.osint-chat-search-result {
    display: grid;
    gap: 3px;
    width: 100%;
    min-height: 58px;
    padding: 9px 12px;
    overflow: hidden;
    color: var(--chat-text);
    text-align: left;
    border: 0;
    border-radius: 9px;
    background: transparent;
    cursor: pointer;
}

.osint-chat-search-result strong,
.osint-chat-search-result span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.osint-chat-search-result strong {
    font-size: 13px;
    font-weight: 500;
}

.osint-chat-search-result span {
    color: #817b89;
    font-size: 11.5px;
    font-weight: 400;
}

.osint-chat-search-result:hover,
.osint-chat-search-result:focus-visible {
    color: var(--chat-text);
    outline: 0;
    background: rgba(224, 213, 238, 0.065);
}

.osint-chat-search-result:hover span,
.osint-chat-search-result:focus-visible span {
    color: #9b95a3;
}

.osint-chat-search-skeleton {
    display: grid;
    gap: 8px;
    min-height: 58px;
    padding: 11px 12px;
    box-sizing: border-box;
}

.osint-chat-search-skeleton span {
    display: block;
    height: 9px;
    border-radius: 999px;
    background: linear-gradient(92deg, rgba(229, 220, 241, 0.045) 20%, rgba(229, 220, 241, 0.1) 48%, rgba(229, 220, 241, 0.045) 76%);
    background-size: 230% 100%;
    animation: osint-chat-search-shimmer 1.25s ease-in-out infinite;
}

.osint-chat-search-skeleton-title {
    width: 42%;
}

.osint-chat-search-skeleton-detail {
    width: 72%;
}

.osint-chat-search-skeleton:nth-child(2n) .osint-chat-search-skeleton-title {
    width: 34%;
}

.osint-chat-search-skeleton:nth-child(3n) .osint-chat-search-skeleton-detail {
    width: 58%;
}

@keyframes osint-chat-search-shimmer {
    from { background-position: 100% 0; }
    to { background-position: -100% 0; }
}

.osint-chat-search-empty {
    padding: 38px 16px 44px;
    color: var(--chat-subtle);
    font-size: 13px;
    text-align: center;
}

.osint-chat-thread {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    scroll-padding-bottom: 180px;
}

.osint-chat-thread-inner {
    width: min(var(--chat-width), calc(100% - 48px));
    min-height: 100%;
    margin: 0 auto;
    padding: 52px 0 190px;
    box-sizing: border-box;
}

.osint-chat-shell.chat-has-activity .osint-chat-thread-inner {
    padding-top: 28px;
}

.osint-chat-welcome {
    display: grid;
    place-items: center;
    min-height: clamp(260px, 48vh, 500px);
    text-align: center;
}

.osint-chat-welcome-inner {
    width: 100%;
    max-width: min(940px, calc(100% - 48px));
}

.osint-chat-welcome h1 {
    margin: 0;
    color: var(--chat-text);
    font-family: "Neo Tech Std", "Inter", system-ui, sans-serif;
    font-size: clamp(24px, 2.35vw, 34px);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.18;
    white-space: nowrap;
}

.osint-chat-welcome p {
    max-width: 540px;
    margin: 13px auto 0;
    color: var(--chat-muted);
    font-size: 15px;
    line-height: 1.65;
}

.chat-message {
    width: 100%;
    margin: 0 0 28px;
    animation: chat-message-in 180ms ease-out both;
}

.chat-message-inner {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.chat-message-user .chat-message-inner {
    display: flex;
    justify-content: flex-end;
}

.chat-message-content {
    width: min(100%, var(--chat-copy-width));
    min-width: 0;
    color: var(--chat-text);
    font-size: 15px;
    line-height: 1.67;
    overflow-wrap: anywhere;
}

.chat-message-user .chat-message-content {
    width: auto;
    max-width: min(78%, 720px);
    padding: 11px 15px;
    color: var(--chat-text);
    border: 1px solid var(--chat-border);
    border-radius: 16px 16px 4px 16px;
    background: var(--chat-panel-raised);
    white-space: pre-wrap;
}

.chat-assistant-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    box-sizing: border-box;
    line-height: 1;
    width: 30px;
    height: 30px;
    margin-top: 1px;
    border: 1px solid var(--chat-border);
    border-radius: 9px;
    background: var(--chat-panel);
}

.chat-assistant-mark img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.chat-message-content p {
    margin: 0 0 13px;
}

.chat-message-content p:last-child {
    margin-bottom: 0;
}

.chat-message-content h2,
.chat-message-content h3,
.chat-message-content h4,
.chat-message-content h5 {
    margin: 22px 0 9px;
    color: var(--chat-text);
    font-size: 18px;
    line-height: 1.35;
}

.chat-message-content ul,
.chat-message-content ol {
    margin: 8px 0 14px;
    padding-left: 24px;
}

.chat-message-content li + li {
    margin-top: 5px;
}

.chat-message-content a {
    color: var(--chat-accent);
    text-decoration-color: rgba(232, 221, 202, 0.45);
    text-underline-offset: 3px;
}

.chat-message-content code {
    padding: 2px 5px;
    border: 1px solid var(--chat-border);
    border-radius: 5px;
    background: var(--chat-panel);
    font: 0.9em/1.5 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.chat-message-content pre {
    max-width: 100%;
    margin: 13px 0;
    padding: 14px;
    overflow: auto;
    border: 1px solid var(--chat-border);
    border-radius: 10px;
    background: #06050b;
}

.chat-message-content pre code {
    padding: 0;
    border: 0;
    background: transparent;
}

.chat-message-content blockquote {
    margin: 12px 0;
    padding-left: 14px;
    color: var(--chat-muted);
    border-left: 2px solid var(--chat-border-strong);
}

.chat-message-loading .chat-message-content {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 30px;
    color: var(--chat-muted);
}

.chat-loading-label {
    display: inline-grid;
    min-width: 0;
}

.chat-loading-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.chat-loading-detail {
    color: var(--chat-muted);
    font-size: 13px;
    line-height: 1.5;
}

.chat-message-loading-report {
    position: sticky;
    top: 0;
    z-index: 3;
    padding: 6px 0;
    background: var(--chat-bg, #08070e);
}

.chat-loading-text {
    grid-area: 1 / 1;
    width: fit-content;
    max-width: 100%;
    overflow-wrap: anywhere;
    color: var(--chat-muted);
    background: linear-gradient(100deg, #b4aebb 32%, #625a70 43%, #eee7f6 51%, #b4aebb 65%);
    background-size: 250% 100%;
    background-position: 100% 0;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: chat-status-sweep 2.8s linear infinite;
}

@keyframes chat-status-sweep {
    from { background-position: 100% 0; }
    to { background-position: 0% 0; }
}

@media (prefers-reduced-motion: reduce), (forced-colors: active) {
    .chat-loading-text {
        animation: none;
        background: none;
        -webkit-text-fill-color: currentColor;
    }
}

/* Reports run full width without the assistant mark, matching mobile. */
.chat-message-report .chat-message-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
}

.chat-message-report .chat-assistant-mark {
    display: none;
}

.chat-message-report.chat-report-pending {
    max-height: 0;
    margin-bottom: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
}

.chat-report-host {
    min-width: 0;
    width: 100%;
    --content-bg: var(--chat-bg);
    --terminal-bg: var(--chat-bg);
    --surface-0: var(--chat-bg);
    --surface-1: var(--chat-bg);
    --surface-2: var(--chat-bg);
    --surface-3: var(--chat-bg);
    --cmd-pane: var(--chat-bg);
    --cmd-well: var(--chat-bg);
    --o-bg: var(--chat-bg);
    --o-bg-sunken: var(--chat-bg);
    --o-bg-panel: var(--chat-bg);
    --ei-surface: var(--chat-bg);
    --ei-surface-raised: var(--chat-bg);
}

.chat-report-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 2px 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--chat-border);
}

.chat-report-heading span {
    color: var(--chat-text);
    font-size: 15px;
    font-weight: 650;
}

.chat-report-heading small {
    color: var(--chat-subtle);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.chat-report-host > .chat-mounted-report,
.chat-report-host > .chat-report-snapshot {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
    background-color: var(--chat-bg) !important;
    background-image: none !important;
    box-shadow: none !important;
}

.chat-history-report {
    overflow: hidden;
    border: 1px solid var(--chat-border) !important;
    border-radius: 10px;
}

.chat-history-report :is(.oracle-results, .oracle-live-preview-card) {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.chat-report-host > .results {
    min-height: 120px;
    padding-inline: 0;
}

.chat-report-host:has(> :is(#oracle-results, .chat-history-report[data-report-container-id="oracle-results"])) > .chat-report-heading {
    border-bottom: 0;
}

.chat-report-host > :is(#oracle-results, .chat-history-report[data-report-container-id="oracle-results"]).chat-mounted-report {
    overflow: hidden;
    border: 1px solid var(--chat-border) !important;
    border-radius: 10px;
}

.chat-report-host > :is(#oracle-results, .chat-history-report[data-report-container-id="oracle-results"]).chat-mounted-report :is(
    .oracle-results,
    .oracle-live-preview-card
) {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.chat-report-host img,
.chat-report-host video,
.chat-report-host canvas,
.chat-report-host svg {
    max-width: 100%;
}

.chat-report-host .leaflet-gl-layer,
.chat-report-host .maplibregl-canvas {
    max-width: none !important;
}

.chat-report-host :is(
    .oracle-report,
    .oracle-report-header,
    .oracle-report-body,
    .oracle-results,
    .oracle-command-report-header,
    .oracle-section,
    .oracle-raw-intel-section,
    .oracle-report-structured-block,
    .oracle-report-images-block,
    .oracle-report-google-reviews-block,
    .oracle-activity-timeline,
    .oracle-refinement-section,
    .oracle-report-graph-section,
    .result-section,
    .profile-card,
    .metrics-card,
    .email-scan-card,
    .info-card,
    .archive-command-section,
    .steam-review-card,
    .ip-info-overlay,
    .phone-info-overlay,
    .di-report,
    .di-section,
    .di-grid,
    .di-cell,
    .di-metrics,
    .di-metric,
    .di-favicon-metric,
    .di-posture-item,
    .di-api-block,
    .di-api-block-header,
    .di-dns-row,
    .di-ip-row,
    .di-header-row,
    .di-subdomain-row,
    .di-url-row,
    .di-api-item,
    .error-message,
    .limit-reached-error,
    .login-required-error,
    .pro-upgrade-message
) {
    background-color: var(--chat-bg) !important;
    background-image: none !important;
    box-shadow: none !important;
}

.chat-report-host :is(
    .error-message,
    .limit-reached-error,
    .login-required-error,
    .pro-upgrade-message
) {
    color: var(--chat-muted) !important;
    border-color: var(--chat-border) !important;
}

.chat-report-host :is(.error-title, .pro-upgrade-message h3) {
    color: var(--chat-text) !important;
}

/* Shared report download button. The #download-report-btn argument lifts the
   whole :is() to ID specificity so it beats each module's own scoped rule. */
body.chat-interface-active .chat-report-host :is(
    .username-download-btn,
    .di-action-btn,
    .breach-download-btn,
    .ip-card-download,
    .download-report-btn[data-vulnerability-download],
    .download-report-btn[data-oracle-download],
    .email-card-btn#download-report-btn
) {
    appearance: none;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-sizing: border-box;
    min-height: 32px;
    padding: 0 12px;
    overflow: visible;
    border: 1px solid var(--chat-border-strong);
    border-radius: 8px;
    background: var(--chat-panel-raised);
    color: var(--chat-text);
    font: 500 12px/1 "Inter", system-ui, sans-serif;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
    box-shadow: none;
    transform: none;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

body.chat-interface-active .chat-report-host :is(
    .username-download-btn,
    .di-action-btn,
    .breach-download-btn,
    .ip-card-download,
    .download-report-btn[data-vulnerability-download],
    .download-report-btn[data-oracle-download],
    .email-card-btn#download-report-btn
)::before {
    content: none;
}

body.chat-interface-active .chat-report-host :is(
    .username-download-btn,
    .di-action-btn,
    .breach-download-btn,
    .ip-card-download,
    .download-report-btn[data-vulnerability-download],
    .download-report-btn[data-oracle-download],
    .email-card-btn#download-report-btn
):hover {
    border-color: rgba(232, 226, 242, 0.36);
    background: #1a1824;
    color: var(--chat-text);
    box-shadow: none;
    transform: none;
}

body.chat-interface-active .chat-report-host :is(
    .username-download-btn,
    .di-action-btn,
    .breach-download-btn,
    .ip-card-download,
    .download-report-btn[data-vulnerability-download],
    .download-report-btn[data-oracle-download],
    .email-card-btn#download-report-btn
):focus-visible {
    outline: 2px solid var(--chat-accent);
    outline-offset: 2px;
}

body.chat-interface-active .chat-report-host :is(
    .username-download-btn,
    .di-action-btn,
    .breach-download-btn,
    .ip-card-download,
    .download-report-btn[data-vulnerability-download],
    .download-report-btn[data-oracle-download],
    .email-card-btn#download-report-btn
):disabled {
    opacity: 0.55;
    cursor: wait;
}

body.chat-interface-active .chat-report-host :is(
    .username-download-btn,
    .di-action-btn,
    .breach-download-btn,
    .ip-card-download,
    .download-report-btn[data-vulnerability-download],
    .download-report-btn[data-oracle-download],
    .email-card-btn#download-report-btn
) i {
    font-size: 11px;
    color: var(--chat-muted);
    opacity: 1;
}

@media (max-width: 768px) {
    body.chat-interface-active .chat-report-host :is(
        .username-download-btn,
        .di-action-btn,
        .breach-download-btn,
        .ip-card-download,
        .download-report-btn[data-vulnerability-download],
        .download-report-btn[data-oracle-download],
        .email-card-btn#download-report-btn
    ) {
        min-height: 40px;
    }
}

.chat-report-host > :is(:is(#ip-results, .chat-history-report[data-report-container-id="ip-results"]), :is(#phone-results, .chat-history-report[data-report-container-id="phone-results"])).chat-mounted-report > [data-intelligence-body] {
    display: grid !important;
    grid-template-columns: minmax(0, 3fr) minmax(300px, 2fr);
    align-items: start;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
    border: 1px solid var(--chat-border) !important;
    border-radius: 10px;
}

.chat-report-host > :is(:is(#ip-results, .chat-history-report[data-report-container-id="ip-results"]), :is(#phone-results, .chat-history-report[data-report-container-id="phone-results"])).chat-mounted-report > [data-intelligence-body] > :is(.ip-map-frame, .phone-map-frame) {
    position: relative;
    inset: auto;
    align-self: start;
    width: 100%;
    height: clamp(360px, 42vw, 520px);
    min-height: 0;
    border-right: 1px solid var(--chat-border);
    background: var(--chat-bg);
}

.chat-report-host > :is(:is(#ip-results, .chat-history-report[data-report-container-id="ip-results"]), :is(#phone-results, .chat-history-report[data-report-container-id="phone-results"])).chat-mounted-report :is(.ip-map-container, .phone-map-container) {
    width: 100% !important;
    height: 105.263% !important;
    min-height: 0 !important;
}

.chat-report-host > :is(:is(#ip-results, .chat-history-report[data-report-container-id="ip-results"]), :is(#phone-results, .chat-history-report[data-report-container-id="phone-results"])).chat-mounted-report > [data-intelligence-body] > :is(.ip-info-overlay, .phone-info-overlay) {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0;
    background: var(--chat-bg) !important;
    box-shadow: none !important;
    backdrop-filter: none;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.chat-report-host > :is(:is(#ip-results, .chat-history-report[data-report-container-id="ip-results"]), :is(#phone-results, .chat-history-report[data-report-container-id="phone-results"])).chat-mounted-report :is(.info-collapse-btn, .map-expand-btn) {
    display: none !important;
}

.chat-report-host > :is(:is(#ip-results, .chat-history-report[data-report-container-id="ip-results"]), :is(#phone-results, .chat-history-report[data-report-container-id="phone-results"])).chat-mounted-report :is(.ip-info-header, .phone-info-header) {
    position: relative;
    inset: auto;
    padding: 18px 20px 16px !important;
    background: var(--chat-bg) !important;
    border-bottom: 1px solid var(--chat-border);
}

.chat-report-host > :is(:is(#ip-results, .chat-history-report[data-report-container-id="ip-results"]), :is(#phone-results, .chat-history-report[data-report-container-id="phone-results"])).chat-mounted-report :is(.ip-info-body, .phone-info-body) {
    padding: 6px 20px 18px !important;
}

.chat-report-host > :is(:is(#ip-results, .chat-history-report[data-report-container-id="ip-results"]), :is(#phone-results, .chat-history-report[data-report-container-id="phone-results"])).chat-mounted-report :is(.ip-info-row, .phone-info-row) {
    display: grid;
    grid-template-columns: minmax(108px, 0.8fr) minmax(0, 1.2fr);
    gap: 14px;
    align-items: start;
    padding: 10px 0 !important;
}

.chat-report-host > :is(:is(#ip-results, .chat-history-report[data-report-container-id="ip-results"]), :is(#phone-results, .chat-history-report[data-report-container-id="phone-results"])).chat-mounted-report :is(.ip-info-label, .phone-info-label) {
    margin: 1px 0 0;
    color: var(--chat-subtle);
    font-size: 10px !important;
    letter-spacing: 0.08em !important;
    line-height: 1.4;
}

.chat-report-host > :is(:is(#ip-results, .chat-history-report[data-report-container-id="ip-results"]), :is(#phone-results, .chat-history-report[data-report-container-id="phone-results"])).chat-mounted-report :is(
    .ip-info-value,
    .phone-info-value,
    .phone-inline-text,
    .phone-list-item,
    .phone-kv-value,
    .phone-pipe-main
) {
    min-width: 0;
    color: var(--chat-muted);
    font-size: 13px !important;
    line-height: 1.5;
    text-align: left;
    overflow-wrap: anywhere;
}

.chat-report-host > :is(:is(#ip-results, .chat-history-report[data-report-container-id="ip-results"]), :is(#phone-results, .chat-history-report[data-report-container-id="phone-results"])).chat-mounted-report :is(.ip-info-section-title, .phone-info-section-title) {
    margin: 14px 0 2px !important;
    color: var(--chat-text);
    font-size: 10px !important;
    letter-spacing: 0.11em;
}

.chat-message-config .chat-message-content {
    width: min(100%, 760px);
}

.chat-config-card {
    width: 100%;
    max-width: 560px;
    padding: 4px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-sizing: border-box;
}

.chat-config-card h2 {
    margin: 0;
    color: var(--chat-text);
    font-size: 16px;
    font-weight: 650;
}

.chat-config-card > p {
    margin: 7px 0 0;
    color: var(--chat-muted);
    font-size: 12px;
    line-height: 1.55;
}

.chat-config-body {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.chat-config-choice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.chat-config-choice-grid button,
.chat-config-secondary,
.chat-config-primary {
    min-height: 42px;
    padding: 0 13px;
    color: var(--chat-muted);
    border: 1px solid var(--chat-border);
    border-radius: 9px;
    background: transparent;
    cursor: pointer;
    font: 600 12px "Inter", system-ui, sans-serif;
}

.chat-config-choice-grid button:hover,
.chat-config-choice-grid button:focus-visible,
.chat-config-choice-grid button[aria-pressed="true"],
.chat-config-secondary:hover,
.chat-config-secondary:focus-visible {
    color: var(--chat-text);
    border-color: var(--chat-border-strong);
    background: rgba(244, 239, 230, 0.055);
}

.chat-config-choice-grid button[aria-pressed="true"] {
    box-shadow: inset 0 0 0 1px var(--chat-accent);
}

.chat-config-choice-grid button:has(i) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.chat-config-choice-grid button i {
    font-size: 11px;
    opacity: 0.8;
}

.chat-config-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.chat-config-field {
    display: grid;
    gap: 6px;
    color: var(--chat-muted);
    font-size: 11px;
    font-weight: 600;
}

.chat-config-field input,
.chat-config-field select {
    width: 100%;
    height: 42px;
    padding: 0 11px;
    color: var(--chat-text);
    border: 1px solid var(--chat-border);
    border-radius: 9px;
    outline: 0;
    background: var(--chat-panel);
    box-sizing: border-box;
    font: 13px "Inter", system-ui, sans-serif;
}

.chat-config-field input:focus,
.chat-config-field select:focus {
    border-color: var(--chat-border-strong);
}

.chat-config-toggle-grid {
    display: grid;
    gap: 14px;
}

.chat-config-option { min-width: 0; }

.chat-config-toggle {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 28px;
    padding: 2px 0;
    box-sizing: border-box;
    color: var(--chat-text);
    font: 500 13px/1.4 "Inter", system-ui, sans-serif;
    cursor: pointer;
}

.chat-config-toggle input,
.osint-chat-pill input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    clip-path: inset(50%);
}

.chat-config-toggle-control {
    position: relative;
    display: block;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    box-sizing: border-box;
    border: 1px solid var(--chat-border-strong);
    border-radius: 4px;
    background: transparent;
}

.chat-config-toggle input:checked + .chat-config-toggle-control {
    border-color: var(--chat-muted);
    background: rgba(232, 226, 242, 0.12);
}

.chat-config-toggle input:checked + .chat-config-toggle-control::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 5px;
    top: 3px;
    left: 3px;
    border: solid var(--chat-text);
    border-width: 0 0 1.5px 1.5px;
    transform: rotate(-45deg);
}

.chat-config-toggle input:focus-visible + .chat-config-toggle-control {
    outline: 2px solid var(--chat-muted);
    outline-offset: 3px;
}

.chat-config-toggle:hover:not(:has(input:disabled)) .chat-config-toggle-control {
    border-color: var(--chat-text);
}

.chat-config-toggle:has(input:disabled) {
    cursor: not-allowed;
    opacity: 0.48;
}

.chat-config-option-detail {
    display: block;
    margin: 0 0 0 26px;
    color: var(--chat-muted);
    font-size: 12px;
    line-height: 1.4;
}

.chat-config-error {
    margin-top: 12px;
    color: var(--chat-danger);
    font-size: 12px;
}

.chat-config-error[hidden] {
    display: none;
}

.chat-config-actions {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 17px;
    padding-top: 0;
    border-top: 0;
}

.chat-config-primary {
    color: var(--chat-accent-ink);
    border-color: var(--chat-accent);
    background: var(--chat-accent);
}

.chat-config-card[data-state="submitted"],
.chat-config-card[data-state="cancelled"] {
    opacity: 0.68;
}

.chat-config-card button:disabled,
.chat-config-card input:disabled,
.chat-config-card select:disabled {
    cursor: default;
}

.chat-canvas-snapshot {
    display: block;
    width: 100%;
    height: auto;
}

.chat-header-frame {
    width: 100% !important;
    min-height: 760px;
    border: 0 !important;
    border-radius: 12px;
    background: #090810;
}

.chat-followup-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.chat-followup-actions button {
    min-height: 38px;
    padding: 0 14px;
    color: var(--chat-text);
    border: 1px solid var(--chat-border-strong);
    border-radius: 9px;
    background: transparent;
    cursor: pointer;
}

.chat-followup-actions button:disabled {
    cursor: default;
    opacity: 0.55;
}

.osint-chat-composer-dock {
    position: absolute;
    z-index: 6;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 18px 24px 22px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(8, 7, 14, 0), var(--chat-bg) 38%, var(--chat-bg));
}

.osint-chat-composer-wrap {
    position: relative;
    width: min(900px, 100%);
    margin: 0 auto;
    padding-top: 38px;
    box-sizing: border-box;
    pointer-events: auto;
}

.osint-chat-recommendations {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 8px;
    margin: 14px auto 0;
}

.osint-chat-recommendations button {
    min-height: 32px;
    padding: 5px 11px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: rgba(232, 226, 242, 0.035);
    color: var(--chat-muted);
    font: 400 11.5px/1.4 "Inter", system-ui, sans-serif;
    cursor: pointer;
    transition: background-color 150ms ease, color 150ms ease;
}

.osint-chat-recommendations button:hover {
    background: rgba(232, 226, 242, 0.075);
    color: var(--chat-text);
}

.osint-chat-recommendations button:focus-visible {
    outline: 2px solid var(--chat-muted);
    outline-offset: 2px;
}

.osint-chat-shell.chat-has-activity .osint-chat-recommendations {
    display: none;
}

.osint-chat-shell:not(.chat-has-activity) .osint-chat-thread {
    overflow: hidden;
}

.osint-chat-shell:not(.chat-has-activity) .osint-chat-thread-inner {
    padding: 0;
}

.osint-chat-shell:not(.chat-has-activity) .osint-chat-welcome {
    position: absolute;
    top: calc(50% - 128px);
    right: 24px;
    left: 24px;
    min-height: 0;
}

.osint-chat-shell:not(.chat-has-activity) .osint-chat-composer-dock {
    top: 50%;
    bottom: auto;
    padding-top: 0;
    padding-bottom: 0;
    background: transparent;
    transform: translateY(-12%);
}

.osint-chat-composer {
    position: relative;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    border: 1px solid var(--chat-border-strong);
    border-radius: 18px;
    background: var(--chat-panel);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.34);
    transition: border-color 140ms ease, box-shadow 140ms ease;
}

.osint-chat-icon-button.osint-chat-tools-button {
    color: var(--chat-muted);
}

.osint-chat-composer:focus-within {
    border-color: rgba(244, 239, 230, 0.34);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(244, 239, 230, 0.04);
}

.osint-chat-tool-chip-row {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    margin: 0;
    padding: 0 2px;
}

.osint-chat-tool-chip-row[hidden],
.osint-chat-option-row[hidden],
.osint-chat-file-row[hidden],
.osint-chat-attachment[hidden] {
    display: none;
}

.osint-chat-tool-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    padding: 0 7px 0 10px;
    color: var(--chat-muted);
    border: 1px solid var(--chat-border);
    border-radius: 10px;
    background: var(--chat-panel);
    font-size: 12px;
}

.osint-chat-tool-chip button {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    padding: 0;
    color: var(--chat-muted);
    border: 0;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
}

.osint-chat-tool-chip button:hover,
.osint-chat-tool-chip button:focus-visible {
    color: var(--chat-text);
    background: rgba(244, 239, 230, 0.08);
}

.osint-chat-dork-bar:not([hidden]) {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 9px 9px 0;
}

.osint-chat-dork-bar.is-entering {
    animation: osint-chat-dork-enter 320ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.osint-chat-dork-track {
    position: relative;
    display: flex;
    gap: 2px;
    min-width: 0;
    padding: 3px;
    overflow-x: auto;
    border: 1px solid var(--chat-border);
    border-radius: 11px;
    background: rgba(244, 239, 230, 0.025);
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}

.osint-chat-dork-track::-webkit-scrollbar {
    display: none;
}

.osint-chat-dork-thumb {
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 0;
    width: 0;
    border-radius: 8px;
    background: var(--chat-accent);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
    transition: transform 280ms cubic-bezier(0.2, 0.75, 0.25, 1), width 280ms cubic-bezier(0.2, 0.75, 0.25, 1);
    pointer-events: none;
}

.osint-chat-dork-thumb.is-instant {
    transition: none;
}

.osint-chat-dork-option {
    position: relative;
    z-index: 1;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    height: 30px;
    padding: 0 11px;
    color: var(--chat-muted);
    border: 0;
    border-radius: 8px;
    background: transparent;
    font: 500 12px/1 "Inter", system-ui, sans-serif;
    white-space: nowrap;
    cursor: pointer;
    transition: color 200ms ease, background-color 160ms ease;
}

.osint-chat-dork-option i {
    font-size: 11px;
    opacity: 0.8;
    transition: opacity 200ms ease, transform 280ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.osint-chat-dork-option:hover {
    color: var(--chat-text);
    background: rgba(244, 239, 230, 0.05);
}

.osint-chat-dork-option[aria-checked="true"] {
    color: var(--chat-accent-ink);
    background: transparent;
}

.osint-chat-dork-option[aria-checked="true"] i {
    opacity: 1;
    transform: scale(1.08);
}

.osint-chat-dork-option:focus-visible {
    outline: 2px solid var(--chat-muted);
    outline-offset: 1px;
}

.osint-chat-dork-hint:not([hidden]) {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    color: var(--chat-subtle);
    font: 500 11px/1 "Inter", system-ui, sans-serif;
    white-space: nowrap;
}

.osint-chat-dork-hint::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}

.osint-chat-dork-hint.is-fresh {
    animation: osint-chat-dork-hint 900ms ease both;
}

@keyframes osint-chat-dork-enter {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes osint-chat-dork-hint {
    0% {
        color: var(--chat-text);
        opacity: 0;
    }
    30% {
        color: var(--chat-text);
        opacity: 1;
    }
    100% {
        color: var(--chat-subtle);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .osint-chat-dork-bar.is-entering,
    .osint-chat-dork-hint.is-fresh {
        animation: none;
    }

    .osint-chat-dork-thumb,
    .osint-chat-dork-option,
    .osint-chat-dork-option i {
        transition: none;
    }
}

.osint-chat-composer-options {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.osint-chat-composer-options:not(:has(> :not([hidden]))) {
    display: none;
}

.osint-chat-option-row,
.osint-chat-file-row {
    display: flex;
    min-width: 0;
}

.osint-chat-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    min-height: 34px;
    padding: 0 12px;
    box-sizing: border-box;
    color: var(--chat-muted);
    border: 1px solid var(--chat-border);
    border-radius: 8px;
    background: transparent;
    font: 500 12px/1 "Inter", system-ui, sans-serif;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    transition: color 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

.osint-chat-pill i {
    font-size: 11px;
    opacity: 0.85;
}

.osint-chat-pill span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.osint-chat-pill:hover {
    color: var(--chat-text);
    border-color: var(--chat-border-strong);
    background: rgba(244, 239, 230, 0.05);
}

.osint-chat-pill:has(input:focus-visible) {
    outline: 2px solid var(--chat-muted);
    outline-offset: 2px;
}

.osint-chat-option-pill:has(input:checked) {
    color: var(--chat-accent-ink);
    border-color: var(--chat-accent);
    background: var(--chat-accent);
}

.osint-chat-option-pill:has(input:checked) i {
    opacity: 1;
}

.osint-chat-option-pill:has(input:disabled) {
    opacity: 0.45;
    cursor: not-allowed;
}

.osint-chat-attachment {
    display: flex;
    align-items: center;
    gap: 11px;
    max-width: min(100% - 26px, 360px);
    margin: 10px 13px 0;
    padding: 7px 7px 7px 7px;
    box-sizing: border-box;
    border: 1px solid var(--chat-border);
    border-radius: 12px;
    background: rgba(244, 239, 230, 0.035);
    animation: osint-chat-attachment-in 220ms cubic-bezier(.22, 1, .36, 1) both;
}

.osint-chat-attachment.is-invalid {
    border-color: rgba(244, 239, 230, 0.34);
}

.osint-chat-attachment-thumb {
    position: relative;
    display: grid;
    flex: 0 0 42px;
    place-items: center;
    width: 42px;
    height: 42px;
    overflow: hidden;
    color: var(--chat-subtle);
    border-radius: 8px;
    background: conic-gradient(rgba(244, 239, 230, 0.06) 25%, transparent 0 50%, rgba(244, 239, 230, 0.06) 0 75%, transparent 0) 0 0 / 10px 10px, rgba(244, 239, 230, 0.04);
}

.osint-chat-attachment-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.osint-chat-attachment-thumb img[hidden] {
    display: none;
}

.osint-chat-attachment-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.osint-chat-attachment-copy strong {
    overflow: hidden;
    color: var(--chat-text);
    font: 500 13px/1.3 "Inter", system-ui, sans-serif;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.osint-chat-attachment-copy small {
    color: var(--chat-subtle);
    font: 500 11px/1.3 "Inter", system-ui, sans-serif;
    letter-spacing: 0.02em;
}

.osint-chat-attachment.is-invalid .osint-chat-attachment-copy small {
    color: var(--chat-danger);
}

.osint-chat-attachment-remove {
    display: grid;
    flex: 0 0 28px;
    place-items: center;
    width: 28px;
    height: 28px;
    padding: 0;
    color: var(--chat-muted);
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    transition: color 140ms ease, background-color 140ms ease;
}

.osint-chat-attachment-remove:hover,
.osint-chat-attachment-remove:focus-visible {
    color: var(--chat-text);
    background: rgba(244, 239, 230, 0.08);
}

.osint-chat-composer.is-drop-target {
    border-color: var(--chat-accent);
    border-style: dashed;
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.38), 0 0 0 4px rgba(244, 239, 230, 0.06);
}

@keyframes osint-chat-attachment-in {
    from { opacity: 0; transform: translateY(4px) scale(0.98); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .osint-chat-attachment {
        animation: none;
    }
}

.osint-chat-input-row {
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 8px 13px 4px;
}

.osint-chat-input {
    width: 100%;
    min-height: 48px;
    max-height: 220px;
    margin: 0;
    padding: 11px 0 8px;
    resize: none;
    overflow-y: auto;
    color: var(--chat-text);
    border: 0;
    outline: 0;
    background: transparent;
    font: 15px/1.55 "Inter", system-ui, sans-serif;
}

.osint-chat-input::placeholder {
    color: var(--chat-subtle);
}

.osint-chat-input[hidden] {
    display: none;
}

.osint-chat-composer-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    padding: 4px 8px 8px 9px;
}

.osint-chat-composer-left,
.osint-chat-composer-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}

.osint-chat-model-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 10px;
    color: var(--chat-muted);
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    font-size: 12px;
}

.osint-chat-model-button:hover,
.osint-chat-model-button:focus-visible,
.osint-chat-model-button[aria-expanded="true"] {
    color: var(--chat-text);
    border-color: var(--chat-border);
    background: rgba(244, 239, 230, 0.05);
}

.osint-chat-model-button svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.osint-chat-count {
    color: var(--chat-danger);
    font-size: 10px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.osint-chat-count[hidden] {
    display: none;
}

.osint-chat-icon-button {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    color: var(--chat-muted);
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    transition: color 140ms ease, border-color 140ms ease, background 140ms ease, transform 120ms ease;
}

.osint-chat-icon-button:hover,
.osint-chat-icon-button:focus-visible,
.osint-chat-icon-button:not(.osint-chat-tools-button)[aria-expanded="true"] {
    color: var(--chat-text);
    border-color: var(--chat-border);
    background: rgba(244, 239, 230, 0.06);
}

.osint-chat-icon-button:active {
    transform: scale(0.95);
}

.osint-chat-send {
    color: var(--chat-accent-ink);
    background: var(--chat-accent);
}

.osint-chat-send:hover,
.osint-chat-send:focus-visible {
    color: var(--chat-accent-ink);
    border-color: var(--chat-accent);
    background: #f4ead8;
}

.osint-chat-send:disabled {
    color: var(--chat-subtle);
    border-color: transparent;
    background: rgba(244, 239, 230, 0.08);
    cursor: default;
    transform: none;
}

.osint-chat-tool-picker,
.osint-chat-model-menu {
    position: absolute;
    z-index: 12;
    bottom: calc(100% + 10px);
    border: 1px solid var(--chat-border-strong);
    border-radius: 14px;
    background: rgba(11, 10, 18, 0.985);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(18px);
}

.osint-chat-tool-picker[hidden],
.osint-chat-model-menu[hidden] {
    display: none;
}

.osint-chat-tool-picker {
    right: 0;
    width: min(650px, 100%);
    max-height: min(68vh, 560px);
    overflow: hidden;
}

.osint-chat-shell:not(.chat-has-activity) .osint-chat-tool-picker {
    max-height: min(42vh, 390px);
}

.osint-chat-shell:not(.chat-has-activity) .osint-chat-tool-list {
    max-height: min(29vh, 290px);
}

.osint-chat-tool-picker-head {
    padding: 14px;
    border-bottom: 1px solid var(--chat-border);
}

.osint-chat-tool-picker-title {
    margin-bottom: 10px;
    color: var(--chat-text);
    font-size: 13px;
    font-weight: 650;
}

.osint-chat-tool-search {
    width: 100%;
    height: 39px;
    padding: 0 11px;
    color: var(--chat-text);
    border: 1px solid var(--chat-border);
    border-radius: 9px;
    outline: 0;
    background: #09080f;
    font: 13px "Inter", system-ui, sans-serif;
}

.osint-chat-tool-search:focus {
    border-color: var(--chat-border-strong);
}

.osint-chat-tool-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
    max-height: min(52vh, 430px);
    padding: 7px;
    overflow-y: auto;
}

@media (min-width: 769px) {
    /* :not([hidden]) keeps the flex layout from overriding the closed state. */
    .osint-chat-tool-picker:not([hidden]),
    .osint-chat-shell:not(.chat-has-activity) .osint-chat-tool-picker:not([hidden]) {
        display: flex;
        flex-direction: column;
        max-height: min(var(--chat-picker-room, 68vh), 860px);
    }

    .osint-chat-tool-list,
    .osint-chat-shell:not(.chat-has-activity) .osint-chat-tool-list {
        flex: 1 1 auto;
        min-height: 0;
        max-height: none;
    }
}

.chat-tool-option {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    align-items: center;
    min-height: 64px;
    padding: 4px;
    color: var(--chat-text);
    text-align: left;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
}

.chat-tool-option:hover,
.chat-tool-option:focus-within,
.chat-tool-option[aria-selected="true"] {
    border-color: var(--chat-border);
    background: rgba(244, 239, 230, 0.05);
}

.chat-tool-option-select {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
    min-width: 0;
    padding: 5px;
    color: inherit;
    text-align: left;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.chat-tool-option-actions {
    display: flex;
    gap: 2px;
    align-items: center;
    align-self: center;
}

.chat-tool-favorite,
.chat-tool-help {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    box-sizing: border-box;
    line-height: 1;
    width: 30px;
    height: 30px;
    padding: 0;
    color: var(--chat-muted);
    border: 1px solid var(--chat-border);
    border-radius: 50%;
    background: var(--chat-bg);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.chat-tool-favorite:hover,
.chat-tool-favorite:focus-visible,
.chat-tool-help:hover,
.chat-tool-help:focus-visible {
    color: var(--chat-text);
    border-color: var(--chat-border-strong);
    background: var(--chat-panel-raised);
}

.chat-tool-favorite {
    border-color: transparent;
    background: transparent;
}

.chat-tool-favorite svg,
.chat-tool-help svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linejoin: round;
}

.chat-tool-favorite[aria-pressed="true"] {
    color: #c4a9ef;
}

.chat-tool-favorite[aria-pressed="true"] svg {
    fill: currentColor;
}

.chat-tool-favorite:focus-visible,
.chat-tool-help:focus-visible {
    outline: 2px solid var(--chat-border-strong);
    outline-offset: 2px;
}

.chat-tool-option-icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    color: var(--chat-muted);
    border: 1px solid var(--chat-border);
    border-radius: 8px;
}

.chat-tool-option-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.chat-tool-option-copy strong {
    font-size: 12px;
    font-weight: 650;
}

.chat-tool-option-copy small {
    display: -webkit-box;
    overflow: hidden;
    color: var(--chat-subtle);
    font-size: 10px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.chat-tool-access {
    margin-left: 6px;
    color: var(--chat-subtle);
}

body.chat-interface-active .auth-required-backdrop,
body.chat-interface-active .modal-overlay,
body.chat-interface-active .account-data-overlay,
body.chat-interface-active .oracle-help-modal-overlay {
    background: rgba(3, 2, 7, 0.82) !important;
}

body.chat-interface-active :is(
    .auth-required-dialog,
    .auth-provider-menu,
    .modal-container,
    .subscription-modal,
    .api-key-modal,
    .account-data-dialog,
    .tos-acceptance-modal,
    .oracle-help-modal-content,
    .discord-user-menu
) {
    --surface-0: var(--chat-bg);
    --surface-1: var(--chat-panel);
    --surface-2: var(--chat-panel-raised);
    --terminal-bg: var(--chat-bg);
    --terminal-border: var(--chat-border);
    --border-color: var(--chat-border);
    color: var(--chat-text);
    border-color: var(--chat-border) !important;
    background: var(--chat-panel) !important;
    background-image: none !important;
    box-shadow: 0 24px 72px rgba(0, 0, 0, 0.56) !important;
}

body.chat-interface-active .subscription-modal {
    width: min(840px, calc(100vw - 32px)) !important;
    max-width: 840px !important;
    max-height: min(86dvh, 720px) !important;
    overflow: hidden !important;
    border-radius: 16px !important;
}

body.chat-interface-active .subscription-modal .modal-header {
    padding: 16px 18px !important;
    border-bottom: 1px solid var(--chat-border) !important;
    background: var(--chat-panel) !important;
}

body.chat-interface-active .subscription-modal .modal-header-title h2 {
    margin: 3px 0 0;
    color: var(--chat-text);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-transform: none;
}

body.chat-interface-active .subscription-kicker,
body.chat-interface-active .subscription-inline-heading {
    color: var(--chat-subtle);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

body.chat-interface-active .subscription-modal .modal-close {
    width: 34px;
    height: 34px;
    color: var(--chat-muted) !important;
    border: 1px solid transparent !important;
    border-radius: 9px;
    background: transparent !important;
    transform: none;
}

body.chat-interface-active .subscription-modal .modal-close:hover,
body.chat-interface-active .subscription-modal .modal-close:focus-visible {
    color: var(--chat-text) !important;
    border-color: var(--chat-border) !important;
    background: rgba(244, 239, 230, 0.05) !important;
    transform: none;
}

body.chat-interface-active .subscription-info-content {
    grid-template-columns: minmax(235px, 0.78fr) minmax(0, 1.22fr);
    gap: 12px;
    padding: 14px !important;
    overflow-y: auto;
    border: 0;
    border-radius: 0;
    background: var(--chat-bg) !important;
    background-image: none !important;
}

body.chat-interface-active .subscription-panel {
    padding: 14px;
    border: 1px solid var(--chat-border);
    border-radius: 12px;
    background: var(--chat-panel);
}

body.chat-interface-active .subscription-access-list,
body.chat-interface-active .subscription-options-grid {
    gap: 7px;
    margin-top: 12px;
}

body.chat-interface-active .subscription-access-item,
body.chat-interface-active .subscription-section {
    min-height: 0;
    padding: 11px 12px;
    border: 1px solid var(--chat-border);
    border-radius: 9px;
    background: var(--chat-bg);
    transform: none;
}

body.chat-interface-active .subscription-access-item:hover,
body.chat-interface-active .subscription-access-item:focus-visible,
body.chat-interface-active .subscription-section:hover {
    border-color: var(--chat-border-strong);
    background: var(--chat-panel-raised);
    transform: none;
}

body.chat-interface-active .subscription-access-title,
body.chat-interface-active .subscription-section h3 {
    color: var(--chat-text);
    font-size: 12px;
    font-weight: 600;
}

body.chat-interface-active .subscription-access-url,
body.chat-interface-active .subscription-access-description,
body.chat-interface-active .subscription-section p,
body.chat-interface-active .sub-link {
    color: var(--chat-muted);
    font-size: 11px;
}

body.chat-interface-active .subscription-section h3 i {
    width: 18px;
    height: 18px;
    color: var(--chat-subtle);
    border: 0;
    border-radius: 0;
    background: transparent;
}

body.chat-interface-active .chat-report-host :is(
    .email-mode-tooltip,
    .vis-tooltip,
    .gm-review-map-popup,
    .leaflet-popup-content-wrapper,
    .leaflet-popup-tip
) {
    color: var(--chat-text) !important;
    border-color: var(--chat-border) !important;
    background: var(--chat-panel) !important;
    background-image: none !important;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.44) !important;
}

.chat-tool-empty {
    grid-column: 1 / -1;
    padding: 30px;
    color: var(--chat-muted);
    text-align: center;
    font-size: 12px;
}

.osint-chat-model-menu {
    top: calc(100% - 22px);
    right: auto;
    bottom: auto;
    left: 53px;
    width: min(224px, calc(100vw - 70px));
    padding: 6px;
}

.osint-chat-shell.chat-has-activity .osint-chat-model-menu {
    top: auto;
    bottom: calc(100% + 10px);
}

.osint-chat-model-menu button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 42px;
    padding: 0 10px;
    color: var(--chat-muted);
    text-align: left;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    font-size: 12px;
}

.osint-chat-model-menu button:hover,
.osint-chat-model-menu button:focus-visible,
.osint-chat-model-menu button[aria-selected="true"] {
    color: var(--chat-text);
    border-color: var(--chat-border);
    background: rgba(244, 239, 230, 0.05);
}

.osint-chat-model-menu button[aria-selected="true"]::after {
    content: '✓';
    color: var(--chat-accent);
}

.osint-chat-model-menu button:disabled {
    color: #625e69;
    cursor: not-allowed;
}

@keyframes chat-message-in {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 769px) {
    html.osint-chat-sidebar-collapsed .osint-chat-shell:not(.chat-sidebar-ready),
    .osint-chat-shell.chat-history-collapsed {
        grid-template-columns: var(--chat-sidebar-collapsed) minmax(0, 1fr);
    }

    html.osint-chat-sidebar-collapsed .osint-chat-shell:not(.chat-sidebar-ready) .osint-chat-history-brand-name,
    html.osint-chat-sidebar-collapsed .osint-chat-shell:not(.chat-sidebar-ready) .osint-chat-history .osint-chat-history-close,
    html.osint-chat-sidebar-collapsed .osint-chat-shell:not(.chat-sidebar-ready) .osint-chat-history-search span,
    html.osint-chat-sidebar-collapsed .osint-chat-shell:not(.chat-sidebar-ready) .osint-chat-history-recent,
    html.osint-chat-sidebar-collapsed .osint-chat-shell:not(.chat-sidebar-ready) .osint-chat-new span,
    html.osint-chat-sidebar-collapsed .osint-chat-shell:not(.chat-sidebar-ready) .osint-chat-tools-nav span,
    html.osint-chat-sidebar-collapsed .osint-chat-shell:not(.chat-sidebar-ready) .osint-chat-history-list,
    html.osint-chat-sidebar-collapsed .osint-chat-shell:not(.chat-sidebar-ready) .osint-chat-account-hint,
    html.osint-chat-sidebar-collapsed .osint-chat-shell:not(.chat-sidebar-ready) .osint-chat-plans-link span,
    html.osint-chat-sidebar-collapsed .osint-chat-shell:not(.chat-sidebar-ready) .osint-chat-account .discord-sign-in-text {
        display: none;
    }

    html.osint-chat-sidebar-collapsed .osint-chat-shell:not(.chat-sidebar-ready) .osint-chat-history-search,
    html.osint-chat-sidebar-collapsed .osint-chat-shell:not(.chat-sidebar-ready) .osint-chat-new,
    html.osint-chat-sidebar-collapsed .osint-chat-shell:not(.chat-sidebar-ready) .osint-chat-tools-nav,
    html.osint-chat-sidebar-collapsed .osint-chat-shell:not(.chat-sidebar-ready) .osint-chat-account-footer,
    html.osint-chat-sidebar-collapsed .osint-chat-shell:not(.chat-sidebar-ready) .osint-chat-account {
        width: 44px;
    }

    html.osint-chat-sidebar-collapsed .osint-chat-shell:not(.chat-sidebar-ready) .osint-chat-history-brand-toggle,
    .osint-chat-shell.chat-history-collapsed .osint-chat-history-brand-toggle {
        flex: 0 0 44px;
        justify-content: center;
        gap: 0;
        width: 44px;
        padding: 0;
    }

    html.osint-chat-sidebar-collapsed .osint-chat-shell:not(.chat-sidebar-ready) .osint-chat-history-search,
    html.osint-chat-sidebar-collapsed .osint-chat-shell:not(.chat-sidebar-ready) .osint-chat-new,
    html.osint-chat-sidebar-collapsed .osint-chat-shell:not(.chat-sidebar-ready) .osint-chat-tools-nav,
    html.osint-chat-sidebar-collapsed .osint-chat-shell:not(.chat-sidebar-ready) .osint-chat-account {
        justify-content: center;
    }

    html.osint-chat-sidebar-collapsed .osint-chat-shell:not(.chat-sidebar-ready) .osint-chat-history-search,
    html.osint-chat-sidebar-collapsed .osint-chat-shell:not(.chat-sidebar-ready) .osint-chat-tools-nav,
    html.osint-chat-sidebar-collapsed .osint-chat-shell:not(.chat-sidebar-ready) .osint-chat-new {
        padding: 0;
    }

    html.osint-chat-sidebar-collapsed .osint-chat-shell:not(.chat-sidebar-ready) .osint-chat-account-footer {
        padding-top: 0;
    }

    html.osint-chat-sidebar-collapsed .osint-chat-shell:not(.chat-sidebar-ready) .osint-chat-account {
        gap: 0;
        padding: 6px;
    }

    .osint-chat-history-brand-name,
    .osint-chat-history .osint-chat-history-close,
    .osint-chat-history-search span,
    .osint-chat-history-recent,
    .osint-chat-new span,
    .osint-chat-tools-nav span,
    .osint-chat-history-list,
    .osint-chat-account-hint,
    .osint-chat-plans-link span,
    .osint-chat-account .discord-sign-in-text {
        opacity: 1;
        transform: translateX(0);
        transition: opacity 100ms ease 90ms, transform 160ms ease 70ms, visibility 0s linear 0s;
    }

    .osint-chat-shell.chat-history-collapsed .osint-chat-history {
        cursor: pointer;
    }

    .osint-chat-shell.chat-history-collapsed .osint-chat-history-brand-name,
    .osint-chat-shell.chat-history-collapsed .osint-chat-history .osint-chat-history-close,
    .osint-chat-shell.chat-history-collapsed .osint-chat-history-search span,
    .osint-chat-shell.chat-history-collapsed .osint-chat-history-recent,
    .osint-chat-shell.chat-history-collapsed .osint-chat-new span,
    .osint-chat-shell.chat-history-collapsed .osint-chat-tools-nav span,
    .osint-chat-shell.chat-history-collapsed .osint-chat-history-list,
    .osint-chat-shell.chat-history-collapsed .osint-chat-account-hint,
    .osint-chat-shell.chat-history-collapsed .osint-chat-plans-link span,
    .osint-chat-shell.chat-history-collapsed .osint-chat-account .discord-sign-in-text {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateX(-5px);
        transition: opacity 80ms ease, transform 120ms ease, visibility 0s linear 90ms;
    }

    .osint-chat-shell.chat-history-collapsed .osint-chat-history-brand-name {
        display: none;
    }

    .osint-chat-shell.chat-history-collapsed .osint-chat-history-mark {
        flex: 0 0 30px;
    }

    .osint-chat-shell.chat-history-collapsed .osint-chat-history .osint-chat-history-close {
        flex-basis: 0;
        width: 0;
    }

    .osint-chat-shell.chat-history-collapsed .osint-chat-tools-nav,
    .osint-chat-shell.chat-history-collapsed .osint-chat-history-search,
    .osint-chat-shell.chat-history-collapsed .osint-chat-new {
        width: 44px;
        padding: 0;
        justify-content: center;
    }

    .osint-chat-shell.chat-history-collapsed .osint-chat-history-search span,
    .osint-chat-shell.chat-history-collapsed .osint-chat-tools-nav span,
    .osint-chat-shell.chat-history-collapsed .osint-chat-new span {
        display: none;
    }

    .osint-chat-shell.chat-history-collapsed .osint-chat-history-recent,
    .osint-chat-shell.chat-history-collapsed .osint-chat-sidebar-tools {
        display: none;
    }

    .osint-chat-shell.chat-history-collapsed .osint-chat-account-footer {
        width: 44px;
        padding-top: 0;
    }

    .osint-chat-shell.chat-history-collapsed .osint-chat-account-hint {
        display: none;
    }

    html.osint-chat-sidebar-collapsed .osint-chat-shell:not(.chat-sidebar-ready) .osint-chat-plans-link,
    .osint-chat-shell.chat-history-collapsed .osint-chat-plans-link {
        width: 44px;
        padding: 0;
        gap: 0;
        justify-content: center;
    }

    .osint-chat-shell.chat-history-collapsed .osint-chat-plans-link span {
        display: none;
    }

    .osint-chat-shell.chat-history-collapsed .osint-chat-account {
        width: 44px;
        padding: 6px;
        gap: 0;
        justify-content: center;
    }

    .osint-chat-shell.chat-history-collapsed .osint-chat-account .discord-sign-in-text {
        display: none;
    }

    .osint-chat-shell.chat-history-collapsed .osint-chat-history-brand-toggle:hover .osint-chat-history-mark img,
    .osint-chat-shell.chat-history-collapsed .osint-chat-history-brand-toggle:focus-visible .osint-chat-history-mark img {
        opacity: 0;
        transform: scale(0.86);
    }

    .osint-chat-shell.chat-history-collapsed .osint-chat-history-brand-toggle:hover .osint-chat-sidebar-glyph,
    .osint-chat-shell.chat-history-collapsed .osint-chat-history-brand-toggle:focus-visible .osint-chat-sidebar-glyph {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .osint-chat-send:disabled {
        background: transparent;
    }

    .osint-chat-shell {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 52px minmax(0, 1fr);
        transition: none;
    }

    .osint-chat-header {
        display: flex;
        grid-column: 1;
        grid-row: 1;
        padding: 0 13px;
    }

    .osint-chat-header-primary {
        display: flex;
    }

    .osint-chat-header-button,
    .osint-chat-history-close {
        display: grid;
    }

    .osint-chat-main {
        grid-column: 1;
        grid-row: 2;
        grid-template-columns: minmax(0, 1fr);
    }

    .osint-chat-history {
        position: fixed;
        z-index: 40;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(86vw, 310px);
        transform: translateX(-104%);
        visibility: hidden;
        pointer-events: none;
        transition: transform var(--chat-sidebar-transition), visibility 0s linear 220ms;
        box-shadow: 18px 0 44px rgba(0, 0, 0, 0.42);
    }

    .osint-chat-shell.chat-history-open .osint-chat-history {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
        transition-delay: 0s;
    }

    .osint-chat-history-backdrop {
        position: fixed;
        z-index: 39;
        inset: 0;
        display: block;
        border: 0;
        background: rgba(3, 2, 7, 0.7);
    }

    .osint-chat-history-backdrop[hidden] {
        display: none;
    }

    .osint-chat-search-overlay {
        padding: 56px 12px 18px;
    }

    .osint-chat-search-dialog {
        max-height: calc(100vh - 74px);
        border-radius: 14px;
    }

    .osint-chat-search-results {
        max-height: calc(100vh - 190px);
    }

    .osint-chat-thread {
        grid-column: 1;
        scrollbar-gutter: auto;
    }

    .osint-chat-composer-dock {
        left: 0;
    }

    .osint-chat-thread-inner {
        width: calc(100% - 16px);
        padding-top: 30px;
        padding-bottom: 178px;
    }

    .osint-chat-welcome {
        min-height: 42vh;
    }

    .osint-chat-welcome h1 {
        font-size: clamp(15px, 4.2vw, 17px);
        letter-spacing: -0.025em;
    }

    .osint-chat-welcome p {
        font-size: 13px;
    }

    .osint-chat-shell:not(.chat-has-activity) .osint-chat-welcome {
        top: calc(50% - 116px);
        right: 14px;
        left: 14px;
    }

    .osint-chat-shell:not(.chat-has-activity) .osint-chat-composer-dock {
        top: 50%;
    }

    .chat-message {
        margin-bottom: 22px;
    }

    .chat-message-inner,
    .chat-message-report .chat-message-inner {
        grid-template-columns: 25px minmax(0, 1fr);
        gap: 9px;
    }

    .chat-message-assistant .chat-message-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .chat-message-assistant .chat-assistant-mark {
        display: none;
    }

    .chat-message-loading .chat-message-inner {
        grid-template-columns: 25px minmax(0, 1fr);
        gap: 9px;
    }

    .chat-message-loading .chat-assistant-mark {
        display: flex;
    }

    .chat-assistant-mark {
        width: 25px;
        height: 25px;
        border-radius: 7px;
    }

    .chat-assistant-mark img {
        width: 17px;
        height: 17px;
    }

    .chat-message-content {
        font-size: 15px;
    }

    .chat-message-user .chat-message-content {
        max-width: 86%;
    }

    .chat-message-report {
        width: 100%;
        margin-inline: 0;
    }

    .chat-report-heading {
        margin-top: 0;
    }

    .chat-report-host :is(.oracle-results, .oracle-live-preview-card) {
        --o-gutter: 12px;
        --o-space: 16px;
    }

    .chat-report-host :is(
        .oracle-table-wrapper,
        .oracle-table-fallback,
        .report-table-container,
        .run-metrics-request-table-wrap
    ) {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
    }

    .chat-header-frame {
        min-height: 680px;
        border-radius: 9px;
    }

    .osint-chat-composer-dock {
        padding: 13px 10px max(12px, env(safe-area-inset-bottom));
    }

    .osint-chat-composer {
        border-radius: 15px;
    }

    .osint-chat-recommendations {
        gap: 6px;
        margin-top: 9px;
    }

    .osint-chat-recommendations button {
        min-height: 32px;
        padding: 6px 10px;
        font-size: 11px;
    }

    .osint-chat-shell.chat-has-activity:not(.chat-input-focused):not(.chat-help-composer-expanded) .osint-chat-composer {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        min-height: 54px;
        padding: 3px 5px;
        border-radius: 999px;
    }

    .osint-chat-shell.chat-has-activity:not(.chat-input-focused):not(.chat-help-composer-expanded) .osint-chat-composer-footer {
        display: contents;
    }

    .osint-chat-shell.chat-has-activity:not(.chat-command-submitted):not(.chat-input-focused):not(.chat-help-composer-expanded) .osint-chat-composer:has(.osint-chat-dork-bar:not([hidden])) {
        border-radius: 18px;
    }

    .osint-chat-shell.chat-has-activity:not(.chat-input-focused):not(.chat-help-composer-expanded) .osint-chat-dork-bar {
        order: 0;
        flex: 1 0 100%;
        padding: 4px 2px 0;
    }

    .osint-chat-dork-hint:not([hidden]) {
        display: none;
    }

    .osint-chat-dork-option {
        height: 32px;
    }

    .osint-chat-shell.chat-has-activity:not(.chat-input-focused):not(.chat-help-composer-expanded) .osint-chat-input-row {
        order: 2;
        flex: 1 1 0;
        align-items: center;
        min-width: 0;
        height: 48px;
        padding: 0 4px;
    }

    .osint-chat-shell.chat-has-activity:not(.chat-input-focused):not(.chat-help-composer-expanded) .osint-chat-input {
        height: 24px !important;
        min-height: 24px;
        max-height: 24px;
        padding: 0;
        overflow: hidden;
        line-height: 24px;
        white-space: nowrap;
    }

    .osint-chat-shell.chat-has-activity:not(.chat-input-focused):not(.chat-help-composer-expanded) .osint-chat-composer-left {
        order: 1;
        flex: 0 0 44px;
        min-width: 0;
        gap: 0;
    }

    .osint-chat-shell.chat-has-activity:not(.chat-input-focused):not(.chat-help-composer-expanded) .osint-chat-composer-actions {
        order: 3;
        flex: 0 0 44px;
        justify-content: flex-end;
    }

    .osint-chat-shell.chat-has-activity:not(.chat-input-focused):not(.chat-help-composer-expanded) .osint-chat-model-button {
        display: none;
    }

    .osint-chat-shell.chat-has-activity.chat-command-submitted:not(.chat-input-focused):not(.chat-help-composer-expanded) :is(.osint-chat-option-row, .osint-chat-file-row, .osint-chat-composer-options, .osint-chat-attachment, .osint-chat-dork-bar) {
        display: none;
    }

    .osint-chat-shell.chat-has-activity:not(.chat-input-focused):not(.chat-help-composer-expanded) .osint-chat-composer-left:has(.osint-chat-composer-options > :not([hidden])) {
        display: contents;
    }

    .osint-chat-shell.chat-has-activity:not(.chat-input-focused):not(.chat-help-composer-expanded) .osint-chat-composer-left:has(.osint-chat-composer-options > :not([hidden])) .osint-chat-tools-button {
        order: 1;
    }

    .osint-chat-shell.chat-has-activity:not(.chat-command-submitted):not(.chat-input-focused):not(.chat-help-composer-expanded) .osint-chat-composer:has(.osint-chat-composer-options > :not([hidden])) {
        border-radius: 18px;
    }

    .osint-chat-shell.chat-has-activity:not(.chat-input-focused):not(.chat-help-composer-expanded) .osint-chat-composer-options {
        order: 4;
        flex: 1 0 100%;
        padding: 0 6px 6px;
    }

    .osint-chat-shell.chat-has-activity:not(.chat-input-focused):not(.chat-help-composer-expanded) .osint-chat-attachment {
        order: 0;
        flex: 1 0 calc(100% - 18px);
        max-width: none;
        margin: 4px 4px 0;
    }

    .osint-chat-shell.chat-has-activity:not(.chat-input-focused):not(.chat-help-composer-expanded) .osint-chat-count {
        position: absolute;
        right: 56px;
        bottom: 1px;
    }

    .osint-chat-model-button {
        max-width: 144px;
        min-height: 44px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .osint-chat-composer-footer {
        min-height: 56px;
    }

    .osint-chat-icon-button {
        width: 44px;
        height: 44px;
    }

    .osint-chat-tools-button {
        flex: 0 0 44px;
    }

    .chat-config-card {
        padding: 4px 0;
    }

    .chat-config-card h2 {
        font-size: 15px;
    }

    .chat-config-body {
        gap: 10px;
        margin-top: 12px;
    }

    .chat-config-choice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .chat-config-field-grid {
        grid-template-columns: 1fr;
    }

    .chat-config-field input,
    .chat-config-field select {
        font-size: 16px;
    }

    .chat-config-choice-grid button,
    .chat-config-secondary,
    .chat-config-primary {
        min-height: 44px;
    }

    .chat-config-actions {
        margin-top: 14px;
        padding-top: 12px;
    }

    .chat-config-actions > button {
        flex: 1 1 0;
    }

    .chat-report-host > :is(:is(#ip-results, .chat-history-report[data-report-container-id="ip-results"]), :is(#phone-results, .chat-history-report[data-report-container-id="phone-results"])).chat-mounted-report > [data-intelligence-body] {
        grid-template-columns: minmax(0, 1fr);
    }

    .chat-report-host > :is(:is(#ip-results, .chat-history-report[data-report-container-id="ip-results"]), :is(#phone-results, .chat-history-report[data-report-container-id="phone-results"])).chat-mounted-report > [data-intelligence-body] > :is(.ip-map-frame, .phone-map-frame) {
        height: clamp(250px, 34svh, 300px);
        border-right: 0;
        border-bottom: 1px solid var(--chat-border);
    }

    .chat-report-host > :is(:is(#ip-results, .chat-history-report[data-report-container-id="ip-results"]), :is(#phone-results, .chat-history-report[data-report-container-id="phone-results"])).chat-mounted-report :is(.ip-info-header, .phone-info-header) {
        padding: 16px 14px 14px !important;
    }

    .chat-report-host > :is(:is(#ip-results, .chat-history-report[data-report-container-id="ip-results"]), :is(#phone-results, .chat-history-report[data-report-container-id="phone-results"])).chat-mounted-report :is(.ip-info-body, .phone-info-body) {
        padding: 4px 14px 16px !important;
    }

    .chat-report-host > :is(:is(#ip-results, .chat-history-report[data-report-container-id="ip-results"]), :is(#phone-results, .chat-history-report[data-report-container-id="phone-results"])).chat-mounted-report :is(.ip-info-row, .phone-info-row) {
        grid-template-columns: minmax(92px, 0.72fr) minmax(0, 1.28fr);
        gap: 12px;
        padding: 9px 0 !important;
    }

    .chat-followup-actions button {
        min-height: 44px;
    }

    .osint-chat-tool-picker {
        position: fixed;
        top: max(60px, calc(52px + env(safe-area-inset-top)));
        right: 10px;
        bottom: max(122px, calc(108px + env(safe-area-inset-bottom)));
        left: 10px;
        display: flex;
        flex-direction: column;
        width: auto;
        max-height: none;
    }

    .osint-chat-tool-picker-head {
        padding: 10px;
    }

    .osint-chat-tool-picker-title {
        display: none;
    }

    .osint-chat-tool-list {
        flex: 1 1 auto;
        grid-template-columns: 1fr;
        min-height: 0;
        max-height: none;
    }

    .osint-chat-shell:not(.chat-has-activity) .osint-chat-tool-picker {
        top: auto;
        max-height: min(57dvh, 490px, calc(100dvh - 184px));
    }

    .osint-chat-shell:not(.chat-has-activity) .osint-chat-tool-list {
        max-height: min(44dvh, 380px);
    }

    .chat-tool-option {
        min-height: 58px;
    }

    .osint-chat-model-menu {
        left: 58px;
        width: min(224px, calc(100vw - 74px));
    }

    .osint-chat-attachment {
        margin-inline: 9px;
    }

    .osint-chat-pill {
        min-height: 40px;
        padding-inline: 11px;
    }

    .osint-chat-composer-footer:has(.osint-chat-composer-options > :not([hidden])) {
        flex-wrap: wrap;
        row-gap: 6px;
        column-gap: 4px;
    }

    .osint-chat-composer-left:has(.osint-chat-composer-options > :not([hidden])) {
        display: contents;
    }

    .osint-chat-composer-footer:has(.osint-chat-composer-options > :not([hidden])) .osint-chat-composer-options {
        order: -1;
        flex: 1 0 100%;
        flex-wrap: wrap;
    }

    .osint-chat-composer-footer:has(.osint-chat-composer-options > :not([hidden])) .osint-chat-composer-actions {
        margin-left: auto;
    }
}

@media (max-width: 390px) {
    .osint-chat-brand-copy strong {
        font-size: 15px;
    }

    .osint-chat-composer-dock {
        padding-inline: 7px;
    }

    .osint-chat-composer-footer {
        gap: 4px;
        padding-inline: 6px;
    }

    .osint-chat-model-button {
        max-width: 132px;
        padding-inline: 7px;
    }
}

@media (max-width: 820px) {
    body.chat-interface-active .subscription-info-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 370px) {
    .osint-chat-welcome h1 {
        font-size: 15px;
    }

    .osint-chat-shell:not(.chat-has-activity) .osint-chat-welcome {
        top: calc(50% - 136px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .chat-message,
    .osint-chat-search-skeleton span {
        animation: none;
    }

    .osint-chat-account,
    .osint-chat-composer,
    .osint-chat-icon-button,
    .osint-chat-shell.chat-sidebar-ready,
    .osint-chat-history,
    .osint-chat-history-mark img,
    .osint-chat-history-mark .osint-chat-sidebar-glyph,
    .osint-chat-history-brand-name,
    .osint-chat-history .osint-chat-history-close,
    .osint-chat-history-search span,
    .osint-chat-new span,
    .osint-chat-tools-nav span,
    .osint-chat-sidebar-tool-favorite,
    .osint-chat-history-list,
    .osint-chat-search-overlay {
        transition: none;
    }

    .osint-chat-composer-dock {
        transition: none;
    }
}

:is(.chat-config-actions, .chat-followup-actions) > button {
    min-height: 38px;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: 999px;
    font: 500 13px/1.4 "Inter", system-ui, sans-serif;
    box-shadow: none;
    transition: background-color 140ms ease, color 140ms ease;
}

.chat-config-actions > .chat-config-primary {
    color: var(--chat-muted);
    background: transparent;
    border-color: transparent;
}

.chat-config-actions > .chat-config-secondary,
.chat-followup-actions > button {
    color: var(--chat-muted);
    background: transparent;
}

:is(.chat-config-actions, .chat-followup-actions) > button:hover:not(:disabled) {
    color: var(--chat-text);
    background: rgba(232, 226, 242, 0.09);
}

:is(.chat-config-actions, .chat-followup-actions) > button:focus-visible {
    outline: 2px solid var(--chat-muted);
    outline-offset: 3px;
}

@media (max-width: 768px) {
    :is(.chat-config-actions, .chat-followup-actions) > button { min-height: 44px; flex: 0 1 auto; }
}

.chat-message-content .chat-config-card h2 {
    font: 600 17px/1.5 "Inter", system-ui, sans-serif;
    letter-spacing: -0.02em;
    text-transform: none;
    border: 0;
    padding: 0;
}
.chat-message-content .chat-config-card h2::after { display: none; }

@media (max-width: 768px) {
    .osint-chat-sidebar-tool-mark {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }

    .chat-tool-favorite,
    .chat-tool-help {
        width: 34px;
        height: 34px;
    }
}

:is(.chat-tool-favorite, .chat-tool-help) svg {
    display: block;
    flex: 0 0 16px;
    margin: 0;
    padding: 0;
    transform: none;
}
.chat-tool-help svg { stroke-linecap: round; }
.chat-tool-help circle { fill: currentColor; stroke: none; }

.chat-config-choice-grid button {
    box-sizing: border-box;
    min-height: 38px;
    padding: 8px 16px;
    color: var(--chat-muted);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 999px;
    font: 500 13px/1.4 "Inter", system-ui, sans-serif;
    box-shadow: none;
    transition: background-color 140ms ease, color 140ms ease;
}
.chat-config-choice-grid button:hover:not(:disabled) {
    color: var(--chat-text);
    border-color: transparent;
    background: rgba(232, 226, 242, 0.09);
}
.chat-config-choice-grid button:focus-visible {
    outline: 2px solid var(--chat-muted);
    outline-offset: 3px;
}
.chat-config-choice-grid button[aria-pressed="true"] {
    color: var(--chat-text);
    border-color: transparent;
    background: rgba(232, 226, 242, 0.09);
    box-shadow: none;
}


.chat-report-host > .chat-mounted-report:not([data-report-container-id="tiktok-results"]):not(#tiktok-results):has(> [data-activity-trace]) {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
}

.chat-report-host > .chat-mounted-report:has(> [data-activity-trace]) > [data-intelligence-body]:empty {
    display: none !important;
}

.chat-report-host:has(> .chat-header-frame[data-activity-visible="true"]) > .chat-report-heading {
    display: none;
}

.chat-header-frame[data-activity-visible="true"] {
    width: calc(100% + 32px) !important;
    min-height: 0;
    margin-top: -36px !important;
    margin-left: -32px !important;
    border-radius: 0;
    background: transparent !important;
}

.chat-header-snapshot > .chat-header-frame {
    width: 100% !important;
    min-height: 0;
    margin: 0 !important;
    border-radius: 0;
    background: transparent;
}
