/* fuelAI homepage, Time-Aware Messaging tab: a 5:38 AM inquiry gets a reply a minute later,
   written with the context of the moment (the hour, the rep's morning, her open times) */
html.hta-on .hta-pane .tabs_image-wrap{display:none!important}
html.hta-on .hta-pane .text-size-16{letter-spacing:normal;line-height:1.65}
html.hta-on .hta-pane .tabs_card{background:none;border:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;border-radius:0}
@media (min-width:992px){
  html.hta-on .hta-pane .tabs_card{left:0;top:21%;width:32%;max-width:none;padding:0;transform:none!important;translate:none!important}
  html.hta-on .hta-pane .tabs_card .tabs_card-image{left:0;top:.35rem}
}
@media (max-width:991px){html.hta-on .hta-pane{height:auto!important;min-height:0!important}html.hta-on .hta-pane .tabs_card{position:relative!important;left:auto!important;top:auto!important;right:auto!important;width:auto;max-width:none;padding:0 1.5rem;transform:none!important;translate:none!important}}

.hta{position:absolute;inset:0;pointer-events:none;font-family:Roboto,Arial,sans-serif;color:#3a3f47;z-index:2}
.hta *{box-sizing:border-box}

/* phone: images and lock screen sized from the phone's own width (cqw), so it scales cleanly at every size */
.hta-phone{position:absolute;left:33%;top:6%;width:37%;container-type:inline-size}
.hta-phone>img{display:block;width:100%;height:auto}
.hta-phone .hta-night{position:absolute;left:0;top:0}
.hta-scr{position:absolute;left:11.56%;top:3.47%;width:51.3%;height:89.9%;border-radius:5cqw;overflow:hidden}
.hta-date{position:absolute;left:0;right:0;top:10.5%;text-align:center;color:rgba(255,255,255,.92);font:400 3.3cqw/1 Roboto,Arial,sans-serif;letter-spacing:.01em}
.hta-time{position:absolute;left:0;right:0;top:13.6%;text-align:center;color:rgba(255,255,255,.95);font:300 13.2cqw/1 Roboto,Arial,sans-serif;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.hta-note{position:absolute;left:3.2cqw;right:3.2cqw;top:31%;padding:2.6cqw 2.8cqw 2.8cqw;border-radius:3.6cqw;background:rgba(255,255,255,.9);box-shadow:0 2cqw 5cqw rgba(20,20,60,.18);color:#1d2026}
.hta-nh{display:flex;align-items:center;gap:1.8cqw;margin-bottom:1.3cqw}
.hta-av{width:6.4cqw;height:6.4cqw;border-radius:50%;object-fit:cover;flex:none}
.hta-who{font:600 2.9cqw/1.1 Roboto,Arial,sans-serif;flex:1}
.hta-who small{display:block;font-weight:400;color:#6b707a;font-size:2.3cqw;margin-top:.3cqw}
.hta-ago{font:400 2.3cqw/1 Roboto,Arial,sans-serif;color:#6b707a}
.hta-nt{font:400 2.75cqw/1.42 Roboto,Arial,sans-serif}

.hta-card{position:absolute;background:rgba(255,255,255,.97);border-radius:18px;box-shadow:0 18px 44px rgba(30,30,60,.15),0 2px 8px rgba(30,30,60,.06)}
.hta-k{font:700 10px/1 Roboto,Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#4a4f57}

/* CRM record: the new lead, assigned to the rep */
.hta-crm{left:69%;top:12%;width:290px;padding:14px 16px 10px}
.hta-crmh{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.hta-new{font:600 9.5px/1 Roboto,Arial,sans-serif;color:#0a8fbd;background:#e3f6fd;padding:5px 8px;border-radius:999px}
.hta-f{display:grid;grid-template-columns:70px 1fr;align-items:center;min-height:27px;border-top:1px solid #f0f1f4}
.hta-crmh+.hta-f{border-top:0}
.hta-f span{font:400 10.5px/1.2 Roboto,Arial,sans-serif;color:#8a8f99}
.hta-f b{font:500 11.5px/1.2 Roboto,Arial,sans-serif;color:#171b20;display:flex;align-items:center;gap:6px}
.hta-own img{width:18px;height:18px;border-radius:50%;object-fit:cover}
.hta-stat{font:600 10px/1 Roboto,Arial,sans-serif;font-style:normal;padding:5px 9px;border-radius:999px;background:#e3f6fd;color:#0a8fbd;display:inline-block;transform-origin:left center}
.hta-stat.is-done{background:#7b4ff0;color:#fff}

/* the context fuelAI weighed before replying */
.hta-ctx{left:69%;top:42%;width:290px;padding:15px 16px 8px}
.hta-c{display:grid;grid-template-columns:28px 1fr;gap:10px;align-items:center;margin:0 -8px;padding:8px;border-radius:10px;transition:background-color .35s,box-shadow .35s}
.hta-ci{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:#f1f2f5;color:#9aa0aa;transition:background-color .35s,color .35s}
.hta-ci svg{width:15px;height:15px}
.hta-c b{display:block;font:600 11.5px/1.2 Roboto,Arial,sans-serif;color:#171b20}
.hta-c span{display:block;font:400 10.5px/1.35 Roboto,Arial,sans-serif;color:#6b707a;margin-top:2px}
.hta-c.is-seen .hta-ci{background:#efeafe;color:#7b4ff0}
.hta-c.is-link{background:#f4f0ff;box-shadow:inset 0 0 0 1.5px #c9b8fb}
.hta-c.is-link .hta-ci{background:#7b4ff0;color:#fff}
.hta-nt em{font-style:normal;border-radius:.6cqw;padding:0 .3cqw;margin:0 -.3cqw;transition:background-color .35s,color .35s}
.hta-nt em.is-on{background:#e6dcff;color:#4b22c4}

@media (max-width:991px){
  .hta{position:relative;inset:auto;display:flex;flex-direction:column;align-items:center;gap:14px;padding:1rem 0 .5rem}
  .hta-phone{position:relative;left:auto;top:auto;width:min(92%,520px);transform:translateX(13%)}
  .hta-card{position:relative;left:auto!important;top:auto!important;width:100%;max-width:400px}
}
@media (prefers-reduced-motion:reduce){.hta-c,.hta-ci,.hta-nt em{transition:none}}
