*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background:#f7f7f5;color:#1a1a1a;line-height:1.5}.app-wrapper{max-width:760px;margin:0 auto;padding:2rem 1.5rem}.header-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:2rem;padding-bottom:1rem;border-bottom:.5px solid #e0e0e0}.header-row h1{font-size:20px;font-weight:600}.header-row button{font-size:13px;color:#666;background:none;border:.5px solid #ccc;border-radius:6px;padding:6px 14px;cursor:pointer}.header-row button:hover{background:#eee}.card{background:#fff;border:.5px solid #e0e0e0;border-radius:12px;padding:1.75rem}.card-title{font-size:13px;font-weight:500;color:#666;text-transform:uppercase;letter-spacing:.05em;margin-bottom:1.5rem}.row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:1rem}.field label{font-size:13px;font-weight:500;color:#666}.field input,.field select,.field textarea{font-size:14px;background:#f7f7f5;border:.5px solid #ccc;border-radius:8px;padding:8px 12px;width:100%;font-family:inherit;color:#1a1a1a}.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:#185fa5;box-shadow:0 0 0 2px #185fa526}.field textarea{resize:vertical}.hint{font-size:12px;color:#999}.ctx-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ctx-opt{display:flex;align-items:center;gap:10px;padding:10px 14px;border:.5px solid #ccc;border-radius:8px;cursor:pointer;background:#f7f7f5;transition:border-color .15s,background .15s}.ctx-opt:hover{border-color:#aaa}.ctx-opt.active{border-color:#185fa5;background:#e6f1fb}.dot{width:14px;height:14px;border-radius:50%;border:1.5px solid #ccc;flex-shrink:0;transition:border-color .15s,background .15s}.ctx-opt.active .dot{border-color:#185fa5;background:#185fa5}.ctx-label{font-size:13px;font-weight:500}.ctx-sub{font-size:12px;color:#666}.footer{display:flex;align-items:center;justify-content:space-between;margin-top:1.5rem;padding-top:1.25rem;border-top:.5px solid #e0e0e0}.char-count{font-size:12px;color:#999}button[type=submit]{background:#1b3a6b;color:#fff;border:none;border-radius:8px;padding:10px 28px;font-size:14px;font-weight:500;cursor:pointer;transition:background .15s}button[type=submit]:hover{background:#153060}button[type=submit]:disabled{opacity:.6;cursor:not-allowed}.error-msg{color:#c0392b;font-size:14px;margin-top:1rem;padding:10px 14px;background:#fdf0ef;border-radius:8px;border:.5px solid #e6b0aa}.g5-flags{margin-top:1rem;padding:14px;background:#fff9e6;border:.5px solid #f0d56e;border-radius:8px}.g5-flags h3{font-size:13px;font-weight:500;color:#856404;margin-bottom:8px}.g5-flags li{font-size:13px;color:#856404;margin-left:1rem}.auth-card{background:#fff;border:.5px solid #e0e0e0;border-radius:12px;padding:2rem;max-width:400px;margin:0 auto}.auth-card h2{font-size:18px;font-weight:600;margin-bottom:.5rem}.auth-card p{font-size:14px;color:#666;margin-bottom:1.25rem}.auth-card .field{margin-bottom:1rem}.auth-card button[type=submit]{width:100%;margin-top:.5rem}.qr-box{display:flex;justify-content:center;margin:24px 0;padding:24px;background:#fff;border-radius:12px;border:.5px solid #e0e0e0}.secret-box{background:#f0f0f0;padding:12px;border-radius:8px;font-family:monospace;font-size:16px;letter-spacing:2px;word-break:break-all;margin:8px 0;text-align:center}
