#atp-traveler-chat, #atp-traveler-chat [hidden] { display: none !important; }
@media screen and (min-width: 1024px) and (hover: hover) and (pointer: fine) {
    body.atptc-desktop {
        --tc-width: clamp(248px, 20.5vw, 340px);
        --tc-admin: 0px;
    }
    body.atptc-desktop.admin-bar { --tc-admin: var(--wp-admin--admin-bar--height, 32px); }
    body.atptc-desktop.atp-edition #page { padding-right: var(--tc-width); }
    body.atptc-desktop:not(.atp-edition), body.atptc-desktop.atp-edition:not(:has(#page)) { box-sizing: border-box; width: auto; margin-right: var(--tc-width); }
    body.atptc-desktop .dc-email-float { right: calc(var(--tc-width) + 14px); }
    body.atptc-desktop .attdm-ft-nav { min-width: 0; overflow-wrap: anywhere; }
    body.atptc-desktop .atp-contactbar { flex-wrap: wrap; }
    body.atptc-desktop #atp-traveler-chat:not([hidden]) {
        --tc-ink: #202a22;
        --tc-muted: #53625a;
        --tc-rule: #d6ded4;
        --tc-forest: #243e32;
        --tc-paper: #fbfaf5;
        display: flex !important;
        flex-direction: column;
        box-sizing: border-box;
        position: fixed;
        z-index: 95;
        inset: var(--tc-admin) 0 0 auto;
        width: var(--tc-width);
        padding: 0;
        overflow: hidden;
        border-left: 1px solid #c7cdc1;
        background: var(--tc-paper);
        color: var(--tc-ink);
        font: 400 14px/1.45 Arial, Helvetica, sans-serif;
        text-align: left;
    }
    #atp-traveler-chat * { box-sizing: border-box; }
    #atp-traveler-chat p, #atp-traveler-chat h2, #atp-traveler-chat h3 { margin: 0; padding: 0; text-transform: none; }
    #atp-traveler-chat button { margin: 0; min-height: 0; min-width: 0; box-shadow: none; border: 0; background: none; color: inherit; border-radius: 0; cursor: pointer; text-transform: none; letter-spacing: 0; font: inherit; }
    #atp-traveler-chat button:disabled { cursor: default; opacity: .55; }
    #atp-traveler-chat :is(a, button, textarea, input, [tabindex]):focus-visible { outline: 2px solid #a45122; outline-offset: 2px; }
    #atp-traveler-chat .tc-head { display: flex; flex: none; gap: 12px; align-items: center; padding: 21px 17px; border-bottom: 1px solid #20392e; color: white; background: var(--tc-forest); }
    #atp-traveler-chat .tc-head h2 { color: #fffaf0; font: 500 clamp(24px, 1.8vw, 31px)/1.08 Georgia,serif; letter-spacing: -.045em; }
    #atp-traveler-chat .tc-head p { margin-top: 3px; color: #dde7da; font-size: 12px; }
    #atp-traveler-chat .tc-mark { display: grid; flex: 0 0 36px; height: 36px; place-items: center; border: 1px solid #759384; border-radius: 50%; color: #efc27d; }
    #atp-traveler-chat .tc-dot { width: 8px; height: 8px; margin-left: auto; flex: none; background: #ced4ca; border-radius: 50%; }
    #atp-traveler-chat .tc-dot[data-state=ready] { background: #a5d8aa; }
    #atp-traveler-chat .tc-dot[data-state=error] { background: #edba71; }
    #atp-traveler-chat .tc-timeline { min-height: 0; flex: 1; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 0 16px; }
    #atp-traveler-chat .tc-network { flex: none; padding: 10px 17px; background: #efece2; color: #4a4e42; font-size: 12px; }
    #atp-traveler-chat .tc-empty { margin: clamp(30px, 10vh, 110px) auto 25px; max-width: 250px; }
    #atp-traveler-chat .tc-compass { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid #bfccba; background: #eef2e8; color: #426447; border-radius: 50%; font: 34px/1 Georgia,serif; }
    #atp-traveler-chat .tc-empty h3 { margin: 15px 0 6px; color: var(--tc-ink); font: 500 24px/1.15 Georgia,serif; letter-spacing: -.035em; }
    #atp-traveler-chat .tc-empty p { color: var(--tc-muted); font-size: 14px; line-height: 1.55; }
    #atp-traveler-chat .tc-message { margin: 0; padding: 15px 0 12px; border-bottom: 1px solid var(--tc-rule); }
    #atp-traveler-chat .tc-meta, #atp-traveler-chat .tc-send-row, #atp-traveler-chat .tc-replying { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
    #atp-traveler-chat .tc-meta strong { color: var(--tc-forest); overflow-wrap: anywhere; line-height: 1.2; font-size: 13px; }
    #atp-traveler-chat .tc-meta time { flex: none; color: var(--tc-muted); font-size: 11px; }
    #atp-traveler-chat .tc-body { margin-top: 6px; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; color: var(--tc-ink); }
    #atp-traveler-chat .tc-quoted { display: grid; margin: 8px 0 0; padding: 5px 8px; background: #edf0e7; border: 0; border-left: 2px solid #748975; color: #42564a; font: 12px/1.4 Arial,sans-serif; overflow-wrap: anywhere; }
    #atp-traveler-chat .tc-actions { display: flex; gap: 12px; margin-top: 3px; }
    #atp-traveler-chat .tc-actions button, #atp-traveler-chat .tc-link { color: var(--tc-muted); padding: 4px 0; font-size: 12px; font-weight: 600; }
    #atp-traveler-chat .tc-actions button:hover, #atp-traveler-chat .tc-link:hover { text-decoration: underline; }
    #atp-traveler-chat .tc-place { display: inline-block; margin-top: 7px; color: #34583f; background: #eaf0e4; border-radius: 3px; padding: 3px 7px; font-size: 12px; }
    #atp-traveler-chat .tc-history { padding: 8px; border: 1px solid var(--tc-rule); background: #edf0e7; font-size: 12px; color: var(--tc-forest); }
    #atp-traveler-chat [data-ui=older] { width: 100%; margin-top: 10px; }
    #atp-traveler-chat .tc-foot { flex: none; border-top: 1px solid var(--tc-rule); padding: 14px 16px; background: #f1f2e9; }
    #atp-traveler-chat .tc-foot form { margin: 0; }
    #atp-traveler-chat .tc-foot [data-ui=guest-copy], #atp-traveler-chat .tc-byline, #atp-traveler-chat .tc-replying, #atp-traveler-chat .tc-notice { display: block; margin: 0 0 8px; color: var(--tc-muted); font-size: 12px; overflow-wrap: anywhere; }
    #atp-traveler-chat .tc-notice:empty { display: none; }
    #atp-traveler-chat .tc-notice { color: #784622; }
    #atp-traveler-chat .tc-replying { display: flex; gap: 5px; align-items: center; }
    #atp-traveler-chat .tc-replying button { font: 20px/1 Arial,sans-serif; padding: 0 4px; }
    #atp-traveler-chat .tc-primary, #atp-traveler-chat .tc-send { display: inline-flex; align-items: center; justify-content: center; background: var(--tc-forest); color: #fff; padding: 9px 15px; border: 1px solid var(--tc-forest); border-radius: 4px; font: 650 13px/1.3 Arial,sans-serif; text-decoration: none; }
    #atp-traveler-chat .tc-primary { width: 100%; }
    #atp-traveler-chat .tc-primary:hover, #atp-traveler-chat .tc-send:not(:disabled):hover { background: #355442; }
    #atp-traveler-chat textarea { display: block; resize: vertical; width: 100%; min-height: 54px; max-height: 20vh; padding: 9px; margin: 0 0 8px; border: 1px solid #afbaaa; border-radius: 4px; color: var(--tc-ink); background: white; font: 14px/1.4 Arial,sans-serif; }
    #atp-traveler-chat [data-ui=place-option] { display: flex; align-items: center; gap: 5px; margin-bottom: 8px; font: 12px/1.3 Arial,sans-serif; }
    #atp-traveler-chat [data-ui=place-option] input { margin: 0; }
    #atp-traveler-chat .tc-foot small { color: var(--tc-muted); font-size: 11px; }
}
