#tf-site-guide {
    --tf-guide-navy: #10243c;
    --tf-guide-blue: #1764cc;
    --tf-guide-muted: #526174;
    --tf-guide-border: #d9e3ee;
    font-family: inherit;
    line-height: 1.5;
    color: var(--tf-guide-navy);
}

#tf-site-guide *,
#tf-site-guide *::before,
#tf-site-guide *::after { box-sizing: border-box; }
#tf-site-guide [hidden] { display: none !important; }
#tf-site-guide button,
#tf-site-guide input,
#tf-site-guide textarea { font: inherit; letter-spacing: normal; }
#tf-site-guide button,
#tf-site-guide a { -webkit-tap-highlight-color: transparent; }
#tf-site-guide button { cursor: pointer; }
#tf-site-guide button:focus-visible,
#tf-site-guide a:focus-visible,
#tf-site-guide input:focus-visible,
#tf-site-guide textarea:focus-visible,
#tf-site-guide [tabindex="0"]:focus-visible { outline: 3px solid #3284ee; outline-offset: 3px; }
#tf-site-guide .tf-guide-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

#tf-site-guide .tf-guide-launcher {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    position: fixed;
    right: max(22px, env(safe-area-inset-right));
    bottom: max(22px, env(safe-area-inset-bottom));
    z-index: 9999;
    min-width: 176px;
    min-height: 58px;
    max-width: calc(100vw - 32px);
    padding: 12px 22px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--tf-guide-blue);
    color: #fff;
    box-shadow: 0 7px 24px rgb(16 36 60 / 26%);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}
#tf-site-guide .tf-guide-agent-icon { display: block; flex: 0 0 auto; width: 26px; height: 26px; }
#tf-site-guide .tf-guide-launcher-label { white-space: nowrap; }
#tf-site-guide .tf-guide-launcher:hover { background: #104fa9; }

