/* Jennah King Photography: website chat assistant. Sand #E6D7B6 and off-white #F8F4EF, the site's own look. */
#jkc-root { --jkc-sand: #E6D7B6; --jkc-paper: #F8F4EF; --jkc-ink: #262623; --jkc-muted: #5f5a4a; --jkc-line: rgba(38,38,35,.18);
  position: fixed; right: 20px; bottom: 20px; z-index: 99990; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; line-height: 1.5; color: var(--jkc-ink); text-align: left; letter-spacing: normal; text-transform: none; }
#jkc-root *, #jkc-root *::before, #jkc-root *::after { box-sizing: border-box; }
#jkc-root button, #jkc-root textarea, #jkc-root input { font: inherit; color: inherit; letter-spacing: normal; text-transform: none; margin: 0; border-radius: 0; box-shadow: none; }
#jkc-root svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
#jkc-root p { margin: 0 0 8px; padding: 0; font-size: inherit; line-height: inherit; color: inherit; }
#jkc-root p:last-child { margin-bottom: 0; }
#jkc-root a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
#jkc-root [hidden], #jkc-root[hidden] { display: none !important; }
#jkc-root :focus-visible { outline: 2px solid var(--jkc-ink); outline-offset: 2px; }

.jkc-launch { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 22px 12px 18px; background: var(--jkc-ink); color: #fff !important; border: 1px solid var(--jkc-ink); cursor: pointer; font-size: 11px !important; letter-spacing: .28em !important; text-transform: uppercase !important; box-shadow: 0 6px 24px rgba(38,38,35,.22) !important; transition: background .2s, color .2s; }
.jkc-launch:hover { background: var(--jkc-sand); color: var(--jkc-ink) !important; }
.jkc-open .jkc-launch { display: none; }

.jkc-panel { display: flex; flex-direction: column; width: 380px; max-width: calc(100vw - 24px); height: min(620px, calc(100vh - 40px)); height: min(620px, calc(100dvh - 40px)); background: var(--jkc-paper); border: 1px solid var(--jkc-ink); box-shadow: 0 18px 60px rgba(38,38,35,.28); overflow: hidden; }
.jkc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 12px 12px 18px; background: var(--jkc-sand); border-bottom: 1px solid var(--jkc-line); }
.jkc-title strong { display: block; font-family: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif; font-weight: 500; font-size: 23px; line-height: 1.1; }
.jkc-title span { display: block; margin-top: 3px; font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: var(--jkc-muted); }
.jkc-close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: transparent; border: 0; cursor: pointer; }
.jkc-close:hover { background: rgba(255,255,255,.4); }

.jkc-head { position: relative; }
.jkc-tools { display: flex; flex: none; }
#jkc-root .jkc-menu { position: absolute; top: calc(100% - 6px); right: 12px; z-index: 2; min-width: 220px; padding: 6px; background: #fff; border: 1px solid var(--jkc-ink); box-shadow: 0 12px 32px rgba(38,38,35,.2); }
#jkc-root .jkc-menu button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 8px 12px; background: transparent; border: 0; cursor: pointer; font-size: 14px; text-align: left; }
#jkc-root .jkc-menu button:hover, #jkc-root .jkc-menu button:focus-visible { background: var(--jkc-sand); }
#jkc-root .jkc-menu button:disabled { opacity: .4; cursor: default; background: transparent; }
#jkc-root .jkc-menu svg { width: 17px; height: 17px; }
#jkc-root .jkc-chip-main { background: var(--jkc-ink); color: #fff; }
#jkc-root .jkc-chip-main:hover { background: var(--jkc-sand); color: var(--jkc-ink); }
#jkc-root .jkc-chip { text-align: left; }

.jkc-cta { background: var(--jkc-sand); padding: 0 18px 14px; border-bottom: 1px solid var(--jkc-ink); }
.jkc-cta:empty { display: none; }
.jkc-btns { display: flex; gap: 8px; margin-top: 10px; }
.jkc-btns-top { margin-top: 0; }
#jkc-root .jkc-btn { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 10px; border: 1px solid var(--jkc-ink); background: transparent; color: var(--jkc-ink); text-decoration: none; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; transition: background .2s, color .2s; }
#jkc-root .jkc-btn svg { width: 17px; height: 17px; }
#jkc-root .jkc-btn-wa, #jkc-root .jkc-btn:hover { background: var(--jkc-ink); color: #fff; }
#jkc-root .jkc-btn-wa:hover { background: transparent; color: var(--jkc-ink); }

.jkc-list { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 16px 16px 8px; display: flex; flex-direction: column; gap: 10px; }
.jkc-msg { max-width: 88%; padding: 10px 14px; overflow-wrap: anywhere; }
#jkc-root .jkc-msg p { white-space: pre-line; }
.jkc-bot { align-self: flex-start; background: #fff; border: 1px solid var(--jkc-line); }
.jkc-me { align-self: flex-end; background: var(--jkc-sand); }
.jkc-wait { display: inline-flex; gap: 5px; padding: 15px 14px; }
.jkc-wait i { width: 6px; height: 6px; border-radius: 50%; background: var(--jkc-muted); animation: jkc-dot 1.2s infinite ease-in-out; }
.jkc-wait i:nth-child(2) { animation-delay: .15s; }
.jkc-wait i:nth-child(3) { animation-delay: .3s; }
@keyframes jkc-dot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.jkc-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 0 6px; }
#jkc-root .jkc-chip { min-height: 40px; padding: 8px 14px; background: transparent; border: 1px solid var(--jkc-ink); cursor: pointer; font-size: 13px; transition: background .2s; }
#jkc-root .jkc-chip:hover { background: var(--jkc-sand); }
.jkc-err { padding: 12px 0; color: var(--jkc-muted); }

.jkc-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px 8px 16px; border-top: 1px solid var(--jkc-line); background: #fff; }
#jkc-root .jkc-input { flex: 1 1 auto; min-height: 44px; max-height: 110px; padding: 11px 0; border: 0; background: transparent; resize: none; font-size: 16px; line-height: 1.4; outline: none; }
#jkc-root .jkc-input::placeholder { color: #8a8573; opacity: 1; }
.jkc-form:focus-within { box-shadow: inset 0 2px 0 var(--jkc-ink); }
#jkc-root .jkc-send { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--jkc-ink); color: #fff; border: 0; cursor: pointer; }
#jkc-root .jkc-send:disabled { opacity: .35; cursor: default; }
#jkc-root .jkc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
#jkc-root .jkc-note { margin: 0; padding: 6px 16px 10px; background: #fff; font-size: 11px; line-height: 1.45; color: var(--jkc-muted); }
#jkc-root .jkc-note:empty { display: none; }

@media (max-width: 520px) {
  #jkc-root { right: 12px; bottom: 12px; }
  #jkc-root.jkc-open { right: 0; bottom: 0; left: 0; top: 0; }
  .jkc-open .jkc-panel { width: 100%; max-width: none; height: 100%; border: 0; }
  .jkc-launch { padding: 12px 16px; }
}
@media (prefers-reduced-motion: reduce) { .jkc-wait i { animation: none; opacity: .6; } .jkc-launch, #jkc-root .jkc-btn, #jkc-root .jkc-chip { transition: none; } }
@media print { #jkc-root { display: none; } }
