/* Jordan chat widget: v9 palette. Sheet on mobile, docked panel on desktop. */
.jw{position:fixed;z-index:60;right:20px;bottom:20px;width:400px;max-width:calc(100vw - 24px);height:min(720px,calc(100vh - 40px));display:flex;flex-direction:column;background:#fbf6ea;color:#06262b;border-radius:22px;box-shadow:0 30px 80px rgba(3,26,30,.45),0 0 0 2px #06262b;overflow:hidden;font:16px/1.45 Manrope,system-ui,sans-serif}
.jw[hidden]{display:none}
.jw.page{position:static;width:100%;max-width:760px;height:min(720px,calc(100vh - 110px));min-height:520px;margin:24px auto;box-shadow:0 20px 60px rgba(6,38,43,.25),0 0 0 2px #06262b}
.jw-head{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#06262b;color:#fff}
.jw-head .jw-av{flex:none;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#0b3a40;color:#d4f25c;border:2px solid #d4f25c;font:800 24px/1 "Barlow Condensed","Arial Narrow",sans-serif}
.jw-head img{width:44px;height:44px;border-radius:50%;object-fit:cover;border:2px solid #d4f25c}
.jw-head b{display:block;font:700 22px/1 "Barlow Condensed","Arial Narrow",sans-serif;text-transform:uppercase;letter-spacing:.02em}
.jw-head small{display:block;font:600 10px/1.3 "IBM Plex Mono",monospace;color:#a9cdca;margin-top:3px}
.jw-head .sp{flex:1}.jw-btn{white-space:nowrap;background:transparent;color:#fff;border:2px solid rgba(255,255,255,.4);border-radius:999px;padding:6px 12px;font:700 13px Manrope,sans-serif;cursor:pointer}
.jw-btn:hover{border-color:#d4f25c;color:#d4f25c}.jw-btn:focus-visible,.jw-chip:focus-visible,.jw-send:focus-visible,.jw-row button:focus-visible,.jw-input:focus-visible{outline:3px solid #ff6a1a;outline-offset:2px}
.jw-note{background:#d4f25c;color:#06262b;font:600 11px/1.35 "IBM Plex Mono",monospace;padding:6px 14px}
.jw-log{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:10px;scroll-behavior:smooth}
.jw-msg{max-width:88%;padding:10px 13px;border-radius:16px;white-space:pre-wrap;word-wrap:break-word}
.jw-msg.j{align-self:flex-start;background:#fff;border:1px solid #d9d2bf;border-bottom-left-radius:4px}
.jw-msg.u{align-self:flex-end;background:#06262b;color:#fff;border-bottom-right-radius:4px}
.jw-typing{align-self:flex-start;display:flex;gap:4px;padding:12px 14px;background:#fff;border:1px solid #d9d2bf;border-radius:16px}
.jw-typing i{width:7px;height:7px;border-radius:50%;background:#0f6b6f;animation:jwb 1s infinite ease-in-out}.jw-typing i:nth-child(2){animation-delay:.15s}.jw-typing i:nth-child(3){animation-delay:.3s}
@keyframes jwb{0%,80%,100%{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-4px)}}
.jw-card{align-self:stretch;background:#fff;border:2px solid #06262b;border-radius:16px;padding:12px 14px}
.jw-card h3{margin:0 0 8px;font:700 24px/1 "Barlow Condensed","Arial Narrow",sans-serif;text-transform:uppercase}
.jw-row{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-top:1px solid #e8e1cf;font-size:14px}.jw-row:first-of-type{border-top:0}
.jw-row dt{font:700 10px "IBM Plex Mono",monospace;color:#a83c00;text-transform:uppercase;letter-spacing:.08em}.jw-row dd{margin:0;font-weight:600}
.jw-row button{align-self:center;background:transparent;border:0;color:#0f6b6f;font:700 12px Manrope,sans-serif;cursor:pointer;text-decoration:underline;white-space:nowrap}
.jw-time{list-style:none;margin:8px 0 0;padding:0;counter-reset:t}.jw-time li{position:relative;padding:0 0 12px 38px;counter-increment:t}
.jw-time li:before{content:counter(t);position:absolute;left:0;top:0;width:26px;height:26px;border-radius:50%;background:#d4f25c;font:800 14px/26px "Barlow Condensed",sans-serif;text-align:center}
.jw-time li:not(:last-child):after{content:"";position:absolute;left:12px;top:28px;bottom:2px;width:2px;background:#d4f25c}.jw-time b{display:block}.jw-time span{font-size:14px;color:#4b6266}
.jw details{margin-top:6px;font-size:12px}.jw pre{white-space:pre-wrap;word-break:break-word;background:#06262b;color:#cfe8e6;padding:10px;border-radius:10px;font:11px/1.4 "IBM Plex Mono",monospace;max-height:180px;overflow:auto}
.jw-tools{padding:4px 12px 0;border-top:1px solid #e1d9c3;background:#f4eedd;max-height:40%;overflow-y:auto}.jw-chips[hidden]{display:none}
.jw-chips{display:flex;flex-wrap:wrap;gap:7px;padding:6px 0}
.jw-chip{background:#fff;color:#06262b;border:2px solid #06262b;border-radius:999px;padding:7px 13px;font:700 14px Manrope,sans-serif;cursor:pointer;transition:transform .12s,background .12s}
.jw-chip:hover{background:#d4f25c;transform:translateY(-2px)}.jw-chip.main{background:#ff6a1a}
.jw-chip.q{border-style:dashed;font-size:12px;padding:5px 10px;background:transparent}
.jw-form{display:flex;gap:8px;padding:10px 12px 12px;background:#f4eedd}
.jw-input{flex:1;min-width:0;border:2px solid #06262b;border-radius:999px;padding:11px 16px;font:16px Manrope,sans-serif;background:#fff;color:#06262b}
.jw-send{background:#ff6a1a;color:#06262b;border:0;border-radius:999px;padding:0 20px;font:800 15px Manrope,sans-serif;cursor:pointer;box-shadow:0 4px 0 #b94400}
.jw-send:hover{transform:translateY(2px);box-shadow:0 2px 0 #b94400}
.jw-scrim{position:fixed;inset:0;background:rgba(3,26,30,.5);z-index:59}.jw-scrim[hidden]{display:none}
.jw-fallback{max-width:760px;margin:24px auto;background:#d4f25c;padding:18px 22px;border-radius:18px}
@media(max-width:860px){.jw:not(.page){inset:0;right:0;bottom:0;width:100%;max-width:none;height:100dvh;border-radius:0;box-shadow:none}.jw.page{height:calc(100dvh - 160px);margin:12px 0;border-radius:18px}.jw-msg{max-width:92%}body.jw-lock{overflow:hidden}.jw-scrim{display:none}}
@media(prefers-reduced-motion:reduce){.jw-typing i{animation:none;opacity:.7}.jw-chip,.jw-send{transition:none}.jw-log{scroll-behavior:auto}}

.jw-row dd,.jw-row>div:first-child{overflow-wrap:anywhere;min-width:0}.jw-row{min-width:0}
.jw-typingwrap{padding:0 14px 8px;background:#fbf6ea}.jw-typingwrap[hidden]{display:none}.jw-typingwrap .jw-typing{display:inline-flex}

#jordan-page{scroll-margin-top:88px;min-height:min(680px,78vh)}      /* reserve the chat's space so building it does not push the footer (layout shift) */
.jw-note a{color:inherit;text-decoration:underline}

.jw-check{display:flex;gap:10px;align-items:flex-start;cursor:pointer;line-height:1.4;font-size:14px}.jw-check input{margin-top:3px;width:20px;height:20px;flex:none}.jw-consent-notice{margin:8px 0 0;font-size:13px;line-height:1.4}.jw-consent-links{margin:8px 0 12px;font-size:13px}.jw-consent-links a{text-decoration:underline}

/* opportunity-scope card (optional questions after the request is saved) */
.jw-scope{display:flex;flex-direction:column;gap:10px}.jw-scope h3{margin:0}
.jw-sg[hidden]{display:none}.jw-sl{font:700 10px "IBM Plex Mono",monospace;color:#a83c00;text-transform:uppercase;letter-spacing:.08em;margin-bottom:2px}
.jw-chip.sm{font-size:13px;padding:5px 10px}.jw-chip[aria-pressed="true"]{background:#d4f25c;box-shadow:inset 0 0 0 1px #06262b}
.jw-sin{width:100%;box-sizing:border-box;border:2px solid #06262b;border-radius:12px;padding:8px 12px;font:16px Manrope,sans-serif;background:#fff;color:#06262b}.jw-sin:focus-visible{outline:3px solid #ff6a1a;outline-offset:2px}
.jw-scope .jw-btn.main,.jw-consent .jw-btn.main{align-self:flex-start;background:#ff6a1a;color:#06262b;border-color:#06262b}

/* SCOPE1 fixes: tap targets >= 44px, readable group labels, closed card, inline helper text, mobile height */
.jw-chip{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.jw-chip.sm{min-height:44px;padding:6px 12px}.jw-chip.q{min-height:44px;padding:6px 12px}
.jw-chips{gap:8px}
.jw-btn,.jw-send,.jw-row button{min-height:44px}
.jw-row button{min-width:44px;padding:0 6px}
.jw-sl{font-size:12px}.jw-head small{font-size:12px}.jw-row dt{font-size:12px}
.jw-help{font:600 12px/1.35 Manrope,sans-serif;color:#4b6266;margin-top:4px}.jw-help.bad{color:#a83c00}
.jw-sin[aria-invalid="true"]{border-color:#a83c00}
.jw-scope.jw-done{opacity:.55;filter:grayscale(.4)}.jw-scope.jw-done .jw-chip,.jw-scope.jw-done .jw-btn{cursor:default}.jw-scope.jw-done .jw-chip:hover{background:#fff;transform:none}
@media(max-width:860px){
  .jw-note{font-size:11px;line-height:1.3;padding:4px 12px}
  .jw-head{padding:6px 10px}
  .jw-tools{max-height:34%}
  .jw.page{height:calc(100dvh - var(--gnm-nh,0px) - 92px);min-height:0}
  .jw:not(.page){height:100dvh;padding-bottom:env(safe-area-inset-bottom)}
  .jw-form{padding-bottom:calc(12px + env(safe-area-inset-bottom))}
}
