/* Two short forms: create here, join from the other device. */
.entry{max-width:800px;padding-top:clamp(32px,6vh,60px);padding-bottom:40px}
.entry-heading{margin-bottom:32px}
.entry-heading h1{font-size:clamp(26px,3.2vw,34px);font-weight:600;letter-spacing:-.035em;line-height:1.2;margin-bottom:12px}
.entry-heading>p{font-size:15px;line-height:1.6;margin:0;max-width:600px}
.entry-actions{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.entry-create,.entry-join{background:var(--bg-primary);border-radius:10px;padding:24px;min-width:0}
.entry-create{display:flex;flex-direction:column;align-items:flex-start}
.entry-actions h2{font-size:18px;font-weight:600;margin:0 0 18px;letter-spacing:-.01em}
.entry-actions label{font-size:13px;color:var(--text-secondary)}
.entry-create .btn-primary{width:100%;margin-top:auto}
.create-options{width:100%;font-size:13px;margin:0 0 20px}
.create-options summary{cursor:pointer;color:var(--text-secondary);min-height:30px}
.create-options label{display:block;margin:8px 0 6px}
.create-options input{width:100%}
.join-controls{display:flex;align-items:stretch;gap:8px;margin-top:10px}
.join-controls input{width:0;flex:1;min-width:0;min-height:48px;border:0;border-radius:8px;padding:9px 12px;background:var(--bg-secondary);font-size:23px;letter-spacing:.16em;color:var(--text-primary);font-variant-numeric:tabular-nums}
.join-controls button{flex:none;padding:10px 14px}
.entry-footnote{font-size:12px;line-height:1.6;margin:20px 0 0;color:var(--text-muted)}
.entry-status{font-size:14px;color:var(--text-secondary);margin:15px 0 0}
.recent-lines{padding-top:24px;margin-top:8px}
.recent-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;font-size:12px;color:var(--text-secondary)}
.text-button{border:0;background:none;color:var(--text-secondary);font-size:12px;padding:8px;min-height:44px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
#recent-lines-list{display:flex;gap:10px;flex-wrap:wrap}
.recent-code{display:block;text-decoration:none;border:0;background:var(--bg-primary);border-radius:6px;padding:11px 12px;min-height:44px;font-size:14px;font-variant-numeric:tabular-nums;letter-spacing:.08em}
.recent-code:hover{background:var(--bg-tertiary)}
#password-group{padding-top:16px}
#password-group input{width:100%;margin:8px 0}
@media(max-width:560px){
 .entry{padding-top:28px;padding-bottom:32px}
 .entry-heading{margin-bottom:24px}
 .entry-heading>p{font-size:14px}
 .entry-actions{grid-template-columns:1fr;gap:12px}
 .entry-create,.entry-join{padding:20px}
 .entry-join{order:-1}
 .entry-actions h2{margin-bottom:14px}
 .create-options{margin-bottom:12px}
 .entry-footnote{margin-top:16px}
}
