.mark4{font-family:Arial,Helvetica,sans-serif;color:#202124;line-height:1.5}.mark4 *{box-sizing:border-box}.mark4 button,.mark4 textarea{font:inherit}.mark4-launcher{position:fixed;right:20px;bottom:18px;z-index:35;display:flex;align-items:center;gap:10px;border:0;padding:0;background:transparent;color:#171717;font-weight:700;cursor:pointer}.mark4-launcher img{display:block;width:66px;height:66px;filter:drop-shadow(0 4px 10px #0005)}.mark4-invite{background:#fff;padding:12px 16px;border:1px solid #e9d89b;border-radius:16px 16px 3px 16px;box-shadow:0 4px 22px #0003;font-size:14px;max-width:200px}.mark4-invite small{display:block;color:#786229;font-size:11px;margin-top:2px}.mark4-launcher[aria-expanded="true"]{visibility:hidden}.mark4-panel[hidden]{display:none!important}.mark4-panel{position:fixed;right:20px;bottom:20px;z-index:36;width:min(420px,calc(100vw - 28px));height:min(660px,calc(100dvh - 40px));display:grid;grid-template-rows:auto minmax(0,1fr) auto auto auto auto;border:1px solid #d8d8d8;border-radius:18px;background:#fff;box-shadow:0 15px 65px #0006;overflow:hidden;color:#202124}.mark4 .mark4-head{position:static;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;background:#fff;border-bottom:1px solid #e6e6e6}.mark4-identity{display:flex;align-items:center;gap:10px}.mark4-identity img{width:46px;height:46px}.mark4-head strong{font-size:19px;color:#26231b}.mark4-head small{display:block;font-size:12px;color:#666}.mark4-close{background:#f4f4f4;border:0;border-radius:50%;color:#333;font-size:26px!important;min-width:40px;min-height:40px;cursor:pointer}.mark4-messages{overflow:auto;overscroll-behavior:contain;padding:18px 16px;min-height:0;background:#fff;scroll-padding-bottom:16px}.mark4-message{padding:13px 15px;margin-bottom:14px;border-radius:14px;font-size:15px;overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.6}.mark4-message p{margin:0;color:inherit}.mark4-message a{display:inline-block;margin-top:10px;color:#70520b;text-decoration:underline;text-underline-offset:3px;font-weight:700}.mark4-bot{margin-right:20px;background:#f1f3f5;color:#222}.mark4-user{margin-left:30px;background:#fbefc8;color:#302b1c;border:1px solid #ecda98}.mark4-suggestions{display:flex;gap:8px;padding:10px 14px;overflow-x:auto;border-top:1px solid #f0f0f0;background:#fff}.mark4-suggestions button{flex-shrink:0;white-space:nowrap;font-size:12px;border:1px solid #ded3ad;border-radius:18px;background:#fffdf5;color:#5a4816;padding:8px 12px;cursor:pointer}.mark4-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end;margin:0;padding:12px 14px;border-top:1px solid #e4e4e4;background:#fff}.mark4-form label{grid-column:1/-1;font-size:12px;font-weight:700;color:#4c4c4c}.mark4-form textarea{display:block;resize:none;min-width:0;width:100%;height:82px;min-height:82px;max-height:138px;overflow-y:auto;background:#fff;border:1px solid #aaa;border-radius:10px;color:#1f1f1f;padding:12px;font-size:16px;line-height:1.5}.mark4-form textarea::placeholder{color:#737373;opacity:1}.mark4-form button{min-height:46px;padding:11px 13px;background:#d4af37;color:#111;border:0;border-radius:9px;font-weight:700;font-size:13px;cursor:pointer}.mark4-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 16px 5px;font-size:13px;background:#fff}.mark4-bottom a{color:#675010;text-decoration:underline}.mark4-reset{border:0;background:transparent;color:#666;min-height:34px;cursor:pointer;font-size:12px!important}.mark4-note{margin:0;padding:0 16px 12px;font-size:11px;color:#666;background:#fff}.mark4-note a{color:#675010;text-decoration:underline}.mark4 button:focus-visible,.mark4 textarea:focus-visible{outline:2px solid #a68117;outline-offset:2px}body>.float{right:295px}
@media(max-width:650px){.mark4-launcher{right:12px;bottom:calc(90px + env(safe-area-inset-bottom));gap:7px}.mark4-launcher img{width:56px;height:56px}.mark4-invite{font-size:13px;padding:10px 12px;max-width:190px}.mark4-panel{top:calc(var(--mark4-top,0px) + 8px);right:8px;bottom:auto;width:calc(100vw - 16px);height:calc(var(--mark4-vh,100dvh) - 16px);border-radius:16px;padding-bottom:env(safe-area-inset-bottom);grid-template-rows:auto minmax(0,1fr) auto auto auto auto}.mark4-open .mobile-contact{visibility:hidden}.mark4 .mark4-head{padding:9px 12px}.mark4-head small{font-size:11px}.mark4-identity img{width:38px;height:38px}.mark4-messages{padding:14px 12px}.mark4-form{padding:10px 12px}.mark4-message{font-size:15px}.mark4-typing .mark4-suggestions,.mark4-typing .mark4-note{display:none}.mark4-typing{grid-template-rows:auto minmax(0,1fr) auto auto}.mark4-typing .mark4-form textarea{height:76px;min-height:76px}.mark4-note{font-size:10px}}
/* Sculpted speech bubble and glossy dimensional mascot. */
.mark4-launcher img{filter:drop-shadow(0 2px 1px #fff3) drop-shadow(0 7px 7px #0006)}
.mark4-invite{position:relative;isolation:isolate;background:linear-gradient(145deg,#fff 0%,#fffef8 45%,#eee5ce 100%);border:1px solid #fff3d2;border-bottom:3px solid #bba369;border-radius:20px;box-shadow:inset 0 2px 1px #fff,inset 0 -3px 7px #b69a4b26,0 4px 0 #aa8d4b,0 8px 12px #0004,0 16px 30px #0003;text-shadow:0 1px 0 #fff}
.mark4-invite::after{content:"";position:absolute;right:-7px;bottom:14px;width:14px;height:14px;background:linear-gradient(135deg,#faf7ed,#eee5ce);border-right:1px solid #c6ae78;border-bottom:1px solid #c6ae78;transform:rotate(-45deg);box-shadow:3px 3px 3px #0001;z-index:-1}
.mark4-bot{background:linear-gradient(145deg,#fff,#f3f2ed 65%,#e6e4dc);border:1px solid #e5e2d8;border-bottom-color:#d0cdc3;box-shadow:inset 0 1px 0 #fff,0 3px 0 #d7d4cb,0 6px 10px #0000000d}
/* Keep page section spacing out of the assistant and reserve room for replies. */
.mark4 .mark4-panel{padding:0;margin:0;display:flex;flex-direction:column;gap:0;min-height:0;max-height:calc(100dvh - 24px);scroll-margin:0}
.mark4 .mark4-head{flex:0 0 auto;min-height:0;margin:0;top:auto;z-index:auto}
.mark4 .mark4-messages{position:relative;flex:1 1 180px;min-height:0;width:100%;overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable;scroll-behavior:auto}
.mark4 .mark4-suggestions,.mark4 .mark4-form,.mark4 .mark4-bottom,.mark4 .mark4-note{flex:0 0 auto;min-width:0}
.mark4 .mark4-suggestions{flex-wrap:wrap;max-height:88px;overflow-x:hidden;overflow-y:auto;padding:8px 12px;gap:6px}
.mark4 .mark4-suggestions button{white-space:normal;text-align:left;max-width:100%;padding:6px 10px}
.mark4 .mark4-form textarea{height:64px;min-height:64px}
.mark4 .mark4-note{margin:0;line-height:1.4}
@media(max-width:650px){.mark4 .mark4-panel{padding-bottom:env(safe-area-inset-bottom);max-height:calc(var(--mark4-vh,100dvh) - 16px)}.mark4 .mark4-typing .mark4-suggestions,.mark4 .mark4-typing .mark4-note{display:none}}
@media(max-height:580px){.mark4 .mark4-head{padding:7px 12px}.mark4 .mark4-suggestions{flex-wrap:nowrap;max-height:52px;overflow-x:auto;overflow-y:hidden}.mark4 .mark4-suggestions button{white-space:nowrap}.mark4 .mark4-form{padding:7px 12px;gap:4px}.mark4 .mark4-form textarea{height:48px;min-height:48px}.mark4 .mark4-note{padding-bottom:6px;font-size:10px}.mark4 .mark4-messages{padding:12px}}
