:root{font:16px 'Segoe UI',Arial,sans-serif;color:#193044;background:#f3f6fa}*{box-sizing:border-box}body{margin:0}main{max-width:620px;margin:auto;padding:22px}header{border-bottom:4px solid #b91c2b}small{font-weight:bold;letter-spacing:1px;font-size:11px}h1{font-size:28px}h2{font-size:20px}p{line-height:1.5}section{background:white;border:1px solid #dce6ef;border-radius:10px;padding:20px;margin-top:20px}label{display:block;font-weight:600;margin:15px 0}input{display:block;width:100%;padding:12px;border:1px solid #c3d2e0;border-radius:6px;margin-top:6px;font:inherit}button{font:inherit;font-weight:600;padding:13px 20px;border:0;border-radius:6px;background:#b91c2b;color:white;cursor:pointer;min-height:48px}button:disabled{opacity:.5}.secondary{background:#e8eff6;color:#193044;margin:15px}a{color:#991b1b}footer{font-size:13px;margin-top:30px}[hidden]{display:none!important}#status{white-space:pre-wrap;background:#e6f1fc;padding:14px;border-radius:8px}#results p{border-bottom:1px solid #dce6ef;padding-bottom:10px;overflow-wrap:anywhere}

#log-list article{padding:16px 0;border-bottom:1px solid #dce6ef;overflow-wrap:anywhere}#log-list a{display:block;margin-top:14px;min-height:44px}

.trust-device{display:flex;align-items:center;gap:.65rem}.trust-device input{width:auto;flex:0 0 auto}

.photo-upload{padding:16px 0;border-block:1px solid #bacbd9}.photo-preview{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px}.photo-preview figure{margin:0}.photo-preview img{width:100%;height:120px;object-fit:contain}.photo-preview figcaption{overflow-wrap:anywhere;font-size:13px}select{max-width:100%;padding:12px}

/* Compact native app instructions share the existing phone streaming page. */
.native-camera-guide{border:1px solid var(--border,#46515d);border-radius:12px;padding:16px;margin:20px 0;overflow-wrap:anywhere}.native-camera-guide summary{cursor:pointer;font-weight:700;min-height:28px}.native-camera-guide li{margin:12px 0;line-height:1.5}.native-camera-guide a.button{display:inline-block;margin:8px 0;min-height:44px;padding:10px 12px;box-sizing:border-box}
