.rl-signin {
    display: block; width: 100%; box-sizing: border-box; padding: 12px;
    font-family: 'Afacad', sans-serif; font-size: 14pt; text-align: center; text-decoration: none;
    color: #1D070E; background-color: #FFEC64; border: 0; border-radius: 0; outline: 0;
    cursor: url('https://autocomputing.host/dashboard/shell/sprites/cursor_point.ico'), pointer;
    transition: background-color 0.2s ease;
}
.rl-signin:hover, .rl-signin:focus-visible { background-color: #AAA348; color: #1D070E; }
#rl-gate-msg:empty { display: none; }
#rl-gate-msg { margin-bottom: 14px; }

@media (min-width: 821px) {
    html, body.rl-body { height: 100%; overflow: hidden; }
}

#poc-right-pane.rl-dialer {
    flex: 0 0 auto; width: clamp(280px, 20vw, 340px); min-width: 280px; max-width: 340px;
    overflow-y: auto; overflow-x: hidden;
}
.rl-dialer-in { display: flex; flex-direction: column; gap: 14px; padding: 22px 20px; min-height: 100%; box-sizing: border-box; }
.rl-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rl-line .hd-dns-h { flex: 0 0 auto; font-size: 16pt; }
.rl-line .hd-pill { font-size: 10.5pt; }
.rl-display {
    display: block; width: 100%; height: 52px; box-sizing: border-box; padding: 0 14px; margin: 0;
    text-align: right; background: #fff; border: 1px solid var(--ac-rim, rgba(68, 70, 94, 0.4)); border-radius: 2px;
    box-shadow: inset 1px 1px 3px rgba(30, 32, 44, 0.18); outline: 0;
    font: 400 22px 'JetBrains Mono', ui-monospace, monospace; color: #44465E;
}
.rl-display:focus { border-color: #7F78C5; box-shadow: inset 1px 1px 3px rgba(30, 32, 44, 0.18), 0 0 0 1px #7F78C5; }
.rl-display::placeholder { font: 13pt 'Afacad', sans-serif; color: #8a8b9a; }
.rl-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rl-key {
    height: clamp(42px, 7vh, 58px); padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: var(--ac-silver, #eee); border: 1px solid var(--ac-rim, rgba(68, 70, 94, 0.4)); border-radius: 2px;
    box-shadow: var(--ac-shadow, none); color: #44465E; font-family: 'Afacad', sans-serif;
    user-select: none; -webkit-user-select: none; touch-action: manipulation;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}
.rl-key b { font-size: 21px; font-weight: 500; line-height: 1.05; }
.rl-key small { min-height: 11px; font: 9px/11px 'JetBrains Mono', ui-monospace, monospace; letter-spacing: 0.14em; opacity: 0.7; }
.rl-key:hover { border-color: #7F78C5; }
.rl-key:focus-visible { outline: 2px solid #7F78C5; outline-offset: 1px; }
.rl-key.is-down { background: #FFEC64; border-color: #AAA348; box-shadow: inset 1px 1px 3px rgba(30, 32, 44, 0.25); }
.rl-acts { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; }
.rl-acts .hd-cta { flex: none; }
.rl-recent .rl-sub { font-size: 11pt; color: var(--ac-muted, #6A5A75); margin: 0 0 2px; }
.rl-recent .hd-domempty { margin: 0 0 10px; }

.rl-empty { margin: 0; }
.rl-snd { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 0; border-bottom: 1px solid rgba(68, 70, 94, 0.14); }
.rl-snd:first-child { padding-top: 0; }
.rl-snd:last-child { border-bottom: 0; padding-bottom: 0; }
.rl-snd-t { flex: 1 1 200px; min-width: 0; }
.rl-snd-n { font-size: 13pt; color: #44465E; }
.rl-snd-d { font-size: 11pt; color: var(--ac-muted, #6A5A75); }
.rl-snd .hd-pill { font-size: 10.5pt; }
.rl-snd .hd-cta { min-width: 88px; }
.rl-vol { display: flex; align-items: center; gap: 12px; color: #44465E; font-size: 12pt; }
.rl-vol input { flex: 0 1 260px; accent-color: #44465E; }

.rl-nrow { display: flex; flex-direction: column; gap: 10px; padding: 12px 0; border-bottom: 1px solid rgba(68, 70, 94, 0.14); min-width: 0; }
.rl-nrow:first-child { padding-top: 0; }
.rl-nrow:last-child { border-bottom: 0; padding-bottom: 0; }
.rl-ntop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-width: 0; }
.rl-nt { flex: 1 1 200px; min-width: 0; }
.rl-nnum { font: 400 15px 'JetBrains Mono', ui-monospace, monospace; color: #44465E; overflow-wrap: anywhere; }
.rl-nsub { font-size: 11pt; color: var(--ac-muted, #6A5A75); }
.rl-npills { display: flex; flex-wrap: wrap; gap: 6px; }
.rl-npill { font-size: 10.5pt; white-space: nowrap; }
.hd-pill.rl-npill.is-off { background: transparent; color: #44465E; box-shadow: inset 0 0 0 1px rgba(68, 70, 94, 0.35); }
.rl-nacts { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.rl-nacts .hd-cta { min-width: 78px; }
.rl-nprice { font-size: 12pt; color: #44465E; white-space: nowrap; }
.rl-nport {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding: 10px 12px;
    background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(68, 70, 94, 0.18); border-left: 3px solid #AAA348; border-radius: 2px;
}
.rl-nfact { display: flex; flex-direction: column; min-width: 0; }
.rl-nk { font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ac-muted, #6A5A75); }
.rl-nv { font-size: 12pt; color: #44465E; }
.rl-nport .hd-cta { margin-left: auto; }
.rl-nrow .hd-addform { margin: 0; }
.rl-ask { border-left: 3px solid #7F78C5; }
.rl-ask-t { margin: 0; font-size: 12pt; color: #44465E; }
.rl-nfields { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.rl-nfields .hd-addfield input { width: 100%; min-width: 0; box-sizing: border-box; }
.rl-nfields .hd-addfield input[aria-invalid="true"] { border-color: var(--hd-danger, #b3261e); }
.rl-nfind { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 12px; }
.rl-nfind .hd-addfield { flex: 0 0 auto; }
.rl-nfind .hd-addfield input, .rl-nfind .hd-addfield select { box-sizing: border-box; height: 40px; }
.rl-nfind #rl-narea { width: 6.5em; }
.rl-nfind .hd-cta { min-width: 96px; }
.rl-nnote:empty { display: none; }
.rl-nnote { margin-top: 10px; }
#rl-nresults:not(:empty) { margin-top: 14px; }

@media (max-width: 820px) {
    .rl-nacts { margin-left: 0; width: 100%; }
    .rl-nacts .hd-cta { flex: 1 1 0; min-width: 0; }
    .rl-nport .hd-cta { margin-left: 0; flex: 1 1 100%; }
    .rl-nfind .hd-addfield { flex: 1 1 120px; min-width: 0; }
    .rl-nfind #rl-narea, .rl-nfind .hd-addfield select { width: 100%; }
    .rl-nfind .hd-cta { flex: 1 1 100%; }
    .rl-nrow .hd-addactions { flex-wrap: wrap; }
    .rl-nrow .hd-addactions .hd-cta { flex: 1 1 120px; }
}

@media (max-width: 820px) {
    #poc-right-pane.rl-dialer { width: 100%; min-width: 0; max-width: none; overflow: visible; }
}

.rl-in, .rl-on { padding: 12px 14px; background: var(--ac-silver, #eee); border: 1px solid var(--ac-rim, rgba(68, 70, 94, 0.4)); border-radius: 2px; box-shadow: var(--ac-shadow, none); color: #44465E; }
.rl-in { border-color: #AAA348; background: #FFEC64; display: flex; flex-direction: column; gap: 8px; }
.rl-in[hidden], .rl-on[hidden] { display: none; }
.rl-in-t { font-size: 11pt; color: #44465E; }
.rl-in-n, .rl-on-n { font: 400 18px 'JetBrains Mono', ui-monospace, monospace; color: #44465E; overflow-wrap: anywhere; }
.rl-in-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rl-in-acts .hd-cta { min-width: 0; width: 100%; }
.rl-on { display: flex; flex-direction: column; gap: 4px; }
.rl-on.is-live { border-left: 4px solid #7F78C5; }
.rl-on-s { display: flex; justify-content: space-between; gap: 10px; font-size: 11pt; color: var(--ac-muted, #6A5A75); }
.rl-on-t { font-family: 'JetBrains Mono', ui-monospace, monospace; color: #44465E; }
.rl-acts.is-call { grid-template-columns: 1fr auto; }
.rl-acts.is-call #rl-del, .rl-acts.is-call #rl-clear { display: none; }
.rl-acts .hd-cta.rl-hang { background-color: #44465E; color: #fff; }
.rl-acts .hd-cta.rl-hang:hover:not(:disabled) { color: #FFEC64; }
.rl-mute[hidden] { display: none; }
.rl-mute.is-on { background-color: #FFEC64; border-color: #AAA348; color: #1D070E; }
.rl-display[readonly] { background: var(--ac-silver, #eee); }
.rl-recent .rl-myline { font-family: 'JetBrains Mono', ui-monospace, monospace; color: #44465E; }
#rl-calls { display: flex; flex-direction: column; gap: 4px; margin: 0 0 10px; }
#rl-calls .hd-domempty { margin: 0; }
.rl-rc {
    display: flex; justify-content: space-between; align-items: baseline; gap: 10px; width: 100%; padding: 6px 8px; box-sizing: border-box;
    background: transparent; border: 1px solid transparent; border-radius: 2px; color: #44465E; font-family: 'Afacad', sans-serif; text-align: left;
}
.rl-rc:hover, .rl-rc:focus-visible { border-color: #7F78C5; outline: 0; }
.rl-rc-n { font: 400 13px 'JetBrains Mono', ui-monospace, monospace; overflow-wrap: anywhere; }
.rl-rc-w { flex: 0 0 auto; font-size: 10.5pt; color: var(--ac-muted, #6A5A75); }
#rl-remote { display: none; }
