
.sr-tools{display:flex;gap:8px;align-items:center;padding:5px 14px 10px;flex-wrap:wrap}
.sr-tools button,.sr-join-entry{border:1px solid #c8d9ce;background:#edf3ee;border-radius:10px;padding:9px 12px;color:#436b55;font-size:13px;font-family:inherit}
.sr-join-entry{display:block;width:calc(100% - 32px);max-width:440px;margin:12px auto 20px;min-height:45px}
.sr-stats{font-size:12px;color:#7f9387}
.sr-dialog{width:min(420px,calc(100vw - 28px));max-height:83dvh;padding:19px;border:1px solid #d0e1d4;border-radius:18px;background:#fbfdfa;color:#34503e;box-shadow:0 13px 40px #1b36294f;font-family:"Zen Maru Gothic",sans-serif}
.sr-dialog::backdrop{background:#1b352b66}
.sr-dialog h2{font-size:19px;font-weight:600;margin:0 0 8px}
.sr-dialog p{color:#6e8476;font-size:13px;line-height:1.7;margin:8px 0}
.sr-dialog label{display:block;margin:11px 0 5px;font-size:13px}
.sr-dialog input,.sr-dialog select{width:100%;min-height:46px;padding:11px;border-radius:10px;border:1px solid #cedcd1;background:#fff;font-size:16px;color:#34513e}
.sr-actions{display:flex;gap:8px;margin-top:13px}
.sr-actions button{flex:1;min-height:43px;padding:10px;border:0;border-radius:10px;background:#568369;color:white;font-size:13px;font-weight:600;font-family:inherit}
.sr-actions button.sr-muted{background:#ebf1ec;color:#456b55}
.sr-qr{display:flex;justify-content:center;margin:12px 0}
.sr-code{text-align:center;font:700 26px Quicksand,sans-serif;letter-spacing:.14em}
.sr-error{color:#a74644!important}
.sr-notice{margin:10px auto;text-align:center;color:#91a59a;font-size:12px;font-weight:400;line-height:1.7}
.sr-typing{display:flex;gap:8px;align-items:center;margin:7px 14px;color:#72897a;font-size:12px}
.sr-typing-dots{display:flex;gap:4px;padding:9px 12px;background:#e6efe8;border-radius:18px}
.sr-typing-dots i{display:block;width:6px;height:6px;border-radius:50%;background:#729a7e;animation:sr-dot 1.15s infinite ease-in-out}
.sr-typing-dots i:nth-child(2){animation-delay:.15s}
.sr-typing-dots i:nth-child(3){animation-delay:.3s}
@keyframes sr-dot{0%,60%,100%{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-4px)}}
.sr-loading{display:flex;justify-content:center;align-items:center;gap:10px;margin:13px 0;color:#718e7b;font-size:12px}
.sr-stars{position:relative;width:38px;height:28px;flex-shrink:0}
.sr-stars i{position:absolute;display:block;width:4px;height:4px;border-radius:50%;background:#7ba38b;animation:sr-star 1.5s infinite ease-in-out}
.sr-stars i:nth-child(1){left:17px;top:12px;width:6px;height:6px;animation-delay:0s}
.sr-stars i:nth-child(2){left:2px;top:4px;animation-delay:.2s}
.sr-stars i:nth-child(3){left:8px;top:22px;animation-delay:.4s}
.sr-stars i:nth-child(4){left:31px;top:5px;animation-delay:.6s}
.sr-stars i:nth-child(5){left:32px;top:22px;animation-delay:.8s}
.sr-stars i:nth-child(6){left:1px;top:15px;animation-delay:1s}
@keyframes sr-star{0%,100%{opacity:.2;transform:scale(.7)}50%{opacity:1;transform:scale(1.2)}}
.sr-loading[hidden],.sr-actions[hidden],.sr-fields[hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){.sr-stars i,.sr-typing-dots i{animation:none;opacity:.7}}

/* Explicitly honor hidden on flex elements in iOS/LIFF, too. */
.sr-tools[hidden],.sr-typing[hidden],.composer .input-row[hidden]{display:none!important}

/* Same invite-by-code button metrics as Case Meeting Lab (52px, full width). */
.sr-join-entry{
  display:block;width:100%;max-width:none;min-height:52px;
  margin:12px 0 10px;padding:14px 18px;
  background:#eef5f0;color:#446b57;border:1px solid #cdded2;
  border-radius:12px;font-size:15px;font-weight:600;
  line-height:1.5;font-family:inherit;text-align:center;
}
.sr-join-entry:active{background:#e3eee6}
.sr-join-entry:focus-visible{outline:2px solid #6a9c80;outline-offset:2px}
