/* Support's Quick detail surface, shared by the customer and staff applications. */
.ui-tooltip, .mystars-help-dialog {
  --help-blue: var(--site-primary, #0093dd);
  --help-teal: var(--site-secondary, #3bb3c2);
  --help-lime: var(--site-accent, #85c226);
  --help-edge: color-mix(in srgb,var(--help-blue) 50%,#78929f);
  color: #f5f7f8;
  font-family: var(--font-body,"Segoe UI",system-ui,sans-serif);
}
.ui-tooltip {
  position: fixed; z-index: 2147483000; display: grid; width: max-content; max-width: min(23rem,calc(100vw - 24px));
  gap: .26rem; padding: 14px 16px; background: #101a20; border: 1px solid var(--help-edge); border-radius: 9px;
  box-shadow: 0 12px 32px #0007; opacity: 0; visibility: hidden; pointer-events:none;
  transform: translateY(3px); transition: opacity .13s ease,transform .13s ease,visibility .13s ease;
}
.ui-tooltip.is-visible { opacity: 1; visibility:visible; transform:none; pointer-events:auto; }
.ui-tooltip-accent, .mystars-help-dialog::before {
  background:linear-gradient(90deg,var(--help-blue),var(--help-teal) 60%,var(--help-lime));
  content:""; position:absolute; inset:0 10px auto; height:3px; border-radius:0 0 3px 3px;
}
.ui-tooltip::after {content:"";position:absolute;left:var(--ui-tooltip-arrow-x,50%);bottom:-6px;width:10px;height:10px;
  border-right:1px solid var(--help-edge);border-bottom:1px solid var(--help-edge);background:#101a20;transform:translateX(-50%) rotate(45deg);}
.ui-tooltip.ui-tooltip-below::after {top:-6px;bottom:auto;transform:translateX(-50%) rotate(225deg);}
.ui-tooltip.ui-tooltip-left::after {top:var(--ui-tooltip-arrow-y,50%);right:-6px;left:auto;bottom:auto;transform:translateY(-50%) rotate(-45deg);}
.ui-tooltip-label {font-size:.88rem;font-weight:700;color:color-mix(in srgb,var(--help-blue) 40%,white);text-transform:none;line-height:1.35;}
.ui-tooltip-copy {font-size:1rem;line-height:1.45;color:#f5f7f8;white-space:pre-line;overflow-wrap:anywhere;font-weight:450;}
.mystars-help-dialog {
  color-scheme:dark; width:min(860px,calc(100vw - 32px)); max-height:min(84dvh,780px); margin:auto; padding:0;
  border:1px solid var(--help-edge); border-radius:16px; background:#111c22; box-shadow:0 30px 90px #0009; overflow:auto;
}
.mystars-help-dialog[open] {display:flex; flex-direction:column; animation:mystars-help-in .18s ease-out;}
.mystars-help-dialog::backdrop {background:rgb(2 7 11 / .78);}
html:has(.mystars-help-dialog[open]) {overflow:hidden;}
.mystars-help-heading {display:flex;justify-content:space-between;align-items:center;gap:16px;padding:19px 24px;border-bottom:1px solid #3b505b;background:#142128;}
.mystars-help-heading h2 {margin:0;color:#f5f7f8;font-size:clamp(1.35rem,2.5vw,1.75rem);line-height:1.2;}
.mystars-help-dialog button {font:inherit;cursor:pointer;min-height:44px;color:#f5f7f8;}
.mystars-help-dialog .mystars-help-close {padding:7px 17px;background:#192b34;border:1px solid #5a7380;border-radius:8px;}
.mystars-help-body {display:grid;grid-template-columns:minmax(190px,34%) minmax(0,1fr);min-height:0;}
.mystars-help-body.mystars-help-single {grid-template-columns:minmax(0,1fr);}
.mystars-help-dialog:has(.mystars-help-single) {width:min(620px,calc(100vw - 24px));}
.mystars-help-dialog .mystars-help-browse {display:none;}
.mystars-help-library,.mystars-help-article {padding:20px 24px;overflow:auto;overscroll-behavior:contain;}
.mystars-help-library {background:#0e181e;border-right:1px solid #354852;}
.mystars-help-library label {display:block;color:#f5f7f8;font-size:1rem;font-weight:650;}
.mystars-help-library input {box-sizing:border-box;width:100%;min-width:0;min-height:44px;background:#0a1116;border:1px solid #607b88;color:white;border-radius:7px;padding:8px 12px;margin:7px 0;font:inherit;}
.mystars-help-library h4 {font-size:.91rem;color:#9fb8c5;letter-spacing:0;margin:20px 0 4px;}
.mystars-help-topics button {display:block;width:100%;border:1px solid transparent;border-radius:7px;background:transparent;text-align:left;padding:7px 10px;
  font-size:1rem;font-weight:550;line-height:1.35;overflow-wrap:anywhere;}
.mystars-help-topics button[aria-current]{background:#1e3c49;border-color:#518ba2;color:#c9f4ff;}
.mystars-help-dialog button:hover{background:#22414c;}
.mystars-help-dialog :focus-visible {outline:3px solid #74d3f5;outline-offset:2px;}
.mystars-help-article h3 {margin:0 0 10px;font-size:clamp(1.22rem,2vw,1.55rem);color:#f5f7f8;line-height:1.25;}
.mystars-help-article p,.mystars-help-article li,.mystars-help-empty {font-size:1rem;line-height:1.55;color:#e4eef2;}
.mystars-help-article p {margin:0 0 20px;}
.mystars-help-article ol {padding-inline-start:1.55rem;margin:0;}
.mystars-help-article li {padding:0 0 16px 5px;}
.mystars-help-article li::marker {color:#8bdcf3;font-weight:700;}
.mystars-help-dialog [hidden]{display:none!important;}
@keyframes mystars-help-in {from {opacity:0;transform:translateY(5px)}to {opacity:1;transform:none}}
@media(max-width:650px) {
  .mystars-help-dialog {width:calc(100vw - 24px);max-width:calc(100% - 24px);max-height:90dvh;}
  .mystars-help-dialog .mystars-help-browse {display:block;align-self:flex-start;margin:12px 18px 0;padding:7px 13px;border:1px solid #547586;background:#1a2d36;border-radius:7px;}
  .mystars-help-dialog[data-browse="false"] .mystars-help-library {display:none;}
  .mystars-help-heading,.mystars-help-library,.mystars-help-article {padding:14px 18px;}
  .mystars-help-body{display:flex;flex-direction:column;overflow:auto;}
  .mystars-help-library {overflow:visible;border-right:0;border-bottom:1px solid #354852;}
  .mystars-help-topics{max-height:20dvh;overflow:auto;}
  .mystars-help-article{overflow:visible;}
}
@media(prefers-reduced-motion:reduce) {.ui-tooltip,.mystars-help-dialog[open]{animation:none;transition:none;transform:none;}}
@media print {.ui-tooltip,.mystars-help-dialog,[data-workspace-help-open],[data-ui-tooltip-toggle]{display:none!important;}}
