.mrk-launch{position:fixed;z-index:7;right:max(18px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));display:inline-flex;align-items:center;gap:10px;padding:6px 18px 6px 7px;border-radius:30px;border:1px solid #496077;background:#0c293d;color:white;box-shadow:0 4px 18px #10273c38;font:600 15px var(--sans)}
.mrk-launch img,.mrk-head img{border-radius:50%;background:#f6f4ee;object-fit:cover}.mrk-launch:hover{background:#16425a}.mrk-intro-link{margin-top:18px}
.mrk-chat{position:fixed;inset:auto max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) auto;margin:0;padding:0;border:1px solid #c1c8c6;border-radius:18px;background:#faf9f6;color:var(--ink);width:min(430px,calc(100vw - 32px));height:min(675px,calc(100dvh - 40px));max-width:none;max-height:none;box-shadow:0 18px 65px #0b293d45;overflow:hidden}
.mrk-chat::backdrop{background:#10233236}.mrk-chat[open]{display:block}.mrk-chat *{box-sizing:border-box}
.mrk-shell{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto}.mrk-head{display:flex;align-items:center;gap:12px;background:#0c293d;color:#fff;padding:16px 19px;border-bottom:2px solid #b48851}.mrk-head strong,.mrk-head small{display:block}.mrk-head strong{font:normal 26px var(--serif);line-height:1.1}.mrk-head small{font-size:12px;color:#dce3e5;margin-top:3px}
.mrk-chat button{cursor:pointer;font:inherit}.mrk-chat button:focus-visible,.mrk-chat textarea:focus-visible,.mrk-options summary:focus-visible{outline:2px solid #91652e;outline-offset:2px}
.mrk-head button{margin-left:auto;border:1px solid #69808c;color:#fff;background:transparent;border-radius:50%;width:35px;height:35px;display:grid;place-content:center}.mrk-head button span{font-size:24px;font-weight:300;line-height:1}
.mrk-scroll{overflow:auto;overscroll-behavior:contain;padding:22px 18px}.mrk-welcome h2{font:normal 29px/1.15 var(--serif);letter-spacing:-.025em}.mrk-welcome p{font-size:15px;line-height:1.48;margin:9px 0 17px;color:#43545e}.mrk-thread{display:grid;gap:14px}.mrk-msg{padding:11px 14px;border-radius:12px;line-height:1.48;font:400 15px/1.48 var(--sans);min-width:0;overflow-wrap:anywhere}.mrk-msg p{white-space:pre-line}.mrk-from-user{background:#163a50;color:white;justify-self:end;max-width:88%;border-bottom-right-radius:3px}.mrk-from-k{background:white;border:1px solid #dfdfd6;border-bottom-left-radius:3px;width:100%}
.mrk-message-links{display:grid;gap:6px;margin-top:10px}.mrk-message-links a{font-size:13px;line-height:1.4;color:#244e65;text-decoration:underline;text-underline-offset:2px}
.mrk-msg .mrk-references{display:grid;gap:4px;margin:10px 0 0;padding:8px 0 0;border-top:1px solid #d9dedb;background:transparent;color:#42535d;font:400 13px/1.45 var(--sans)}
.mrk-references strong{font-weight:650;color:#233c48}.mrk-references ul{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.mrk-references a{color:#184e69;text-decoration:underline;text-underline-offset:2px}.mrk-references a:focus-visible{outline:2px solid #91652e;outline-offset:2px}
.mrk-choices{display:flex;flex-wrap:wrap;gap:7px;margin-top:15px}.mrk-choices:empty{display:none}.mrk-choices button{font-size:13px;text-align:left;line-height:1.35;border:1px solid #c7ceca;color:#16384e;background:#fff;border-radius:15px;padding:7px 11px}.mrk-choices button:hover,.mrk-options button:hover{background:#eef1ee}
.mrk-compose{padding:10px 14px 12px;background:white;border-top:1px solid #deddd5}.mrk-compose form{display:grid;align-items:end;grid-template-columns:minmax(0,1fr) auto;gap:8px;border:1px solid #aebbbd;border-radius:13px;padding:5px;background:white}.mrk-compose textarea{resize:none;max-height:100px;min-height:38px;font:400 16px/1.35 var(--sans);padding:8px 6px;border:0;background:transparent;color:var(--ink);width:100%}.mrk-compose form button{width:39px;height:39px;background:#0c293d;color:white;border:0;border-radius:9px;display:grid;place-content:center}.mrk-compose button:disabled{opacity:.55;cursor:default}.mrk-privacy{display:block;font-size:11px;line-height:1.35;color:#53636b;margin:6px 1px 0}
.mrk-status,.mrk-options p{font-size:12px;line-height:1.45;color:#43545e}.mrk-status:not(:empty){margin:0 2px 6px}.mrk-options{margin-bottom:7px}.mrk-options summary{width:fit-content;cursor:pointer;font-size:12px;color:#405966;padding:2px 0}.mrk-options>div{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}.mrk-options button{color:#17384e;background:#f7f7f2;border:1px solid #c8ceca;border-radius:5px;padding:5px 8px;font-size:12px}.mrk-options p:not(:empty){margin:5px 0 8px}.mrk-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:650px){.mrk-launch{right:12px;bottom:max(12px,env(safe-area-inset-bottom))}.mrwrap .mrportrait{grid-row:3/5}.mrk-intro-link{grid-column:1;grid-row:4;justify-self:start;margin:0 0 18px}.mrk-chat{right:6px;bottom:max(6px,env(safe-area-inset-bottom));width:calc(100vw - 12px);height:min(650px,calc(100dvh - 12px));border-radius:15px}.mrk-head{padding:12px 15px}.mrk-scroll{padding:16px 13px}.mrk-compose{padding:8px 10px 10px}}
@media(max-height:470px){.mrk-head{padding:5px 12px}.mrk-head img{width:34px;height:34px}.mrk-head small{display:none}.mrk-chat{height:calc(100dvh - 12px);bottom:6px}}

.mrk-options [hidden]{display:none}.mrk-options [data-mrk-cloud-wrap]{align-items:center}
.mrk-feedback{margin-top:12px;padding-top:10px;border-top:1px solid #dfdfd6;font-size:13px;color:#233c48}
.mrk-feedback fieldset{margin:0;padding:0;border:0;min-width:0}.mrk-feedback legend{padding:0;margin-bottom:6px;font-weight:600}
.mrk-feedback button,.mrk-feedback a{display:inline-flex;align-items:center;min-height:36px;margin:2px 4px 2px 0;padding:6px 12px;border:1px solid #c7ceca;border-radius:16px;background:#fff;color:#16384e;font:inherit;line-height:1.35;text-decoration:none}
.mrk-feedback button:hover{background:#eef1ee}.mrk-feedback a{background:#0c293d;color:#fff;border-color:#0c293d}.mrk-feedback a:hover{background:#19435a}
.mrk-feedback [hidden]{display:none}.mrk-feedback a:focus-visible,.mrk-feedback-result:focus-visible{outline:2px solid #91652e;outline-offset:2px}
