:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172033;background:#f5f7fb;line-height:1.5}*{box-sizing:border-box}body{margin:0}.shell{max-width:1080px;margin:0 auto;padding:0 24px}.topbar{background:#0f172a;color:#fff}.topbar-inner{min-height:70px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:.02em}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#60a5fa;color:#0f172a;font-size:.8rem}.session-area{display:flex;align-items:center;gap:14px;font-size:.9rem}.session-area button{margin:0;padding:8px 12px;border:1px solid #475569;background:transparent}.auth-layout{min-height:calc(100vh - 130px);display:grid;grid-template-columns:1.15fr .85fr;gap:70px;align-items:center}.eyebrow{margin:0 0 12px;color:#2563eb;font-size:.75rem;font-weight:800;letter-spacing:.16em}.hero-copy h1,.page-heading h1{font-size:clamp(2.4rem,6vw,4.6rem);line-height:1.03;letter-spacing:-.055em;margin:0 0 18px;color:#0f172a}.lead{color:#64748b;font-size:1.08rem;max-width:620px}.feature-row{display:flex;gap:10px;align-items:center;margin:16px 0;color:#334155;font-weight:650}.feature-row span:first-child{color:#16a34a;font-weight:900}.card{background:#fff;border:1px solid #e2e8f0;border-radius:22px;padding:26px;box-shadow:0 18px 50px rgba(15,23,42,.07)}.auth-card{max-width:430px;width:100%;justify-self:end}.segmented{display:grid;grid-template-columns:1fr 1fr;background:#f1f5f9;border-radius:12px;padding:4px;margin-bottom:24px}.segment{border:0;background:transparent;color:#64748b;padding:10px;border-radius:9px;font-weight:800;cursor:pointer}.segment.active{background:#fff;color:#0f172a;box-shadow:0 2px 8px #0f172a12}.card h2{margin:0;font-size:1.25rem;color:#0f172a}.card-heading{display:flex;gap:13px;align-items:flex-start;margin-bottom:20px}.card-heading h2{margin-top:2px}.step{display:grid;place-items:center;flex:none;width:31px;height:31px;border-radius:10px;background:#dbeafe;color:#1d4ed8;font-weight:900}.muted{color:#64748b;font-size:.92rem;margin:4px 0 0}label{display:block;font-weight:750;margin:16px 0 7px;color:#334155}input,select,button{width:100%;font:inherit;border-radius:11px;border:1px solid #cbd5e1;padding:12px;background:#fff;color:#172033}input:focus,select:focus,button:focus{outline:3px solid #bfdbfe;outline-offset:2px}input[type=file]{padding:9px;background:#f8fafc}.primary{margin-top:18px;background:#2563eb;color:#fff;border-color:#2563eb;font-weight:850;cursor:pointer}.primary:hover{background:#1d4ed8}.primary:disabled{opacity:.5;cursor:not-allowed}.hidden{display:none!important}.form-message{min-height:22px;color:#b42318;font-size:.9rem;margin:12px 0 0}.page-heading{padding:52px 0 28px;display:flex;justify-content:space-between;gap:20px}.page-heading h1{font-size:clamp(2.1rem,5vw,3.5rem);margin-bottom:10px}.role-badge{align-self:flex-start;background:#e0f2fe;color:#075985;padding:8px 12px;border-radius:999px;font-weight:800;font-size:.82rem}.app-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:20px}.video-box{background:#0b1220;border-radius:16px;min-height:260px;margin-top:16px;display:grid;place-items:center;overflow:hidden}.video-box video{display:none;width:100%;max-height:390px}.empty{color:#94a3b8;text-align:center;padding:42px 20px}.result-card{min-height:420px}.empty-result{color:#64748b;padding:80px 15px;text-align:center}.score{font-size:4.5rem;line-height:1;font-weight:900;letter-spacing:-.06em;color:#15803d;margin:10px 0 16px}.status{display:inline-block;padding:7px 11px;border-radius:999px;background:#dcfce7;color:#166534;font-weight:850}.status.warn{background:#fef3c7;color:#92400e}.status.bad{background:#fee2e2;color:#991b1b}.checks{list-style:none;padding:0;margin:20px 0 0}.checks li{display:flex;gap:9px;padding:10px 0;border-bottom:1px solid #edf1f6}.notice{background:#fff8e6;border:1px solid #f6d98d;color:#704f00;border-radius:12px;padding:12px;margin-top:18px;font-size:.9rem}.history-card{margin:20px 0 48px}.history-list{display:grid;gap:9px}.history-item{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e2e8f0;border-radius:13px;padding:13px 15px}.history-meta{display:flex;gap:10px;align-items:center}.history-dot{width:9px;height:9px;border-radius:50%;background:#f59e0b}.history-dot.approved{background:#22c55e}.history-dot.repeat{background:#ef4444}.history-name{font-weight:800}.history-sub{color:#64748b;font-size:.82rem}.history-status{font-weight:800;font-size:.82rem;color:#475569}.footer{color:#94a3b8;font-size:.85rem;padding-bottom:30px}@media(max-width:780px){.auth-layout,.app-grid{grid-template-columns:1fr;gap:24px}.auth-card{justify-self:stretch;max-width:none}.auth-layout{padding:52px 0}.hero-copy h1{font-size:3.2rem}.page-heading{padding-top:34px;display:block}.role-badge{display:inline-block;margin-top:18px}.shell{padding:0 18px}}
:root{--admin-action:initial}
.admin-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.review-action{width:auto;margin:0;padding:8px 10px;border:0;font-size:.8rem;font-weight:800;cursor:pointer}.review-action.approve{background:#dcfce7;color:#166534}.review-action.repeat,.review-action.reject{background:#fee2e2;color:#991b1b}.form-message.warning{color:#92400e}.capture-actions,.admin-toolbar,.consent-row{display:flex;gap:10px;flex-wrap:wrap}.capture-actions button,.admin-toolbar button{width:auto;flex:1;min-width:130px;cursor:pointer;font-weight:750}.consent-row{margin-top:12px;color:#475569;font-size:.84rem}.consent-row label{display:flex;align-items:center;gap:6px;margin:0;font-weight:600}.consent-row input{width:auto}.admin-toolbar{margin-bottom:18px}.admin-toolbar input,.admin-toolbar select{flex:1;min-width:180px}.partner-code-output{min-height:22px;color:#166534;font-weight:800}.admin-queues{display:grid;gap:22px}.admin-queues h3{margin:6px 0 10px;color:#334155}.worker-row button{flex:none}.referral-box{border:1px solid #dbeafe;background:#eff6ff;border-radius:14px;padding:18px;color:#1e3a8a;font-weight:750}@media(max-width:780px){.capture-actions button{flex-basis:100%}}
.code-admin,.task-admin{border-top:1px solid #e2e8f0;margin-top:24px;padding-top:24px}.code-admin h3,.task-admin h3{margin:0;color:#334155;font-size:1.05rem}.task-row{align-items:flex-start}.task-row .admin-actions{justify-content:flex-end}.task-status{font-size:.78rem;font-weight:800;padding:5px 8px;border-radius:999px;background:#dcfce7;color:#166534}.task-status.inactive{background:#f1f5f9;color:#64748b}.referral-box{display:flex;align-items:center;justify-content:space-between;gap:14px}.referral-box button{width:auto;flex:none;cursor:pointer;font-weight:750}
.video-thumbnail{width:92px;height:58px;object-fit:cover;border-radius:9px;background:#0f172a;flex:none}.video-thumbnail-empty{display:grid;place-items:center;color:#94a3b8;font-size:.65rem;text-align:center;padding:4px}

