:root {
  font: 16px/1.6 "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  color: #edf3ff;
  background: #0a0f1a;
  color-scheme: dark;
  --accent: #2864ff;
  --ink: #edf3ff;
  --muted: #a8b5cb;
  --line: #26344b;
  --accent-text: #80adff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; min-width: 0; background: radial-gradient(ellipse 55% 420px at 85% 0, #1b4fbf1a, transparent 75%); }
button, input, select, textarea { font: inherit; }
button, a, input, summary, select, textarea { -webkit-tap-highlight-color: transparent; }
button, summary, a { touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; }
button:disabled { opacity: .55; cursor: wait; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, #screen:focus-visible { outline: 3px solid #80adff; outline-offset: 4px; }
[hidden] { display: none !important; }
.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: absolute; z-index: 10; top: -100px; left: 24px; padding: 12px 20px; background: var(--accent); color: white; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.header { max-width: 1168px; padding: 20px 24px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 29px; font-weight: 750; letter-spacing: -1.4px; text-decoration: none; line-height: 1; color: var(--ink); }
.brand img { display: block; }
.brand-dot, .brand-period { color: var(--accent); }
.header-nav { display: flex; align-items: center; gap: 32px; font-size: 13px; }
.header-nav a { text-decoration: none; }
.header-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-nav a>span { margin-left: 7px; color: #99b5df; }
.platform-badge { display: inline-flex; gap: 9px; align-items: center; padding: 8px 13px; border: 1px solid #2c3d5a; border-radius: 24px; background: #142038; font-size: 12px; }
.platform-badge .icon { width: 15px; height: 15px; }
main { max-width: 1168px; margin: 26px auto 48px; padding: 0 24px; }
.intro { display: grid; grid-template-columns: 1fr 340px; align-items: center; gap: 44px; margin-bottom: 26px; }
.eyebrow { font-size: 10px; font-weight: 750; letter-spacing: .15em; line-height: 1.5; margin: 0 0 16px; color: #83adff; }
.intro .eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 15px; }
.tiny-dot { display: inline-block; width: 6px; height: 6px; flex: none; background: #4e8aff; border-radius: 50%; }
h1 { font-size: clamp(44px, 4.4vw, 56px); font-weight: 620; line-height: 1.06; letter-spacing: -2.6px; margin: 0; }
h1 span { color: #6c9cff; }
.lead { font-size: 15px; line-height: 1.75; margin: 16px 0 0; color: var(--muted); }
.connection-art { position: relative; align-self: center; text-align: center; padding-bottom: 8px; }
.connection-art img { display: block; width: 100%; height: auto; }
.connection-art>span { display: inline-block; color: #99accb; font-size: 11px; margin-top: -1px; letter-spacing: .025em; }
.workspace { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); background: #111a2b; border: 1px solid #293a57; border-radius: 24px; overflow: hidden; box-shadow: 0 8px 15px #00000033, 0 24px 70px #00000025; }
.connection-card { min-width: 0; padding: 23px 28px 0; }
.role-tabs { display: flex; gap: 6px; padding: 5px; background: #0c1526; border: 1px solid #263650; border-radius: 14px; }
.role-tabs button { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; padding: 13px 14px; border-radius: 10px; border: 1px solid transparent; text-align: left; background: transparent; color: var(--muted); transition: background .18s, box-shadow .18s; }
.role-tabs button:hover { background: #1b2e50; }
.role-tabs [aria-selected="true"] { color: var(--accent-text); background: #1b2d4d; border-color: #3b65a5; box-shadow: 0 2px 5px #2864ff16; }
.tab-icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; color: #9bafd0; background: #1b2940; }
[aria-selected="true"] .tab-icon { color: #fff; background: var(--accent); }
.tab-copy strong { display: block; font-size: 14px; line-height: 1.4; font-weight: 650; white-space: nowrap; }
.tab-copy small { display: block; margin-top: 2px; font-size: 10px; font-weight: 400; white-space: nowrap; color: var(--muted); }
.role-panel { padding: 28px 3px 0; }
.role-panel .eyebrow { margin-bottom: 12px; font-size: 9px; }
.role-panel h2 { font-size: 29px; font-weight: 600; line-height: 1.2; letter-spacing: -.9px; margin: 0 0 15px; }
.card-body { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0 0 23px; max-width: 475px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 23px; padding: 14px 21px; min-height: 48px; font-size: 14px; font-weight: 600; line-height: 1.4; border: 1px solid transparent; border-radius: 10px; text-decoration: none; transition: background .18s, transform .18s, box-shadow .18s; }
.button:not(:disabled):hover { transform: translateY(-1px); }
.button .icon { width: 18px; height: 18px; }
.primary { background: var(--accent); color: #fff; box-shadow: 0 3px 0 #00000040; }
.primary:hover { background: #437bff; box-shadow: 0 4px 8px #2864ff40; }
.secondary { background: #111a2b; border-color: #42649a; color: var(--accent-text); }
.secondary:hover { background: #1b2b48; }
.danger { color: #ffb4b4; border-color: #724452; background: #111a2b; min-height: 44px; padding: 10px 14px; font-size: 12px; white-space: nowrap; }
.danger:hover { background: #3b2231; }
.panel-note { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--muted); margin: 20px 0 23px; }
.panel-note .icon { width: 14px; height: 14px; color: #9ab0d0; }
.code-label { font-size: 12px; color: var(--muted); margin: 3px 0 10px; }
.encryption-panel { margin: 22px 0; border: 1px solid #406cb7; background: #102446; padding: 16px; border-radius: 12px; color: #c9deff; }
.encryption-panel p { margin: 0; font-size: 12px; line-height: 1.8; }
.verification-code { display: block; margin-top: 12px; font: 600 clamp(13px, 3.5vw, 22px)/1.6 ui-monospace, Consolas, monospace; letter-spacing: .04em; color: #c9deff; }
.encryption-panel.unprotected { background: #2a241e; border-color: #705b3f; color: #f5d6a6; }
.help-code { display: block; padding: 16px 20px; margin: 0 0 18px; font: 550 clamp(30px, 3.6vw, 44px)/1.3 ui-monospace, "Cascadia Code", Consolas, monospace; font-variant-numeric: tabular-nums; letter-spacing: 2px; color: var(--accent-text); background: #102446; border: 1px dashed #406cb7; border-radius: 12px; text-align: center; }
.share-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.share-actions .primary { flex: 1; }
.fine-print { color: var(--muted); font-size: 11px; line-height: 1.7; margin: 12px 0 0; }
.role-panel label { display: block; margin: 20px 0 9px; font-size: 12px; font-weight: 600; }
.role-panel input { display: block; width: 100%; padding: 15px; border: 1px solid #617da6; border-radius: 10px; color: var(--accent-text); background: #0b1628; font-size: 30px; line-height: 1.4; letter-spacing: 4px; font-variant-numeric: tabular-nums; text-align: center; }
.role-panel input::placeholder { color: #8499bb; opacity: 1; }
.role-panel #manualLink { font-size: 12px; letter-spacing: 0; text-align: left; }
#joinForm .button { width: 100%; margin: 20px 0 24px; justify-content: space-between; }
#joinForm label { margin-top: 0; }
#codeHint { margin-top: 8px; }
.receive-steps { display: flex; align-items: center; gap: 26px; padding: 0; margin: 24px 0; list-style: none; font-size: 12px; color: var(--muted); }
.receive-steps li { display: flex; align-items: center; gap: 8px; }
.receive-steps li>span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; border: 1px solid #52698e; font-size: 11px; }
.receive-steps .current { color: var(--accent-text); font-weight: 650; }
.receive-steps .current>span { color: #fff; background: var(--accent); border-color: var(--accent-text); box-shadow: 0 0 0 4px #163167; }
.receive-steps .complete>span { color: #d8e7ff; background: #1c3c70; border-color: #3e66a1; }
#downloadActions { margin-bottom: 24px; }
#downloadAgent { width: 100%; }
.download-help { padding: 16px 0 22px; font-size: 12px; color: var(--muted); }
.download-help p { line-height: 1.8; }
.download-help strong { color: var(--ink); overflow-wrap: anywhere; }
.receive-active { display: flex; align-items: center; gap: 10px; margin: 24px 0; padding: 15px; background: #102446; border: 1px solid #35598c; border-radius: 10px; color: var(--accent-text); font-size: 12px; }
.connection-status { display: flex; align-items: center; gap: 15px; justify-content: space-between; min-height: 63px; border-top: 1px solid #25334c; margin-top: 0; padding: 16px 3px; }
.connection-status:has(.notice:empty):has(#stop[hidden]) { min-height: 0; padding: 0; border: 0; }
.notice { font-size: 11px; line-height: 1.7; color: var(--muted); margin: 0; }
.explanation { background: #142038; border-left: 1px solid #293a55; padding: 34px 33px 27px; }
.explanation .eyebrow { font-size: 9px; margin-bottom: 13px; }
.explanation h2 { font-size: 25px; font-weight: 550; line-height: 1.25; letter-spacing: -.6px; margin: 0 0 26px; }
.timeline { padding: 0; margin: 0; list-style: none; }
.timeline li { position: relative; display: flex; gap: 15px; padding-bottom: 22px; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 36px; bottom: 7px; border-left: 1px solid #314566; }
.timeline-number { display: grid; place-items: center; flex: none; width: 31px; height: 31px; border: 1px solid #4b6691; border-radius: 50%; color: #a5c4ff; font-size: 10px; font-weight: 600; }
.timeline li:first-child .timeline-number { background: var(--accent); border-color: #467dff; color: #fff; }
.timeline h3 { font-size: 13px; font-weight: 650; margin: 1px 0 5px; }
.timeline p { font-size: 12px; line-height: 1.8; color: #acbad1; margin: 0; max-width: 235px; }
.privacy-note { display: flex; align-items: flex-start; gap: 11px; border-top: 1px solid #304361; padding-top: 19px; }
.privacy-note>.icon { width: 19px; height: 19px; color: #8fb4ff; margin-top: 2px; }
.privacy-note p { font-size: 11px; line-height: 1.8; color: #acbad1; margin: 0; }
.privacy-note strong { display: block; color: var(--accent-text); font-weight: 650; margin-bottom: 2px; }
.reassurance { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 46px; padding: 27px 0; font-size: 11px; color: #a5b7d4; }
.reassurance>span { display: flex; align-items: center; gap: 8px; }
.reassurance .icon { width: 16px; height: 16px; color: #80adff; }
.below-fold { display: grid; grid-template-columns: 1.45fr 1fr; gap: 55px; border-top: 1px solid var(--line); padding-top: 24px; }
.help { font-size: 12px; color: var(--muted); }
.help>summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; list-style: none; font-size: 13px; font-weight: 600; color: var(--ink); padding: 4px 0; }
.help>summary::-webkit-details-marker { display: none; }
.faq-plus { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid #3b5278; border-radius: 50%; color: #a7c3ee; font-size: 17px; font-weight: 400; transition: transform .2s; }
.help[open] .faq-plus { transform: rotate(45deg); }
.help>div { max-width: 620px; padding: 8px 0 15px; line-height: 1.8; }
.help h3 { font-size: 12px; font-weight: 650; color: var(--ink); margin: 19px 0 6px; }
.help p { margin: 0; }
summary { cursor: pointer; }
.preview-label { display: inline-block; font-size: 8px; letter-spacing: .1em; font-weight: 700; color: #b2ccff; border: 1px solid #3b5684; border-radius: 4px; background: #162841; padding: 3px 6px; }
.preview-note p { font-size: 12px; line-height: 1.8; color: var(--muted); margin: 9px 0 0; }
.viewer { display: flex; flex-direction: column; height: calc(100dvh - 32px); min-height: 360px; margin: 10px 0 32px; border: 1px solid #314d77; border-radius: 16px; overflow: hidden; background: #111a2b; box-shadow: 0 10px 30px #00000030; }
.viewer-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; background: #2864ff; color: #fff; font-size: 12px; }
.viewer-bar>div { display: flex; align-items: center; gap: 10px; }
.viewer-bar .tiny-dot { background: var(--accent-text); }
.viewer-bar strong { font-weight: 600; }
#screenMode { border-left: 1px solid #ffffff3d; padding-left: 13px; margin-left: 3px; font-size: 11px; color: #bbd1ff; }
.text-button { min-height: 44px; padding: 8px 10px; background: #ffffff10; color: #fff; border: 1px solid #ffffff40; border-radius: 7px; font-size: 11px; }
.text-button:hover { background: #ffffff20; }
#screen { display: block; width: 100%; height: 100%; object-fit: contain; outline-offset: -4px; }
#screen.controllable { cursor: url("/rapidito-cursor.svg") 2 2, default; }
.viewer-help { font-size: 12px; padding: 0 20px; color: var(--muted); }
.viewer details { padding: 16px 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.viewer details summary { color: var(--ink); font-weight: 600; }
.viewer label { display: block; margin: 14px 0 8px; color: var(--ink); }
.viewer select, .viewer textarea { color: var(--ink); background: #0b1628; border: 1px solid #536d97; border-radius: 8px; padding: 10px; font-size: 13px; }
.viewer textarea { display: block; width: 100%; resize: vertical; margin-bottom: 15px; }
.tool-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.viewer-bar, .viewer-toolbar, .viewer-help, .viewer>details { flex: none; }
.viewer-bar { flex-wrap: wrap; }
.viewer-actions { margin-left: auto; }
.viewer-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 9px 16px; border-bottom: 1px solid #314566; font-size: 11px; }
.viewer-toolbar>div { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-left: auto; }
.viewer-toolbar label { display: inline; margin: 0; font-size: 11px; }
.viewer-toolbar select { font-size: 12px; padding: 5px 8px; }
#viewerSecurity { color: #b3d4ff; }
#viewerSecurity.unprotected { color: #ffd59d; }
#frameStatus { color: #a8b5cb; font-variant-numeric: tabular-nums; }
.screen-stage { flex: 1; min-height: 0; min-width: 0; overflow: hidden; background: #050910; }
.viewer.actual-size .screen-stage { overflow: auto; }
.viewer.actual-size #screen { width: auto; height: auto; max-width: none; max-height: none; object-fit: fill; }
.viewer>details { max-height: 35dvh; overflow: auto; padding: 9px 16px; }
.viewer-help { margin: 7px 0; font-size: 11px; }
body.viewing { overflow: hidden; }
body.viewing .header, body.viewing .intro, body.viewing .workspace, body.viewing .reassurance, body.viewing .below-fold, body.viewing>footer { display: none; }
body.viewing main { max-width: none; margin: 16px auto; padding: 0 16px; }
body.viewing .viewer { margin: 0; }
.viewer:fullscreen, .viewer.expanded { width: 100%; height: 100dvh; min-height: 0; margin: 0; border: 0; border-radius: 0; }
.viewer.expanded { position: fixed; inset: 0; z-index: 100; }
.viewer:fullscreen .viewer-help, .viewer.expanded .viewer-help { display: none; }
@media (max-width: 600px) {
  body.viewing main { margin: 0; padding: 0; }
  body.viewing .viewer { height: 100dvh; border-radius: 0; border: 0; }
  .viewer-toolbar { padding: 8px 10px; gap: 6px; }
  .viewer-toolbar>div { margin-left: 0; }
  .viewer-bar { gap: 5px; }
}
footer { display: flex; align-items: center; gap: 22px; max-width: 1120px; margin: auto; border-top: 1px solid var(--line); padding: 23px 0 30px; color: #a0b2cf; font-size: 10px; }
footer>span:last-child { margin-left: auto; }
.footer-version { color: #a0b2cf; margin-left: 5px; }
@media (min-width: 1440px) { main { margin-top: 49px; } .intro { margin-bottom: 44px; } }
@media (min-width: 801px) and (max-height: 800px) {
  main { margin-top: 18px; }
  .intro { grid-template-columns: 1fr 240px; gap: 32px; margin-bottom: 24px; }
  .intro .eyebrow { margin-bottom: 10px; }
  .intro h1 { font-size: 48px; }
  .intro .lead { margin-top: 12px; font-size: 14px; }
  .intro .desktop-break { display: none; }
  .connection-art { padding-bottom: 0; }
  .role-panel { padding-top: 24px; }
  .role-panel h2 { font-size: 27px; }
  .card-body { margin-bottom: 18px; }
  .role-panel input { font-size: 27px; padding: 10px; }
  #receivePanel .eyebrow { margin-bottom: 8px; }
  #joinForm .button { margin-top: 12px; }
}
@media (max-width: 1040px) {
  .intro { grid-template-columns: 1fr 290px; gap: 24px; }
  h1 { font-size: 52px; }
  .connection-card { padding: 20px 22px 0; }
  .explanation { padding: 30px 25px 23px; }
  .tab-icon { width: 30px; height: 30px; }
  .role-tabs button { gap: 9px; padding: 12px 10px; }
  .tab-copy strong { font-size: 13px; }
  .tab-copy small { font-size: 9px; }
  .reassurance { gap: 30px; }
  footer { margin: 0 24px; }
}
@media (max-width: 800px) {
  .intro { grid-template-columns: 1fr 245px; gap: 10px; }
  h1 { font-size: 46px; letter-spacing: -2px; }
  .lead { font-size: 13px; }
  .workspace { grid-template-columns: minmax(0, 1fr); }
  .connection-card { padding: 22px 28px 0; }
  .role-panel { padding: 27px 4px 0; }
  .role-panel h2 { font-size: 29px; }
  .tab-copy strong { font-size: 15px; }
  .tab-copy small { font-size: 11px; }
  .tab-icon { width: 36px; height: 36px; }
  .explanation { border-left: none; border-top: 1px solid #293a55; padding: 26px 32px; }
  .explanation>h2 { display: none; }
  .explanation>.eyebrow { margin-bottom: 22px; }
  .timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .timeline li { display: block; padding: 0; }
  .timeline li::after { display: none; }
  .timeline-number { margin-bottom: 13px; }
  .privacy-note { margin-top: 23px; padding-top: 17px; }
  .privacy-note strong { display: inline; margin-right: 4px; }
  .below-fold { gap: 28px; }
}
@media (max-width: 600px) {
  .header { padding: 20px; }
  .brand { font-size: 26px; gap: 9px; }
  .brand img { width: 34px; height: 34px; }
  .header-nav>a { display: none; }
  .platform-badge { padding: 7px 10px; font-size: 10px; gap: 6px; }
  .platform-badge .icon { width: 12px; height: 12px; }
  main { margin: 24px auto 32px; padding: 0 16px; }
  .intro { display: block; padding: 0 6px; margin-bottom: 28px; }
  .intro .eyebrow { font-size: 9px; margin-bottom: 17px; }
  h1 { font-size: clamp(38px, 8.8vw, 50px); letter-spacing: -1.9px; }
  .lead { margin-top: 18px; font-size: 13px; line-height: 1.8; max-width: 350px; }
  .connection-art { display: none; }
  .workspace { border-radius: 19px; }
  .connection-card { padding: 15px 18px 0; }
  .role-tabs { gap: 4px; padding: 4px; border-radius: 12px; }
  .role-tabs button { padding: 12px 9px; gap: 8px; }
  .tab-copy strong { font-size: 13px; }
  .tab-copy small { font-size: 9px; }
  .tab-icon { width: 29px; height: 29px; border-radius: 8px; }
  .tab-icon .icon { width: 19px; height: 19px; }
  .role-panel { padding: 26px 2px 0; }
  .role-panel h2 { font-size: 27px; }
  .card-body { font-size: 13px; }
  .desktop-break { display: none; }
  #generate { width: 100%; justify-content: space-between; }
  .panel-note { font-size: 10px; margin: 20px 0; }
  .connection-status { flex-wrap: wrap; gap: 10px; padding: 15px 2px; }
  .notice { font-size: 11px; }
  .explanation { padding: 24px 21px; }
  .timeline { display: block; }
  .timeline li { display: flex; gap: 14px; padding-bottom: 20px; }
  .timeline li:not(:last-child)::after { display: block; }
  .timeline li:last-child { padding-bottom: 0; }
  .timeline-number { margin-bottom: 0; }
  .timeline h3 { font-size: 13px; line-height: 1.5; }
  .timeline p { font-size: 12px; max-width: none; }
  .privacy-note p { font-size: 11px; }
  .reassurance { justify-content: flex-start; gap: 13px 23px; padding: 22px 7px; font-size: 10px; }
  .reassurance>span:last-child { width: 100%; }
  .below-fold { grid-template-columns: 1fr; gap: 20px; padding: 22px 6px 0; }
  .preview-note p { font-size: 11px; }
  .viewer-bar { padding: 12px; }
  .viewer-bar>div { gap: 6px; }
  #screenMode { display: none; }
  .viewer-bar strong { font-size: 11px; }
  .text-button { font-size: 10px; }
  .help-code { font-size: 30px; padding: 16px 8px; letter-spacing: 1px; }
  .share-actions { flex-direction: column; }
  .role-panel input { font-size: 27px; letter-spacing: 3px; padding: 13px 10px; }
  .receive-steps { gap: 20px; font-size: 11px; }
  .receive-steps li { gap: 6px; }
  .receive-steps li>span { width: 23px; height: 23px; }
  #downloadAgent { font-size: 12px; padding: 14px 10px; }
  footer { flex-wrap: wrap; gap: 13px 20px; margin: 0 22px; padding: 22px 0; font-size: 10px; }
  footer>span:last-child { width: 100%; margin: 0; }
}
@media (max-width: 400px) {
  .tab-icon { display: none; }
  .role-tabs button { justify-content: center; padding: 12px 6px; }
  .tab-copy strong { font-size: 13px; }
  .receive-steps { gap: 13px; }
  .timeline { gap: 11px; }
  .reassurance { gap: 12px 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .button:not(:disabled):hover { transform: none; }
}

.reuse-help { color: var(--muted); font-size: 12px; margin: 0 0 20px; }
.reuse-help summary { color: var(--accent-text); font-weight: 600; }
.reuse-help p { line-height: 1.8; margin: 9px 0 0; }

.download-choice{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.download-choice>.button{flex:1;white-space:nowrap}#joinForm .download-choice .button{width:auto;margin:20px 0 24px;justify-content:center}@media(max-width:520px){.download-choice{flex-direction:column;align-items:stretch}.download-choice>.button{width:100%}#joinForm .download-choice .button{margin:6px 0}}

.desktop-help .header,.desktop-help .intro,.desktop-help #receiveTab,.desktop-help #como-funciona,.desktop-help .trust-strip,.desktop-help footer,.desktop-help .download-choice a,.desktop-help .help-widget{display:none}.desktop-help .workspace{display:block}.desktop-help main{max-width:none;padding-top:16px}.desktop-help .connection-card{width:100%}.desktop-help .role-tabs{grid-template-columns:1fr}.desktop-help .card-body .desktop-break{display:none}

/* Compact renderer inside the single Windows application window. */
.desktop-account{display:none}
body.desktop-client{min-height:100dvh;background:#0a0f1a}
.desktop-client>.header,.desktop-client .intro,.desktop-client .role-tabs,.desktop-client #receivePanel,.desktop-client .explanation,.desktop-client .reassurance,.desktop-client .below-fold,.desktop-client>footer,.desktop-client .download-choice>a{display:none}
body.desktop-client main{max-width:760px;margin:0 auto;padding:38px 30px}
.desktop-client .workspace{display:block;background:transparent;border:0;box-shadow:none;border-radius:0}
.desktop-client .connection-card{padding:0}
.desktop-client .role-panel{padding:0}
.desktop-client .desktop-account{display:block;color:var(--accent-text);font-size:12px;margin:0 0 30px;text-decoration:none}
.desktop-client .download-choice{display:flex;justify-content:stretch}
.desktop-client .download-choice>button{width:100%}
body.desktop-client.viewing main{max-width:none;margin:0;padding:0}
body.desktop-client.viewing .viewer{height:100dvh;margin:0;border:0;border-radius:0;box-shadow:none}

/* During remote viewing, keep one small control strip and no information footer. */
body.viewing main{max-width:none;margin:0;padding:0}
body.viewing #deviceStatus,body.viewing #cancelDeviceConnection{display:none}
.viewer.compact-viewer{height:100dvh;margin:0;border:0;border-radius:0;position:relative}
.compact-viewer .viewer-bar{height:40px;min-height:40px;box-sizing:border-box;flex-wrap:nowrap;gap:8px;padding:3px 8px;background:#101b2e;border-bottom:1px solid #314566;font-size:11px;overflow:visible;z-index:2}
.compact-viewer .viewer-heading{min-width:0;gap:7px;white-space:nowrap}
.compact-viewer #screenMode{padding-left:7px;margin-left:0;white-space:nowrap;font-size:10px;max-width:135px;overflow:hidden;text-overflow:ellipsis}
.compact-viewer .viewer-security{margin-left:auto;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:10px}
.compact-viewer .viewer-actions{gap:5px;flex-shrink:0;margin-left:0}
.compact-viewer .text-button,.compact-viewer .viewer-menu>summary{box-sizing:border-box;min-height:30px;padding:6px 9px;border:1px solid #3d5578;border-radius:6px;font-size:11px;line-height:16px;background:#15243b;color:#e6efff;cursor:pointer;white-space:nowrap}
.compact-viewer .viewer-stop{background:#245bea;border-color:#4b7dff;color:white}
.compact-viewer details.viewer-menu{position:relative;padding:0;border:0;overflow:visible;max-height:none;flex:none}
.compact-viewer .viewer-menu>summary{list-style:none;display:block}
.compact-viewer .viewer-menu>summary::-webkit-details-marker{display:none}
.compact-viewer .viewer-menu[open]>summary{background:#253d60}
.compact-viewer .viewer-menu-panel{position:absolute;right:0;top:calc(100% + 6px);z-index:10;width:min(350px,calc(100vw - 18px));max-height:calc(100dvh - 58px);overflow:auto;box-sizing:border-box;padding:16px;background:#142137;border:1px solid #48628a;border-radius:10px;box-shadow:0 12px 32px #0009}
.compact-viewer .viewer-menu-panel .viewer-toolbar{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px 14px;padding:0 0 14px;margin:0}
.compact-viewer .viewer-menu-panel #frameStatus{grid-column:1/-1}
.compact-viewer .viewer-menu-panel .viewer-help{margin:12px 0;padding:0;font-size:11px;line-height:1.6}
.compact-viewer .viewer-menu-panel #controlTools{margin-top:14px;padding:14px 0 0;border-top:1px solid #314566;font-size:12px}
.compact-viewer .viewer-menu-panel #controlTools summary{cursor:pointer}
@media(max-width:850px){.compact-viewer #screenMode{display:none}.compact-viewer #viewerTitle{font-size:11px}}
@media(max-width:600px){.compact-viewer .viewer-heading{display:none}.compact-viewer .viewer-security{margin-left:0;flex:1}.compact-viewer #fullscreen{font-size:0;min-width:32px}.compact-viewer #fullscreen::before{content:'⛶';font-size:18px}.compact-viewer .viewer-bar{gap:5px}}

.compact-viewer .viewer-bar{position:relative}.compact-viewer details.viewer-menu{position:static}.compact-viewer .viewer-menu-panel{right:8px}

.password-access{margin:12px 0 20px;color:var(--muted,#a9b9d5);font-size:.9rem}.password-access summary{cursor:pointer;padding:8px 0}.password-access summary:hover{color:#78a8ff}.password-access label{display:block;margin-top:10px}.password-access input{margin-top:8px}

.remote-install-dialog{color:#eef3ff;background:#111c31;border:1px solid #345078;border-radius:14px;padding:24px;width:min(480px,calc(100vw - 32px));max-height:calc(100vh - 40px);overflow:auto}.remote-install-dialog::backdrop{background:#0009}.remote-install-dialog label{display:block;margin:14px 0}.remote-install-dialog input{display:block;width:100%;margin-top:6px}.remote-install-dialog button{margin-right:8px}.viewer-menu-panel>button{display:block;width:100%;text-align:left;margin:4px 0}

.remote-install-feedback{position:absolute;z-index:20;top:48px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:16px;max-width:calc(100% - 32px);width:580px;box-sizing:border-box;background:#142137;color:#eef3ff;border:1px solid #48628a;border-radius:10px;padding:16px;box-shadow:0 12px 32px #0009}.remote-install-feedback span{flex:1;font-size:13px;line-height:1.5}.remote-install-feedback button{flex:none}

.monitor-buttons{display:flex;gap:4px;flex-shrink:0;max-width:35vw;overflow-x:auto}.screen-selector{display:inline-flex;align-items:center;gap:4px;color:#eef3ff;background:#15243b;border:1px solid #3d5578;border-radius:5px;padding:4px 6px;font-size:12px;min-height:28px;cursor:pointer}.screen-selector[aria-pressed="true"]{background:#2863ff;border-color:#77a6ff}.screen-selector img{display:block}.remote-install-feedback{z-index:8}
