/* Shared compact contextual help, in the current IRIS palette. */
.ix-toggle { position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));z-index:81;width:38px;height:38px;border:1px solid var(--line-hi,#b9a38c55);border-radius:50%;background:var(--surface-solid,#181214);color:var(--bone,#ece4d8);font:600 17px/1 var(--sans,system-ui);box-shadow:0 4px 16px #0005;cursor:pointer;opacity:.72;transition:opacity .14s ease,background-color .14s ease; }
.ix-toggle:hover,.ix-toggle[aria-pressed="true"] {opacity:1;background:var(--red,#9e1720);color:#fff;}
.ix-hint {position:fixed;right:62px;bottom:max(16px,env(safe-area-inset-bottom));z-index:81;max-width:min(320px,calc(100vw - 90px));padding:9px 12px;border:1px solid var(--line-hi,#b9a38c44);border-radius:10px;background:#181214ed;color:var(--bone,#ece4d8);font:500 12px/1.5 var(--sans,system-ui);pointer-events:none;}
.ix-hint[hidden] {display:none;}
.ix-box {position:fixed;z-index:100;width:min(340px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;box-sizing:border-box;border:1px solid var(--line-hi,#b9a38c55);border-radius:13px;background:var(--surface-solid,#181214);color:var(--bone,#ece4d8);box-shadow:0 15px 55px #0009;padding:16px;animation:ix-in .14s ease-out;}
.ix-head {display:flex;align-items:center;gap:8px;justify-content:space-between;}
.ix-head h2 {margin:0;font:600 17px/1.3 var(--sans,system-ui);color:inherit;}
.ix-close {flex:none;width:32px;height:32px;border:0;border-radius:8px;background:#fff1;color:inherit;font:400 23px/1 var(--sans,system-ui);cursor:pointer;}
.ix-box p {margin:10px 0 12px;font:400 14px/1.55 var(--sans,system-ui);color:var(--bone-2,#d0c4b9);}
.ix-box small {font:400 11px/1.4 var(--sans,system-ui);color:var(--bone-3,#b2a39a);}
.ix-box button:focus-visible,.ix-toggle:focus-visible {outline:2px solid var(--bone,#ece4d8);outline-offset:3px;}
.iris-explaining :is(button,a,summary,[data-explain]) {cursor:help;}
.ix-target {outline:2px solid color-mix(in srgb,var(--bone,#ece4d8) 60%,transparent)!important;outline-offset:4px;}
@keyframes ix-in {from{opacity:0;translate:0 3px}to{opacity:1;translate:0 0}}
@media(max-width:640px){.ix-toggle{right:12px;bottom:calc(78px + env(safe-area-inset-bottom));}.ix-hint{right:58px;bottom:calc(78px + env(safe-area-inset-bottom));}.ix-box{padding:14px;}}
@media(prefers-reduced-motion:reduce){.ix-box{animation:none}.ix-toggle{transition:none}}

body:has(.sheet:not([hidden]), .update-guide, dialog[open]) .ix-toggle{display:none}

body:has(.bp-claim:not([hidden])) .ix-toggle{display:none}
