:root{--bg-hero:linear-gradient(135deg,#1e3a8a,#312e81 50%,#581c87);--accent:#2563eb;--accent-hover:#1d4ed8;--text:#0f172a;--muted:#64748b;--border:#e2e8f0;--error:#dc2626;--font:"Plus Jakarta Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}body,html{margin:0;padding:0;font-family:var(--font);color:var(--text)}.auth-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;background:var(--bg-hero);padding:24px}.auth-card{width:100%;max-width:400px;background:#fff;border-radius:16px;padding:36px 32px;box-shadow:0 20px 50px rgba(0,0,0,.25)}.auth-card-wide{max-width:520px}.field-row{display:flex;gap:14px}.field-row .field{flex:1 1;min-width:0}.field-row .field-narrow{flex:0 0 110px}.checkbox-field{display:flex;align-items:flex-start;gap:10px;margin-bottom:14px;font-size:14px;cursor:pointer}.checkbox-field input{width:16px;height:16px;margin-top:2px;accent-color:var(--accent);cursor:pointer}.auth-brand{display:flex;align-items:center;gap:10px;margin-bottom:6px;font-weight:800;font-size:20px}.auth-brand .dot{width:12px;height:12px;border-radius:4px;background:var(--accent)}.auth-title{margin:18px 0 4px;font-size:24px;font-weight:800}.auth-sub{margin:0 0 24px;color:var(--muted);font-size:14px}.field{margin-bottom:16px}.field label{display:block;font-size:13px;font-weight:600;margin-bottom:6px}.field input,.field select{width:100%;padding:11px 12px;font-size:15px;font-family:inherit;border:1px solid var(--border);border-radius:8px;outline:none;transition:border-color .15s ease,box-shadow .15s ease}.field select{background:#fff;cursor:pointer}.field input:focus,.field select:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(37,99,235,.12)}.btn{width:100%;padding:12px;font-size:15px;font-weight:700;font-family:inherit;color:#fff;background:var(--accent);border:none;border-radius:8px;cursor:pointer;transition:background .15s ease}.btn:hover:not(:disabled){background:var(--accent-hover)}.btn:disabled{opacity:.6;cursor:not-allowed}.auth-alt{margin-top:20px;text-align:center;font-size:14px;color:var(--muted)}.auth-alt a{color:var(--accent);font-weight:600;text-decoration:none}.auth-alt a:hover{text-decoration:underline}.alert{background:rgba(220,38,38,.08);color:var(--error);border:1px solid rgba(220,38,38,.2);border-radius:8px}.alert,.notice{padding:10px 12px;font-size:13px;margin-bottom:16px}.notice{background:rgba(22,163,74,.08);color:#16a34a;border:1px solid rgba(22,163,74,.25);border-radius:8px}.policy-link{padding:0;border:none;background:none;font:inherit;color:var(--accent);font-weight:600;cursor:pointer;text-decoration:none}.policy-link:hover{text-decoration:underline}.policy-overlay{position:fixed;inset:0;z-index:2000;background:rgba(15,23,42,.6);display:flex;align-items:center;justify-content:center;padding:24px}.policy-modal{width:100%;max-width:720px;max-height:85vh;background:#fff;border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,.35);display:flex;flex-direction:column;overflow:hidden}.policy-head{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;border-bottom:1px solid var(--border);flex:0 0 auto}.policy-head h2{margin:0;font-size:20px;font-weight:800}.policy-close{border:none;background:none;font-size:26px;line-height:1;color:var(--muted);cursor:pointer;padding:0 4px}.policy-body,.policy-close:hover{color:var(--text)}.policy-body{padding:20px 24px;overflow-y:auto;flex:1 1 auto;font-size:14px;line-height:1.6}.policy-body h3{margin:22px 0 8px;font-size:16px;font-weight:700}.policy-body h4{margin:16px 0 6px;font-size:14px;font-weight:700}.policy-body .policy-meta{color:var(--muted);font-size:13px}.policy-logo{display:block;max-width:240px;height:auto;margin:0 0 16px}.policy-contents{margin:0 0 12px;padding-left:20px}.policy-contents li{margin-bottom:4px}.policy-table-wrap{overflow-x:auto;margin:0 0 14px;border:1px solid var(--border);border-radius:8px}.policy-table{border-collapse:collapse;width:100%;min-width:620px;font-size:13px}.policy-table td,.policy-table th{border:1px solid var(--border);padding:8px 10px;text-align:left;vertical-align:top;line-height:1.5}.policy-table th{background:#f8fafc;font-weight:700}.policy-body p{margin:0 0 12px}.policy-body ul{margin:0 0 12px;padding-left:20px}.policy-body li{margin-bottom:8px}.policy-body a{color:var(--accent);font-weight:600}.policy-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px;border-top:1px solid var(--border);flex:0 0 auto;background:#f8fafc}.policy-foot .policy-accept{margin-bottom:0}.policy-foot .policy-done{width:auto;padding:10px 22px;flex:0 0 auto}.lab-loading{min-height:100vh;justify-content:center;background:var(--bg-hero);font-weight:600}.lab-bar,.lab-loading{display:flex;align-items:center;color:#fff}.lab-bar{height:44px;justify-content:space-between;padding:0 16px;background:#0f172a;font-size:13px}.lab-bar .who{color:#cbd5e1}.lab-bar button{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.3);border-radius:6px;padding:5px 12px;font-size:12px;font-weight:600;cursor:pointer;font-family:inherit}.lab-bar button:hover{background:rgba(255,255,255,.1)}.lab-frame{width:100%;height:calc(100vh - 44px);border:none;display:block}