:root { --mymex-tour-accent: var(--tenant-secondary, #2fd9c1); }
.mymex-tour-shade { position: fixed; z-index: 4000; border: 0; background: rgba(1, 10, 24, .72); backdrop-filter: blur(1.5px); }
.mymex-tour-ring { position: fixed; z-index: 4001; border: 2px solid color-mix(in srgb, var(--mymex-tour-accent) 82%, #fff); border-radius: 16px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--mymex-tour-accent) 20%, transparent), 0 16px 44px rgba(0,0,0,.28); pointer-events: none; transition: left .2s ease, top .2s ease, width .2s ease, height .2s ease; }
.mymex-tour-panel { position: fixed; z-index: 4010; width: 330px; max-height: calc(100dvh - 24px); overflow: auto; border: 1px solid color-mix(in srgb, var(--mymex-tour-accent) 44%, rgba(255,255,255,.16)); border-radius: 20px; color: #eff8ff; background: linear-gradient(155deg, #0b2948, #06182d 72%); box-shadow: 0 28px 80px rgba(0,0,0,.45); }
.mymex-tour-panel > header { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 13px 8px 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
.mymex-tour-panel > header span { color: #80ddff; font-size: 10px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.mymex-tour-panel > header button { min-height: 32px; padding: 0 10px; border: 0; border-radius: 10px; color: #b8cce0; background: rgba(255,255,255,.07); font: inherit; font-size: 10px; font-weight: 850; cursor: pointer; }
.mymex-tour-copy { padding: 20px 20px 17px; }
.mymex-tour-copy > small { color: #67d9ff; font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.mymex-tour-copy h2 { margin: 7px 0 9px; color: #fff; font-size: 24px; line-height: 1.08; letter-spacing: -.025em; }
.mymex-tour-copy p { margin: 0; color: #b8cce0; font-size: 13px; line-height: 1.6; }
.mymex-tour-copy [data-tour-open] { width: fit-content; min-height: 36px; margin-top: 15px; padding: 0 12px; display: inline-flex; align-items: center; border: 1px solid rgba(103,217,255,.38); border-radius: 11px; color: #8be8ff; background: rgba(103,217,255,.08); font-size: 11px; font-weight: 900; text-decoration: none; }
.mymex-tour-copy [data-tour-open][hidden] { display: none; }
.mymex-tour-copy [data-tour-open]:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.mymex-tour-copy [data-tour-error]:not(:empty) { margin-top: 12px; padding: 9px 10px; border-radius: 10px; color: #ffd8d5; background: rgba(209, 65, 56, .2); font-size: 11px; line-height: 1.45; }
.mymex-tour-panel > footer { display: flex; justify-content: flex-end; gap: 9px; padding: 13px 16px 16px; }
.mymex-tour-panel > footer button { min-width: 86px; min-height: 40px; padding: 0 14px; border: 1px solid rgba(123,207,255,.32); border-radius: 12px; color: #eaf8ff; background: rgba(255,255,255,.06); font: inherit; font-size: 11px; font-weight: 900; cursor: pointer; }
.mymex-tour-panel > footer button:last-child { border-color: transparent; color: #03152a; background: linear-gradient(135deg, #58e2ff, #44e0bd); }
.mymex-tour-panel button:disabled { opacity: .38; cursor: not-allowed; }
.mymex-tour-panel button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.is-mymex-tour-target { scroll-margin: 100px; }
body.mymex-tour-active { overscroll-behavior: contain; }
@media (max-width: 700px) { .mymex-tour-shade { backdrop-filter: none; } .mymex-tour-panel { border-radius: 18px; } }
@media (prefers-reduced-motion: reduce) { .mymex-tour-ring { transition: none; } }


/* Shared workspace installation and private-device welcome. */
.mymex-device-setup{box-sizing:border-box;width:min(580px,calc(100vw - 32px));max-width:580px;max-height:calc(100dvh - 32px);padding:0;border:1px solid #d4e4ed;border-radius:26px;background:#fff;color:#17334d;box-shadow:0 24px 80px #031a3d40;overflow:hidden;font-family:inherit}
.mymex-device-setup[open]{display:flex;flex-direction:column}
.mymex-device-setup::backdrop{background:#071d32a8;backdrop-filter:blur(4px)}
.mymex-device-setup *{box-sizing:border-box}
.mymex-device-setup-header{display:flex;align-items:center;gap:14px;padding:24px;background:linear-gradient(115deg,#f2eaff,#eafbf3);border-bottom:1px solid #d4e4ed;flex:none}
.mymex-device-setup-mark{display:grid;place-items:center;width:56px;height:56px;border-radius:16px;background:#fff;color:#08785b;flex:none;box-shadow:0 5px 20px #1534520f}
.mymex-device-setup-mark img{width:44px;height:44px;object-fit:contain;border-radius:10px}.mymex-device-setup-mark svg{width:28px;height:28px}
.mymex-device-setup-header>div{flex:1;min-width:0}.mymex-device-setup-header small{font-size:10px;letter-spacing:.09em;text-transform:uppercase;color:#526482}.mymex-device-setup-header h2{font-size:25px;line-height:1.2;margin:5px 0;color:inherit;overflow-wrap:anywhere}.mymex-device-setup-header p{font-size:13px;margin:0;color:#526482;overflow-wrap:anywhere}
.mymex-device-setup button{font:inherit;cursor:pointer;min-height:44px;border:1px solid #ccdfe8;border-radius:12px;padding:10px 15px;background:#fff;color:#16435d;font-size:13px;font-weight:650}
.mymex-device-setup button:disabled{opacity:.55;cursor:default}.mymex-device-setup button:focus-visible,.mymex-device-setup input:focus-visible{outline:3px solid #9470de;outline-offset:3px}.mymex-device-setup button:hover:not(:disabled){border-color:#8571c6}
.mymex-device-setup .mymex-device-setup-close{width:44px;min-width:44px;padding:10px;border-radius:50%;align-self:flex-start;color:#38516c}.mymex-device-setup-close svg{width:20px;height:20px;display:block}
.mymex-device-setup-steps{display:flex;gap:12px;padding:16px 24px 0;flex:none;font-size:12px;color:#60718a}.mymex-device-setup-steps span{display:flex;gap:7px;align-items:center;flex:1}.mymex-device-setup-steps b{display:grid;place-items:center;background:#edf3f7;color:#5d6a7b;width:24px;height:24px;border-radius:50%;font-size:11px}.mymex-device-setup-steps [aria-current]{color:#087354;font-weight:700}.mymex-device-setup-steps [aria-current] b{background:#d8f7e7;color:#06794b}
.mymex-device-setup-body{padding:22px 24px;overflow:auto;min-height:0;overscroll-behavior:contain;font-size:14px;line-height:1.55}.mymex-device-setup h3{font-size:21px;line-height:1.3;margin:0 0 12px;color:inherit}.mymex-device-setup-body p{margin:10px 0;color:#526482}.mymex-device-setup-card{padding:18px;border-radius:18px;background:#f8faff;border:1px solid #dce5f1;margin:20px 0}.mymex-device-setup-card strong{font-size:14px}.mymex-device-setup-card button{margin-top:6px;margin-right:8px}.mymex-device-setup-card label{display:flex;gap:10px;align-items:flex-start;font-size:13px;margin:16px 0}.mymex-device-setup-card input[type=checkbox]{width:20px;height:20px;min-height:20px;flex:none;margin:1px 0 0;accent-color:#05825a}
.mymex-device-setup-body .mymex-device-setup-note{font-size:12px;color:#63748a}.mymex-device-setup-body .mymex-device-setup-error{background:#fff3e8;color:#944219;border:1px solid #ffc693;padding:12px;border-radius:12px}
.mymex-device-setup-summary{list-style:none;margin:20px 0;padding:0;border:1px solid #dce5f1;border-radius:16px;overflow:hidden}.mymex-device-setup-summary li{padding:15px 18px;display:flex;flex-direction:column;gap:4px;background:#f6fbf8}.mymex-device-setup-summary li+li{border-top:1px solid #dce5f1;background:#fff7fa}.mymex-device-setup-summary span{font-size:12px;color:#63748a}.mymex-device-setup-summary strong{font-size:14px}
.mymex-device-setup-footer{display:flex;align-items:center;gap:10px;padding:16px 24px;border-top:1px solid #d4e4ed;flex:none;background:#fff}.mymex-device-setup .mymex-device-setup-primary{margin-left:auto;background:#087e5b;color:#fff;border-color:#087e5b}
.mymex-device-setup [hidden]{display:none!important}
[data-mymex-theme=dark] .mymex-device-setup{background:#0b2035;color:#eef8ff;border-color:#2f485e}[data-mymex-theme=dark] .mymex-device-setup-header{background:linear-gradient(115deg,#262947,#123c37);border-color:#2f485e}[data-mymex-theme=dark] .mymex-device-setup-body p,[data-mymex-theme=dark] .mymex-device-setup-header p,[data-mymex-theme=dark] .mymex-device-setup-header small,[data-mymex-theme=dark] .mymex-device-setup-summary span{color:#c1cfdf}[data-mymex-theme=dark] .mymex-device-setup-card,[data-mymex-theme=dark] .mymex-device-setup-footer,[data-mymex-theme=dark] .mymex-device-setup-summary li{background:#132c44;border-color:#2f485e}[data-mymex-theme=dark] .mymex-device-setup button{background:#16364c;color:#eef8ff;border-color:#466077}[data-mymex-theme=dark] .mymex-device-setup .mymex-device-setup-primary{background:#087e5b}
@media(max-width:600px){.mymex-device-setup{width:calc(100vw - 12px);max-height:calc(100dvh - 12px);margin:auto 6px 6px;border-radius:24px 24px 16px 16px}.mymex-device-setup-header{padding:20px 16px;gap:10px}.mymex-device-setup-header h2{font-size:22px}.mymex-device-setup-mark{width:44px;height:44px}.mymex-device-setup-mark img{width:36px;height:36px}.mymex-device-setup-body{padding:20px 16px}.mymex-device-setup-steps{padding:14px 16px 0;gap:8px}.mymex-device-setup-footer{padding:12px 16px max(12px,env(safe-area-inset-bottom));gap:6px}.mymex-device-setup-footer button{padding:10px;font-size:12px}.mymex-device-setup h3{font-size:20px}.mymex-device-setup-card{padding:15px}}

/* Persistent workspace installation entry points. */
[data-workspace-install-launcher][hidden]{display:none!important}
[data-workspace-install-launcher]{white-space:nowrap}
