.remote-home-entry { grid-column: 1 / -1; display: flex; gap: 24px; justify-content: space-between; align-items: center; padding: 28px; border: 1px solid var(--line, #dce5df); background: rgba(255,255,255,.56); }
.remote-home-entry h2 { margin: 10px 0; font-size: 20px; font-weight: 500; }
.remote-home-entry p { margin: 0; font-size: 13px; line-height: 1.8; }
.remote-home-entry .button { flex-shrink: 0; }
body:not([data-access="hr"]) .remote-home-entry { display: none; }
#remote-invitations-dialog { width: min(780px, calc(100vw - 32px)); }
.remote-invite-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 26px 0; }
.remote-invite-form .settings-note, .remote-invite-form > button { grid-column: 1 / -1; }
.remote-entry-notice { background: rgba(105,137,119,.07); border: 1px solid var(--line, #dce5df); border-radius: 10px; padding: 16px; font-size: 12px; line-height: 1.9; }
.remote-status { min-height: 1.5em; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.remote-link-result, .remote-invitation-confirm { padding: 20px; margin: 20px 0; border: 1px solid var(--line, #dce5df); border-radius: 10px; }
.remote-link-result textarea { width: 100%; min-height: 100px; font-size: 12px; overflow-wrap: anywhere; resize: vertical; }
.remote-invitation-confirm .button { margin: 5px; }
.remote-invitation-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line, #dce5df); }
.remote-invitation-row > div { flex: 1 1 220px; min-width: 0; overflow-wrap: anywhere; }
.remote-entry h2 { margin: 0 0 20px; font-size: clamp(22px, 4vw, 30px); line-height: 1.5; font-weight: 500; }
.remote-entry-detail, .remote-entry-summary { font-size: 13px; line-height: 1.9; overflow-wrap: anywhere; }
.remote-entry-summary { padding: 16px 0; border-block: 1px solid var(--line, #dce5df); }
.remote-entry .button { margin-top: 12px; }
body[data-remote-entry="true"]:not([data-remote-voice-protocol="2"]):not([data-remote-voice-transport="webrtc"]) #mic-button,
body[data-remote-entry="true"]:not([data-remote-voice-protocol="2"]):not([data-remote-voice-transport="webrtc"]) #focus-mic-button,
body[data-remote-entry="true"] #auto-answer-label,
body[data-remote-entry="true"] #repeat-button,
body[data-remote-entry="true"] #focus-repeat-button { display: none !important; }
body[data-remote-entry="true"] .access-card { max-width: 640px; }

@media (min-width: 761px) and (max-height: 800px) {
  html[data-design-theme="optical"] body[data-remote-entry="true"][data-accepted-portrait="true"][data-portrait-spatial="entry"] #access-screen {
    padding-top: 20px;
  }
  html[data-design-theme="optical"] body[data-remote-entry="true"][data-accepted-portrait="true"][data-portrait-spatial="entry"] #access-screen .access-brand {
    margin-bottom: 12px;
  }
  html[data-design-theme="optical"] body[data-remote-entry="true"][data-accepted-portrait="true"][data-portrait-spatial="entry"] #access-screen .optical-experience-intro {
    margin-top: clamp(10px, 2vh, 16px);
    margin-bottom: 18px;
  }
  html[data-design-theme="optical"] body[data-remote-entry="true"][data-accepted-portrait="true"][data-portrait-spatial="entry"] #access-screen .optical-experience-intro h1 {
    font-size: clamp(42px, 7.6vh, 68px);
  }
  html[data-design-theme="optical"] body[data-remote-entry="true"][data-accepted-portrait="true"][data-portrait-spatial="entry"] #remote-entry-status:empty {
    display: none;
  }
}
@media (min-width: 761px) and (max-height: 680px) {
  html[data-design-theme="optical"] body[data-remote-entry="true"][data-accepted-portrait="true"][data-portrait-spatial="entry"] #access-screen {
    padding-top: 14px;
  }
  html[data-design-theme="optical"] body[data-remote-entry="true"][data-accepted-portrait="true"][data-portrait-spatial="entry"] #access-screen .optical-experience-intro h1 {
    font-size: clamp(36px, 6.45vh, 44px);
  }
  html[data-design-theme="optical"] body[data-remote-entry="true"][data-accepted-portrait="true"][data-portrait-spatial="entry"] #access-screen .remote-entry-detail {
    margin-bottom: 8px;
  }
  html[data-design-theme="optical"] body[data-remote-entry="true"][data-accepted-portrait="true"][data-portrait-spatial="entry"] #access-screen .remote-entry-summary {
    padding-block: 7px;
  }
  html[data-design-theme="optical"] body[data-remote-entry="true"][data-accepted-portrait="true"][data-portrait-spatial="entry"] #access-screen .optical-entry-disclosure {
    margin-block: 8px;
  }
}
@media (max-width: 600px) {
  .remote-home-entry { flex-direction: column; align-items: stretch; padding: 22px 18px; }
  .remote-invite-form { grid-template-columns: minmax(0, 1fr); }
  .remote-invitation-row { gap: 8px; }
}
