body.fynfy-home {
    --home-blue: #0c59e8;
    --home-navy: #10223e;
    --home-muted: #4e5c70;
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    color: var(--home-navy);
    background: #fff;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.fynfy-home :is(h1, h2, h3, p, a, button, input, select, label, span, div, small) {
    font-family: inherit;
}

.fynfy-home *, .fynfy-home *::before, .fynfy-home *::after {
    box-sizing: border-box;
}

.fynfy-home a { text-decoration: none; }
.fynfy-home button, .fynfy-home input, .fynfy-home select { font: inherit; }
.fynfy-home a:focus-visible, .fynfy-home button:focus-visible, .fynfy-home select:focus-visible {
    outline: 3px solid #74a8ff;
    outline-offset: 4px;
}

.home-shell { width: 84.5%; max-width: 1568px; margin-inline: auto; }
.home-skip-link { position: fixed; top: -100px; left: 20px; z-index: 2000; padding: 12px 18px; background: #fff; color: var(--home-blue); }
.home-skip-link:focus { top: 10px; }
.home-header { background: #fff; border-bottom: 1px solid #dce2eb; }
.home-header-inner { min-height: 78px; display: flex; align-items: center; gap: 48px; }
.home-wordmark { color: #09357e; font-size: 38px; font-weight: 800; letter-spacing: -1.8px; line-height: 1; flex: 0 0 auto; }
.home-wordmark:hover { color: #0c59e8; }
.home-navigation { display: flex; align-items: stretch; gap: 32px; align-self: stretch; }
.home-navigation a { position: relative; display: inline-flex; gap: 9px; align-items: center; color: #152033; font-size: 15px; font-weight: 600; }
.home-navigation a:hover, .home-navigation .is-active { color: var(--home-blue); }
.home-navigation .is-active::after { content: ""; position: absolute; height: 3px; border-radius: 3px; background: var(--home-blue); inset: auto -5px 14px; }
.home-chevron { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.home-account-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px; margin-left: auto; }
.home-account-actions form { margin: 0; }
.home-action { display: inline-flex; justify-content: center; align-items: center; min-height: 39px; padding: 9px 16px; border: 1px solid transparent; border-radius: 8px; font-size: 13px; font-weight: 600; line-height: 1.25; white-space: nowrap; cursor: pointer; transition: background-color 150ms, border-color 150ms; }
.home-action-outline { border-color: var(--home-blue); background: #fff; color: var(--home-blue); }
.home-action-primary { border-color: var(--home-blue); background: var(--home-blue); color: #fff; }
.home-action-neutral { border-color: #cdd3dc; background: #fff; color: #202b3c; }
.home-action-outline:hover, .home-action-neutral:hover { background: #f0f5fd; color: var(--home-blue); }
.home-action-primary:hover { background: #0648c5; color: #fff; }
.home-account-summary { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-block: 12px; font-size: 14px; color: var(--home-muted); }
.home-hero { background: #e2eefc; border-top: 4px solid #f4f8fe; }
.home-hero-grid { display: grid; grid-template-columns: 1.04fr 1fr; }
.home-hero-panel { min-width: 0; min-height: 344px; display: flex; flex-direction: column; padding-block: 35px 28px; }
.home-buyer-panel { padding-right: 42px; }
.home-supplier-panel { padding-left: 42px; border-left: 3px solid #fff; }
.home-buyer-panel h1 { margin: 0; color: var(--home-navy); font-size: clamp(31px, 2.75vw, 50px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.09; }
.home-introduction { color: #3b4b62; font-size: 17px; line-height: 1.6; margin: 15px 0 22px; max-width: 630px; }
.home-search { margin-top: auto; }
.home-search-bar { width: 100%; min-height: 59px; display: flex; align-items: center; gap: 12px; padding: 5px 5px 5px 18px; background: #fff; border: 1px solid #b9c5d5; border-radius: 13px; box-shadow: 0 2px 4px #203d6310; }
.home-search-bar:focus-within { border-color: var(--home-blue); box-shadow: 0 0 0 3px #0c59e820; }
.home-search-icon { flex: 0 0 auto; color: #26364b; }
.home-search-bar input { width: 100%; min-width: 0; padding: 8px 0; color: var(--home-navy); border: 0; outline: 0; background: transparent; font-size: 16px; }
.home-search-bar input::placeholder { color: #596477; opacity: 1; }
.home-search-bar button { flex: 0 0 auto; min-height: 46px; padding: 10px 24px; border: 0; border-radius: 9px; background: var(--home-blue); color: #fff; font-size: 16px; font-weight: 600; cursor: pointer; }
.home-search-bar button:hover { background: #0648c5; }
.home-search-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; padding-top: 10px; }
.home-browse-link { display: inline-flex; align-items: center; gap: 8px; color: #0754d7; font-size: 14px; font-weight: 600; }
.home-browse-link span, .home-suppliers-heading a span { font-size: 24px; line-height: 16px; }
.home-search-type { display: flex; align-items: center; gap: 6px; color: #4a5a70; font-size: 12px; }
.home-search-type select { max-width: 98px; padding: 3px 2px; border: 0; border-radius: 4px; background: transparent; color: #204476; cursor: pointer; }
.home-supplier-question { margin: -5px 0 0; color: var(--home-navy); font-size: clamp(28px, 2.6vw, 44px); font-weight: 500; letter-spacing: -1px; line-height: 1.15; }
.home-supplier-panel h2 { margin: 0; color: var(--home-navy); font-size: clamp(23px, 1.95vw, 35px); font-weight: 800; letter-spacing: -1px; line-height: 1.2; }
.home-supplier-panel .home-introduction { margin-top: 17px; font-size: 16px; max-width: 560px; }
.home-create-agent { display: flex; align-items: center; justify-content: center; align-self: center; width: 100%; max-width: 500px; min-height: 61px; margin: auto 0 34px; padding: 12px 20px; border-radius: 12px; background: var(--home-blue); color: #fff; font-size: clamp(18px, 1.6vw, 28px); font-weight: 600; line-height: 1.2; text-align: center; box-shadow: 0 3px 7px #0b48a42a; transition: background-color 150ms; }
.home-create-agent:hover { background: #0648c5; color: #fff; }

.fynfy-home .homepage-main { flex: 1; width: 100%; padding: 52px 0 38px; }
.home-suppliers-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.home-suppliers-heading h2 { margin: 0; color: var(--home-navy); font-size: clamp(23px, 2vw, 30px); font-weight: 800; letter-spacing: -.7px; }
.home-suppliers-heading a { display: inline-flex; align-items: center; gap: 7px; color: var(--home-blue); font-size: 14px; font-weight: 600; white-space: nowrap; }
.fynfy-home .home-container { display: block; width: 100%; height: auto; margin-bottom: 0; }
.fynfy-home .box1 { width: 100%; height: auto; margin-right: 0; }
.fynfy-home .agent-container { min-width: 0; }
.fynfy-home .agent-left-column { min-width: 320px; }
.fynfy-home .agent-right-column { min-width: 0; }

.fynfy-home .home-footer { position: static; width: 100%; height: auto; margin-top: auto; padding: 0; background: #fff; color: var(--home-muted); line-height: 1.5; text-align: left; }
.home-footer-inner { min-height: 96px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; padding: 24px 230px 24px 0; border-top: 1px solid #e0e5ed; }
.home-footer-wordmark { padding-right: 24px; border-right: 1px solid #d6dce6; font-size: 28px; letter-spacing: -1px; }
.home-footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.home-footer-links a, .home-footer-links button { padding: 0; color: #4c5667; border: 0; background: transparent; font-size: 12px; cursor: pointer; }
.home-footer-links a:hover, .home-footer-links button:hover { color: var(--home-blue); }
.home-copyright { margin-left: auto; font-size: 11px; white-space: nowrap; }
.home-assistant-controls { position: fixed; right: 24px; bottom: 18px; z-index: 1040; display: flex; gap: 10px; align-items: center; }
.home-assistant-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 43px; min-width: 104px; padding: 9px 16px; border: 1px solid #ccd6e5; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1.2; box-shadow: 0 2px 6px #10223e17; cursor: pointer; }
.home-fybot-button { border-color: var(--home-blue); background: var(--home-blue); color: #fff; }
.home-fybot-button img { display: block; object-fit: contain; }
.home-support-button { background: #fff; color: #263b58; }
.home-fybot-button:hover { background: #0648c5; }
.home-support-button:hover { background: #edf4ff; }
.home-assistant-button[aria-expanded="true"] { outline: 3px solid #9dbffc; outline-offset: 2px; }
.home-chat-panel { position: fixed; z-index: 1050; right: 24px; bottom: 76px; display: flex; flex-direction: column; width: min(480px, calc(100vw - 32px)); height: min(620px, calc(100dvh - 100px)); overflow: hidden; border: 1px solid #c3d1e5; border-radius: 16px; background: #fff; box-shadow: 0 12px 48px #10223e30; }
.home-chat-panel[hidden] { display: none; }
.home-chat-toolbar { display: flex; align-items: center; justify-content: space-between; flex: 0 0 auto; min-height: 43px; padding: 7px 14px; border-bottom: 1px solid #e1e7ef; background: #f6f9ff; font-size: 14px; font-weight: 600; }
.home-chat-toolbar button { width: 30px; height: 30px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #304563; font-size: 25px; line-height: 1; cursor: pointer; }
.home-chat-toolbar button:hover { background: #e4edfb; }
.home-chat-panel iframe { flex: 1; width: 100%; min-height: 0; border: 0; background: #fff; }

@media (max-width: 1400px) {
    .home-header-inner { gap: 30px; }
    .home-navigation { gap: 24px; }
    .home-account-actions { gap: 8px; }
    .home-action { padding-inline: 12px; }
    .home-footer-inner { column-gap: 18px; }
    .home-footer-links { column-gap: 16px; }
    .home-copyright { margin-left: 0; }
}

@media (max-width: 1100px) {
    .home-shell { width: calc(100% - 48px); }
    .home-header-inner { gap: 24px; }
    .home-navigation { gap: 20px; }
    .home-wordmark { font-size: 33px; }
    .home-action { font-size: 12px; padding-inline: 10px; }
    .home-buyer-panel { padding-right: 28px; }
    .home-supplier-panel { padding-left: 28px; }
    .home-buyer-panel h1 { letter-spacing: -1px; }
    .home-introduction { font-size: 16px; }
    .home-create-agent { margin-bottom: 55px; }
}

@media (max-width: 800px) {
    .home-header-inner { flex-wrap: wrap; min-height: auto; gap: 0 26px; padding-block: 18px 14px; }
    .home-wordmark { font-size: 32px; }
    .home-navigation { margin-left: auto; min-height: 38px; align-self: auto; }
    .home-navigation a { font-size: 14px; }
    .home-navigation .is-active::after { bottom: -1px; }
    .home-account-actions { flex: 1 0 100%; margin: 14px 0 0; justify-content: flex-start; gap: 8px; }
    .home-action { font-size: 12px; min-height: 37px; padding-inline: 13px; }
    .home-hero-grid { grid-template-columns: 1fr; }
    .home-hero-panel { min-height: auto; padding: 29px 0; }
    .home-buyer-panel h1 { font-size: clamp(30px, 5.4vw, 41px); }
    .home-supplier-panel { border-left: 0; border-top: 2px solid #fff; }
    .home-supplier-question { margin-top: 0; font-size: 30px; }
    .home-supplier-panel h2 { margin-top: 2px; font-size: 26px; letter-spacing: -.6px; }
    .home-supplier-panel .home-introduction { margin-block: 15px 20px; }
    .home-create-agent { align-self: flex-start; max-width: none; min-height: 53px; margin: 0; font-size: 20px; }
    .fynfy-home .homepage-main { padding-block: 34px; }
    .home-footer-inner { padding-bottom: 85px; padding-right: 0; }
    .home-copyright { flex-basis: 100%; }
    .fynfy-home .agent-container { flex-direction: column; margin-bottom: 24px; }
    .fynfy-home .agent-left-column { min-width: 0; margin-right: 0; }
    .fynfy-home .agent-logo-title-container { justify-content: flex-start; gap: 16px; }
    .fynfy-home .agent-title { width: auto; min-width: 0; }
    .fynfy-home .agent-right-column { padding-inline: 2px; }
    .fynfy-home .agent-video-container { justify-content: flex-start; flex-wrap: wrap; gap: 12px; }
    .fynfy-home .agent-video { margin: 0; }
    .fynfy-home .agent-video video { margin: 0; }
}

@media (max-width: 480px) {
    .home-shell { width: calc(100% - 32px); }
    .home-header-inner { gap: 0 18px; }
    .home-navigation { gap: 19px; }
    .home-navigation a { font-size: 13px; }
    .home-account-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-action { width: 100%; padding-inline: 10px; }
    .home-account-actions form { display: contents; }
    .home-buyer-panel h1 { font-size: 31px; letter-spacing: -1.2px; }
    .home-introduction { font-size: 15px; }
    .home-search-bar { gap: 9px; min-height: 56px; padding-left: 12px; }
    .home-search-bar input { font-size: 13px; }
    .home-search-icon { width: 19px; height: 19px; }
    .home-search-bar button { min-height: 43px; padding-inline: 15px; font-size: 14px; }
    .home-browse-link { font-size: 13px; }
    .home-search-type { font-size: 11px; }
    .home-search-type span { display: none; }
    .home-supplier-panel h2 { font-size: 24px; }
    .home-suppliers-heading { gap: 10px; }
    .home-suppliers-heading h2 { font-size: 22px; }
    .home-suppliers-heading a { font-size: 12px; }
    .home-assistant-controls { right: 16px; bottom: 14px; gap: 8px; }
    .home-assistant-button { min-width: 98px; min-height: 42px; padding-inline: 14px; font-size: 13px; }
    .home-chat-panel { right: 12px; bottom: 70px; width: calc(100vw - 24px); height: min(600px, calc(100dvh - 90px)); }
    .home-footer-links { gap: 14px 19px; }
}
