/* 5.28.798: readable recovery code, stable ticket header copy actions and status receipts */
.jmi798-status-ready{color:var(--jmi-success,#63dbab)!important;font-weight:800}
.jmi798-phrase-error{margin:10px 0;padding:10px 12px;border:1px solid rgba(255,91,109,.65);border-radius:11px;color:#ff8395;font-size:13px}
.jmi798-phrase-dialog{width:min(480px,calc(100vw - 26px));max-height:calc(100dvh - 24px);overflow:auto;box-sizing:border-box;padding:0;border:1px solid rgba(0,213,235,.55);border-radius:20px;background:var(--jmi-bg-surface,#132231);color:var(--jmi-text,#fff);box-shadow:0 24px 80px #000a;animation:jmi798-dialog-in .3s cubic-bezier(.2,.8,.2,1) both}
.jmi798-phrase-dialog::backdrop{background:rgba(2,8,16,.8);backdrop-filter:blur(8px)}
.jmi798-phrase-inner{padding:24px;text-align:center}.jmi798-phrase-shield{display:grid;place-items:center;margin:0 auto 12px;width:52px;height:52px;border-radius:15px;background:rgba(0,215,232,.14);color:#55e2ee;font-size:25px}
.jmi798-phrase-inner h2{margin:0 0 8px;font-size:21px;color:var(--jmi-text,#fff)}.jmi798-phrase-inner p{font-size:13px;line-height:1.6;color:var(--jmi-text-muted,#b3c6d0)}
.jmi798-secret-value{display:block;max-width:100%;margin:18px 0;padding:20px 12px;box-sizing:border-box;border:1px solid #ffc63a;border-radius:13px;background:var(--jmi-bg-surface-2,#0b1824);font:800 34px/1.3 monospace;letter-spacing:.22em;color:#ffda75}
.jmi798-phrase-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.jmi798-phrase-inner button{padding:12px 10px;border-radius:11px;border:1px solid rgba(0,211,234,.45);background:rgba(0,213,235,.12);color:var(--jmi-text,#fff);font:700 13px/1.3 Arial,sans-serif;cursor:pointer}.jmi798-phrase-inner button:disabled{opacity:.45;cursor:not-allowed}
.jmi798-secret-timer{margin:14px 0;padding:12px;border:1px solid rgba(255,196,58,.55);border-radius:11px;background:rgba(255,196,58,.1);font-size:12px;font-weight:700;color:var(--jmi-text,#fff)}.jmi798-phrase-close{width:100%}
.ta-msg-body .ta-msg-h .ta-msg-t{display:flex!important;align-items:flex-start;gap:8px;position:relative;z-index:6}
.ta798-copy-tools{display:flex;flex-direction:column;gap:4px;flex-shrink:0;align-items:center;position:relative;z-index:10}
.ta798-copy-tools .ta797-copy{display:grid!important;place-items:center;min-width:28px;width:28px;height:26px;min-height:26px;margin:0!important;padding:4px!important;line-height:1!important;pointer-events:auto!important;position:relative;z-index:11}
.ta798-copy-tools .ta797-copy i{margin:0!important;font-size:12px}
.ta798-copy-tools .ta797-copy:focus-visible{outline:2px solid #ffce52;outline-offset:1px}
html.theme-light .jmi798-phrase-dialog{background:#fffaf0;border-color:#c9a866;color:#28333f}html.theme-light .jmi798-secret-value{background:#fff;color:#795300}html.theme-light .jmi798-phrase-inner button{color:#28333f;background:#f0f7f5}
@keyframes jmi798-dialog-in{from{opacity:0;transform:translateY(15px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(prefers-reduced-motion:reduce){.jmi798-phrase-dialog{animation:none}}
/* 5.28.798 final: keep copy icons UNDER the date, not beside it. */
.ta-msg-body .ta-msg-h .ta-msg-t{display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:5px!important;flex:0 0 auto!important;min-width:86px;white-space:nowrap}
.ta798-copy-tools{display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:4px!important;margin:2px 0 0!important;pointer-events:auto!important;z-index:20!important}
.ta798-copy-tools button{position:relative!important;z-index:21!important;cursor:pointer!important;user-select:none!important}
.ta798-copy-tools .jmi-copy-done{color:#49e5a2!important;border-color:#49e5a2!important}
/* Two clear steps: authenticator verification, then user-chosen secret. */
.jmi798-phrase-wizard{width:min(530px,calc(100vw - 24px))}
.jmi798-phrase-wizard .jmi798-phrase-inner{padding:28px 25px}
.jmi798-step-label{display:inline-block;padding:7px 13px;border:1px solid rgba(0,220,237,.35);border-radius:999px;background:rgba(0,220,237,.09);color:var(--jmi-text,#f3fcff);font-size:12px;font-weight:800;margin:5px 0 8px}
.jmi798-step-help{max-width:430px;margin:12px auto 20px!important}
.jmi798-wizard-label,.jmi798-phrase-choose label{display:block;text-align:left;font-size:12px;font-weight:800;color:var(--jmi-text,#fff);margin:12px 0 7px}
.jmi798-wizard-input,.jmi798-phrase-choose input{display:block;box-sizing:border-box;width:100%;height:52px;border:1px solid rgba(0,217,236,.65)!important;outline:none!important;box-shadow:none!important;border-radius:12px;padding:10px 15px;background:var(--jmi-bg-surface-2,#0c1723);color:var(--jmi-text,#fff);font:700 19px/1.4 monospace;text-align:center;letter-spacing:.1em;transition:border-color .2s,background .2s}
.jmi798-wizard-input:focus,.jmi798-phrase-choose input:focus{border-color:#ffc83e!important;outline:none!important;box-shadow:none!important}
.jmi798-phrase-choose[hidden],.jmi798-wizard-success[hidden],.jmi798-wizard-error[hidden],.jmi798-wizard-input[hidden],.jmi798-wizard-label[hidden]{display:none!important}
.jmi798-phrase-choose{animation:jmi798-dialog-in .28s ease-out both}
.jmi798-secret-entry{display:flex;position:relative;align-items:center}
.jmi798-secret-entry input{padding-right:60px}
.jmi798-secret-entry button{position:absolute;right:5px;width:44px;height:40px;display:grid;place-items:center;padding:0;border:0;background:transparent;color:var(--jmi-text,#fff)}
.jmi798-wizard-success{font-size:28px;color:#42dca0;margin:0 auto;animation:jmi798-dialog-in .35s both}
.jmi798-wizard-error{padding:10px 12px;margin:14px 0 0;border:1px solid rgba(255,110,126,.55);border-radius:10px;background:rgba(255,110,126,.09);color:#ffadba;font-size:12px}
.jmi798-wizard-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}
.jmi798-phrase-wizard .jmi798-wizard-actions button{min-height:46px}
html.theme-light .jmi798-wizard-input,html.theme-light .jmi798-phrase-choose input{background:#fff;color:#273640;border-color:#b4c8c9!important}
html.theme-light .jmi798-secret-entry button{color:#273640}
@media(max-width:430px){.jmi798-phrase-wizard .jmi798-phrase-inner{padding:22px 16px}}

/* 5.28.799 — copy controls are a compact horizontal row UNDER the timestamp. */
.ta-msg-body .ta-msg-h .ta-msg-t{display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:7px!important;min-width:115px!important;white-space:nowrap!important;line-height:1.35!important}
.ta-msg-body .ta-msg-h .ta-msg-t .ta799-date-line{display:flex;align-items:center;justify-content:flex-end;gap:6px;white-space:nowrap}
.ta-msg-body .ta-msg-h .ta-msg-t .ta798-copy-tools{display:flex!important;flex-direction:row!important;justify-content:flex-end!important;align-items:center!important;gap:7px!important;margin:0!important;width:100%!important}
.ta-msg-body .ta-msg-h .ta-msg-t .ta798-copy-tools button{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:29px!important;height:28px!important;min-width:29px!important;min-height:28px!important;padding:0!important;flex:0 0 29px!important;border-radius:9px!important}
.ta-msg-body .ta-msg-h{align-items:flex-start!important}
html.theme-light .ta-msg-body .ta798-copy-tools button{background:rgba(159,117,31,.07)!important;border-color:rgba(133,96,25,.26)!important;color:#705d37!important}
html.theme-light .ta-msg-body .ta798-copy-tools button:hover{background:rgba(179,126,27,.15)!important;border-color:#b6852c!important}
@media(max-width:600px){.ta-msg-body .ta-msg-h .ta-msg-t{min-width:102px!important}.ta-msg-body .ta-msg-h{gap:6px!important}}
/* When automatic copying is denied, provide a selectable text field instead of a false success. */
.jmi799-copy-dialog{box-sizing:border-box;width:min(520px,calc(100vw - 28px));max-height:90dvh;padding:24px;border:1px solid rgba(0,220,239,.5);border-radius:18px;background:var(--jmi-bg-surface,#142330);color:var(--jmi-text,#f4fcff);box-shadow:0 20px 70px #0009}
.jmi799-copy-dialog::backdrop{background:rgba(0,6,13,.72);backdrop-filter:blur(6px)}
.jmi799-copy-dialog h3{margin:0 0 10px;font-size:19px}.jmi799-copy-dialog p{font-size:13px;line-height:1.5;color:var(--jmi-text-muted,#a7bdc7)}
.jmi799-copy-dialog textarea{box-sizing:border-box;display:block;width:100%;height:115px;resize:vertical;padding:12px;border:1px solid var(--jmi-accent,#00d4e8);border-radius:11px;background:var(--jmi-bg-surface-2,#0d1925);color:var(--jmi-text,#fff);font:14px/1.5 monospace;user-select:text!important;outline:none!important;box-shadow:none!important}
.jmi799-copy-dialog button{display:block;width:100%;margin-top:15px;padding:12px;border:1px solid var(--jmi-accent,#00d4e8);border-radius:10px;background:rgba(0,208,232,.12);color:inherit;cursor:pointer}
html.theme-light .jmi799-copy-dialog{background:#fffaf0;border-color:#b99445;color:#263640}html.theme-light .jmi799-copy-dialog textarea{background:#fff;color:#263640}
/* 5.28.799 — clear, animated two-panel setup for the user-chosen code. */
.jmi799-wizard{width:min(590px,calc(100vw - 24px));border-radius:22px}
.jmi799-wizard .jmi798-phrase-inner{padding:31px clamp(17px,4vw,34px)}
.jmi799-wizard .jmi798-phrase-shield{width:62px;height:62px;font-size:30px;border-radius:20px;margin-bottom:16px}
.jmi799-step-track{display:flex;align-items:center;justify-content:center;gap:15px;margin:16px auto 18px}
.jmi799-step-track span{display:grid;place-items:center;width:33px;height:33px;border:1px solid rgba(0,213,235,.27);border-radius:50%;color:var(--jmi-text-muted,#9caeb8);font-size:13px;font-weight:900;background:rgba(0,213,235,.04);transition:background .35s,border-color .35s,color .35s,transform .35s}
.jmi799-step-track span.active{background:rgba(0,215,235,.18);color:var(--jmi-text,#fff);border-color:#21d5e9;transform:scale(1.09)}
.jmi799-step-track span.done{background:#168b68;color:white;border-color:#4fddb1}
.jmi799-step-track span.done::before{content:'✓';position:absolute;background:#168b68}
.jmi799-step-track i{color:var(--jmi-text-muted,#a5b9c3);font-size:15px}
.jmi799-wizard .jmi798-step-help{font-size:14px;line-height:1.7;margin:13px auto 20px!important}
.jmi799-wizard .jmi799-stage{max-width:450px;margin:0 auto;animation:jmi799-step-in .48s cubic-bezier(.2,.8,.2,1) both}
.jmi799-wizard .jmi799-stage[hidden],.jmi799-wizard .jmi799-verified[hidden],.jmi799-wizard button[hidden]{display:none!important}
.jmi799-wizard .jmi798-wizard-label,.jmi799-wizard .jmi798-phrase-choose label{font-size:13px;line-height:1.5;margin:16px 0 9px}
.jmi799-wizard .jmi798-wizard-input,.jmi799-wizard .jmi798-phrase-choose input{width:100%!important;height:56px!important;min-height:56px!important;border:1px solid rgba(0,217,236,.58)!important;border-radius:12px!important;padding:12px 15px!important;outline:0!important;outline-offset:0!important;box-shadow:none!important;filter:none!important;letter-spacing:.07em!important;background:var(--jmi-bg-surface-2,#0b1824)!important}
.jmi799-wizard .jmi798-wizard-input:focus,.jmi799-wizard .jmi798-phrase-choose input:focus,.jmi799-wizard .jmi798-wizard-input:focus-visible,.jmi799-wizard .jmi798-phrase-choose input:focus-visible{border-color:#ffc63a!important;outline:0!important;outline-offset:0!important;box-shadow:none!important;filter:none!important}
.jmi799-wizard .jmi798-secret-entry{position:relative;display:block;max-width:100%}
.jmi799-wizard .jmi798-secret-entry input{padding-right:60px!important}
.jmi799-wizard .jmi798-secret-entry button{position:absolute;right:7px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:42px;height:40px;border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important}
.jmi799-wizard .jmi798-wizard-actions{max-width:450px;margin:25px auto 0;gap:12px}
.jmi799-wizard .jmi798-wizard-actions button{border-radius:12px;min-height:50px;font-size:14px}
.jmi799-verified{margin:12px auto 16px;display:flex;flex-direction:column;align-items:center;gap:11px;color:#62e9b2;animation:jmi799-verified-in .7s ease-out both}
.jmi799-verified-icon{display:grid;place-items:center;width:62px;height:62px;border:2px solid #55dfa9;border-radius:50%;background:rgba(55,212,157,.16);box-shadow:0 0 0 8px rgba(55,212,157,.045)}
.jmi799-verified-icon i{font-size:29px;animation:jmi799-check .45s cubic-bezier(.16,.9,.3,1) both}
.jmi799-verified strong{font-size:13px;line-height:1.5}
.jmi799-verified.jmi799-verified-compact{flex-direction:row;justify-content:center;margin:0 auto 10px;gap:8px}
.jmi799-verified-compact .jmi799-verified-icon{width:25px;height:25px;border-width:1px;box-shadow:none}
.jmi799-verified-compact .jmi799-verified-icon i{font-size:13px}
html.theme-light .jmi799-wizard .jmi798-wizard-input,html.theme-light .jmi799-wizard .jmi798-phrase-choose input{background:#fff!important;color:#243740!important;border-color:#b4c8c9!important}
html.theme-light .jmi799-wizard .jmi798-wizard-input:focus,html.theme-light .jmi799-wizard .jmi798-phrase-choose input:focus{border-color:#ac7a12!important}
html.theme-light .jmi799-verified{color:#12764f}
@keyframes jmi799-verified-in{from{opacity:0;transform:scale(.85)}to{opacity:1;transform:scale(1)}}
@keyframes jmi799-check{from{opacity:0;transform:scale(.35)}to{opacity:1;transform:scale(1)}}
@keyframes jmi799-step-in{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:440px){.jmi799-wizard .jmi798-phrase-inner{padding:22px 16px}.jmi799-wizard .jmi798-wizard-actions{gap:8px}.jmi799-wizard .jmi798-wizard-actions button{font-size:12px;padding:12px 6px}}
@media(prefers-reduced-motion:reduce){.jmi799-wizard .jmi799-stage,.jmi799-verified,.jmi799-verified-icon i{animation:none!important}}

/* 5.28.800 — never display the private code itself; copying and TXT still use its value. */
.jmi798-secret-value{user-select:none!important;-webkit-user-select:none!important;font-variant-numeric:tabular-nums;letter-spacing:.35em;cursor:default}

/* Recovery chat: date + read receipts on top right, copy buttons BELOW. */
#jmi-tfa-overlay .tfa-ticket-msg{position:relative!important;box-sizing:border-box!important;padding:14px 166px 13px 14px!important;min-height:98px!important;overflow:hidden!important}
#jmi-tfa-overlay .tfa800-msg-meta{position:absolute;top:11px;right:12px;display:flex;flex-direction:column;align-items:flex-end;gap:8px;max-width:155px;z-index:3}
#jmi-tfa-overlay .tfa800-msg-time{display:flex;align-items:center;justify-content:flex-end;gap:6px;white-space:nowrap;color:var(--jmi-text-muted,#9eb8c6);font-size:10px;line-height:1.4}
#jmi-tfa-overlay .tfa800-msg-time time{font:inherit;color:inherit}
#jmi-tfa-overlay .tfa800-msg-meta .tfa798-ticks{margin-left:2px;display:inline-flex;gap:1px;flex-shrink:0}
#jmi-tfa-overlay .tfa800-msg-meta .tfa798-copy-tools{position:static!important;display:flex!important;align-items:center;justify-content:flex-end;gap:7px;z-index:3}
#jmi-tfa-overlay .tfa-ticket-msg-head{display:flex!important;align-items:center!important;gap:9px!important;min-height:32px}
#jmi-tfa-overlay .tfa-ticket-msg-head img{display:block!important;width:32px!important;height:32px!important;min-width:32px!important;flex:0 0 32px!important;object-fit:cover!important;box-sizing:border-box!important;border-radius:9px!important}
#jmi-tfa-overlay .tfa-ticket-msg-head b{font-size:12px!important;overflow-wrap:anywhere}
#jmi-tfa-overlay .tfa-ticket-msg-content{margin-top:13px!important}
@media(max-width:560px){
 #jmi-tfa-overlay .tfa-ticket-msg{padding:13px 11px!important;min-height:120px!important}
 #jmi-tfa-overlay .tfa800-msg-meta{position:static!important;max-width:none!important;align-items:flex-end!important;gap:6px!important;float:right!important;margin:0 0 6px 8px}
 #jmi-tfa-overlay .tfa-ticket-msg-head{min-height:32px}
 #jmi-tfa-overlay .tfa-ticket-msg-content{clear:both}
}
/* Put the scroll thumb inside each conversation's framed column. */
#jmi-tfa-overlay .tfa-ticket-chat-scroll{box-sizing:border-box!important;width:calc(100% - 9px)!important;margin:0 9px 0 0!important;padding:7px 10px!important;scrollbar-gutter:auto!important;overflow-x:hidden!important;overflow-y:auto!important}
#jmi-tfa-overlay .tfa-ticket-chat-scroll::-webkit-scrollbar,.ta-thread::-webkit-scrollbar{width:6px!important}
#jmi-tfa-overlay .tfa-ticket-chat-scroll::-webkit-scrollbar-button,.ta-thread::-webkit-scrollbar-button{display:none!important;width:0!important;height:0!important}
#jmi-tfa-overlay .tfa-ticket-chat-scroll::-webkit-scrollbar-track{background:rgba(0,210,232,.05)!important;border-radius:7px!important}
#jmi-tfa-overlay .tfa-ticket-chat-scroll::-webkit-scrollbar-thumb{background:rgba(0,213,235,.46)!important;border-radius:7px!important}
.ta-thread{box-sizing:border-box!important;width:calc(100% - 9px)!important;margin-right:9px!important;padding-right:11px!important;scrollbar-gutter:auto!important;overflow-x:hidden!important;overflow-y:auto!important}
/* A gentle and unmistakable outcome animation, shared by both themes. */
.jmi800-guest-outcome .jmi798-guest-shield{display:grid;place-items:center;width:72px;height:72px;margin:3px auto 14px;border-radius:50%;background:rgba(49,216,162,.13);color:#57e4b0;font-size:33px;animation:jmi800-pop .5s cubic-bezier(.2,1.5,.35,1) both}
.jmi800-guest-outcome h2{color:#57e4b0!important;animation:jmi798-guest-enter .45s both}
.jmi800-guest-outcome .jmi798-guest-form[hidden],.jmi800-guest-outcome .jmi798-guest-actions[hidden],.jmi800-guest-outcome .jmi798-forgot[hidden]{display:none!important}
.jmi800-staff-feedback{display:flex;align-items:center;gap:10px;margin:12px 0 0;padding:12px 14px;border-radius:12px;border:1px solid rgba(62,220,159,.46);background:rgba(62,220,159,.09);font-size:13px;font-weight:700;animation:jmi798-guest-enter .3s ease-out}
.jmi800-staff-feedback i{font-size:18px;color:#56dfab}.jmi800-staff-feedback.error{border-color:rgba(255,177,72,.5);background:rgba(255,177,72,.09)}.jmi800-staff-feedback.error i{color:#ffca76}
.jmi800-staff-verified{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;position:absolute;inset:0;z-index:30;border-radius:18px;background:color-mix(in srgb,var(--jmi-bg-surface,#132231) 94%,transparent);backdrop-filter:blur(8px);text-align:center;font-size:18px;animation:jmi798-guest-enter .32s ease-out}
.ta-tfa-security{position:relative}.jmi800-check-ring{display:grid;place-items:center;width:72px;height:72px;border-radius:50%;border:2px solid #54e3b0;background:rgba(63,214,159,.15);font-size:35px;color:#54e3b0;animation:jmi800-pop .6s cubic-bezier(.2,1.5,.35,1) both}
.jmi800-copy-toast{position:absolute;right:0;bottom:calc(100% + 6px);padding:4px 7px;border:1px solid #55dcb5;border-radius:7px;background:var(--jmi-bg-surface,#142532);color:var(--jmi-text,#fff);font:700 10px/1.2 Arial,sans-serif;white-space:nowrap;z-index:30;pointer-events:none}
#jmi-tfa-overlay .tfa798-finished{animation:jmi800-finish .6s cubic-bezier(.2,.9,.2,1) both}
#jmi-tfa-overlay .tfa798-finished-shield{animation:jmi800-pop .65s .12s cubic-bezier(.2,1.5,.35,1) both}
@keyframes jmi800-pop{from{opacity:0;transform:scale(.55) rotate(-10deg)}to{opacity:1;transform:scale(1) rotate(0)}}
@keyframes jmi800-finish{from{opacity:0;transform:translateY(20px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
html.theme-light .jmi800-staff-verified{background:rgba(255,251,242,.94);color:#285c48}
html.theme-light .jmi800-copy-toast{background:#fff9eb;color:#2e4c47}
@media(prefers-reduced-motion:reduce){.jmi800-guest-outcome .jmi798-guest-shield,.jmi800-staff-verified,.jmi800-check-ring,#jmi-tfa-overlay .tfa798-finished,#jmi-tfa-overlay .tfa798-finished-shield{animation:none!important}}

/* 5.28.801: deletion notice, shared dark/light geometry. */
.jmi801-ticket-deleted{position:fixed;inset:0;z-index:2147483646;display:grid;place-items:center;padding:18px;background:rgba(2,8,16,.72);backdrop-filter:blur(9px);animation:jmi800-finish .4s ease-out}
.jmi801-deleted-panel{box-sizing:border-box;width:min(100%,450px);padding:30px 24px;border:1px solid rgba(255,194,86,.52);border-radius:20px;background:var(--jmi-bg-surface,#132231);color:var(--jmi-text,#fff);text-align:center;box-shadow:0 24px 80px #0008}
.jmi801-deleted-panel>i{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 16px;border-radius:17px;border:1px solid rgba(255,195,86,.4);background:rgba(255,195,86,.09);color:#ffd07c;font-size:28px}
.jmi801-deleted-panel h2{margin:0 0 12px;font-size:21px}.jmi801-deleted-panel p{margin:0 0 20px;font-size:14px;line-height:1.65;color:var(--jmi-text-muted,#b2c4cd)}.jmi801-deleted-panel a{display:block;text-decoration:none;padding:12px}
html.theme-light .jmi801-deleted-panel{background:#fffaf0;border-color:#c5a56c}
@media(prefers-reduced-motion:reduce){.jmi801-ticket-deleted{animation:none}}
/* 5.28.801: persistent private-code cancellation receipt and final guest screen. */
.jmi798-guest-secret-dialog .jmi801-guest-dismiss{display:block;width:100%;min-height:48px;margin:20px 0 0;padding:12px 16px;border:1px solid rgba(255,199,82,.5);border-radius:12px;background:rgba(255,195,72,.12);color:var(--jmi-text,#fff);font-weight:800;cursor:pointer}
.jmi798-guest-secret-dialog .jmi801-guest-dismiss[hidden]{display:none!important}
.jmi798-guest-secret-dialog.jmi800-guest-outcome:not(:has(.jmi801-guest-dismiss[hidden])) .jmi798-guest-shield{background:rgba(255,193,70,.13);border-color:rgba(255,193,70,.55);color:#ffd27a}
#jmi-tfa-overlay .jmi801-completion-card{width:min(100%,620px)!important;padding:24px!important}
#jmi-tfa-overlay .jmi801-recovery-result{padding:30px 24px!important}
#jmi-tfa-overlay .jmi801-recovery-result .jmi801-recovery-rating{display:flex;align-items:center;justify-content:center;gap:9px;max-width:470px;margin:4px auto 19px;padding:12px;border-radius:12px;background:rgba(255,201,75,.08);border:1px solid rgba(255,201,75,.27);font-size:12px;line-height:1.6;color:var(--jmi-text,#fff)}
#jmi-tfa-overlay .jmi801-recovery-rating i{font-size:18px;color:#ffd078}
#jmi-tfa-overlay .jmi801-recovery-result .tfa798-relogin{width:100%;min-height:54px;margin:0}
html.theme-light .jmi798-guest-secret-dialog .jmi801-guest-dismiss{background:#fff5de;border-color:#c6a668;color:#2b393b}
html.theme-light #jmi-tfa-overlay .jmi801-recovery-result .jmi801-recovery-rating{background:#fff9e8;border-color:#d8c18b;color:#3d4a4e}

/* 5.28.803 — copy acknowledgement stays inside its own guest message. */
#jmi-tfa-overlay .tfa-ticket-msg .jmi803-copy-receipt{
 position:static!important;display:flex!important;align-items:center;justify-content:center;
 box-sizing:border-box!important;width:max-content;max-width:100%;min-height:26px;
 margin:12px 0 0 auto!important;padding:5px 12px!important;
 border:1px solid rgba(79,222,173,.56)!important;border-radius:9px!important;
 background:rgba(38,183,136,.12)!important;color:var(--jmi-text,#fff)!important;
 font-size:11px!important;font-weight:800!important;white-space:normal!important;
 animation:jmi803-copy-in .22s ease-out both;pointer-events:none;
}
@keyframes jmi803-copy-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
html.theme-light #jmi-tfa-overlay .tfa-ticket-msg .jmi803-copy-receipt{background:rgba(23,146,107,.09)!important;border-color:#67bba0!important;color:#275b4d!important}
@media(prefers-reduced-motion:reduce){#jmi-tfa-overlay .tfa-ticket-msg .jmi803-copy-receipt{animation:none!important}}

/* 5.28.804 – aftercare is an interactive, accessible replacement for the guest ticket. */
#jmi-tfa-overlay .jmi804-aftercare{margin:20px auto;padding:17px 14px;border:1px solid rgba(255,198,58,.36);border-radius:15px;background:rgba(255,198,58,.055);max-width:470px;box-sizing:border-box}
#jmi-tfa-overlay .jmi804-rating-form h3{margin:0 0 14px;font-size:15px;color:var(--jmi-text,#fff)}
#jmi-tfa-overlay .jmi804-stars{display:flex;flex-direction:row-reverse;justify-content:center;gap:6px}
#jmi-tfa-overlay .jmi804-stars input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
#jmi-tfa-overlay .jmi804-stars label{font-size:34px;line-height:1.15;cursor:pointer;color:#56616b;transition:color .2s,transform .2s;user-select:none}
#jmi-tfa-overlay .jmi804-stars label:hover,#jmi-tfa-overlay .jmi804-stars label:hover~label,#jmi-tfa-overlay .jmi804-stars input:checked~label{color:#ffc83e;transform:translateY(-2px)}
#jmi-tfa-overlay .jmi804-stars input:focus-visible+label{outline:2px solid #ffc83e;outline-offset:3px;border-radius:7px}
#jmi-tfa-overlay .jmi804-rating-help{margin:12px auto 0!important;font-size:12px;line-height:1.5}
#jmi-tfa-overlay .jmi804-rating-extra[hidden],#jmi-tfa-overlay .jmi804-rating-error[hidden]{display:none!important}
#jmi-tfa-overlay .jmi804-rating-extra{text-align:left;margin-top:15px}
#jmi-tfa-overlay .jmi804-rating-extra label{display:block;font-size:12px;font-weight:800;margin:0 0 8px}
#jmi-tfa-overlay .jmi804-rating-extra textarea{display:block;width:100%;box-sizing:border-box;padding:12px;border:1px solid var(--jmi-border,rgba(68,211,222,.5));border-radius:11px;resize:vertical;min-height:78px;background:var(--jmi-bg-surface-2,#101c29);color:var(--jmi-text,#fff);font:inherit}
#jmi-tfa-overlay .jmi804-rating-extra textarea:focus{outline:none;border-color:#ffc63a}
#jmi-tfa-overlay .jmi804-rating-error{color:#ff92a1;font-size:12px;margin:11px auto}
#jmi-tfa-overlay .jmi804-rating-success{color:var(--jmi-success,#60e8b7);font-weight:800;font-size:14px}
html.theme-light #jmi-tfa-overlay .jmi804-aftercare{background:#fff6de;border-color:#c7a152}
html.theme-light #jmi-tfa-overlay .jmi804-rating-form h3{color:#263846}
html.theme-light #jmi-tfa-overlay .jmi804-stars label{color:#b6ad9f}
html.theme-light #jmi-tfa-overlay .jmi804-stars label:hover,html.theme-light #jmi-tfa-overlay .jmi804-stars label:hover~label,html.theme-light #jmi-tfa-overlay .jmi804-stars input:checked~label{color:#b78106}
html.theme-light #jmi-tfa-overlay .jmi804-rating-extra textarea{background:#fffaf0;color:#283641}
@media(prefers-reduced-motion:reduce){#jmi-tfa-overlay .jmi804-stars label{transition:none!important;transform:none!important}}