#tf-site-guide .tf-guide-dialog {
    position: fixed;
    inset: auto 22px 22px auto;
    width: min(440px, calc(100vw - 32px));
    height: min(720px, calc(100vh - 44px));
    height: min(720px, calc(100dvh - 44px));
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--tf-guide-border);
    border-radius: 20px;
    background: #fff;
    color: var(--tf-guide-navy);
    box-shadow: 0 20px 70px rgb(10 30 55 / 25%);
    font-size: 14px;
    line-height: 1.5;
}
#tf-site-guide .tf-guide-dialog[open] { display: flex; flex-direction: column; }
#tf-site-guide .tf-guide-dialog[open][aria-modal="false"] { z-index: 10000; }
#tf-site-guide .tf-guide-header { display: flex; flex: 0 0 auto; align-items: center; gap: 11px; padding: 19px 20px; background: var(--tf-guide-navy); color: #fff; }
#tf-site-guide .tf-guide-avatar { display: grid; flex: 0 0 42px; place-items: center; width: 42px; height: 42px; border: 1px solid #5f86b4; border-radius: 14px; background: #1764cc; color: #fff; font-size: 23px; font-weight: 650; }
#tf-site-guide .tf-guide-heading { flex: 1 1 auto; min-width: 0; }
#tf-site-guide h2 { margin: 0; color: inherit; font-size: 21px; line-height: 1.3; letter-spacing: -.02em; font-weight: 650; }
#tf-site-guide .tf-guide-subtitle { margin: 3px 0 0; color: #c5d9f0; font-size: 11px; line-height: 1.4; }
#tf-site-guide .tf-guide-close { flex: 0 0 38px; width: 38px; height: 38px; padding: 0; border: 1px solid #52677e; border-radius: 50%; background: transparent; color: #fff; font-size: 27px; line-height: 1; font-weight: 400; }
#tf-site-guide .tf-guide-close:hover { background: rgb(255 255 255 / 10%); }
#tf-site-guide .tf-guide-body { display: flex; flex: 1 1 auto; min-height: 0; overflow: hidden; }
#tf-site-guide .tf-guide-search-view { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; min-height: 0; }
#tf-site-guide .tf-guide-toolbar { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 18px; border-bottom: 1px solid #e5ecf4; background: #fff; }
#tf-site-guide .tf-guide-toolbar > p { margin: 0; color: var(--tf-guide-muted); font-size: 11px; }
#tf-site-guide .tf-guide-clear { min-height: 36px; padding: 7px 0 7px 5px; border: 0; background: none; color: #285587; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
#tf-site-guide .tf-guide-conversation { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 19px 17px 21px; background: #f3f7fc; scrollbar-width: thin; }
#tf-site-guide .tf-guide-conversation:focus-visible { outline-offset: -3px; }
#tf-site-guide .tf-guide-message { width: fit-content; max-width: 94%; margin: 0 0 15px; padding: 13px 15px; border: 1px solid #dce6f2; border-radius: 4px 16px 16px; background: #fff; color: #203a57; box-shadow: 0 2px 5px rgb(19 49 84 / 3%); overflow-wrap: anywhere; }
#tf-site-guide .tf-guide-message-author { margin: 0 0 5px; color: #496b94; font-size: 10px; line-height: 1.4; font-weight: 700; letter-spacing: .035em; }
#tf-site-guide .tf-guide-message-text { margin: 0; font-size: 13px; line-height: 1.7; white-space: pre-line; }
#tf-site-guide .tf-guide-message-visitor { max-width: 86%; margin: 18px 0 14px auto; border: 0; border-radius: 16px 4px 16px 16px; background: var(--tf-guide-blue); color: #fff; }
#tf-site-guide .tf-guide-message-visitor .tf-guide-message-author { color: #d5e7ff; }
#tf-site-guide .tf-guide-turn:last-child .tf-guide-message:last-child { margin-bottom: 0; }
#tf-site-guide .tf-guide-greeting-note { margin: 8px 0 0; color: var(--tf-guide-muted); font-size: 12px; line-height: 1.6; }
#tf-site-guide .tf-guide-suggestions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
#tf-site-guide .tf-guide-suggestion { min-height: 36px; padding: 7px 9px; border: 1px solid #bfd4ee; border-radius: 9px; color: #20538a; background: #f1f7ff; font-size: 11px; font-weight: 500; }
#tf-site-guide .tf-guide-suggestion:hover { background: #e6f0ff; border-color: #96bbe6; }
#tf-site-guide .tf-guide-answer-label { margin: 0 0 7px; color: #63768c; font-size: 10px; font-weight: 600; }
#tf-site-guide .tf-guide-source { display: grid; gap: 3px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #e1eaf5; }
#tf-site-guide .tf-guide-source > span,
#tf-site-guide .tf-guide-related > p { margin: 0; color: #66788e; font-size: 10px; font-weight: 600; }
#tf-site-guide .tf-guide-source-link,
#tf-site-guide .tf-guide-related-link { color: #1558ae; font-size: 12px; line-height: 1.5; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
#tf-site-guide .tf-guide-related { margin-top: 11px; }
#tf-site-guide .tf-guide-related ul { display: grid; gap: 5px; padding: 0; margin: 5px 0 0; list-style: none; }
#tf-site-guide .tf-guide-related li { margin: 0; padding: 0; line-height: 1.5; }
#tf-site-guide .tf-guide-service-list { display: grid; gap: 12px; padding: 0; margin: 13px 0 0; list-style: none; }
#tf-site-guide .tf-guide-service-list > li { margin: 0; padding: 0 0 12px; border-bottom: 1px solid #e1eaf5; }
#tf-site-guide .tf-guide-service-list > li:last-child { padding-bottom: 0; border-bottom: 0; }
#tf-site-guide .tf-guide-service-title { color: #1558ae; font-size: 13px; font-weight: 650; line-height: 1.5; text-decoration: underline; text-underline-offset: 3px; }
#tf-site-guide .tf-guide-service-list > li > p { margin: 6px 0; color: #425a73; font-size: 12px; line-height: 1.6; }
#tf-site-guide .tf-guide-service-action { color: #1558ae; font-size: 11px; line-height: 1.5; text-decoration: underline; text-underline-offset: 3px; }
#tf-site-guide .tf-guide-composer-area { flex: 0 0 auto; padding: 13px 17px 10px; border-top: 1px solid var(--tf-guide-border); background: #fff; }
#tf-site-guide .tf-guide-start { display: none; }
#tf-site-guide .tf-guide-status { margin: 0 0 8px; color: var(--tf-guide-muted); font-size: 11px; }
#tf-site-guide .tf-guide-status:empty { display: none; }
#tf-site-guide .tf-guide-search-form { margin: 0; }
#tf-site-guide .tf-guide-search-row { display: flex; align-items: stretch; gap: 8px; }
#tf-site-guide .tf-guide-search,
#tf-site-guide .tf-guide-field { display: block; width: 100%; min-width: 0; min-height: 44px; margin: 0; padding: 10px 12px; border: 1px solid #b7c8db; border-radius: 10px; background: #fff; color: var(--tf-guide-navy); box-shadow: none; font-size: 16px; line-height: 1.5; }
#tf-site-guide .tf-guide-search { flex: 1 1 auto; }
#tf-site-guide .tf-guide-search::placeholder,
#tf-site-guide .tf-guide-field::placeholder { opacity: 1; color: #637287; }
#tf-site-guide .tf-guide-search-button { padding: 9px 15px; min-height: 44px; border: 1px solid var(--tf-guide-blue); border-radius: 10px; background: var(--tf-guide-blue); color: #fff; font-size: 13px; font-weight: 600; }
#tf-site-guide .tf-guide-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
#tf-site-guide .tf-guide-team,
#tf-site-guide .tf-guide-booking { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 0; border: 0; background: none; color: #1b5597; font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
#tf-site-guide .tf-guide-session-note { margin: 1px 0 0; color: #647488; font-size: 10px; line-height: 1.5; }
#tf-site-guide .tf-guide-enquiry-view { flex: 1 1 auto; min-width: 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 20px; }
#tf-site-guide .tf-guide-intro { margin: 0 0 20px; font-size: 14px; color: var(--tf-guide-muted); }
#tf-site-guide .tf-guide-label { display: block; margin: 0 0 7px; font-size: 13px; font-weight: 600; color: var(--tf-guide-navy); }
#tf-site-guide .tf-guide-back { display: inline-block; min-height: 36px; margin: -6px 0 12px; padding: 5px 0; border: 0; background: transparent; color: #1558ae; font-size: 13px; font-weight: 600; }
#tf-site-guide .tf-guide-enquiry { margin: 0; }
#tf-site-guide .tf-guide-enquiry .tf-guide-label:not(:first-child) { margin-top: 15px; }
#tf-site-guide textarea.tf-guide-field { resize: vertical; min-height: 112px; max-height: 250px; }
#tf-site-guide .tf-guide-note { margin: 15px 0 0; font-size: 11px; line-height: 1.6; color: var(--tf-guide-muted); }
#tf-site-guide .tf-guide-privacy { display: inline-block; margin-top: 8px; color: #1558ae; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
#tf-site-guide .tf-guide-primary { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 10px 15px; border: 1px solid var(--tf-guide-blue); border-radius: 8px; background: var(--tf-guide-blue); color: #fff; text-decoration: none; font-size: 13px; font-weight: 600; }
#tf-site-guide .tf-guide-primary:hover,
#tf-site-guide .tf-guide-search-button:hover { background: #104fa9; }
#tf-site-guide .tf-guide-review { width: 100%; margin-top: 18px; }
#tf-site-guide .tf-guide-cancel { display: inline-flex; justify-content: center; align-items: center; width: 100%; min-height: 44px; margin-top: 0; padding: 10px 15px; border: 1px solid #b9c6d8; border-radius: 8px; background: transparent; color: #1558ae; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
#tf-site-guide .tf-guide-cancel:hover { background: #eef3fa; }
#tf-site-guide .tf-guide-cancel:focus-visible { outline: 3px solid #1558ae; outline-offset: 2px; }
#tf-site-guide .tf-guide-form-status { margin: 12px 0 0; font-size: 13px; color: #8c2727; }
#tf-site-guide .tf-guide-form-status:empty { display: none; }
.sw-inquiry-form > .tf-guide-draft-notice { padding: 16px 18px; border: 1px solid #b9d2ed; border-radius: 8px; background: #eef6ff; color: #173d68; font-size: 14px; line-height: 1.6; }

@media (max-width: 520px) {
    #tf-site-guide .tf-guide-launcher { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); min-width: 168px; min-height: 54px; padding: 10px 19px; }
    #tf-site-guide .tf-guide-dialog { inset: auto 12px max(12px, env(safe-area-inset-bottom)) 12px; width: calc(100vw - 24px); height: min(720px, calc(100vh - 24px)); height: min(720px, calc(100dvh - 24px)); border-radius: 16px; }
    #tf-site-guide .tf-guide-header { gap: 9px; padding: 16px; }
    #tf-site-guide .tf-guide-toolbar { padding-inline: 14px; }
    #tf-site-guide .tf-guide-conversation { padding: 16px 13px 18px; }
    #tf-site-guide .tf-guide-composer-area { padding-inline: 13px; }
    #tf-site-guide .tf-guide-message { max-width: 96%; padding: 12px 13px; }
    #tf-site-guide .tf-guide-message-visitor { max-width: 88%; }
    #tf-site-guide .tf-guide-enquiry-view { padding: 18px; }
    #tf-site-guide .tf-guide-search-row { gap: 6px; }
}
#tf-site-guide .tf-guide-dialog.tf-guide-welcome { width: min(360px, calc(100vw - 24px)); height: auto; max-height: min(460px, calc(100vh - 24px)); max-height: min(460px, calc(100dvh - 24px)); }
#tf-site-guide .tf-guide-welcome .tf-guide-clear,
#tf-site-guide .tf-guide-welcome .tf-guide-search-form,
#tf-site-guide .tf-guide-welcome .tf-guide-status,
#tf-site-guide .tf-guide-welcome .tf-guide-session-note { display: none; }
#tf-site-guide .tf-guide-welcome .tf-guide-toolbar { min-height: 35px; }
#tf-site-guide .tf-guide-welcome .tf-guide-conversation { flex: 0 1 auto; padding: 14px; }
#tf-site-guide .tf-guide-welcome .tf-guide-message { max-width: 100%; margin: 0; }
#tf-site-guide .tf-guide-welcome .tf-guide-start { display: block; width: 100%; min-height: 42px; padding: 10px 15px; border: 1px solid var(--tf-guide-blue); border-radius: 9px; background: var(--tf-guide-blue); color: #fff; font-size: 13px; font-weight: 600; }
#tf-site-guide .tf-guide-welcome .tf-guide-start:hover { background: #104fa9; }
@media print { #tf-site-guide { display: none; } }

/* Compact enquiry step: the whole form fits in the panel without scrolling. */
#tf-site-guide .tf-guide-enquiry-view { padding: 12px 16px 14px; }
#tf-site-guide .tf-guide-back { min-height: 28px; margin: -2px 0 4px; padding: 2px 0; }
#tf-site-guide .tf-guide-intro { margin: 0 0 10px; font-size: 13px; line-height: 1.45; }
#tf-site-guide .tf-guide-enquiry { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; }
#tf-site-guide .tf-guide-pair { min-width: 0; }
#tf-site-guide .tf-guide-pair-question,
#tf-site-guide .tf-guide-pair-company,
#tf-site-guide .tf-guide-note,
#tf-site-guide .tf-guide-privacy,
#tf-site-guide .tf-guide-form-actions,
#tf-site-guide .tf-guide-form-status { grid-column: 1 / -1; }
#tf-site-guide .tf-guide-enquiry .tf-guide-label { margin: 0 0 3px; font-size: 12px; }
#tf-site-guide .tf-guide-enquiry .tf-guide-field { min-height: 38px; padding: 6px 10px; font-size: 14px; line-height: 1.4; }
#tf-site-guide .tf-guide-enquiry textarea.tf-guide-field { min-height: 66px; max-height: 120px; }
#tf-site-guide .tf-guide-enquiry .tf-guide-note { margin: 2px 0 0; font-size: 11px; line-height: 1.45; }
#tf-site-guide .tf-guide-enquiry .tf-guide-privacy { justify-self: start; margin-top: 0; }
#tf-site-guide .tf-guide-form-actions { display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; margin-top: 2px; }
#tf-site-guide .tf-guide-form-actions .tf-guide-review,
#tf-site-guide .tf-guide-form-actions .tf-guide-cancel { width: 100%; min-height: 42px; margin: 0; }
#tf-site-guide .tf-guide-form-status { margin: 0; }
@media (max-width: 520px) {
    #tf-site-guide .tf-guide-enquiry-view { padding: 12px 14px 14px; }
    #tf-site-guide .tf-guide-enquiry { grid-template-columns: 1fr; }
    /* 16px keeps iOS from zooming into the field when it is focused. */
    #tf-site-guide .tf-guide-enquiry .tf-guide-field { font-size: 16px; }
}
/* Short screens (small phones, landscape, small laptop windows): drop the intro line and shrink the question box. */
@media (max-height: 700px) {
    #tf-site-guide .tf-guide-enquiry-view .tf-guide-intro { display: none; }
    #tf-site-guide .tf-guide-enquiry textarea.tf-guide-field { min-height: 52px; }
    #tf-site-guide .tf-guide-enquiry-view { padding-top: 8px; padding-bottom: 10px; }
}

/* Enquiry sent directly to the team: consent, hidden spam trap, spam check and the confirmation. */
#tf-site-guide .tf-guide-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
#tf-site-guide .tf-guide-consent { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 8px; margin: 2px 0 0; font-size: 12px; line-height: 1.4; color: var(--tf-guide-navy); cursor: pointer; }
#tf-site-guide .tf-guide-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: #1558ae; }
#tf-site-guide .tf-guide-verify { grid-column: 1 / -1; }
#tf-site-guide .tf-guide-verify[hidden] { display: none; }
#tf-site-guide .tf-guide-sent { padding: 8px 0 0; }
#tf-site-guide .tf-guide-sent-title { margin: 0 0 8px; font-size: 17px; line-height: 1.3; color: var(--tf-guide-navy); }
#tf-site-guide .tf-guide-sent-title:focus { outline: none; }
#tf-site-guide .tf-guide-sent-text { margin: 0 0 16px; font-size: 14px; line-height: 1.5; color: var(--tf-guide-muted); }
#tf-site-guide .tf-guide-sent .tf-guide-sent-back { width: 100%; margin: 0; }
@media (max-height: 700px) {
    #tf-site-guide .tf-guide-dialog:has(.tf-guide-enquiry-view:not([hidden])) .tf-guide-header { padding-block: 9px; }
    #tf-site-guide .tf-guide-enquiry textarea.tf-guide-field { min-height: 44px; }
    #tf-site-guide .tf-guide-enquiry .tf-guide-field { min-height: 34px; padding-block: 4px; }
    #tf-site-guide .tf-guide-enquiry { gap: 6px 10px; }
    #tf-site-guide .tf-guide-form-actions .tf-guide-review,
    #tf-site-guide .tf-guide-form-actions .tf-guide-cancel { min-height: 38px; }
}
@media (max-height: 700px) {
    #tf-site-guide .tf-guide-enquiry-view { padding-top: 4px; }
    #tf-site-guide .tf-guide-back { min-height: 24px; margin-bottom: 2px; }
    #tf-site-guide .tf-guide-enquiry .tf-guide-note { line-height: 1.35; }
}

/* Forge replies: avatar, typing indicator and reveal. Presentation only. */
#tf-site-guide .tf-guide-message-author { display: flex; align-items: center; gap: 7px; }
#tf-site-guide .tf-guide-message-avatar { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #e6f0ff; color: var(--tf-guide-blue); }
#tf-site-guide .tf-guide-message-avatar .tf-guide-agent-icon { width: 14px; height: 14px; }
#tf-site-guide .tf-guide-typing-dots { display: flex; align-items: center; gap: 5px; height: 22px; margin: 0; }
#tf-site-guide .tf-guide-typing-dots span { width: 7px; height: 7px; border-radius: 50%; background: #8fb0d8; animation: tf-guide-dot 1.1s ease-in-out infinite; }
#tf-site-guide .tf-guide-typing-dots span:nth-child(2) { animation-delay: .15s; }
#tf-site-guide .tf-guide-typing-dots span:nth-child(3) { animation-delay: .3s; }
#tf-site-guide .tf-guide-held { display: none; }
#tf-site-guide .tf-guide-fade-in { animation: tf-guide-fade .35s ease both; }
@keyframes tf-guide-dot { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }
@keyframes tf-guide-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    #tf-site-guide .tf-guide-typing-dots span, #tf-site-guide .tf-guide-fade-in { animation: none; }
}
#tf-site-guide .tf-guide-streaming::after { content: ''; display: inline-block; width: 7px; height: 14px; margin-left: 3px; vertical-align: -2px; border-radius: 2px; background: var(--tf-guide-blue); animation: tf-guide-caret 1s steps(2, start) infinite; }
@keyframes tf-guide-caret { to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { #tf-site-guide .tf-guide-streaming::after { animation: none; } }

/* ---- Modern look (0.4.4): softer shapes, depth and chips. CSS only; behaviour is unchanged. ---- */
#tf-site-guide .tf-guide-launcher { border: 1px solid rgb(255 255 255 / 35%); background: linear-gradient(135deg, #2a78e4, #1257b8); box-shadow: 0 10px 28px rgb(23 100 204 / 38%), 0 2px 6px rgb(16 36 60 / 18%); transition: transform .2s, box-shadow .2s; }
#tf-site-guide .tf-guide-launcher:hover { background: linear-gradient(135deg, #3384ee, #1a62c8); transform: translateY(-2px); box-shadow: 0 14px 34px rgb(23 100 204 / 44%), 0 2px 6px rgb(16 36 60 / 18%); }
#tf-site-guide .tf-guide-dialog { border: 1px solid rgb(16 36 60 / 8%); border-radius: 22px; box-shadow: 0 24px 80px rgb(10 30 55 / 28%), 0 4px 14px rgb(10 30 55 / 10%); }
#tf-site-guide .tf-guide-dialog[open] { animation: tf-guide-rise .24s cubic-bezier(.2, .8, .2, 1) both; }
#tf-site-guide .tf-guide-header { position: relative; background: radial-gradient(120% 140% at 0% 0%, #1d4a82 0%, rgb(29 74 130 / 0%) 55%), linear-gradient(135deg, #0e2340, #143461); }
#tf-site-guide .tf-guide-avatar { position: relative; border: 0; border-radius: 50%; background: linear-gradient(135deg, #3a8bf5, #5cc0ff); box-shadow: 0 4px 14px rgb(58 139 245 / 45%); }
#tf-site-guide .tf-guide-avatar::after { content: ''; position: absolute; right: -1px; bottom: -1px; width: 12px; height: 12px; border: 2px solid #143461; border-radius: 50%; background: #3ddc97; }
#tf-site-guide .tf-guide-subtitle { color: #b9d2ef; }
#tf-site-guide .tf-guide-close { flex-basis: 34px; width: 34px; height: 34px; border: 0; background: rgb(255 255 255 / 12%); font-size: 22px; transition: background .2s; }
#tf-site-guide .tf-guide-close:hover { background: rgb(255 255 255 / 22%); }
#tf-site-guide .tf-guide-toolbar { border-bottom: 0; background: #fff; box-shadow: 0 1px 0 #edf2f8; }
#tf-site-guide .tf-guide-toolbar > p { display: inline-flex; align-items: center; gap: 7px; }
#tf-site-guide .tf-guide-toolbar > p::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #3ddc97; }
#tf-site-guide .tf-guide-clear { padding: 6px 11px; border-radius: 999px; color: #3f628f; text-decoration: none; transition: background .2s; }
#tf-site-guide .tf-guide-clear:hover { background: #edf3fb; color: #1558ae; }
#tf-site-guide .tf-guide-conversation { background: linear-gradient(180deg, #f8fbff 0%, #eef4fc 100%); scrollbar-color: #c4d4e8 transparent; }
#tf-site-guide .tf-guide-message { border: 0; border-radius: 6px 20px 20px 20px; box-shadow: 0 1px 2px rgb(16 36 60 / 6%), 0 6px 18px rgb(16 36 60 / 6%); animation: tf-guide-fade .28s ease both; }
#tf-site-guide .tf-guide-message-text { font-size: 13.5px; line-height: 1.65; }
#tf-site-guide .tf-guide-message-author { color: #5a7aa3; }
#tf-site-guide .tf-guide-message-visitor { border-radius: 20px 6px 20px 20px; background: linear-gradient(135deg, #2175e8, #1257b8); box-shadow: 0 6px 16px rgb(23 100 204 / 28%); }
#tf-site-guide .tf-guide-message-visitor .tf-guide-message-author { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#tf-site-guide .tf-guide-message-visitor .tf-guide-message-text { font-size: 14px; }
#tf-site-guide .tf-guide-suggestion { border: 1px solid #cddff4; border-radius: 999px; padding: 7px 14px; background: #fff; color: #1b5597; font-weight: 600; transition: background .2s, border-color .2s, transform .2s; }
#tf-site-guide .tf-guide-suggestion:hover { background: #ebf3ff; border-color: #8fb7ea; transform: translateY(-1px); }
#tf-site-guide .tf-guide-answer-label { display: inline-block; padding: 3px 9px; border-radius: 999px; background: #eef4fc; color: #4a6c96; letter-spacing: .01em; }
#tf-site-guide .tf-guide-source { border-top: 1px solid #edf2f8; }
#tf-site-guide .tf-guide-source-link { display: inline-flex; align-items: center; justify-self: start; padding: 5px 11px; border-radius: 999px; background: #eef5ff; color: #1558ae; font-weight: 600; text-decoration: none; transition: background .2s; }
#tf-site-guide .tf-guide-source-link:hover { background: #dfecfd; }
#tf-site-guide .tf-guide-related-link,
#tf-site-guide .tf-guide-service-title,
#tf-site-guide .tf-guide-service-action { text-decoration: none; }
#tf-site-guide .tf-guide-related-link:hover,
#tf-site-guide .tf-guide-service-title:hover,
#tf-site-guide .tf-guide-service-action:hover { text-decoration: underline; text-underline-offset: 3px; }
#tf-site-guide .tf-guide-service-list > li { border-bottom-color: #edf2f8; }
#tf-site-guide .tf-guide-composer-area { border-top: 0; box-shadow: 0 -10px 28px rgb(16 36 60 / 5%); }
#tf-site-guide .tf-guide-search,
#tf-site-guide .tf-guide-field { border-color: #d3e0f0; background: #f6f9fd; }
#tf-site-guide .tf-guide-search { border-radius: 999px; padding-inline: 18px; transition: border-color .2s, background .2s; }
#tf-site-guide .tf-guide-field { border-radius: 12px; }
#tf-site-guide .tf-guide-search:focus-visible,
#tf-site-guide .tf-guide-field:focus-visible { outline: 2px solid var(--tf-guide-blue); outline-offset: 1px; border-color: var(--tf-guide-blue); background: #fff; box-shadow: 0 0 0 5px rgb(23 100 204 / 12%); }
#tf-site-guide .tf-guide-search-button { padding-inline: 20px; border: 0; border-radius: 999px; background: linear-gradient(135deg, #2175e8, #1257b8); box-shadow: 0 4px 12px rgb(23 100 204 / 30%); transition: transform .2s, box-shadow .2s; }
#tf-site-guide .tf-guide-search-button:hover { background: linear-gradient(135deg, #2a80f2, #1a62c8); transform: translateY(-1px); box-shadow: 0 6px 16px rgb(23 100 204 / 36%); }
#tf-site-guide .tf-guide-actions { gap: 8px; margin-top: 10px; }
#tf-site-guide .tf-guide-team,
#tf-site-guide .tf-guide-booking { min-height: 34px; padding: 6px 14px; border: 1px solid #d3e0f0; border-radius: 999px; background: #fff; text-decoration: none; transition: background .2s, border-color .2s; }
#tf-site-guide .tf-guide-team:hover,
#tf-site-guide .tf-guide-booking:hover { background: #eef5ff; border-color: #9cc0ee; }
#tf-site-guide .tf-guide-session-note { margin-top: 8px; }
#tf-site-guide .tf-guide-primary,
#tf-site-guide .tf-guide-cancel { border-radius: 999px; }
@keyframes tf-guide-rise { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    #tf-site-guide .tf-guide-dialog[open], #tf-site-guide .tf-guide-message { animation: none; }
    #tf-site-guide .tf-guide-launcher, #tf-site-guide .tf-guide-suggestion, #tf-site-guide .tf-guide-search-button { transition: none; }
    #tf-site-guide .tf-guide-launcher:hover, #tf-site-guide .tf-guide-suggestion:hover, #tf-site-guide .tf-guide-search-button:hover { transform: none; }
}
/* 0.4.6: no outline at all. A transparent border still shows the white panel behind it as a pale line. */
#tf-site-guide .tf-guide-dialog { border: 0; }
/* 0.4.7: the panel itself has no fill. The white sits on the body section, so the rounded header
   corners are antialiased against the page instead of against white (which drew a pale fringe). */
#tf-site-guide .tf-guide-dialog { background: transparent; }
#tf-site-guide .tf-guide-body { background: #fff; }
/* 0.4.9: one focus treatment for every text box: a single blue line. No outline and no glow, so there is no
   double line. The inset shadow thickens the same border to 2px without shifting the layout. */
#tf-site-guide .tf-guide-search:focus-visible,
#tf-site-guide .tf-guide-field:focus-visible,
#tf-site-guide textarea.tf-guide-field:focus-visible { outline: 0; border-color: var(--tf-guide-blue); background: #fff; box-shadow: inset 0 0 0 1px var(--tf-guide-blue); }
