.iftc-customer{--brand:#126b58;--brand-dark:#0f5748;--brand-soft:#e9f5f1;--line:#e3e9e6;--muted:#6c7b75;--ink:#1a2923;--soft:#f7faf8;color:var(--ink);font-family:inherit}.iftc-customer *{box-sizing:border-box}.iftc-customer-hero{display:grid;grid-template-columns:52px 1fr auto;align-items:center;gap:14px;padding:18px 20px;border:1px solid #dce9e4;border-radius:16px;background:linear-gradient(135deg,#f2faf7,#fff);margin-bottom:18px}.iftc-customer-hero-icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:var(--brand);color:#fff}.iftc-customer-hero-icon .dashicons{font-size:24px;width:24px;height:24px}.iftc-customer-hero>div:nth-child(2)>span,.iftc-customer-inbox-head>div>span,.iftc-trip-kicker{font-size:10px;text-transform:uppercase;letter-spacing:.09em;font-weight:900;color:var(--brand)}.iftc-customer-hero h2{margin:3px 0;font-size:23px;line-height:1.2}.iftc-customer-hero p{margin:0;color:var(--muted);font-size:12px}.iftc-customer-secure{display:flex;align-items:center;gap:5px;padding:7px 9px;border-radius:999px;background:#e7f5ee;color:#176648;font-size:10px;font-weight:800}.iftc-customer-secure .dashicons{font-size:14px;width:14px;height:14px}.iftc-customer-inbox-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:2px 0 15px}.iftc-customer-inbox-head h3{margin:3px 0;font-size:19px}.iftc-customer-inbox-head p{margin:0;color:var(--muted);font-size:11px}.iftc-customer-inbox-count{min-width:84px;text-align:center;border:1px solid var(--line);border-radius:12px;padding:8px 10px;background:#fff}.iftc-customer-inbox-count b{display:block;font-size:18px;color:var(--brand)}.iftc-customer-inbox-count small{font-size:9px;color:var(--muted)}.iftc-period-tablist{display:flex;gap:7px;margin-bottom:13px;padding:4px;background:#f1f5f3;border-radius:12px;width:max-content}.iftc-period-tablist button{border:0;background:transparent;border-radius:9px;padding:8px 12px;cursor:pointer;font-weight:800;font-size:11px;color:#63716c}.iftc-period-tablist button.is-active{background:#fff;color:var(--brand);box-shadow:0 2px 7px rgba(30,50,42,.08)}.iftc-period-tablist span{display:inline-flex;min-width:19px;height:19px;align-items:center;justify-content:center;border-radius:10px;background:#edf2f0;margin-left:4px;font-size:9px}.iftc-trip-chat-list{display:grid;gap:10px}.iftc-trip-conversation-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px;border:1px solid var(--line);border-radius:14px;background:#fff;transition:.16s}.iftc-trip-conversation-card:hover{border-color:#c8ddd5;box-shadow:0 6px 18px rgba(29,51,42,.06);transform:translateY(-1px)}.iftc-trip-conversation-main{display:flex;align-items:flex-start;gap:11px;min-width:0}.iftc-trip-card-icon{width:40px;height:40px;flex:0 0 auto;display:flex;align-items:center;justify-content:center;border-radius:12px;background:var(--brand-soft);color:var(--brand)}.iftc-trip-card-icon .dashicons{font-size:19px;width:19px;height:19px}.iftc-trip-card-top{display:flex;align-items:center;gap:7px}.iftc-trip-status{font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.045em;color:var(--brand)}.iftc-menu-badge{display:inline-flex;align-items:center;justify-content:center;min-height:18px;padding:0 6px;border-radius:999px;background:#b42318;color:#fff;font-size:8px}.iftc-trip-conversation-card h3{margin:3px 0 2px;font-size:14px;line-height:1.3}.iftc-trip-booking-line{margin:0;color:#73817c;font-size:9px}.iftc-last-message{margin:7px 0 0;color:#687770;font-size:10px;line-height:1.4;max-width:520px}.iftc-trip-conversation-side{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex:0 0 auto}.iftc-trip-conversation-side>small{font-size:8px;color:#909c97}.iftc-open-chat{display:flex;align-items:center;gap:5px;text-decoration:none;background:var(--brand);color:#fff!important;border-radius:9px;padding:8px 11px;font-size:10px;font-weight:900}.iftc-open-chat:hover{background:var(--brand-dark)}.iftc-open-chat .dashicons{font-size:13px;width:13px;height:13px}.iftc-empty-customer{padding:28px;text-align:center;border:1px dashed #d4dfdb;border-radius:13px;color:#7e8b86}.iftc-empty-customer .dashicons{display:block;margin:0 auto 7px;font-size:26px;width:26px;height:26px;color:var(--brand)}.iftc-empty-customer strong{display:block;color:#3d4b45;font-size:12px}.iftc-empty-customer p{margin:4px 0 0;font-size:10px}.iftc-customer-chat-shell{border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 8px 24px rgba(27,47,39,.05)}.iftc-customer-chat-head{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:14px 16px;border-bottom:1px solid var(--line);background:#fff}.iftc-back-link{display:flex;align-items:center;gap:4px;color:#5f6f68;text-decoration:none;font-size:9px;font-weight:800;white-space:nowrap}.iftc-back-link .dashicons{font-size:13px;width:13px;height:13px}.iftc-customer-trip-title{min-width:0}.iftc-customer-trip-title h3{margin:2px 0 4px;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.iftc-trip-meta{display:flex;align-items:center;gap:10px;color:#77857f;font-size:9px}.iftc-trip-meta span{display:flex;align-items:center;gap:3px}.iftc-trip-meta .dashicons{font-size:12px;width:12px;height:12px}.iftc-customer-chat-actions{display:flex;gap:6px}.iftc-customer-action{height:34px;display:flex;align-items:center;gap:4px;padding:0 9px;border:1px solid #d6e0dc;border-radius:9px;color:#405049!important;text-decoration:none;font-size:9px;font-weight:800;background:#fff}.iftc-customer-action.is-primary{background:var(--brand);border-color:var(--brand);color:#fff!important}.iftc-customer-action .dashicons{font-size:13px;width:13px;height:13px}.iftc-customer-support-note{display:flex;align-items:center;gap:9px;padding:9px 14px;background:#f8fbfa;border-bottom:1px solid var(--line)}.iftc-customer-support-note>.dashicons{width:28px;height:28px;font-size:15px;display:flex;align-items:center;justify-content:center;border-radius:9px;background:var(--brand-soft);color:var(--brand)}.iftc-customer-support-note strong{display:block;font-size:10px}.iftc-customer-support-note p{margin:1px 0 0;color:#7b8883;font-size:9px}.iftc-customer .iftc-chat-box{display:flex;flex-direction:column;background:#fff}.iftc-customer .iftc-messages{height:500px;overflow:auto;padding:20px;background:linear-gradient(180deg,#f8fbfa,#f6f9f8);scroll-behavior:smooth}.iftc-customer .iftc-chat-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#83918b}.iftc-customer .iftc-chat-empty .dashicons{width:48px;height:48px;font-size:27px;display:flex;align-items:center;justify-content:center;border-radius:16px;background:var(--brand-soft);color:var(--brand);margin-bottom:9px}.iftc-customer .iftc-chat-empty strong{font-size:13px;color:#3c4b45}.iftc-customer .iftc-chat-empty p{max-width:300px;margin:4px 0 0;font-size:10px;line-height:1.5}.iftc-message{display:flex;margin:10px 0}.iftc-message.is-own{justify-content:flex-end}.iftc-bubble{max-width:75%;min-width:140px;padding:10px 12px;border:1px solid #e0e7e4;background:#fff;border-radius:14px 14px 14px 4px;box-shadow:0 2px 7px rgba(29,48,40,.035)}.iftc-message.is-own .iftc-bubble{background:#ddf0e8;border-color:#c7e2d7;border-radius:14px 14px 4px 14px}.iftc-bubble-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px}.iftc-sender{font-size:8px;font-weight:900;color:var(--brand);text-transform:uppercase;letter-spacing:.04em}.iftc-bubble-head time{font-size:8px;color:#89958f;white-space:nowrap}.iftc-bubble p{margin:0;font-size:11px;line-height:1.55;color:#283831;overflow-wrap:anywhere}.iftc-attachment{display:grid;grid-template-columns:32px minmax(0,1fr) 16px;align-items:center;gap:7px;margin-top:8px;padding:8px;border:1px solid #dce5e1;background:rgba(255,255,255,.72);border-radius:9px;text-decoration:none;color:#34463e!important}.iftc-file-icon{width:30px;height:30px;font-size:15px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:#edf5f2;color:var(--brand)}.iftc-attachment>span:nth-child(2){display:flex;flex-direction:column;min-width:0}.iftc-attachment strong{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.iftc-attachment small{font-size:7px;color:#81908a}.iftc-composer{padding:12px 14px;background:#fff;border-top:1px solid var(--line)}.iftc-compose-shell{display:flex;align-items:flex-end;gap:7px;border:1px solid #d5dfdb;background:#fbfcfc;border-radius:13px;padding:7px 7px 7px 11px}.iftc-compose-shell:focus-within{background:#fff;border-color:#8bbcae;box-shadow:0 0 0 3px rgba(18,107,88,.07)}.iftc-compose-shell textarea{flex:1;min-height:32px;max-height:120px;resize:none;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:7px 0!important;font:inherit;font-size:11px;line-height:1.45;color:var(--ink)}.iftc-compose-actions{display:flex;align-items:center;gap:5px}.iftc-attach{width:33px;height:33px;display:flex;align-items:center;justify-content:center;border-radius:9px;cursor:pointer;color:#65736d}.iftc-attach:hover{background:#edf3f0;color:var(--brand)}.iftc-attach input{display:none}.iftc-attach .dashicons{font-size:16px;width:16px;height:16px}.iftc-send-button{height:33px;display:flex;align-items:center;gap:4px;border:0;border-radius:9px;background:var(--brand);color:#fff;padding:0 11px;font-size:10px;font-weight:900;cursor:pointer}.iftc-send-button:hover{background:var(--brand-dark)}.iftc-send-button .dashicons{font-size:13px;width:13px;height:13px}.iftc-compose-meta{display:flex;justify-content:space-between;gap:8px;padding:5px 3px 0;color:#899690;font-size:8px}.iftc-sensitive-note{display:flex!important;align-items:center;gap:5px;margin-top:6px!important;padding:6px 8px!important;border:1px solid #f0e1b8;border-radius:8px;background:#fff9e9;color:#785a19;font-size:8px!important}.iftc-sensitive-note .dashicons{font-size:12px;width:12px;height:12px}.screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:760px){.iftc-customer-hero{grid-template-columns:42px 1fr;padding:14px}.iftc-customer-hero-icon{width:40px;height:40px}.iftc-customer-secure{grid-column:1/-1;width:max-content}.iftc-customer-inbox-head{align-items:flex-start}.iftc-customer-inbox-count{display:none}.iftc-trip-conversation-card{align-items:flex-start;flex-direction:column}.iftc-trip-conversation-side{width:100%;flex-direction:row;align-items:center;justify-content:space-between}.iftc-customer-chat-head{grid-template-columns:1fr;padding:12px}.iftc-back-link{order:1}.iftc-customer-trip-title{order:2}.iftc-customer-chat-actions{order:3}.iftc-customer .iftc-messages{height:440px;padding:14px 10px}.iftc-bubble{max-width:90%}.iftc-period-tablist{width:100%;display:grid;grid-template-columns:1fr 1fr}.iftc-period-tablist button{padding:8px 7px}.iftc-compose-shell{padding-left:9px}.iftc-send-button span:first-child{display:none}}

/* v1.2.0 simplified support + presence */
.iftc-customer-title-line{display:flex;align-items:center;gap:9px;min-width:0}.iftc-customer-title-line h3{min-width:0;flex:1}
.iftc-presence{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:999px;font-size:8px;font-weight:900;white-space:nowrap;background:#f1f4f3;color:#718078}.iftc-presence i{width:7px;height:7px;border-radius:50%;background:#a6b0ac}.iftc-presence.is-online{background:#eaf8f1;color:#11664f}.iftc-presence.is-online i{background:#20b57a;box-shadow:0 0 0 3px rgba(32,181,122,.12)}
.iftc-selected-file[hidden]{display:none!important}.iftc-selected-file{display:grid;grid-template-columns:28px minmax(0,1fr) 26px;align-items:center;gap:8px;max-width:100%;padding:7px 9px;border:1px solid #cfe0da;background:#f5fbf8;border-radius:10px;color:#33463e}.iftc-selected-file>.dashicons{width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:#e1f1ea;color:#126b58}.iftc-selected-file>div{min-width:0;display:flex;flex-direction:column}.iftc-selected-file strong{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.iftc-selected-file small{font-size:8px;color:#73827b}.iftc-selected-file button{border:0;background:transparent;color:#718078;font-size:18px;cursor:pointer}.iftc-attach-hint{color:#85918c}

/* v1.2.1 IST timeline + customer composer reliability */
.iftc-timezone-note{display:inline-flex!important;align-items:center!important;gap:4px!important;padding:3px 7px;border-radius:999px;background:#eef5f2;color:#52645c;font-weight:800;white-space:nowrap}.iftc-timezone-note .dashicons{font-size:11px!important;width:11px!important;height:11px!important}.iftc-bubble-head time{font-variant-numeric:tabular-nums}.iftc-selected-file{margin-right:auto}.iftc-compose-meta [data-iftc-send-state]{font-weight:800;color:var(--brand)}
@media(max-width:760px){.iftc-timezone-note{width:max-content}.iftc-trip-meta{flex-wrap:wrap}.iftc-compose-meta{flex-wrap:wrap}.iftc-selected-file{width:100%;max-width:none}}

/* v1.3.0 featured trip image + formatted support messages */
.iftc-customer-trip-summary{display:flex;align-items:center;gap:10px;min-width:0}.iftc-customer-trip-thumb{width:72px;height:52px;margin:0;flex:0 0 auto;border-radius:10px;overflow:hidden;background:#e9efec;border:1px solid #dfe7e3}.iftc-customer-trip-thumb img{width:100%;height:100%;object-fit:cover;display:block}.iftc-customer-trip-title{flex:1;min-width:0}.iftc-message-body{font-size:11px;line-height:1.55;color:#283831;overflow-wrap:anywhere}.iftc-message-body p{margin:0 0 7px}.iftc-message-body p:last-child{margin-bottom:0}.iftc-message-body ul,.iftc-message-body ol{margin:5px 0 5px 18px;padding:0}.iftc-message-body li{margin:2px 0}.iftc-message-body a{color:#0b6f5a!important;text-decoration:underline;text-underline-offset:2px;font-weight:800}.iftc-message-body strong{font-weight:800}
@media(max-width:760px){.iftc-customer-trip-summary{align-items:flex-start}.iftc-customer-trip-thumb{width:68px;height:50px}.iftc-customer-chat-head{gap:9px!important}}

/* v1.4.0 customer Visual Trip Workspace */
.iftc-customer-trip-guide{border-bottom:1px solid var(--line);background:#fbfcfc}.iftc-trip-guide-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px}.iftc-trip-guide-head>div{display:flex;flex-direction:column}.iftc-trip-guide-head>div>span{font-size:7px;text-transform:uppercase;letter-spacing:.08em;color:var(--brand);font-weight:900}.iftc-trip-guide-head>div>strong{font-size:11px;color:#33443d;margin-top:2px}.iftc-trip-guide-head button{height:30px;border:1px solid #d6e1dc;background:#fff;border-radius:8px;padding:0 9px;display:flex;align-items:center;gap:4px;color:#46564f;font-size:8px;font-weight:800;cursor:pointer}.iftc-trip-guide-head button .dashicons{font-size:11px;width:11px;height:11px;transition:.15s}.iftc-trip-guide-head button.is-open .dashicons{transform:rotate(180deg)}.iftc-trip-guide-body{padding:0 14px 12px}.iftc-trip-guide-body[hidden]{display:none!important}.iftc-customer-route{padding:8px 10px;border:1px solid #e0e8e4;border-radius:10px;background:#fff}.iftc-customer-route>small{display:block;font-size:7px;text-transform:uppercase;letter-spacing:.08em;font-weight:900;color:#7d8b85;margin-bottom:7px}.iftc-customer-route>div{display:flex;align-items:flex-start;gap:0;overflow:auto}.iftc-customer-route span{position:relative;min-width:max-content;display:flex;flex-direction:column;align-items:center;gap:4px;padding-right:16px;margin-right:4px;font-size:8px;font-weight:800;color:#4b5b54}.iftc-customer-route span:not(:last-child):after{content:"";position:absolute;left:9px;right:-5px;top:5px;height:1px;background:#cee0d8}.iftc-customer-route i{position:relative;z-index:1;width:10px;height:10px;border-radius:50%;background:var(--brand);border:3px solid var(--brand-soft)}.iftc-customer-resource-links{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:8px}.iftc-customer-resource-links a{display:grid;grid-template-columns:22px 1fr 12px;align-items:center;gap:5px;padding:8px;border:1px solid #dde6e2;border-radius:9px;background:#fff;text-decoration:none!important;color:#3f4f48!important;font-size:8px;font-weight:800}.iftc-customer-resource-links a>.dashicons:first-child{width:22px;height:22px;font-size:12px;display:flex;align-items:center;justify-content:center;border-radius:7px;background:var(--brand-soft);color:var(--brand)}.iftc-customer-resource-links a>.dashicons:last-child{font-size:10px;width:10px;height:10px;color:#82908a}.iftc-trip-guide-section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin:10px 0 6px}.iftc-trip-guide-section-title strong{font-size:10px}.iftc-trip-guide-section-title small{font-size:7px;color:#7d8b85}.iftc-customer-media-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.iftc-customer-media-grid a{min-width:0;border:1px solid #dfe7e4;border-radius:9px;background:#fff;overflow:hidden;text-decoration:none!important;color:#405049!important}.iftc-customer-media-grid img,.iftc-customer-media-grid>a>span.dashicons{width:100%;height:78px;object-fit:cover;display:flex;align-items:center;justify-content:center;background:#edf4f1}.iftc-customer-media-grid>a>span.dashicons{font-size:22px;color:var(--brand)}.iftc-customer-media-grid small{display:block;padding:5px 6px;font-size:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.iftc-customer-day-list{display:flex;flex-direction:column;gap:5px}.iftc-customer-day-card{border:1px solid #dfe7e4;border-radius:9px;background:#fff;overflow:hidden}.iftc-customer-day-card summary{list-style:none;display:grid;grid-template-columns:auto minmax(0,1fr) 12px;align-items:center;gap:7px;padding:7px 8px;cursor:pointer}.iftc-customer-day-card summary::-webkit-details-marker{display:none}.iftc-customer-day-card summary>span:first-child{padding:3px 6px;border-radius:999px;background:var(--brand-soft);color:var(--brand);font-size:7px;font-weight:900}.iftc-customer-day-card summary strong{font-size:8px}.iftc-customer-day-card summary>.dashicons{font-size:10px;width:10px;height:10px}.iftc-customer-day-card[open] summary>.dashicons{transform:rotate(180deg)}.iftc-customer-day-card p{margin:0!important;border-top:1px solid #edf1ef;padding:8px!important;font-size:8px!important;line-height:1.55!important;color:#52615a!important;max-height:180px;overflow:auto}.iftc-view-full-itinerary{display:inline-flex;align-items:center;gap:4px;margin-top:7px;color:var(--brand)!important;text-decoration:none!important;font-size:8px;font-weight:900}.iftc-view-full-itinerary .dashicons{font-size:10px;width:10px;height:10px}.iftc-delivery{display:flex;align-items:center;justify-content:flex-end;gap:3px;margin-top:4px;color:#83908b;font-size:7px;font-weight:700}.iftc-delivery .dashicons{font-size:9px;width:9px;height:9px}.iftc-delivery.is-read{color:var(--brand)}.iftc-image-attachment{display:grid;grid-template-columns:92px minmax(0,1fr);gap:8px;margin-top:8px;padding:7px;border:1px solid #dce5e1;background:rgba(255,255,255,.75);border-radius:10px}.iftc-image-attachment>button{width:92px;height:70px;padding:0;border:0;border-radius:8px;overflow:hidden;background:#e8efec;cursor:zoom-in}.iftc-image-attachment img{width:100%;height:100%;object-fit:cover}.iftc-image-attachment>div{min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.iftc-image-attachment strong{max-width:100%;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.iftc-image-attachment small{font-size:7px;color:#7c8984}.iftc-image-attachment a{font-size:7px;font-weight:900;color:var(--brand)!important}.iftc-lightbox{position:fixed;inset:0;z-index:999999;background:rgba(7,17,14,.88);display:flex;align-items:center;justify-content:center;padding:30px}.iftc-lightbox[hidden]{display:none!important}.iftc-lightbox figure{margin:0;max-width:min(1000px,92vw);max-height:88vh;display:flex;flex-direction:column;gap:8px}.iftc-lightbox img{max-width:100%;max-height:80vh;object-fit:contain;border-radius:12px;background:#fff}.iftc-lightbox figcaption{text-align:center;color:#fff;font-size:10px}.iftc-lightbox-close{position:absolute;right:18px;top:14px;border:0;background:rgba(255,255,255,.12);color:#fff;width:36px;height:36px;border-radius:50%;font-size:22px;cursor:pointer}
@media(max-width:760px){.iftc-customer-resource-links{grid-template-columns:1fr 1fr}.iftc-customer-media-grid{grid-template-columns:1fr 1fr}.iftc-trip-guide-section-title{align-items:flex-start;flex-direction:column;gap:1px}.iftc-image-attachment{grid-template-columns:80px minmax(0,1fr)}.iftc-image-attachment>button{width:80px;height:62px}}

/* v1.5.0 — cleaner customer support experience */
.iftc-customer-context-greeting{margin:2px 0 4px!important;color:#66756f;font-size:9px!important;line-height:1.35}.iftc-customer-support-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 14px;background:#f8fbfa;border-bottom:1px solid var(--line)}.iftc-customer-support-copy{display:flex;align-items:center;gap:8px;min-width:0}.iftc-customer-support-copy>.dashicons{width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:9px;background:var(--brand-soft);color:var(--brand);font-size:15px}.iftc-customer-support-copy>div{display:flex;flex-direction:column;min-width:0}.iftc-customer-support-copy strong{font-size:9px}.iftc-customer-support-copy span{font-size:8px;color:#798680}.iftc-customer-topic{display:flex;align-items:flex-end;gap:6px}.iftc-customer-topic>label:first-child{display:flex;flex-direction:column;gap:2px}.iftc-customer-topic label>span{font-size:7px;font-weight:900;color:#728079;text-transform:uppercase;letter-spacing:.04em}.iftc-customer-topic select{height:30px;border:1px solid #d9e2de;border-radius:8px;background:#fff;padding:0 25px 0 7px;font-size:8px;color:#34443d}.iftc-urgent-toggle{height:30px;display:flex;align-items:center!important;gap:4px;padding:0 8px;border:1px solid #ecd9d5;border-radius:8px;background:#fff8f6;cursor:pointer}.iftc-urgent-toggle input{margin:0}.iftc-urgent-toggle span{color:#a12e22!important}.iftc-customer-pinned-note{display:grid;grid-template-columns:27px 1fr;gap:8px;padding:8px 14px;background:#fff9e9;border-bottom:1px solid #f0e2b9}.iftc-customer-pinned-note[hidden]{display:none}.iftc-customer-pinned-note>.dashicons{width:27px;height:27px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:#f7e8b7;color:#806016;font-size:14px}.iftc-customer-pinned-note strong{display:block;font-size:8px;color:#71571b}.iftc-customer-pinned-note p{margin:2px 0 0!important;font-size:8px!important;line-height:1.45!important;color:#655832!important}.iftc-emergency-support{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 14px;background:#fff3f1;border-bottom:1px solid #f0d8d3}.iftc-emergency-support>div{display:flex;align-items:center;gap:7px}.iftc-emergency-support>div:first-child>.dashicons{width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:9px;background:#ffe1dd;color:#b42318}.iftc-emergency-support strong{display:block;font-size:8px;color:#8e2c22}.iftc-emergency-support small{display:block;font-size:7px;color:#8d6d68}.iftc-emergency-support a{height:28px;display:flex;align-items:center;gap:4px;padding:0 8px;border:1px solid #e7c6c0;border-radius:8px;background:#fff;color:#9d2e24!important;text-decoration:none;font-size:7px;font-weight:900}.iftc-emergency-support a .dashicons{font-size:11px;width:11px;height:11px}
/* balanced resource tiles */
.iftc-customer-resource-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:9px}.iftc-customer-resource-grid>a{height:78px;min-width:0;display:grid;grid-template-rows:34px 18px 12px;align-items:center;justify-items:center;gap:1px;padding:7px 4px;border:1px solid #dfe7e4;border-radius:11px;background:#fff;text-decoration:none!important;color:#33443d!important;text-align:center}.iftc-customer-resource-grid>a:hover{background:#eff8f4;border-color:#cde2d9}.iftc-customer-resource-icon{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:var(--brand-soft);color:var(--brand)}.iftc-customer-resource-icon .dashicons{font-size:16px;width:16px;height:16px}.iftc-customer-resource-grid strong{width:100%;font-size:8px;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.iftc-customer-resource-grid small{font-size:6.5px;color:#80908a;line-height:12px}
.iftc-trip-guide-section-title>div{display:flex;flex-direction:column}.iftc-trip-guide-section-title>button{border:0;background:transparent;color:var(--brand);font-size:7px;font-weight:900;cursor:pointer}.iftc-customer-timeline{position:relative;display:flex;flex-direction:column}.iftc-customer-timeline:before{content:"";position:absolute;left:17px;top:18px;bottom:18px;width:1px;background:#d8e6e1}.iftc-customer-timeline-day{position:relative;border:0!important;border-radius:0!important;background:transparent!important}.iftc-customer-timeline-day+ .iftc-customer-timeline-day{border-top:1px solid #edf1ef!important}.iftc-customer-timeline-day summary{list-style:none;display:grid;grid-template-columns:34px minmax(0,1fr) 13px;align-items:start;gap:8px;padding:9px 2px;cursor:pointer}.iftc-customer-timeline-day summary::-webkit-details-marker{display:none}.iftc-customer-day-number{position:relative;z-index:1;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#fff;border:2px solid #cfe1da;color:var(--brand);font-size:8px;font-weight:900}.iftc-customer-timeline-day[open] .iftc-customer-day-number{background:var(--brand);border-color:var(--brand);color:#fff}.iftc-customer-day-copy{min-width:0;display:flex;flex-direction:column;gap:1px}.iftc-customer-day-copy small{font-size:6.5px;text-transform:uppercase;letter-spacing:.08em;color:#81908a;font-weight:900}.iftc-customer-day-copy strong{font-size:9px;color:#31423b;line-height:1.3}.iftc-customer-day-copy>span{font-size:7.5px;color:#6b7973;line-height:1.35}.iftc-customer-day-copy em{display:flex;align-items:center;gap:3px;margin-top:2px;font-size:7px;font-style:normal;color:var(--brand);font-weight:800}.iftc-customer-day-copy em .dashicons{font-size:9px;width:9px;height:9px}.iftc-customer-timeline-day summary>.dashicons{margin-top:9px;font-size:10px;width:10px;height:10px;color:#81908a}.iftc-customer-timeline-day[open] summary>.dashicons{transform:rotate(180deg)}.iftc-customer-day-detail{margin:0 0 8px 42px;padding:8px 9px;border:1px solid #e3eae7;border-radius:8px;background:#fff;font-size:7.5px;line-height:1.55;color:#5a6a63;max-height:210px;overflow:auto}
.iftc-customer .iftc-pinned-strip{display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:7px;padding:7px 12px;background:#fff9e9;border-bottom:1px solid #f0e2b9}.iftc-customer .iftc-pinned-strip button{border:0;background:transparent;font-size:7px;font-weight:900;color:#7b611f}.iftc-customer .iftc-live-typing{display:flex;align-items:center;gap:3px;height:25px;padding:0 16px;background:#f8fbfa;border-top:1px solid #edf1ef}.iftc-customer .iftc-live-typing[hidden]{display:none}.iftc-customer .iftc-live-typing>span{width:4px;height:4px;border-radius:50%;background:#74a898}.iftc-customer .iftc-live-typing em{font-size:7px;font-style:normal;color:#697872}.iftc-message-badges{display:flex;align-items:center;gap:3px;margin-left:auto}.iftc-message-badges em{height:15px;display:inline-flex;align-items:center;padding:0 5px;border-radius:999px;background:#edf3f1;color:#65746e;font-size:6px;font-style:normal;font-weight:900}.iftc-message-badges em.is-important{background:#fff0d8;color:#905000}.iftc-message-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:5px}.iftc-reactions{display:flex;gap:3px;align-items:center;flex-wrap:wrap}.iftc-reactions button{min-height:20px;border:1px solid #dce4e1;border-radius:999px;background:rgba(255,255,255,.72);padding:1px 5px;font-size:7px;color:#53615b;cursor:pointer}.iftc-reactions button.is-mine{background:#e9f5f0;border-color:#a7cebf;color:var(--brand)}.iftc-ack-row{margin-top:7px;padding-top:6px;border-top:1px dashed #d9e3df}.iftc-ack-row button{border:0;border-radius:8px;background:var(--brand);color:#fff;padding:6px 8px;font-size:7px;font-weight:900;cursor:pointer}.iftc-ack-row .is-acked{font-size:7px;color:var(--brand);font-weight:800}.iftc-structured-card,.iftc-system-card{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:8px;margin-top:8px;padding:8px;border:1px solid #dce6e2;border-radius:10px;background:#fff}.iftc-system-card{grid-template-columns:24px minmax(0,1fr);background:#f0f6f3}.iftc-card-icon{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:9px;background:var(--brand-soft);color:var(--brand);font-size:15px}.iftc-structured-card>div,.iftc-system-card>div{display:flex;flex-direction:column;min-width:0}.iftc-structured-card small,.iftc-system-card small{font-size:6px;text-transform:uppercase;letter-spacing:.06em;color:#81908a;font-weight:900}.iftc-structured-card strong,.iftc-system-card strong{font-size:8.5px}.iftc-structured-card span:not(.dashicons),.iftc-system-card span:not(.dashicons){font-size:7px;color:#687770}.iftc-structured-card a{height:26px;display:flex;align-items:center;padding:0 7px;border-radius:7px;background:var(--brand);color:#fff!important;text-decoration:none!important;font-size:7px;font-weight:900}
.iftc-feedback-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px;border-top:1px solid var(--line);background:#fbfcfc}.iftc-feedback-card h3{margin:2px 0;font-size:12px}.iftc-feedback-card p{margin:0;font-size:8px;color:#75837d}.iftc-feedback-form{display:flex;align-items:center;gap:7px}.iftc-star-picker{display:flex}.iftc-star-picker button{border:0;background:transparent;padding:1px;color:#c6cfcb;font-size:18px;cursor:pointer}.iftc-star-picker button.is-active{color:#e0a21a}.iftc-feedback-form textarea{width:180px;border:1px solid #dbe4e0;border-radius:8px;padding:6px;font-size:8px;resize:none}.iftc-feedback-form>button{height:30px;border:0;border-radius:8px;background:var(--brand);color:#fff;padding:0 9px;font-size:7px;font-weight:900;cursor:pointer}.iftc-feedback-form>small{font-size:7px;color:#a13a2f}.iftc-feedback-thanks{display:flex;align-items:center;gap:8px}.iftc-feedback-thanks>.dashicons{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:#fff2cf;color:#d49400}.iftc-feedback-thanks>div{display:flex;flex-direction:column}.iftc-feedback-thanks strong{font-size:9px}.iftc-feedback-thanks span{color:#d49400}
@media(max-width:760px){.iftc-customer-support-bar,.iftc-emergency-support,.iftc-feedback-card{align-items:flex-start;flex-direction:column}.iftc-customer-topic{width:100%}.iftc-customer-topic>label:first-child{flex:1}.iftc-customer-topic select{width:100%}.iftc-customer-resource-grid{grid-template-columns:1fr 1fr}.iftc-feedback-form{width:100%;flex-wrap:wrap}.iftc-feedback-form textarea{width:100%}.iftc-customer-chat-head{grid-template-columns:1fr!important}.iftc-back-link{width:max-content}.iftc-customer-chat-actions{justify-content:flex-start}.iftc-customer-day-detail{margin-left:39px}}
.iftc-customer-notification-button{height:30px;display:flex;align-items:center;gap:4px;border:1px solid #d9e2de;border-radius:8px;background:#fff;padding:0 7px;color:#596861;font-size:7px;font-weight:900;cursor:pointer}.iftc-customer-notification-button .dashicons{font-size:11px;width:11px;height:11px}.iftc-customer-notification-button.is-enabled{background:#eaf6f1;border-color:#c6e0d6;color:var(--brand)}

/* =========================================================
 * v1.5.2 — unified My Account navigation
 * Makes the WooCommerce/Portal sidebar feel like part of the
 * India Food Tour travel-support product rather than theme UI.
 * ======================================================= */
body.iftc-account-shell.iftp-portal-account .iftc-account-nav-brand{
  float:left;
  width:258px;
  min-height:76px;
  display:flex;
  align-items:center;
  gap:11px;
  margin:0 0 10px;
  padding:13px 14px;
  border:1px solid #173d33;
  border-radius:16px;
  background:linear-gradient(135deg,#0d2a23,#103b30);
  box-shadow:0 10px 28px rgba(17,55,45,.12);
  color:#fff;
  box-sizing:border-box;
}
body.iftc-account-shell .iftc-account-nav-avatar{
  width:38px;
  height:38px;
  flex:0 0 38px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:#e8f6f1;
  color:#126b58;
  font-size:15px;
  font-weight:900;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.65);
}
body.iftc-account-shell .iftc-account-nav-brand-copy{min-width:0;display:flex;flex-direction:column;line-height:1.15}
body.iftc-account-shell .iftc-account-nav-brand-copy small{font-size:8px;font-weight:900;letter-spacing:.09em;text-transform:uppercase;color:#9ed1c1}
body.iftc-account-shell .iftc-account-nav-brand-copy strong{margin-top:3px;font-size:13px;font-weight:850;color:#fff}
body.iftc-account-shell .iftc-account-nav-brand-copy em{margin-top:4px;font-size:9px;font-style:normal;color:#c6ddd5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

body.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-navigation{
  float:left!important;
  clear:left;
  width:258px!important;
  margin:0 24px 24px 0!important;
  position:sticky;
  top:20px;
  z-index:4;
}
body.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-content{
  float:right!important;
  width:calc(100% - 282px)!important;
  min-width:0;
}
body.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-navigation ul{
  display:block!important;
  list-style:none!important;
  margin:0!important;
  padding:9px!important;
  border:1px solid #dce7e2!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 8px 24px rgba(24,55,45,.06)!important;
  overflow:visible!important;
}
body.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-navigation li{
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
body.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-navigation .iftc-account-nav-section{
  padding:12px 9px 5px!important;
  color:#8a9892!important;
  font-size:8px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.1em!important;
  text-transform:uppercase!important;
  pointer-events:none;
}
body.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-navigation .iftc-account-nav-section:first-child{padding-top:6px!important}
body.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-navigation a{
  min-height:43px!important;
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  margin:2px 0!important;
  padding:6px 8px!important;
  border:1px solid transparent!important;
  border-radius:11px!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#34453e!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1.25!important;
  text-decoration:none!important;
  transition:background .14s ease,border-color .14s ease,color .14s ease,transform .14s ease!important;
}
body.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-navigation a:hover{
  background:#f4f8f6!important;
  border-color:#e4ece8!important;
  color:#126b58!important;
  transform:translateX(1px);
}
body.iftc-account-shell .iftc-account-nav-icon{
  width:30px!important;
  height:30px!important;
  flex:0 0 30px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:9px!important;
  background:#f0f5f3!important;
  color:#62736c!important;
  font-size:15px!important;
  line-height:30px!important;
  text-align:center!important;
}
body.iftc-account-shell .iftc-account-nav-label{min-width:0;flex:1;white-space:normal}
body.iftc-account-shell .iftc-account-nav-badge{
  min-width:20px;
  height:20px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 6px;
  border-radius:999px;
  background:#e8f4ef;
  color:#126b58;
  font-size:9px;
  font-weight:900;
}
body.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-navigation li.is-active>a{
  background:#e8f5f0!important;
  border-color:#cde4da!important;
  box-shadow:inset 3px 0 0 #126b58!important;
  color:#0f604f!important;
  font-weight:850!important;
}
body.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-navigation li.is-active>a .iftc-account-nav-icon{
  background:#126b58!important;
  color:#fff!important;
}
body.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-navigation li.is-active>a .iftc-account-nav-badge{
  background:#126b58;
  color:#fff;
}
body.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-navigation .iftc-account-nav-logout{
  margin-top:8px!important;
  padding-top:8px!important;
  border-top:1px solid #edf1ef!important;
}
body.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-navigation .iftc-account-nav-logout>a{color:#8f3a31!important}
body.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-navigation .iftc-account-nav-logout>a:hover{background:#fff5f3!important;border-color:#f1ded9!important;color:#9d2f24!important}
body.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-navigation .iftc-account-nav-logout .iftc-account-nav-icon{background:#fff1ef!important;color:#a13a2f!important}

/* Customer chat no longer exposes internal routing/reaction controls. */
body.iftc-account-shell .iftc-customer-support-bar,
body.iftc-account-shell .iftc-customer-topic,
body.iftc-account-shell .iftc-reactions{display:none!important}

@media(max-width:980px){
  body.iftc-account-shell.iftp-portal-account .iftc-account-nav-brand,
  body.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-navigation,
  body.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-content{
    float:none!important;
    clear:both!important;
    width:100%!important;
  }
  body.iftc-account-shell.iftp-portal-account .iftc-account-nav-brand{margin-bottom:9px}
  body.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-navigation{position:static;margin:0 0 18px!important}
  body.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-navigation ul{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 6px}
  body.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-navigation .iftc-account-nav-section{grid-column:1/-1;padding-top:9px!important}
  body.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-navigation .iftc-account-nav-logout{grid-column:1/-1}
}
@media(max-width:560px){
  body.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-navigation ul{grid-template-columns:1fr}
  body.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-navigation a{min-height:41px!important}
  body.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-navigation .iftc-account-nav-section{grid-column:auto}
  body.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-navigation .iftc-account-nav-logout{grid-column:auto}
}

/* =========================================================
 * v1.5.3 — compact viewport chat workspace
 * ======================================================= */
body.iftc-chat-open.iftc-chat-app-mode .iftc-theme-account-hero-hidden,
body.iftc-chat-open.iftc-chat-app-mode .iftc-site-footer-hidden{display:none!important}

/* Theme fallbacks for common account/breadcrumb hero wrappers. */
body.iftc-chat-open.iftc-chat-app-mode .breadcrumb-area,
body.iftc-chat-open.iftc-chat-app-mode .breadcumb-area,
body.iftc-chat-open.iftc-chat-app-mode .breadcrumb-section,
body.iftc-chat-open.iftc-chat-app-mode .page-title-area,
body.iftc-chat-open.iftc-chat-app-mode .inner-banner,
body.iftc-chat-open.iftc-chat-app-mode .inner-banner-section,
body.iftc-chat-open.iftc-chat-app-mode .eg-breadcrumb{display:none!important}

/* Give the logged-in support workspace more width than a normal content page. */
body.iftc-chat-open.iftc-chat-app-mode .woocommerce{
  width:min(1480px,calc(100% - 28px))!important;
  max-width:1480px!important;
  margin:16px auto!important;
}

/* Compact account identity + sidebar. */
body.iftc-chat-open.iftc-account-shell.iftp-portal-account .iftc-account-nav-brand{
  width:220px!important;
  min-height:58px!important;
  margin:0 14px 8px 0!important;
  padding:9px 11px!important;
  border-radius:13px!important;
}
body.iftc-chat-open .iftc-account-nav-avatar{
  width:32px!important;height:32px!important;flex-basis:32px!important;border-radius:9px!important;font-size:12px!important;
}
body.iftc-chat-open .iftc-account-nav-brand-copy small{font-size:7px!important}
body.iftc-chat-open .iftc-account-nav-brand-copy strong{font-size:11px!important}
body.iftc-chat-open .iftc-account-nav-brand-copy em{font-size:8px!important;margin-top:2px!important}
body.iftc-chat-open.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-navigation{
  width:220px!important;
  margin:0 14px 0 0!important;
  max-height:var(--iftc-customer-workspace-height,720px)!important;
  overflow:auto!important;
  scrollbar-width:thin;
}
body.iftc-chat-open.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-content{
  width:calc(100% - 234px)!important;
  min-width:0!important;
  height:var(--iftc-customer-workspace-height,720px)!important;
  overflow:hidden!important;
}
body.iftc-chat-open.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-navigation ul{
  padding:6px!important;border-radius:13px!important;
}
body.iftc-chat-open.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-navigation .iftc-account-nav-section{display:none!important}
body.iftc-chat-open.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-navigation a,
body.iftc-chat-open.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-navigation .iftc-account-nav-more>button{
  width:100%!important;
  min-height:36px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  margin:1px 0!important;
  padding:4px 7px!important;
  border:1px solid transparent!important;
  border-radius:9px!important;
  background:transparent!important;
  color:#34453e!important;
  font:inherit!important;
  font-size:10px!important;
  font-weight:750!important;
  text-align:left!important;
  cursor:pointer!important;
}
body.iftc-chat-open .iftc-account-nav-icon{
  width:26px!important;height:26px!important;flex-basis:26px!important;border-radius:8px!important;font-size:13px!important;line-height:26px!important;
}
body.iftc-chat-open .iftc-account-nav-badge{min-width:18px!important;height:18px!important;font-size:8px!important;padding:0 5px!important}
body.iftc-chat-open .iftc-account-nav-secondary{display:none!important}
body.iftc-chat-open .woocommerce-MyAccount-navigation.iftc-nav-more-open .iftc-account-nav-secondary{display:block!important}
body.iftc-chat-open .iftc-account-nav-more{margin-top:4px!important;padding-top:4px!important;border-top:1px solid #edf1ef!important}
body.iftc-chat-open .iftc-account-nav-more>button:hover{background:#f4f8f6!important;border-color:#e4ece8!important;color:#126b58!important}
body.iftc-chat-open .iftc-more-chevron{margin-left:auto!important;width:14px!important;height:14px!important;font-size:14px!important;transition:transform .16s ease}
body.iftc-chat-open .woocommerce-MyAccount-navigation.iftc-nav-more-open .iftc-more-chevron{transform:rotate(180deg)}
body.iftc-chat-open .iftc-account-nav-logout{margin-top:4px!important;padding-top:4px!important}

/* The chat itself behaves like an application viewport. */
body.iftc-chat-open .iftc-customer,
body.iftc-chat-open .iftc-customer-chat-shell{height:100%!important;min-height:0!important}
body.iftc-chat-open .iftc-customer{display:flex!important;flex-direction:column!important}
body.iftc-chat-open .iftc-customer-chat-shell{
  flex:1 1 auto!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  border-radius:14px!important;
  box-shadow:0 8px 26px rgba(27,47,39,.07)!important;
}

/* Compact trip header. */
body.iftc-chat-open .iftc-customer-chat-head{
  flex:0 0 auto!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  gap:10px!important;
  min-height:68px!important;
  padding:9px 12px!important;
}
body.iftc-chat-open .iftc-customer-trip-summary{min-width:0!important}
body.iftc-chat-open .iftc-customer-trip-thumb{width:48px!important;height:48px!important;flex:0 0 48px!important;border-radius:9px!important}
body.iftc-chat-open .iftc-customer-trip-title h3{font-size:14px!important;margin:1px 0 2px!important}
body.iftc-chat-open .iftc-customer-context-greeting{display:none!important}
body.iftc-chat-open .iftc-trip-meta{gap:7px!important;font-size:8px!important;flex-wrap:wrap!important}
body.iftc-chat-open .iftc-customer-action{height:30px!important;padding:0 7px!important;font-size:8px!important;border-radius:8px!important}
body.iftc-chat-open .iftc-back-link{font-size:8px!important}

/* Pinned information stays concise. */
body.iftc-chat-open .iftc-customer-pinned-note{flex:0 0 auto!important;padding:6px 11px!important;grid-template-columns:24px 1fr!important}
body.iftc-chat-open .iftc-customer-pinned-note>.dashicons{width:24px!important;height:24px!important;font-size:12px!important}
body.iftc-chat-open .iftc-customer-pinned-note p{margin:1px 0 0!important;line-height:1.3!important;max-height:28px!important;overflow:hidden!important}
body.iftc-chat-open .iftc-emergency-support{flex:0 0 auto!important;padding:6px 11px!important}

/* Journey & Resources opens as a floating panel instead of making the page taller. */
body.iftc-chat-open .iftc-customer-trip-guide{position:relative!important;flex:0 0 auto!important;z-index:12!important}
body.iftc-chat-open .iftc-trip-guide-head{padding:7px 11px!important;min-height:40px!important}
body.iftc-chat-open .iftc-trip-guide-head>div>strong{font-size:10px!important}
body.iftc-chat-open .iftc-trip-guide-head button{height:27px!important}
body.iftc-chat-open .iftc-trip-guide-body:not([hidden]){
  position:absolute!important;
  left:8px!important;right:8px!important;top:100%!important;
  z-index:50!important;
  display:block!important;
  max-height:min(58vh,520px)!important;
  overflow:auto!important;
  padding:12px!important;
  border:1px solid #dce6e2!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 18px 44px rgba(24,55,45,.18)!important;
}

/* Only the message history scrolls; composer remains visible. */
body.iftc-chat-open .iftc-customer .iftc-chat-box{
  min-height:0!important;
  flex:1 1 auto!important;
  overflow:hidden!important;
}
body.iftc-chat-open .iftc-customer .iftc-messages{
  min-height:0!important;
  height:auto!important;
  flex:1 1 auto!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  padding:14px 16px!important;
}
body.iftc-chat-open .iftc-composer{flex:0 0 auto!important;padding:8px 10px!important}
body.iftc-chat-open .iftc-compose-shell{padding:5px 6px 5px 10px!important}
body.iftc-chat-open .iftc-compose-shell textarea{min-height:28px!important;padding:5px 0!important}
body.iftc-chat-open .iftc-sensitive-note{margin-top:4px!important;padding:4px 7px!important;font-size:7px!important}

/* Feedback is collapsed to one row unless the customer chooses to open it. */
body.iftc-chat-open .iftc-feedback-card{
  position:relative!important;
  flex:0 0 auto!important;
  display:block!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-top:1px solid var(--line)!important;
  border-radius:0!important;
  background:#fbfcfc!important;
}
body.iftc-chat-open .iftc-feedback-card>summary{
  list-style:none!important;
  min-height:38px!important;
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  padding:7px 11px!important;
  cursor:pointer!important;
  color:#4b5b54!important;
}
body.iftc-chat-open .iftc-feedback-card>summary::-webkit-details-marker{display:none!important}
body.iftc-chat-open .iftc-feedback-card>summary>.dashicons:first-child{color:#c99000!important}
body.iftc-chat-open .iftc-feedback-card>summary strong{font-size:9px!important}
body.iftc-chat-open .iftc-feedback-card>summary small{margin-left:auto!important;font-size:7px!important;color:#8a9691!important}
body.iftc-chat-open .iftc-feedback-card>summary>.dashicons:last-child{width:12px!important;height:12px!important;font-size:12px!important;transition:transform .15s ease}
body.iftc-chat-open .iftc-feedback-card[open]>summary>.dashicons:last-child{transform:rotate(180deg)}
body.iftc-chat-open .iftc-feedback-body,
body.iftc-chat-open .iftc-feedback-thanks{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;padding:10px 12px!important;border-top:1px solid #edf1ef!important;background:#fff!important}
body.iftc-chat-open .iftc-feedback-rating{margin-left:auto!important;color:#d49a00!important;font-size:10px!important}

@media(max-width:980px){
  body.iftc-chat-open.iftc-account-shell.iftp-portal-account .iftc-account-nav-brand,
  body.iftc-chat-open.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-navigation,
  body.iftc-chat-open.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-content{
    width:100%!important;float:none!important;max-height:none!important;height:auto!important;
  }
  body.iftc-chat-open.iftc-account-shell.iftp-portal-account .iftc-account-nav-brand{margin:0 0 8px!important}
  body.iftc-chat-open.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-navigation{margin:0 0 10px!important;position:static!important;overflow:visible!important}
  body.iftc-chat-open.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-navigation ul{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:3px!important}
  body.iftc-chat-open .iftc-account-nav-more,
  body.iftc-chat-open .iftc-account-nav-logout{grid-column:auto!important}
  body.iftc-chat-open .iftc-account-nav-secondary{display:none!important}
  body.iftc-chat-open .woocommerce-MyAccount-navigation.iftc-nav-more-open .iftc-account-nav-secondary{display:block!important}
  body.iftc-chat-open .woocommerce-MyAccount-content{height:var(--iftc-customer-workspace-height,700px)!important;min-height:620px!important}
}
@media(max-width:700px){
  body.iftc-chat-open.iftc-chat-app-mode .woocommerce{width:calc(100% - 14px)!important;margin:7px auto!important}
  body.iftc-chat-open.iftc-account-shell.iftp-portal-account .woocommerce-MyAccount-navigation ul{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.iftc-chat-open .iftc-account-nav-brand{display:none!important}
  body.iftc-chat-open .woocommerce-MyAccount-content{height:auto!important;min-height:calc(100dvh - 130px)!important;overflow:visible!important}
  body.iftc-chat-open .iftc-customer-chat-shell{height:calc(100dvh - 150px)!important;min-height:600px!important}
  body.iftc-chat-open .iftc-customer-chat-head{grid-template-columns:1fr auto!important}
  body.iftc-chat-open .iftc-back-link{grid-column:1/-1!important}
  body.iftc-chat-open .iftc-customer-chat-actions{justify-content:flex-end!important}
  body.iftc-chat-open .iftc-feedback-body{align-items:flex-start!important;flex-direction:column!important}
}

/* Edited-state metadata v1.7.3 — never mix status text into the message body. */
.iftc-customer .iftc-message-time-meta{display:flex;align-items:center;gap:4px;justify-self:end;white-space:nowrap;color:#89958f}
.iftc-customer .iftc-message-time-meta time{margin:0}
.iftc-customer .iftc-edited{display:inline-flex;align-items:center;margin:0;padding:2px 5px;border-radius:999px;background:#f0f3f2;color:#7b8883;font-size:7px;font-weight:750;line-height:1.2}
